12 Replies Latest reply on Jul 26, 2013 3:43 AM by Markus Straub

    Problem with starting server with multiple deployed apps.

    clifford_r Newbie

      Hi,

       

       

      I have the following problem with JBos AS 7 ....

       

       

      I keep ketting following error when I try to start up server with multiple apps deployed.

       

       

      java.lang.NullPointerException

        at org.jboss.weld.manager.BeanManagerImpl.getMostSpecializedBean(BeanManagerImpl.java:931)

        at org.jboss.weld.manager.BeanManagerImpl.getReference(BeanManagerImpl.java:605)

        at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:228)

        at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:207)

        at org.jboss.weld.bootstrap.events.AbstractContainerEvent.fire(AbstractContainerEvent.java:75)

        at org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent.fire(AbstractDefinitionContainerEvent.java:46)

        at org.jboss.weld.bootstrap.events.BeforeBeanDiscoveryImpl.fire(BeforeBeanDiscoveryImpl.java:46)

        at org.jboss.weld.bootstrap.WeldBootstrap.startInitialization(WeldBootstrap.java:322)

        at org.jboss.as.weld.WeldContainer.start(WeldContainer.java:81)

        at org.jboss.as.weld.services.WeldService.start(WeldService.java:76)

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)

        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

        at java.lang.Thread.run(Thread.java:680)

       

       

       

       

      I used maven to deployed app to jboss..The install runs fine and system work fine, until I stop and start server. At this stage get the above error. I have to redeploy all apps then everything runs fine.

       

       

      Any help on this will be appreciated ?