users@glassfish.java.net

Re: Re: LookUp Fails

From: <forums_at_java.net>
Date: Tue, 22 Mar 2011 11:56:35 -0500 (CDT)

 These are the steps I am following.

  1) "InitialContext ic = new InitialContext(); DataSource ds = (DataSource)
       ic.lookup("jdbc/dbName");"

  2) "Connection con = ds.getConnection();"



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