glassfish
  1. glassfish
  2. GLASSFISH-19532

App Deployment failure is causing weld boostrap to be shutdown twice.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0
    • Component/s: cdi
    • Labels:
      None

      Description

      An Application fails deployment due to weld validation failure. In WeldDeployer.event the code that handles org.glassfish.internal.deployment.Deployment.APPLICATION_STARTED calls bootstrap.shutdown. Then the application is undeployed which causes the event org.glassfish.internal.deployment.Deployment.APPLICATION_DISABLED to be fired. In WeldDeployer.event the code that handles this event calls bootstrap.shutdown again causing a java.lang.IllegalStateException to be thrown (and ignored). Something needs to be set in TransientAppMetaData indicating that the weld bootstrap has already been shutdown.

        Activity

        Hide
        jjsnyder83 added a comment -

        This happens when there is an ejb jar in the ear.

        Show
        jjsnyder83 added a comment - This happens when there is an ejb jar in the ear.
        Hide
        arjavdesai added a comment -

        revision 60957 should fix the issue.

        Show
        arjavdesai added a comment - revision 60957 should fix the issue.

          People

          • Assignee:
            arjavdesai
            Reporter:
            jjsnyder83
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: