Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-5674

Restart fails when many bundles deployed

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Done
    • None
    • None
    • OSGi
    • None

    Description

      I install a fairly large number of OSGi bundles into AS7 using a script (40+ bundles). The script installs the bundles as follows:
      jboss-cli.sh -c --command="deploy bundle_x.jar"
      The installation itself completes without error.

      Then I stop AS7 (git ctrl-c) and restart it again. At that point I get an exception:

      POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."cxf-bundle-minimal-2.5.4.jar".POST_MODULE: JBAS018733: Failed to process phase POST_MODULE of deployment "cxf-bundle-minimal-2.5.4.jar"
      	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:123) [jboss-as-server-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
      	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [classes.jar:1.6.0_35]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [classes.jar:1.6.0_35]
      	at java.lang.Thread.run(Thread.java:680) [classes.jar:1.6.0_35]
      Caused by: java.lang.NullPointerException
      	at org.jboss.as.jaxrs.deployment.JaxrsScanningProcessor.deploy(JaxrsScanningProcessor.java:106)
      	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:116) [jboss-as-server-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
      	... 5 more
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dhildenb@redhat.com David Hildenbrand
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: