tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mario Bittermann" <mario.bitterm...@gmx.at>
Subject Problem configure Datasource on Tomcat 4
Date Tue, 08 Feb 2005 09:53:09 GMT
Hi,
I tried to configure datasource as described in the How-To manual on tomcat
4, but it doesn´t work.

I found two ways to define a datasource and work with it:

On tomcat 4.1.24:
1. Define context-entry in server.xml for my application with resource entry
for datasource.
2. Define resource-ref in web.xml of my application.
Not a good way, because i cannot change my datasource via admin-console. I
have to edit server.xml file with editor and my server have to be restarted.

On tomcat 4.1.31:
Define datasource via admin-console and then edit server.xml and generate
content-entry with resource-link entry.

Its also poor because i also have to restart my server.

Is there a way to define datasource via admin-console and generate an entry
in my web.xml to get a connect to datasource?

Mario

-- 
Lassen Sie Ihren Gedanken freien Lauf... z.B. per FreeSMS
GMX bietet bis zu 100 FreeSMS/Monat: http://www.gmx.net/de/go/mail

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message