Hi,

The following code is working in webloigc;
           
String initialContextFactory =
ConfigManager.getProperty("framework.jndi.initialContextFactory","weblogic.j
ndi.TengahInitialContextFactory");
                Properties  p = new Properties();
            p.put(Context.INITIAL_CONTEXT_FACTORY, initialContextFactory);
            p.put(Context.PROVIDER_URL, "http://localhost");
                JNDILookup.jndiContext = new InitialContext(p);

But for Orion , I used
"com.evermind.server.ApplicationClientInitialContextFactory" instead of the
weblogic one, the error was in this line ( actually the program stopped at
this line) - JNDILookup.jndiContext = new InitialContext(p). Do you why it
is not working ? 

Thanks,

Edmund
        

Reply via email to