I am receiving the following error when I try to reference a Home interface on a remote client. It seems like the classloader can't find the jar file where the home interface is located in the client ear file.. The Home interface is in a jar file that is referenced by the manifest classpath of my application.. is this enough or does the class loader require it to be referenced in the server classpath? I have another EJB that works perfectly doing the same thing in another application and I can't see any difference between the two.. any help is appreciated.
Here is the error message..
17:16:55,819 ERROR [EJBHomeFactory] Caught Exception trying to create home reference. Exception = class javax.naming
.CommunicationExceptionException text = null
17:16:55,819 ERROR [STDERR] javax.naming.CommunicationException. Root exception is
17:16:55,839 ERROR [STDERR] java.lang.ClassNotFoundException: com.xxx.yyy.HomeInterfaceClass (no security manager: RMI class loader disabled)
You don't have the class on the client and RMI classloading
is disabled so it cannot download it from the server.
Regards,
Adrian