tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid...@pidster.com>
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.

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/%3c45C30808.6090304@pidster.com%3e



p

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


Mime
View raw message