Title: RE: [jBoss-User] Fresh pair of eyes

Hey,

> Hi, I've been trying to get a servlet to talk with an EJB (using the
> bundled jboss+tomcat binary from the JBoss web site). If I set the
> JNDI properties in the servlet code with System.setProperty(...)
> everything works fine, but so for I haven't managed to get the
> jndi.properties style of configuration to work.
>
> Where should I put the jndi.properties file? In the war file?

Yes, under WEB-INF/classes

I've also had all sorts of problems getting this to work (it got to the point where my servlets could not see some _classes_ in WEB-INF/classes).  But no longer!  I have taken the plunge, and gone to Jetty.  It's pretty good.  Check it out some time.

Tom

Tom Cook
Systems Development
Australian Submarine Corporation
Mersey Road
Outer Harbour

+61 8 8348 7645

"From the instant I picked your book up, until the moment I put it down, I was convulsed with laughter.  I fully intend to read it one day."

        - Groucho Marx

Reply via email to