When I try to access an Entity Bean from a servlet (Apache/Jserv) I get
javax.naming.CommunicationException
java.lang.ClassNotFoundException:
com.mytoc.ejb.category.JOnASCategoryBeanCategoryHome_Stub]

I can access it no problem using a Java application program but not a
servlet.
I sounds like a classpath problem but the paths are set similar in both
environments.  Then I thought that it may be a permissions problem but I
don't know.

Any clues?

This is where the exception is thrown
//
CategoryHome home;
home = (CategoryHome)
PortableRemoteObject.narrow(initialContext.lookup(homeBeanName),CategoryHome.class);

//

Thanks in advance,
Paul-

----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to