Hello All,

I am having quite some trouble doing a lookup. I understand from the JBoss 
documentation that if the Beans are in the same JAR file, then they should 
refer to each other by java:comp/env/ejb/BeanName and if they are outside 
the package then I should declare a new jboss.xml file which defines the 
external names.

Now my problem uses an EntityBean, a Session Bean a JavaBean to support the 
JSP file and the two JSP files. I have refered to the entity beans from my 
sessions beans using the java:comp/env/ejb/BeanName way, but the JavaBean 
(which belongs to the same package as the Session Bean) seem to have 
problems locating the Session Bean with the java:comp/env/ejb/ name space 
and creating an object of it. Currently I don't have a jboss.xml file in 
the EJB package.

What do you think is the mistake I am making. Any Suggestions

App Server in user JBoss 2.2.2 - Tomcat 3.2

Thank you for your time.

Devraj


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to