I have Forte for Java 4.
I created a Servlet that access a object that tries to get an EJB, but I get an error:
Naming Exception caught: javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: EPay.EJB.TransactionHome (no security manager: RMI class loader disabled)]
There is no main in this object.
I ran another client with a main, and it works.
I know it's a security thing, but I don't know what to do.
Thanks in advance.
It depends how you are trying to lookup the object. Make sure you servlet and object have access to a jndi.properties with your required url and security manager etc. Or make sure you are building the context correctly to lookup the correct place.