jQuery in Action, 3rd edition
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

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

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

Micheal John
Ranch Hand

Joined: Nov 01, 2006
Posts: 344

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?
Umesh K Sharma

Joined: Nov 01, 2012
Posts: 12
Hi Micheal John.. did you remember how you solved this problem. i am also facing the same problem
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: javax.naming.Reference incompatible with javax.sql.DataSource
It's not a secret anymore!