[prev in list] [next in list] [prev in thread] [next in thread] 

List:       geronimo-user
Subject:    Re: Accessing a server-wide JDBC data source through JNDI from a web
From:       Jack Cai <greensight () gmail ! com>
Date:       2009-08-26 12:13:52
Message-ID: 5e7fd1eb0908260513ta98be37jb8ab3c2908b4cb44 () mail ! gmail ! com
[Download RAW message or body]

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
>

[Attachment #3 (text/html)]

You might want to paste your deployment plans and the code that locate the datasource \
here, to give more context...<br><br>-Jack<br><br><div class="gmail_quote">On Wed, \
Aug 26, 2009 at 6:35 PM, Torsten Schlabach <span dir="ltr">&lt;<a \
href="mailto:tschlabach@gmx.net">tschlabach@gmx.net</a>&gt;</span> wrote:<br> \
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); \
margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Dear list!<br> <br>
My problem is this:<br>
<br>
I have followed this tutorial:<br>
<br>
<a href="http://cwiki.apache.org/GMOxDOC21/web-application-for-jdbc-access.html" \
target="_blank">http://cwiki.apache.org/GMOxDOC21/web-application-for-jdbc-access.html</a><br>
 <br>
Interesting enough, I can even successfully look up my datasource<br>
without having a geronimo-web.xml at all when I deploy the web module<br>
standalone.<br>
<br>
But as soon as I make that web module part of an enterprise application<br>
(wrap it into an EAR file) the JNDI lookup doesn&#39;t work any more, even<br>
with the geronimo-web.xml file.<br>
<br>
Any thoughts how to find the problem?<br>
<br>
Regards,<br>
<font color="#888888">Torsten<br>
</font></blockquote></div><br>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic