I am having problems getting Tomcat (JSP, Servlets) to retrieve EJBs from Weblogic 6.1 on WinNT. My simple stand alone Java program is able to get EJBs from Weblogic. However, this is not working on Tomcat servlet. Any ideas?? This is the code that I am using: Properties temp1 = new Properties(); temp1.put (Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory"); temp1.put(Context.PROVIDER_URL, "t3://localhost:7001"); temp1.put(Context.SECURITY_PRINCIPAL, "system"); temp1.put(Context.SECURITY_CREDENTIALS, "password"); Context ctx = new InitialContext(temp1);