2 Replies Latest reply on Jun 26, 2012 11:38 AM by Hubert Cumberdale

    Local lookup with unmanaged client

    Hubert Cumberdale Newbie

      Hi, is it possible to make a lookup for a local interface in a client that is in the same JVM as the server but isn't an EJB or anything, just a simple client. In the clients jndi.properties I have:

       

      java.naming.factory.initial = org.jboss.as.naming.InitialContextFactory

       

      I don't use an adress or port since the client shouldn't make a remote lookup. If I try lookups like:

       

      lookup("java:global/...!...")

      lookup("java:module/...!...")

      lookup("java:app/...!...")

       

      then I get a NameNotFoundException.