We're updating the issue view to help you get more done. 

JOnAS 5.x remote deployer cannot undeploy in Windows

Description

See: http://old.nabble.com/Cargo-1.3.2---JOnAS-5.2.4---Undeployment-%28xml-file---deployment-plan%29-through-cargo-could-not-be-done-%28deployment-operation-is-OK%29-to34958711.html

When I want to undeploy a deployment plan, I get the below exception:

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 Y:\00-Prod\bin\jonasbin\build.xml:31: org.codehaus.cargo.container.ContainerException: Undeployment error: Cannot find deployable org.codehaus.cargo.container.deployable.File[Movie-EAR-1.0.xml] in the remote JONAS_BASE/deploy at org.codehaus.cargo.container.jonas.internal.AbstractJonasRemoteDeployer.undeploy(AbstractJonasRemoteDeployer.java:394) at org.codehaus.cargo.container.jonas.internal.AbstractJonas5xRemoteDeployer.undeploy(AbstractJonas5xRemoteDeployer.java:232) at org.codehaus.cargo.ant.CargoTask.executeActions(CargoTask.java:623) at org.codehaus.cargo.ant.CargoTask.execute(CargoTask.java:531) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:180) at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:82) at org.apache.tools.ant.Main.runBuild(Main.java:793) at org.apache.tools.ant.Main.startAnt(Main.java:217) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109) Caused by: org.codehaus.cargo.container.ContainerException: Cannot find deployable org.codehaus.cargo.container.deployable.File[Movie-EAR-1.0.xml] in the remote JONAS_BASE/deploy at org.codehaus.cargo.container.jonas.internal.AbstractJonas5xRemoteDeployer.getRemoteFileName(AbstractJonas5xRemoteDeployer.java:537) at org.codehaus.cargo.container.jonas.internal.AbstractJonasRemoteDeployer.undeploy(AbstractJonasRemoteDeployer.java:351) ... 17 more org.codehaus.cargo.container.ContainerException: Cannot find deployable org.codehaus.cargo.container.deployable.File[Movie-EAR-1.0.xml] in the remote JONAS_BASE/deploy at org.codehaus.cargo.container.jonas.internal.AbstractJonas5xRemoteDeployer.getRemoteFileName(AbstractJonas5xRemoteDeployer.java:537) at org.codehaus.cargo.container.jonas.internal.AbstractJonasRemoteDeployer.undeploy(AbstractJonasRemoteDeployer.java:351) at org.codehaus.cargo.container.jonas.internal.AbstractJonas5xRemoteDeployer.undeploy(AbstractJonas5xRemoteDeployer.java:232) at org.codehaus.cargo.ant.CargoTask.executeActions(CargoTask.java:623) at org.codehaus.cargo.ant.CargoTask.execute(CargoTask.java:531) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:180) at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:82) at org.apache.tools.ant.Main.runBuild(Main.java:793) at org.apache.tools.ant.Main.startAnt(Main.java:217) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

At jonasAdmin, I can read this :

1 DeploymentPlans == [ Y:\Programmes\jonas\jonas-524\repositories\url-internal\jotm.xml - Y:\Programmes\jonas\jonas-524\repositories\url-internal\jtm.xml - Y:\Programmes\jonas\jonas-524\repositories\url-internal\db.xml - Y:\Programmes\jonas\jonas-524\repositories\url-internal\wm.xml - Y:\Programmes\jonas\jonas-524\repositories\url-internal\resource.xml - Y:\Programmes\jonas\jonas-524\repositories\url-internal\ow2-util-common-impl.xml - Y:\Programmes\jonas\jonas-524\repositories\url-internal\ow2-util-event-common-ejb.xml - Y:\Programmes\jonas\jonas-524\repositories\url-internal\easybeans-core.xml - Y:\Programmes\jonas\jonas-524\repositories\url-internal\javassist.xml - Y:\Programmes\jonas\jonas-524\repositories\url-internal\easybeans-persistence-hibernate.xml - Y:\Programmes\jonas\jonas-524\repositories\url-internal\ejb3.xml - Y:\Programmes\jonas\jonas-524\repositories\url-internal\easybeans-core.xml - Y:\Programmes\jonas\jonas-524\repositories\url-internal\easybeans-persistence-hibernate.xml - Y:\Programmes\jonas\jonas-524\repositories\url-internal\saaj-ri.xml - Y:\Programmes\jonas\jonas-524\repositories\url-internal\wsdl-publisher.xml - Y:\Programmes\jonas\jonas-524\repositories\url-internal\jaxws-base.xml - Y:\Programmes\jonas\jonas-524\repositories\url-internal\jaxws-cxf.xml - Y:\Programmes\jonas\jonas-524\repositories\url-internal\web-base.xml - Y:\Programmes\jonas\jonas-524\repositories\url-internal\web-tomcat6.xml - Y:\Programmes\jonas\jonas-524\repositories\url-internal\generators-base.xml - Y:\Programmes\jonas\jonas-524\repositories\url-internal\ear.xml - Y:\Programmes\jonas\jonas-524\repositories\url-internal\depmonitor.xml - Y:\Programmes\jonas\jonas-524\repositories\url-internal\resourcemonitor.xml - Y:\Programmes\jonas\jonas-524\repositories\url-internal\jdbc-resource-adapters.xml - Y:\00-Prod\data\myJOnAS524\deploy\01-myResources.xml - Y:\00-Prod\data\myJOnAS524\deploy\ctxroot.xml - Y:\00-Prod\data\myJOnAS524\deploy\jonasAdmin.xml - Y:\00-Prod\data\myJOnAS524\deploy\Movie-EAR-1.0.xml ]

Note that my deployment plan is the last one listed Ä‚Æ’Ă†â€™Ä‚â€  Y:\00-Prod\dat\myJOnAS524\deploy\Movie-EAR-1.0.xml

Status

Assignee

Savas Ali Tokmen

Reporter

Savas Ali Tokmen

Components

Fix versions

Affects versions

1.3.2

Priority

Major