Hi,
Define the data source in the GlobalNamingResource section of
server.xml.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Martin Monsorno [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, March 09, 2004 5:14 AM
>To: [EMAIL PROTECTED]
>Subject: How to deploy a war-file to tomcat 4?
>
>Hi all,
>
>I have a war-file containing my application, and the application needs
>a data source.  A not too unusual situation, I suppose.
>
>Now, when I install my application (by copying the war to the
>webapp-dir by using the manager app), it won't run, because it has no
>data source available.  To provide a data source, I must define a
>context for my web-app, thus specify the docBase directory where my
>jsp-files are, which does not exist because I didn't have the
>application installed at the time.  And tomcat will not accept my
>war-file after defining the context and complains, that the
>application already exists at this path.  What was first, the hen or
>the egg?
>
>How do you all make this?  I just want to be able to configure a data
>source one times, and then just install a war-file from time to time.
>
>--
>Martin
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to