Initially I use DataSource ds = (Datasource) ctx.lookup();
and it throws an error as "
[b]"com.sun.gjc.spi.jdbc40.connectionholder"
cannot to cast " com.com.ibm.ws.rsadapter.jdbc.WSJdbcConnection" in run time."[/b]
But now am I used com.sun.appserv.datasource and I got physical connection. But still am not able to cast the oracle connection to wsjdbcconnection. Please help me to sort out this problem.
[Message sent by forum member 'balaji45678']
http://forums.java.net/jive/thread.jspa?messageID=481204