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
META-INF.

Many thanks.


Hassan Schroeder-2 wrote:
> 
> On Fri, Oct 14, 2011 at 1:52 AM, ettoregia <ettore...@gmail.com> 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 ------------------------ hassan.schroe...@gmail.com
> http://about.me/hassanschroeder
> twitter: @hassan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Configure-tomcat-using-init.d-tp32650998p32665821.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to