marc
The proposed fixed only partially fixed my problem. The jndi lookup now
works but the referenced class file cannot be found. I have side stepped the
problem for now by lumping everything into one big jar file. So I wouldn't
want to propose anything for now without a complete solution.
I think my problem may be related to the --- Re: [jBoss-User] jndi ear
deployment --- postings.
I also found with my side step solution that the session bean which uses my
entity bean, needs to have resource related information added to to the
jboss.xml and ejb-jar.xml files to work, even though it does not use the
resource directly (only via the entiy bean). This seems strange.
Re: [jBoss-User] jndi ear deployment
-----Original Message-----
From: marc fleury [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 14, 2000 1:47 PM
To: jBoss
Subject: RE: [jBoss-User] External ejb reference
can you propose a diff?
the source is under "newsite" in CVS
marc
|-----Original Message-----
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of Nortje, Andrew
|Sent: Tuesday, November 14, 2000 6:01 AM
|To: 'jBoss'
|Subject: RE: [jBoss-User] External ejb reference
|
|
|Thanks again, an extra note. A small update to this jboss doc
|http://jboss.org/documentation/ejbref_howto.html about including external
|interfaces would be good and save you guys some support questions.
|
|-----Original Message-----
|From: Rickard Oberg [mailto:[EMAIL PROTECTED]]
|Sent: Tuesday, November 14, 2000 8:30 AM
|To: jBoss
|Subject: Re: [jBoss-User] External ejb reference
|
|
|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 Oberg
|
|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]
|
|
|--
|--------------------------------------------------------------
|To subscribe: [EMAIL PROTECTED]
|To unsubscribe: [EMAIL PROTECTED]
|Problems?: [EMAIL PROTECTED]
|
|
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]