tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: context placement
Date Tue, 06 Feb 2007 20:34:27 GMT
Alan Chandler wrote:
> On Tuesday 06 February 2007 20:03, Alan Chandler wrote:
>> I am getting symptoms (I think) of my JDNI resource having not been
>> set up properly
> I forgot to say that I have this working under eclipse on a development 
> system, but it seems (as part of the Web App plugin) to copy the 
> contents of context.xml into server.xml
> My reading of the docs of tomcat5.5 is that I don't need to do this (nor 
> to Catalina/ENGINE_NAME/HOST_NAME/usermgr.xml)

Context first:

you don't need to specify the /path.
the path to the webapp is determined from the name of the deployed .war 
or the name of the context.xml file.


the context xml file should deploy to:

I posted last week a sample JNDI config which defines the DB globally, 
but ought to work with a tweak or two:


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message