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.

for:
 %tomcat_home%/webapps/appname1.war

the context xml file should deploy to:
 %tomcat_home%/conf/Catalina/localhost/appname1.xml



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

http://mail-archives.apache.org/mod_mbox/tomcat-users/200702.mbox/[EMAIL 
PROTECTED]



p

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to