This content has been marked as final.
Show 2 replies
-
1. Re: Newbie: JNDI problem
jonlee Jun 22, 2003 11:09 PM (in response to viz)If you are using an embedded servlet container (jbossweb-jetty.sar or jbossweb-tomcat.sar), you only need:
Context jndiContext = new InitialContext();
Object reference = jndiContext.lookup("MyEJB");
This will pickup the jndi.properties already set in the JVM (running JBoss and Tomcat). -
2. Re: Newbie: JNDI problem
viz Jun 23, 2003 5:56 AM (in response to viz)Hummm....
Okay, I'll try this again.
Many thanks for the reply.
Kind regards,
--
Viz