Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-5200

Error starting web service (stateless EJB) on startup (but hot deploy works fine)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • No Release
    • JBossAS-5.0.0.Beta3
    • Deployers
    • None
    • windows xp; jboss-5.0.0Beta3

      Starting jboss with the iam-sample.jar in the deploy folder I get the following exception, but if I completely remove the web service and deploy it once jboss is running, the web service is deployed and responds to client properly. I've attached the service and boot logs for both situations.

      2008-02-01 11:28:50,034 INFO [org.jboss.ejb3.EJBContainer] STARTED EJB: com.mckesson.onestaff.iam.sample.service.GreeterBean ejbName: Greeter
      2008-02-01 11:28:50,253 DEBUG [org.jboss.ejb.txtimer.EJBTimerServiceImpl] createTimerService: org.jboss.ejb.txtimer.TimerServiceImpl@1ea6afc
      2008-02-01 11:28:50,300 DEBUG [org.jboss.ejb.txtimer.EJBTimerServiceImpl] removeTimerService: org.jboss.ejb.txtimer.TimerServiceImpl@1ea6afc
      2008-02-01 11:28:50,300 INFO [org.jboss.ejb3.EJBContainer] STOPPED EJB: com.mckesson.onestaff.iam.sample.service.GreeterBean ejbName: Greeter
      2008-02-01 11:28:50,300 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Start: name=jboss.j2ee:jar=iam-sample.jar,name=Greeter,service=EJB3 state=Create
      java.lang.NullPointerException
      at org.jboss.ejb.txtimer.EJBTimerServiceImpl.restoreTimers(EJBTimerServiceImpl.java:452)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)

        1. boot.log
          88 kB
        2. boot.log
          88 kB
        3. iam-sample.jar
          5 kB
        4. server.log
          1.12 MB
        5. server.log
          1.09 MB

              dandread1@redhat.com Dimitrios Andreadis
              rsdickerson Scott Dickerson (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: