Re: war Deployement ?

2002-04-11 Thread RAYMOND Romain


I have seen it is possible with TC 4.1 (in JWDSP )to add a mywebapp.xml
file in the webapp directory.
This file is merged to the server configuration file ... so ti permits
to do required initializations.

But is there a way with TC 4.0.3 ?

 
 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
 
parameternameuser/namevaluesa/value/parameter
 
parameternamepassword/namevalue/value/parameter
 parameternamedriverClassName/name
 
valueorg.hsqldb.jdbcDriver/value/parameter
 parameternamedriverName/name
 
 valuejdbc: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:[EMAIL PROTECTED]
 For additional commands: mailto:[EMAIL PROTECTED]
 Troubles with the list: mailto:[EMAIL PROTECTED]

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




war Deployement ?

2002-04-10 Thread RAYMOND Romain


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

parameternameuser/namevaluesa/value/parameter

parameternamepassword/namevalue/value/parameter
parameternamedriverClassName/name

valueorg.hsqldb.jdbcDriver/value/parameter
parameternamedriverName/name

valuejdbc: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:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]