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">
>                                         
><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:[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]>

Reply via email to