RE: Lookup of Orion-based EJB from Tomcat-based servlet ("java:comp/env namespace is only available from within the J2EE environment")

2000-10-04 Thread Arved Sandstrom
Try "java:comp/env/fungi". ^ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of McLain, Mark Sent: Wednesday, October 04, 2000 11:57 AM To: Orion-Interest Subject: Lookup of Orion-based EJB from Tomcat-based servlet ("java:comp/e

RE: Lookup of Orion-based EJB from Tomcat-based servlet ("java:comp/env namespace is only available from within the J2EE environment")

2000-10-04 Thread Jason Smith
I have never tried to do what you are talking about, but you might want to try using com.evermind.server.rmi.RMIInitialContextFactory as your INITIAL_CONTEXT_FACTORY within your servlet. so.. Hashtable env = new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi

Lookup of Orion-based EJB from Tomcat-based servlet ("java:comp/env namespace is only available from within the J2EE environment")

2000-10-04 Thread McLain, Mark
NOTE: This is a repost. The message now includes a subject (oops!) and more detail. A coworker and I are trying to create a servlet that will run on his computer under Tomcat. This servlet is attempting to lookup and use an EJB deployed on my computer under Orion. This servlet is using the co