0 Replies Latest reply on May 21, 2002 1:50 PM by mang qin

    Help. Can't deploy entitybeans with JBOSS3RC2

    mang qin Newbie

      Hi,

      I have a problem loading my entity beans jar with JBOSS3RC2 on windows 2000 connecting to Oracle8.

      The log files looks like that beans are deploying and verified, a list of jndi services of each entity bean is created. Then when it's says deploying beans again, afterwards, the log shows that it's removing each jndi services, then I get this:

      2002-05-21 10:07:43,720 INFO [org.jboss.ejb.EjbModule] Remove JSR-77 EJB Module: jboss.management.single:J2EEApplication= ,J2EEServer=Single,j2eeType=EJBModule,name=entitybean.jar
      2002-05-21 10:07:43,720 DEBUG [org.jboss.management.j2ee.J2EEManagedObject] preDeregister(), parent: jboss.management.single:J2EEServer=Single,name=
      2002-05-21 10:07:43,730 ERROR [org.jboss.ejb.EjbModule] Initialization failed
      javax.management.InstanceAlreadyExistsException: jboss.j2ee:service=EJB,jndiName=CRAResult already registered.
      at org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:654 )
      at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistr y.java:240)
      at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:949)

      at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:276)
      at org.jboss.ejb.EjbModule.createService(EjbModule.java:389)
      at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:134)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatche r.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:8 67)
      at $Proxy0.create(Unknown Source)

      eventhough, from the log, it looks like CRAResult service was removed.

      Can some one help?
      Also, what is jboss doing?

      Thanks