i try to implement a EJB LocalHome use JBoss ,
<local-jndi-name>HelloLocal</local-jndi-name>
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 :(........
-
why cannt lookup an ejblocalhome??? (1 messages)
- Posted by: gong manli
- Posted on: September 18 2004 09:03 EDT
Threaded Messages (1)
- why cannt lookup an ejblocalhome??? by Arun Nair on September 20 2004 04:19 EDT
-
why cannt lookup an ejblocalhome???[ Go to top ]
- Posted by: Arun Nair
- Posted on: September 20 2004 04:19 EDT
- in response to gong manli
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 ....