(Tomcat 5.0.28 running on CentOS 4.4 using Java 1.4.2_14-b05)

Hello All,

I have a problem with my understanding of data sources within Tomcat.

I have an application (MRS).  I deploy MRS using the Tomcat Manager.  I
then open up Tomcat Administration and I see MRS under:

Tomcat Server - Service (Catalina) - Host (localhost) - Context (mrs)

I then open up Resources -> Data Sources, and I 2 data source entries
have been crated (mssql & db2), however their configuration information
(url, driver class, etc..) is complete empty.  And, of course, the
application doesn't work because the JDBC calls are broken.

I go in, using the Administration tool again, configure the data
sources, providing URL, driver class, etc.. commit the changes and
everything works great.

THIS IS WHERE THE PROBLEM comes in, it all works great until we deploy
the application again.  Then the application, when deployed, just
overwrites all the data source information and I'm forced to enter it
all again for the app to work.

I,  using the Administration tool, tried putting the data source entries
in for the entire Tomcat Server (Tomcat Server - Resources - Data
Sources) versus putting them in for the specific application.  However,
the app. still dosen't work.

My question is, how do I make these data source entires 'stay put', so
that when the app is redeployed it can still make the JDBC calls?
Obviously I don't want to have to keep putting these in every time the
app is deployed.

All help is appreciated.

-jeff


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to