i try to implement a EJB LocalHome use JBoss ,
- Posted by: gong manli
- Posted on: September 18 2004 09:03 EDT
Object refLocal = context.lookup("HelloLocal");
but it throws an exception :
javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: org.jboss.ejb.plugins.local.LocalHomeProxy (no security manager: RMI class loader disabled)]
how can i solve this problem,help me out :(........
The root exception is ClassNotFound. check the classpath and make sure that all the relevant classes are in place. Also you could add jbossx.jar ("no security manager:") to your client classpath and run with in a security manager.
like .... java -Djava.security.manager ....