why cannt lookup an ejblocalhome???


EJB programming & troubleshooting: why cannt lookup an ejblocalhome???

  1. why cannt lookup an ejblocalhome??? (1 messages)

    i try to implement a EJB LocalHome use JBoss ,


          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 :(........
  2. why cannt lookup an ejblocalhome???[ Go to top ]

    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 ....