When I try to bring up the j2ee build of OJB in JBoss, I get lots of stack traces, and finally see the message shown below. The root problem appears to be the "invoker is null" error (jboss:service=invoker,type=jrmp)
Has anyone else encountered these errors/exceptoins? Am I missing something? I used the jboss-service.xml file as instructed, have all the relevent files in the ojb.sar directory (running in JBoss 3.2.0), but get this problem. Yet, if I redeploy by copying db-ojb-1.0.rc2-beans.jar (the EJB jar) back into the ojb.sar after bringing up JBoss, it works fine!!
So, it appears that this EJB jar has some dependencies which need to be explicitly declared in JBoss.
Thanks in advance for any help!
Alex
13:51:24,051 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean ope
ration 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
<none>
Incompletely deployed packages:
<none>
MBeans waiting for classes:
<none>
MBeans waiting for other MBeans:
[ObjectName: jboss.j2ee:jndiName=org.apache.ojb.ejb.PersonManagerPBBean,service=
EJB
state: FAILED
I Depend On:
Depends On Me: java.lang.RuntimeException: invoker is null: jboss:service=invok
er,type=jrmp, ObjectName: jboss.j2ee:jndiName=org.apache.ojb.ejb.ArticleManagerP
BBean,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.lang.RuntimeException: invoker is null: jboss:service=invok
er,type=jrmp, ObjectName: jboss.j2ee:jndiName=org.apache.ojb.ejb.PersonManagerOD
MGBean,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.lang.RuntimeException: invoker is null: jboss:service=invok
er,type=jrmp, ObjectName: jboss.j2ee:jndiName=org.apache.ojb.ejb.PBSessionBean,s
ervice=EJB
state: FAILED
I Depend On:
Depends On Me: java.lang.RuntimeException: invoker is null: jboss:service=invok
er,type=jrmp, ObjectName: jboss.j2ee:jndiName=org.apache.ojb.ejb.PersonArticleMa
nagerODMGBean,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.lang.RuntimeException: invoker is null: jboss:service=invok
er,type=jrmp, ObjectName: jboss.j2ee:jndiName=org.apache.ojb.ejb.ODMGSessionBean
,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.lang.RuntimeException: invoker is null: jboss:service=invok
er,type=jrmp, ObjectName: jboss.j2ee:jndiName=org.apache.ojb.ejb.PersonArticleMa
nagerPBBean,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.lang.RuntimeException: invoker is null: jboss:service=invok
er,type=jrmp, ObjectName: jboss.j2ee:jndiName=org.apache.ojb.ejb.ArticleManagerO
DMGBean,service=EJB
state: FAILED
I Depend On:
Depends On Me: java.lang.RuntimeException: invoker is null: jboss:service=invok
er,type=jrmp]
META-INF\jboss-service.xml
<?xml version="1.0" encoding="UTF-8"?>
<server>
<mbean code="org.apache.ojb.jboss.PBFactory"
name="DefaultDomain:service=PBAPI,name=ojb/PBAPI">
<depends>jboss.jca:service=RARDeployer</depends>
<attribute name="JndiName">ojb/PBAPI</attribute>
</mbean> <mbean code="org.apache.ojb.jboss.ODMGFactory"
name="DefaultDomain:service=ODMG,name=ojb/defaultODMG">
<depends>jboss.jca:service=RARDeployer</depends>
<attribute name="JndiName">ojb/defaultODMG</attribute>
</mbean>
</server>_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
