I'm trying to deploy Apache OJB in Jboss 3.2.0 as ojb.sar, with two MBeans
defined in jboss-service.xml.
This packaging structure worked fine in Jboss 3.0.6, but in 3.2 lots of
exceptions are thrown at init, followed by the "depends on me" message shown
below. The root problem appears to be the "invoker is null" error
(jboss:service=invoker,type=jrmp)
Yet, if I redeploy my EJB by copying db-ojb-1.0.rc2-beans.jar (the EJB jar)
back into the ojb.sar directory after bringing up Jboss 3.2, it works fine!
So, it appears that this EJB jar has some dependencies which need to be
explicitly declared in JBoss. I tried many different Class-Path references
in the EJB's manifest.mf file, but to no avail.
Any advice would be appreciated (SWAGs are fine too ;-)
------------------------------------------------------------------
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>
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user