What is in the ejb-ref tag?  Sounds like you have something wrong there.

Also you need to link the beans to gether in JNDI (via jboss.xml) 
http://www.jboss.org/newsite/documentation/HTML/ch06.html

-----Original Message-----
From: Prince Mathew Samuel [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 19, 2001 7:37 AM
To: 'JBoss-User'
Subject: [jBoss-User] Problem while looking-up an entity bean from a
session bean.


Hi,
I am trying to call a method of an entity bean from a session bean. During
look-up, a RemoteException is generated. Is it necessary to have a "ejb-ref"
section in the deployment descriptor of the session bean for this? I tried
to add this section but got the error that the entity bean does not exist in
the application. I tried to deploy the session and entity beans in one jar
file but got the same error. Can somebody throw some light on this?
Regards,
Prince




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to