geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack Cai <greensi...@gmail.com>
Subject Re: Accessing a server-wide JDBC data source through JNDI from a web module
Date Wed, 26 Aug 2009 12:13:52 GMT
You might want to paste your deployment plans and the code that locate the
datasource here, to give more context...

-Jack

On Wed, Aug 26, 2009 at 6:35 PM, Torsten Schlabach <tschlabach@gmx.net>wrote:

> 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