tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "RAYMOND Romain" <romain.raym...@c-s.fr>
Subject war Deployement ?
Date Wed, 10 Apr 2002 08:00:37 GMT

Hello,

I package my web app as a war file. Probelm is that I'd like to do all
initialization
in my war file. But my server configuration file (server.xml) need to
intialize the weapp
RDBM driver : "

					 <Resource name="jdbc/myDB" auth="Container" 
						type="javax.sql.DataSource"/>
					<ResourceParams name="jdbc/myDB">
					<parameter><name>user</name><value>sa</value></parameter>
					<parameter><name>password</name><value></value></parameter>
					<parameter><name>driverClassName</name>
					<value>org.hsqldb.jdbcDriver</value></parameter>
					<parameter><name>driverName</name>
				
<value>jdbc:hsqldb:D:/mywebapp/src/docroot/WEB-INF/databases/myDB</value></parameter>
					</ResourceParams>
".

So is there informations about how to package those servers
configurations informations
into a war to deploy my webapp without modifying server.xml ?


thanks.

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message