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

A module cannot be properly removed from server by pressing Delete key

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.1.0.Beta1
    • 3.3.0.CR1
    • server
    • None
    • Hide

      1. Have a fresh installation of JBDS and a clean workspace
      2. Add JBoss EAP 5.1.2 using runtime detection (Window -> Preferences -> JBoss Tools -> JBoss Tools Runtime Detection), this will also add the Seam runtime
      3. Create a Seam Web Project (File -> New -> Other -> Seam -> Seam Web Project), use all the defaults and select EAP project on the last page
      4. Start the server - the project will be deployed and in server view you will see both the seamproject and seamproject-ds.xml - OK
      5. Select both the project and the -ds.xml in server view and hit Delete, confirm the dialog
      6. Both datasource and ear project should be undeployed and they will, but then the ear project will be deployed again (can be seen in file explorer), but it will not be listed in the server view anymore - FAIL

      Show
      1. Have a fresh installation of JBDS and a clean workspace 2. Add JBoss EAP 5.1.2 using runtime detection (Window -> Preferences -> JBoss Tools -> JBoss Tools Runtime Detection), this will also add the Seam runtime 3. Create a Seam Web Project (File -> New -> Other -> Seam -> Seam Web Project), use all the defaults and select EAP project on the last page 4. Start the server - the project will be deployed and in server view you will see both the seamproject and seamproject-ds.xml - OK 5. Select both the project and the -ds.xml in server view and hit Delete, confirm the dialog 6. Both datasource and ear project should be undeployed and they will, but then the ear project will be deployed again (can be seen in file explorer), but it will not be listed in the server view anymore - FAIL

    Description

      When you create a Seam 2.2 EAR project and deploy it to EAP 5.1.2 it cannot be properly removed - if you select both the ear and the -ds.xml in the server view and press Delete, they will be first both undeployed, but right after that the ear will be deployed again and will fail to do so without the datasource.
      So the main problem is that even after removing everything from the server, the ear project somehow is still there in the deploy directory.

      Attachments

        Activity

          People

            rob.stryker Rob Stryker (Inactive)
            exd-mmalina Martin Malina
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: