aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes java.lang.ClassNotFoundException: LocalHomeProxy (no security manager: RMI class loader disabled Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "java.lang.ClassNotFoundException: LocalHomeProxy (no security manager: RMI class loader disabled" Watch "java.lang.ClassNotFoundException: LocalHomeProxy (no security manager: RMI class loader disabled" New topic
Author

java.lang.ClassNotFoundException: LocalHomeProxy (no security manager: RMI class loader disabled

subba rao
Greenhorn

Joined: Apr 24, 2008
Posts: 24
I am calling below method which is deployed in the remote network.the application is deployed in JBOSS as a EJB services.

So am calling below program as a standalone program in eclipse then below exception is coming.

My question is how to access below service.can't i call this service as standalone program which is deployed as EJB service in some other network.

AuthenticationServices.getInstance().createSession("abcd");


Caused by: javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: org.jboss.ejb.plugins.local.LocalHomeProxy (no security manager: RMI class loader disabled)]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:845)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at com.ejb.EjbHomeLoader.getRemoteHome(EjbHomeLoader.java:68)
at com.ejb.EjbHomeLoader.getRemoteHome(EjbHomeLoader.java:45)
at com.ejb.EjbManager.getEjbHome(EjbManager.java:238)
at com.ejb.EjbManager.getEjbObject(EjbManager.java:184)
at com.services.BaseServices.executeLocalEjbMethod(BaseServices.java:294)
... 2 more
Caused by: java.lang.ClassNotFoundException: org.jboss.ejb.plugins.local.LocalHomeProxy (no security manager: RMI class loader disabled)
at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:375)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java.lang.ClassNotFoundException: LocalHomeProxy (no security manager: RMI class loader disabled