While attempting to deploy an application in 4.0 that worked fine on 3.2.5, I received 
a NullPointerException during the deployment of some of the components of this app.

I have searched the forums, and googled around and haven't found any hints....Here is 
the relevant portion of my system log:

  | ...
  | 2004-09-21 11:24:17,101 DEBUG [org.jboss.ejb.EjbModule] startService, starting 
container: XPDLPackage
  | 2004-09-21 11:24:17,101 DEBUG [org.jboss.system.ServiceController] starting 
service jboss.j2ee:jndiName=org/obe/PackageLocal,service=EJB
  | 2004-09-21 11:24:17,101 DEBUG [org.jboss.ejb.EntityContainer] Starting 
jboss.j2ee:jndiName=org/obe/PackageLocal,service=EJB
  | 2004-09-21 11:24:17,101 DEBUG [org.jboss.ejb.EntityContainer] Begin java:comp/env 
for EJB: XPDLPackage
  | 2004-09-21 11:24:17,101 DEBUG [org.jboss.ejb.EntityContainer] TCL: [EMAIL 
PROTECTED]
  | 2004-09-21 11:24:17,101 DEBUG [org.jboss.ejb.EntityContainer] Bound java:comp/ORB 
for EJB: XPDLPackage
  | 2004-09-21 11:24:17,101 DEBUG [org.jboss.ejb.EntityContainer] Bound 
java:comp:/HandleDelegate for EJB: XPDLPackage
  | 2004-09-21 11:24:17,101 DEBUG [org.jboss.ejb.EntityContainer] Binding an 
EJBLocalReference ejb/ProcessDefinition
  | 2004-09-21 11:24:17,101 DEBUG [org.jboss.ejb.EntityContainer] Binding 
ejb/ProcessDefinition to bean source: ProcessDefinition
  | 2004-09-21 11:24:17,101 DEBUG [org.jboss.ejb.EntityContainer] Binding resource 
manager: jdbc/TxDataSource to JDNI ENC as: java:/MySQLDS
  | 2004-09-21 11:24:17,117 DEBUG [org.jboss.ejb.EntityContainer] End java:comp/env 
for EJB: XPDLPackage
  | 2004-09-21 11:24:17,117 DEBUG 
[org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Using 
properties: {user=obe, password=--hidden--}
  | 2004-09-21 11:24:17,133 DEBUG [org.jboss.ejb.plugins.local.BaseLocalProxyFactory] 
Bound EJBLocalHome of XPDLPackage to org/obe/PackageLocal
  | 2004-09-21 11:24:17,133 DEBUG [org.jboss.ejb.plugins.AbstractInstanceCache] 
Starting InvalidableEntityInstanceCache...
  | 2004-09-21 11:24:17,133 ERROR [org.jboss.ejb.EntityContainer] Starting failed 
jboss.j2ee:jndiName=org/obe/PackageLocal,service=EJB
  | java.lang.NullPointerException
  |     at 
org.jboss.ejb.plugins.InvalidableEntityInstanceCache.start(InvalidableEntityInstanceCache.java:107)
  |     at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:337)
  | ...
  | 
  | 

It seems that it fails to find the InvalidationManagerMBean in the Registry.  Here is 
the code where the NPE occurrs:

     ...
  |      this.invalMgr = (InvalidationManagerMBean) Registry.lookup(imName);
  | -->this.ig = this.invalMgr.getInvalidationGroup(groupName);
  |      this.ig.register(this);
  |      this.isTraceEnabled = log.isTraceEnabled();
  |      ...

Any clue what I've done wrong here?

Thanks in advance.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3848992#3848992

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3848992


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to