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

EAR Maven project loses lib/ artifacts deployed to EAP broken after closing/reopening

    XMLWordPrintable

Details

    • Hide

      EAR Maven project loses lib/ artifacts deployed to EAP broken after closing/reopening

      0. setup the redhat techpreview/all maven repository
      1. Import the project as Maven project
      2. Deploy the restbay-ear project to EAP 6.2 (or 6.3)
      3. Close all 4 subprojects of the restbay project
      4. reopen all the restbay projects
      5. now the application will automatically redeploy
      6. this redeployment will result in a failure.

      If you compare the deployment folders before/after the closing/reopening of the project, you will notice some of the restbay-ear.ear/lib/ libraries are missing.

      Show
      EAR Maven project loses lib/ artifacts deployed to EAP broken after closing/reopening 0. setup the redhat techpreview/all maven repository 1. Import the project as Maven project 2. Deploy the restbay-ear project to EAP 6.2 (or 6.3) 3. Close all 4 subprojects of the restbay project 4. reopen all the restbay projects 5. now the application will automatically redeploy 6. this redeployment will result in a failure. If you compare the deployment folders before/after the closing/reopening of the project, you will notice some of the restbay-ear.ear/lib/ libraries are missing.
    • Workaround Exists
    • Hide
      • right-click on EAR project and Maven > Update Project... (or just Alt+F5) to trigger maven configuration update => Seam resteasy and quartz libs will show up in the Projet Explorer view > restbay-ear > Deployment Descriptor > Bundle libraries > Library directory
      • In server view, EAP server, right click on restbay-ear module and trigger a full publish
      Show
      right-click on EAR project and Maven > Update Project... (or just Alt+F5) to trigger maven configuration update => Seam resteasy and quartz libs will show up in the Projet Explorer view > restbay-ear > Deployment Descriptor > Bundle libraries > Library directory In server view, EAP server, right click on restbay-ear module and trigger a full publish

    Description

      EAR Maven project loses lib/ artifacts deployed to EAP after closing/reopening

      0. setup the redhat techpreview/all maven repository
      1. Import the (attached) project as Maven project
      2. Deploy the restbay-ear project to EAP 6.2 (or 6.3)
      3. Close all 4 subprojects of the restbay project
      4. reopen all the restbay projects
      5. now the application will automatically redeploy
      6. this redeployment will result in a failure.

      If you compare the deployment folders before/after the closing/reopening of the project, you will notice some of the restbay-ear.ear/lib/ libraries are missing.

      Attachments

        Activity

          People

            fbricon@redhat.com Fred Bricon
            maschmid@redhat.com Marek Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: