Hi!

"Nortje, Andrew" wrote:
> I am try to use external ejb references. The ejb's are running under the
> same jBoss server but deployed in two different jar's. I have followed the
> jBoss documentation (a cut and paste is given below). In the jboss.xml I
> have replaced the jndi-name with the jndi-name of Bean B (the documentation
> example illustrates bean B running in another server)
> 
> I get the exception
> 
> [Customer] Exception: java.lang.NoClassDefFoundError: BHome
> 
> Now I can use both Bean A and B independently from a client, so I know they
> are properly deployed and bound in the jndi tree, however Bean A is unable
> to use Bean B.

Have you included B's interfaces in A's jar?

/Rickard

-- 
Rickard �berg

Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to