Hi!


> I have a class in a war file that does an Context ctx = new
InitalContext() call
> and it fails to pick up the jndi implementation details from the
properties file
> unless I move it to the conf directory. Use to work fine until the move of
config
> files  to the default directory

Are you using the EmbeddedTomcat service?
Can you do (in your servlet):
System.out.println(Thread.currentThread().getContextClassLoader());
System.out.println(Thread.currentThread().getContextClassLoader().getResourc
e("jndi.properties"));

What is the result of the above?

I have personally deployed an .ear file with servlets, and they have no
trouble picking up jndi.properties properly with the new config.

/Rickard




Reply via email to