Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-1407

"(Add and) Remove Projects" produces an error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • 2.1.0.CR1
    • 2.0.0.GA
    • server
    • None

      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

            Unassigned Unassigned
            juergen.zimmermann Juergen Zimmermann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: