My JAVA application is using the following code:
Object ref = ctx.lookup("invokers/interest/Interest");
to access the example Interest bean.
What should I do to avoid the following exception:
javax.naming.CommunicationException. Root exception is java.lang.ClassNotFoundException: org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub (no security manager: RMI class loader disabled)
at sun.rmi.server.LoaderHandler.loadClass (LoaderHandler.java:318)
at sun.rmi.server.LoaderHandler.loadClass ...