[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-4448) error during undeployment: no META-INF/application.xml found

Rustam Abdullaev (JIRA) jira-events at lists.jboss.org
Thu Jun 18 09:03:56 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBIDE-4448?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12472741#action_12472741 ] 

Rustam Abdullaev commented on JBIDE-4448:
-----------------------------------------

It's a medium-sized project with 1 EAR containing 1 WAR and a set of utility JARs. And we do use JMX for publishing.

I think the issue is that some JARs are locked under Windows, which prevents the EAR directory from being deleted.

So the EAR directory remains in place after the application is undeployed:

C:\>cd C:\java\jboss-4.2.3.GA\server\default\deploy\echo-ear.ear

C:\java\jboss-4.2.3.GA\server\default\deploy\echo-ear.ear>dir
activation-1.1.jar         echo-stub.jar            log4j-1.2.14.jar          spring-web-2.5.6.jar
aopalliance-1.0.jar        jaxb-xercesImpl-1.5.jar  spring-beans-2.5.6.jar    webservices-api-1.4.jar
commons-logging-1.0.4.jar  jaxws-spring-1.8.jar     spring-context-2.5.6.jar  webservices-rt-1.4.jar
commons-pool-1.3.jar       jsr250-api-1.0.jar       spring-core-2.5.6.jar     xbean-spring-2.7.jar

C:\java\jboss-4.2.3.GA\server\default\deploy\echo-ear.ear>del /q *.*
C:\java\jboss-4.2.3.GA\server\default\deploy\echo-ear.ear\activation-1.1.jar
The process cannot access the file because it is being used by another process.
C:\java\jboss-4.2.3.GA\server\default\deploy\echo-ear.ear\aopalliance-1.0.jar
The process cannot access the file because it is being used by another process.
C:\java\jboss-4.2.3.GA\server\default\deploy\echo-ear.ear\commons-logging-1.0.4.jar
The process cannot access the file because it is being used by another process.
C:\java\jboss-4.2.3.GA\server\default\deploy\echo-ear.ear\commons-pool-1.3.jar
The process cannot access the file because it is being used by another process.
C:\java\jboss-4.2.3.GA\server\default\deploy\echo-ear.ear\echo-stub.jar
The process cannot access the file because it is being used by another process.
C:\java\jboss-4.2.3.GA\server\default\deploy\echo-ear.ear\jaxb-xercesImpl-1.5.jar
The process cannot access the file because it is being used by another process.
C:\java\jboss-4.2.3.GA\server\default\deploy\echo-ear.ear\jaxws-spring-1.8.jar
The process cannot access the file because it is being used by another process.
C:\java\jboss-4.2.3.GA\server\default\deploy\echo-ear.ear\jsr250-api-1.0.jar
The process cannot access the file because it is being used by another process.
C:\java\jboss-4.2.3.GA\server\default\deploy\echo-ear.ear\log4j-1.2.14.jar
The process cannot access the file because it is being used by another process.
C:\java\jboss-4.2.3.GA\server\default\deploy\echo-ear.ear\spring-beans-2.5.6.jar
The process cannot access the file because it is being used by another process.
C:\java\jboss-4.2.3.GA\server\default\deploy\echo-ear.ear\spring-context-2.5.6.jar
The process cannot access the file because it is being used by another process.
C:\java\jboss-4.2.3.GA\server\default\deploy\echo-ear.ear\spring-core-2.5.6.jar
The process cannot access the file because it is being used by another process.
C:\java\jboss-4.2.3.GA\server\default\deploy\echo-ear.ear\spring-web-2.5.6.jar
The process cannot access the file because it is being used by another process.
C:\java\jboss-4.2.3.GA\server\default\deploy\echo-ear.ear\webservices-api-1.4.jar
The process cannot access the file because it is being used by another process.
C:\java\jboss-4.2.3.GA\server\default\deploy\echo-ear.ear\webservices-rt-1.4.jar
The process cannot access the file because it is being used by another process.
C:\java\jboss-4.2.3.GA\server\default\deploy\echo-ear.ear\xbean-spring-2.7.jar
The process cannot access the file because it is being used by another process.


> error during undeployment: no META-INF/application.xml found
> ------------------------------------------------------------
>
>                 Key: JBIDE-4448
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-4448
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JBossAS
>    Affects Versions: 3.0.1.GA
>            Reporter: Rustam Abdullaev
>            Assignee: Rob Stryker
>             Fix For: 3.1.0.M2, 3.1.0.M3
>
>
> using deployment option "Use workspace metadata", getting an error each time I try to undeploy my application:
> 17:19:03,378 INFO  [EARDeployer] Undeploying J2EE application, destroy step: file:/D:/workspaces/eclipse/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Server/deploy/echo-ear.ear/
> 17:19:03,378 INFO  [EARDeployer] Undeployed J2EE application: file:/D:/workspaces/eclipse/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Server/deploy/echo-ear.ear/
> 17:19:03,378 INFO  [EARDeployer] Init J2EE application: file:/D:/workspaces/eclipse/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Server/deploy/echo-ear.ear/
> 17:19:03,378 ERROR [MainDeployer] Could not initialise deployment: file:/D:/workspaces/eclipse/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_4.2_Server/deploy/echo-ear.ear/
> org.jboss.deployment.DeploymentException: No META-INF/application.xml found
> 	at org.jboss.deployment.EARDeployer.init(EARDeployer.java:146)
> 	at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872)
> 	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
> 	at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
> 	at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
> 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
> 	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> 	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
> 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> 	at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
> 	at $Proxy9.deploy(Unknown Source)
> 	at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
> 	at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610)
> 	at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
> 	at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
> 	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
> 	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
> 	at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
> 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
> 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
> 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> 	at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
> 	at $Proxy0.start(Unknown Source)
> 	at org.jboss.system.ServiceController.start(ServiceController.java:417)
> 	at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
> 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
> 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
> 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> 	at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:194)
> 	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:585)
> 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
> 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
> 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
> 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> 	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:585)
> 	at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:266)
> 	at sun.reflect.GeneratedMethodAccessor119.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
> 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
> 	at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> 	at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
> 	at org.jboss.jmx.connector.invoker.SerializableInterceptor.invoke(SerializableInterceptor.java:74)
> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
> 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> 	at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:179)
> 	at sun.reflect.GeneratedMethodAccessor118.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
> 	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
> 	at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
> 	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
> 	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> 	at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:818)
> 	at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:419)
> 	at sun.reflect.GeneratedMethodAccessor117.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
> 	at sun.rmi.transport.Transport$1.run(Transport.java:153)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
> 	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
> 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
> 	at java.lang.Thread.run(Thread.java:595)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list