tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From torben <tor...@frojonck.dk>
Subject Postgresql and JNDI Datasource
Date Tue, 24 Jan 2006 21:55:35 GMT
I am trying to define a global JDBC datasource, where the database is 
Postgresql (version 7.3) ni Tomcat version 5.5.15.

I have strictly followed the example in 
http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html,
but it does not work if I define the datasource in 
$CATALINA_HOME/conf/server.xml.

However if I define the datasource in the application 
META-INF/context.xml, it is working.

I would prefer to define the datasource in 
$CATALINA_HOME/conf/server.xml. Has somebody succeded in doing that ? 
And if yes, how ?


Torben Frøberg

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


Mime
View raw message