*
The moose likes Websphere and the fly likes javax.naming.Reference incompatible with javax.sql.DataSource Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "javax.naming.Reference incompatible with javax.sql.DataSource" Watch "javax.naming.Reference incompatible with javax.sql.DataSource" New topic
Author

javax.naming.Reference incompatible with javax.sql.DataSource

Micheal John
Ranch Hand

Joined: Nov 01, 2006
Posts: 344
Hi,

I am trying to get the datasource through a Java Standalone program from WebSphere 7.0 JNDI.
Below is my program and I successfully got the InitialContext, but getting the the below error while getting the datasource:
ANy idea / help on this will be helpful..





Error Log:
=========


Micheal John
SCJP 1.4 (86%), SCWCD 1.4 (86%), SCBCD 1.3 (85%), SCDJWS (Just Started...) - Satisfaction Lies in Our EFFORT, Not in the ATTAINMENT
Micheal John
Ranch Hand

Joined: Nov 01, 2006
Posts: 344
Any idea/help?
 
jQuery in Action, 2nd edition
 
subject: javax.naming.Reference incompatible with javax.sql.DataSource
 
Similar Threads
ClassCast when launching - No exception when using LaunchClient
java.lang.Exception: Attempted to use a 5.0 DataSource outside of a 2.3 servlet
SOAPAction header problem...Urgent
searching for DVDDbAdapter source code
Problem in Jndi LooK up in Was6.1 for MySql Data Source