users@glassfish.java.net

Re: Querying JNDI resource on GlassFish always returns null

From: <forums_at_java.net>
Date: Mon, 16 May 2011 09:48:17 -0500 (CDT)

[quote=cf126330]

DataSource myDataSource = (DataSource) initialContext.lookup("dataConn");

[/quote]

Right on the money!
It's working fine now, any experience using BoneCPDataSource? I tried to
cast it but without luck (can't cast DataSource to BoneCPDataSource)

Thanks a lot


--
[Message sent by forum member 'theplague']
View Post: http://forums.java.net/node/802621