5 Replies Latest reply on Feb 17, 2004 5:27 AM by Ian Ian

    Problem using a local interface on an EJB

    Ian Ian Newbie

      I'm having trouble accessing a local interface bean, and I'm not sure what I'm doing wrong. The error I'm getting when looking up the name is:
      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:652)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507)
      at javax.naming.InitialContext.lookup(InitialContext.java:347)
      (plus a heap more).

      I'm using JBoss 3.2.3 (default configuration), JDK 1.4.2. Not sure what else would help, but let me know if anything can help. BTW, the EJB works well if you access it via the REMOTE interface. I'm using XDoclet to generate the interfaces, so I don't think it's a hand-coding mistake.

      Thanks,

      Ian