geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vamsavardhana Reddy" <c1vams...@gmail.com>
Subject Re: Datasource lookup at Connector Module
Date Wed, 29 Mar 2006 06:35:17 GMT
Do you have to use context.lookup("java:comp/env/jdbc/MyDS") ?

-Vamsi

On 3/29/06, akiramoto <akiramoto@gmail.com> wrote:
>
>
> I have a J2EE application that has a Connector Module, and it has to
> lookup a
> DataSource configured at Geronimo. Using WebSphere Application Server 6.0,
> it is very simple, because the only thing that I have to do is to use the
> Context.lookup (for example. context.lookup("jdbc/MyDS") ). But this
> lookup
> doesn't work at Geronimo, and all the articles that I found show examples
> using resource references at Web Applications and EJB Applications.
>
> Where do I have to configure the references to the datasources at my
> Connector module? Should I do anything in particular?
>
> Thanks in advance,
>
> --
> View this message in context:
> http://www.nabble.com/Datasource-lookup-at-Connector-Module-t1357708.html#a3636478
> Sent from the Apache Geronimo - Users forum at Nabble.com.
>
>

Mime
View raw message