4 Replies Latest reply on Aug 16, 2002 7:18 PM by Markus Joschko

    Error adding container to app?

    Markus Joschko Newbie

      Hi,
      sorry for posting such an exception stack. But I don't have a clue what can cause the exceptions. This is a stacktrace while deploying a package with a few CMP2 Entitybeans. Everytime jboss3.0.1RC1 tries do deploy pageSMS/User this error adding container to app occurs. There's nothing special about this class. Just like the other cmp entity beans that ar deployed.
      What is curious is, that everything works fine in the application. SO it's not a mission critical bug.
      I think it's a configuration bug, cause this error occurs on an university installation. On my private jboss3.0.1RC1 installation this error doesn't occur.
      Can anybody give me an advice ?
      Thanks,
      Markus

      11:52:46,669 INFO [MainDeployer] Undeploying file:/usr/local/jboss-3.0.1RC1/server/default/deploy/pageSMS.jar
      11:52:46,670 INFO [EjbModule] Destroying
      11:52:46,705 INFO [EjbModule] Remove JSR-77 EJB Module: jboss.management.single:J2EEApplication= ,J2EEServer=Single,j2eeType=EJBModule,name=pageSMS.jar
      11:52:46,706 INFO [EjbModule] Destroyed
      11:52:46,712 INFO [MainDeployer] Cleaned Deployment file:/usr/local/jboss-3.0.1RC1/server/default/deploy/pageSMS.jar
      11:52:46,712 INFO [MainDeployer] Undeployed file:/usr/local/jboss-3.0.1RC1/server/default/deploy/pageSMS.jar
      11:52:46,713 INFO [MainDeployer] Starting deployment of package: file:/usr/local/jboss-3.0.1RC1/server/default/deploy/pageSMS.jar
      11:52:47,344 INFO [EJBDeployer]
      Bean : pageSMS/PSserverEJB
      Method : public abstract PSserverEJB create() throws CreateException, RemoteException
      Section: 7.10.6
      Warning: All the exceptions defined in the throws clause of the matching ejbCreate(...) method of the enterprise bean class must be included in the throws clause of a matching create(...) method.

      11:52:47,372 INFO [EJBDeployer]
      Bean : pageSMS/PrimaryKeyGetter
      Method : public abstract PrimaryKeyGetterLocal create() throws CreateException
      Section: 7.10.8
      Warning: All the exceptions defined in the throws clause of the matching ejbCreate(...) method of the enterprise bean class must be included in the throws clause of a matching create(...) method.

      11:52:47,381 INFO [EjbModule] Creating
      11:52:47,441 INFO [EjbModule] Deploying pageSMS/User
      11:52:47,477 ERROR [EjbModule] error adding container to app.
      java.lang.NullPointerException
      at org.jboss.ejb.EjbModule.initializeContainer(EjbModule.java:723)
      at org.jboss.ejb.EjbModule.createEntityContainer(EjbModule.java:641)
      at org.jboss.ejb.EjbModule.createContainer(EjbModule.java:557)
      at org.jboss.ejb.EjbModule.createService(EjbModule.java:372)
      at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:136)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:950)
      at $Proxy6.create(Unknown Source)
      at org.jboss.system.ServiceController.create(ServiceController.java:304)
      at org.jboss.system.ServiceController.create(ServiceController.java:235)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy5.create(Unknown Source)
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:379)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:740)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:614)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:581)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy4.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:412)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:530)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:202)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
      11:52:47,515 INFO [EjbModule] Remove JSR-77 EJB Module: jboss.management.single:J2EEApplication= ,J2EEServer=Single,j2eeType=EJBModule,name=pageSMS.jar
      11:52:47,516 ERROR [EjbModule] Initialization failed
      java.lang.NullPointerException
      at org.jboss.ejb.EjbModule.initializeContainer(EjbModule.java:723)
      at org.jboss.ejb.EjbModule.createEntityContainer(EjbModule.java:641)
      at org.jboss.ejb.EjbModule.createContainer(EjbModule.java:557)
      at org.jboss.ejb.EjbModule.createService(EjbModule.java:372)
      at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:136)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:950)
      at $Proxy6.create(Unknown Source)
      at org.jboss.system.ServiceController.create(ServiceController.java:304)
      at org.jboss.system.ServiceController.create(ServiceController.java:235)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy5.create(Unknown Source)
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:379)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:740)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:614)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:581)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy4.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:412)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:530)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:202)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
      11:52:47,520 WARN [ServiceController] Problem creating service jboss.j2ee:service=EjbModule,url=file%/usr/local/jboss-3.0.1RC1/server/default/deploy/pageSMS.jar
      java.lang.NullPointerException
      at org.jboss.ejb.EjbModule.initializeContainer(EjbModule.java:723)
      at org.jboss.ejb.EjbModule.createEntityContainer(EjbModule.java:641)
      at org.jboss.ejb.EjbModule.createContainer(EjbModule.java:557)
      at org.jboss.ejb.EjbModule.createService(EjbModule.java:372)
      at org.jboss.system.ServiceMBeanSupport.create(ServiceMBeanSupport.java:136)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:950)
      at $Proxy6.create(Unknown Source)
      at org.jboss.system.ServiceController.create(ServiceController.java:304)
      at org.jboss.system.ServiceController.create(ServiceController.java:235)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy5.create(Unknown Source)
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:379)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:740)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:614)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:581)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy4.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:412)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:530)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:202)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
      11:52:47,526 INFO [MainDeployer] Deployed package: file:/usr/local/jboss-3.0.1RC1/server/default/deploy/pageSMS.jar
      11:52:47,527 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
      Packages waiting for a deployer:

      Incompletely deployed packages:

      MBeans waiting for classes:

      MBeans waiting for other MBeans:
      [ObjectName: jboss:service=Webserver
      state: FAILED
      I Depend On:
      Depends On Me: java.net.BindException: Address already in use, ObjectName: jboss:service=invoker,type=jrmp
      state: FAILED
      I Depend On:
      Depends On Me: java.rmi.ServerException: Could not bind JRMP invoker; nested exception is:
      java.rmi.server.ExportException: Port already in use: 4444; nested exception is:
      java.net.BindException: Address already in use, ObjectName: jboss.mq:service=InvocationLayer,type=OIL
      state: FAILED
      I Depend On: jboss.mq:service=Invoker

      Depends On Me: java.net.BindException: Address already in use, ObjectName: jboss.mq:service=InvocationLayer,type=UIL
      state: FAILED
      I Depend On: jboss.mq:service=Invoker

      Depends On Me: java.net.BindException: Address already in use, ObjectName: jboss.j2ee:service=EjbModule,url=file%/usr/local/jboss-3.0.1RC1/server/default/deploy/ejb-management.jar
      state: FAILED
      I Depend On:
      Depends On Me: java.lang.NullPointerException, ObjectName: jboss.j2ee:service=EjbModule,url=file%/usr/local/jboss-3.0.1RC1/server/default/deploy/jmx-ejb-adaptor.jar
      state: FAILED
      I Depend On:
      Depends On Me: java.lang.NullPointerException, ObjectName: jboss.j2ee:service=EjbModule,url=file%/usr/local/jboss-3.0.1RC1/server/default/deploy/pageSMS.jar
      state: FAILED
      I Depend On:
      Depends On Me: java.lang.NullPointerException]
      11:52:47,669 INFO [MainDeployer] Undeploying file:/usr/local/jboss-3.0.1RC1/server/default/deploy/pageSMS.jar
      11:52:47,670 INFO [EjbModule] Stopping
      11:52:47,678 INFO [EjbModule] Stopped
      11:52:47,679 INFO [EjbModule] Destroying
      11:52:47,726 INFO [EjbModule] Remove JSR-77 EJB Module: jboss.management.single:J2EEApplication= ,J2EEServer=Single,j2eeType=EJBModule,name=pageSMS.jar
      11:52:47,728 INFO [EjbModule] Destroyed
      11:52:47,732 INFO [MainDeployer] could not delete directory file:/usr/local/jboss-3.0.1RC1/server/default/tmp/deploy/server/default/deploy/pageSMS.jar/68.pageSMS.jar restart will delete it
      11:52:47,733 INFO [MainDeployer] Undeployed file:/usr/local/jboss-3.0.1RC1/server/default/deploy/pageSMS.jar
      11:52:47,734 INFO [MainDeployer] Starting deployment of package: file:/usr/local/jboss-3.0.1RC1/server/default/deploy/pageSMS.jar
      11:52:48,351 INFO [EJBDeployer]
      Bean : pageSMS/PSserverEJB
      Method : public abstract PSserverEJB create() throws CreateException, RemoteException
      Section: 7.10.6
      Warning: All the exceptions defined in the throws clause of the matching ejbCreate(...) method of the enterprise bean class must be included in the throws clause of a matching create(...) method.

      11:52:48,383 INFO [EJBDeployer]
      Bean : pageSMS/PrimaryKeyGetter
      Method : public abstract PrimaryKeyGetterLocal create() throws CreateException
      Section: 7.10.8
      Warning: All the exceptions defined in the throws clause of the matching ejbCreate(...) method of the enterprise bean class must be included in the throws clause of a matching create(...) method.

      11:52:48,391 INFO [EjbModule] Creating
      11:52:48,441 INFO [EjbModule] Deploying pageSMS/User
      11:52:48,481 INFO [EjbModule] Deploying pageSMS/Message
      11:52:48,520 INFO [EjbModule] Deploying pageSMS/PrimaryKeyDB
      11:52:48,559 INFO [EjbModule] Deploying pageSMS/Group
      11:52:48,598 INFO [EjbModule] Deploying pageSMS/test
      11:52:48,635 INFO [EjbModule] Deploying pageSMS/PSserverEJB
      11:52:48,688 INFO [EjbModule] Deploying pageSMS/PrimaryKeyGetter
      11:52:48,948 INFO [EjbModule] Created
      11:52:48,950 INFO [EjbModule] Starting
      11:52:49,719 INFO [pageSMS/Group] Table 'psgroup' already exists
      11:52:49,774 INFO [pageSMS/Message] Table 'psmessage' already exists
      11:52:49,818 INFO [pageSMS/PrimaryKeyDB] Table 'psprimarykey' already exists
      11:52:49,874 INFO [pageSMS/User] Table 'psuser' already exists
      11:52:49,899 INFO [EjbModule] Started
      11:52:49,899 INFO [MainDeployer] Deployed package: file:/usr/local/jboss-3.0.1RC1/server/default/deploy/pageSMS.jar