2 Replies Latest reply on Jan 16, 2004 10:01 AM by Todd Hough

    Redeploy problem with depends

    Todd Hough Newbie

      On JBoss 3.2.2 I've deployed two EJB-JARs, Encryption.jar and CheckIn.jar.

      In CheckIn's jboss-xml file I declared a depends back to all combinations of:
      jboss.j2ee:module=Encryption.jar,service=EjbModule jboss.j2ee:jndiName=encryption/Encryption,service=EJB

      Both EJB-JARs deploy fine the first time and CheckIn.jar also redeploy's correctly. But when I try to redeploy Encryption.jar I get a NullPointerException.

      I looked at the bug tracker on SourceForge and didn't see anything. Is this a bug or do I have something configured wrong?

      2004-01-15 11:26:00,437 INFO [org.jboss.ejb.StatelessSessionContainer] Stopping jboss.j2ee:jndiName=CheckIn,service=EJB
      2004-01-15 11:26:00,437 INFO [org.jboss.ejb.plugins.StatelessSessionInstancePool] Stopping jboss.j2ee:jndiName=CheckIn,plugin=pool,service=EJB
      2004-01-15 11:26:00,437 INFO [org.jboss.ejb.EjbModule] Stopping jboss.j2ee:module=Encryption.jar,service=EjbModule
      2004-01-15 11:26:00,453 INFO [org.jboss.ejb.StatelessSessionContainer] Stopping jboss.j2ee:jndiName=encryption/Encryption,service=EJB
      2004-01-15 11:26:00,453 INFO [org.jboss.ejb.plugins.StatelessSessionInstancePool] Stopping jboss.j2ee:jndiName=encryption/Encryption,plugin=pool,service=EJB
      2004-01-15 11:26:00,468 INFO [org.jboss.management.j2ee.EJBModule] destroy(), remove EJB-Module: jboss.management.local:J2EEApplication=null,J2EEServer=Local,j2eeType=EJBModule,name=Encryption.jar
      2004-01-15 11:26:00,468 WARN [org.jboss.deployment.DeploymentInfo] Could not delete file:/C:/Apps/JBoss-3.2.3/server/TravelHQ-Dev-AltDeploy/tmp/deploy/tmp23015Encryption.jar restart will delete it
      2004-01-15 11:27:20,500 INFO [org.jboss.ejb.EjbModule] Stopping jboss.j2ee:module=CheckIn.jar,service=EjbModule
      2004-01-15 11:27:20,515 INFO [org.jboss.management.j2ee.EJBModule] destroy(), remove EJB-Module: jboss.management.local:J2EEApplication=null,J2EEServer=Local,j2eeType=EJBModule,name=CheckIn.jar
      2004-01-15 11:27:20,515 WARN [org.jboss.deployment.DeploymentInfo] Could not delete file:/C:/Apps/JBoss-3.2.3/server/TravelHQ-Dev-AltDeploy/tmp/deploy/tmp23002CheckIn.jar restart will delete it
      2004-01-15 11:27:45,531 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/C:/Apps/JBoss-3.2.3/server/TravelHQ-Dev-AltDeploy/deploy/myDeploy/Encryption.jar
      2004-01-15 11:27:45,750 INFO [org.jboss.ejb.EjbModule] Deploying Encryption
      2004-01-15 11:27:45,812 ERROR [org.jboss.ejb.StatelessSessionContainer] Initialization failed
      java.lang.NullPointerException
      at org.jboss.ejb.StatelessSessionContainer.createService(StatelessSessionContainer.java:127)
      at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:158)
      at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
      at $Proxy14.create(Unknown Source)
      at org.jboss.system.ServiceController.create(ServiceController.java:310)
      at org.jboss.system.ServiceController.create(ServiceController.java:243)
      at org.jboss.system.ServiceController.create(ServiceController.java:333)