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

Reply via email to