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

Renaming a seam project makes the ds.xml undeployable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.Beta3
    • 3.2.1.M1
    • seam2, server
    • None
    • Hide

      1. Create a seam project
      2. Check that it can be deployed normally
      3. Undeploy the project
      4. Rename the project
      5. Deploy again
      6. The project will fail to deploy

      Show
      1. Create a seam project 2. Check that it can be deployed normally 3. Undeploy the project 4. Rename the project 5. Deploy again 6. The project will fail to deploy

      If you rename a seam project it fails to deploy again because of failed dependencies:

      DEPLOYMENTS MISSING DEPENDENCIES:
      Deployment "persistence.unit:unitName=#SeamWar" is missing the following dependencies:
      Dependency "jboss.jca:name=SeamWarDatasource,service=DataSourceBinding" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:name=SeamWarDatasource,service=DataSourceBinding' **")

      DEPLOYMENTS IN ERROR:
      Deployment "jboss.jca:name=SeamWarDatasource,service=DataSourceBinding" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:name=SeamWarDatasource,service=DataSourceBinding' **

      This happens because after the renaming, the ds file becomes undeployable. If you mark it as deployable again, you can then deploy it and also the renamed seam project deploys correctly.

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

              Created:
              Updated:
              Resolved: