When removing an EAR project which uses RichFaces then in the Eclipse/JBoss console there is this error message:
16:20:11,011 INFO [EARDeployer] Undeployed J2EE application: file:/C:/Programme/jboss/server/default/deploy/hska.ear/
16:20:11,011 INFO [EARDeployer] Init J2EE application: file:/C:/Programme/jboss/server/default/deploy/hska.ear/
16:20:11,011 ERROR [MainDeployer] Could not initialise deployment: file:/C:/Programme/jboss/server/default/deploy/hska.ear/
org.jboss.deployment.DeploymentException: No META-INF/application.xml found
at org.jboss.deployment.EARDeployer.init(EARDeployer.java:146)
...
The main reason is that inside xy.ear/xy.war/WEB-INF/lib directory there are 2 JARs of RichFaces that were not deleted, namely:
- richfaces-impl-3.1.2.SP1.jar
- richfaces-ui-3.1.2.SP1.jar
The only workaround is to stop JBoss, remove xy.ear manually, and restart JBoss
- relates to
-
JBIDE-1291 Utilize JMX DeploymentScanner to ensure proper deployment
- Closed