geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Schlabach <tschlab...@gmx.net>
Subject Accessing a server-wide JDBC data source through JNDI from a web module
Date Wed, 26 Aug 2009 10:35:59 GMT
Dear list!

My problem is this:

I have followed this tutorial:

http://cwiki.apache.org/GMOxDOC21/web-application-for-jdbc-access.html

Interesting enough, I can even successfully look up my datasource
without having a geronimo-web.xml at all when I deploy the web module
standalone.

But as soon as I make that web module part of an enterprise application
(wrap it into an EAR file) the JNDI lookup doesn't work any more, even
with the geronimo-web.xml file.

Any thoughts how to find the problem?

Regards,
Torsten

Mime
View raw message