0 Replies Latest reply on Jan 28, 2007 3:06 AM by guava

    EJB3 service object tutorial problem

    guava Newbie


      I tried to run the 'service' tutorial came with jboss-EJB-3.0_RC9_Patch_1 in 4.05GA under windows. I can see the services are created and started.

      23:48:45,796 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:jar=tutor
      ial.jar,name=ServiceOne,service=EJB3 with dependencies:
      23:48:45,937 INFO [EJBContainer] STARTED EJB: org.jboss.tutorial.service.bean.S
      erviceOne ejbName: ServiceOne
      23:48:46,015 INFO [STDOUT] ServiceOne - Creating
      23:48:46,031 INFO [STDOUT] ServiceOne - Starting

      But when I CTRL-C to stop Jboss, I see that the life cycle methods on these objects are called but I got the following error:
      23:50:13,890 INFO [STDOUT] ServiceOne - Stopping
      23:50:13,890 INFO [STDOUT] ServiceOne - Destroying
      23:50:13,890 WARN [ServiceDelegateWrapper] Stopping failed jboss.j2ee:jar=tutor
      java.lang.RuntimeException: javax.management.InstanceNotFoundException: jboss.j2
      ee:jar=tutorial.jar,name=ServiceOne,service=EJB3,type=ManagementInterface is not
      at org.jboss.ejb3.JmxKernelAbstraction.uninstallMBean(JmxKernelAbstracti
      at org.jboss.ejb3.service.ServiceContainer.stop(ServiceContainer.java:16

      Any help will be great.