- This topic has 1 reply, 2 voices, and was last updated 21 years, 6 months ago by
Scott Anderson.
-
AuthorPosts
-
ErezMemberFrom times to times, when I try to “redeploy” my J2EE application I get the following error of ‘application.xml’ not found.
JBoss Log:
========
12:49:21,292 INFO [MainDeployer] Undeployed file:/C:/Apps/JBoss/server/default/deploy/Test.ear/
12:49:21,292 INFO [MainDeployer] Starting deployment of package: file:/C:/Apps/JBoss/server/default/deploy/Test.ear/
12:49:21,292 INFO [EARDeployer] Init J2EE application: file:/C:/Apps/JBoss/server/default/deploy/Test.ear/
12:49:21,302 WARN [NestedThrowable] Duplicate throwable nesting of same base type: class org.jboss.deployment.DeploymentException is assignable from: class org.jboss.deployment.DeploymentException
12:49:21,312 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@c9ba5cf6{ url=file:/C:/Apps/JBoss/server/default/deploy/Test.ear/, deployedLastModified=1065397394923 }
org.jboss.deployment.DeploymentException: exception in init of file:/C:/Apps/JBoss/server/default/deploy/Test.ear/; – nested throwable: (org.jboss.deployment.DeploymentException: No META-INF/application.xml found)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:720)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:637)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy7.deploy(Unknown Source)
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:458)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:200)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:211)
at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:190)
Caused by: org.jboss.deployment.DeploymentException: No META-INF/application.xml found
at org.jboss.deployment.EARDeployer.init(EARDeployer.java:63)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:694)
… 14 moreAny ideas?
TIA,
Erez
Scott AndersonParticipantErez,
This is most likely because JBoss is locking some of the resources, like application.xml, that get replaced during a full redeploy. What you really appear to want to do is reload your application within JBoss, not necessaryily recopy all your application content. We’ll be adding the ability to do server-specific reloading in a subsequent maintenance release but in the interim you can simply ‘touch’ the application.xml file within MyEclipse and this should trigger JBoss to completely reload your application.
–Scott
MyEclipse Support -
AuthorPosts