tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ettoregia <>
Subject Re: Configure tomcat using init.d
Date Mon, 17 Oct 2011 10:04:34 GMT

Thanks Hassan for your help.

I found the version (Red Hat 4.1.2-50).

Regarding the the deploy, I know that by storing a file under
Catalina->localhost-> myAppName.xml in which I specify the path of the WAR I
would not need to copy WAR under wepApps but Tomcat will do it by itself. Is
that correct?

For the context.xml, shall I create it, since there's no file so called in

Many thanks.

Hassan Schroeder-2 wrote:
> On Fri, Oct 14, 2011 at 1:52 AM, ettoregia <> wrote:
>> My system: Linux, the version I'don't know how to realize, since I've got
>> just an ssh connection and typing some command I've not been able to
>> discover it, maybe you can help me out on this as well.
> `cat /proc/version` should give you something useful.
>> Alright, I need to deploy .war file under tomcat that actually has 4
>> engines
>> (5.5, 6.0.16, 6.0.18, 7.0), and as I'm used to, I would put under
>> /conf/Catalina/localhost, of the engine 6.0.18, a file called
>> <myAppName>.xml to specify the context path of my webApp then I would
>> modify
>> the server.xml to specify the jdbc connection and the like. As I've no
>> rights to modify anything under the tomcat's home the IT guy told me to
>> use
>> the folder init.d/<myAppName> in order to use any script at boot time to
>> accomplish the configuration above.
> Huh? Your app's context path should be taken from the name of the
> WAR file, and the JDBC config should be contained in the WAR file
> in a META-INF/context.xml file.
> Nothing else required. Other than an better IT department. :-)
> -- 
> Hassan Schroeder ------------------------
> twitter: @hassan
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View this message in context:
Sent from the Tomcat - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message