ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » DB2XADataSource Class not Found

Post new topic  Reply to topic
 DB2XADataSource Class not Found « View previous topic :: View next topic » 
Author Message
rajmq
PostPosted: Tue Feb 04, 2003 2:12 am    Post subject: DB2XADataSource Class not Found Reply with quote

Partisan

Joined: 29 Sep 2002
Posts: 331
Location: USA

Hi,
I just Downloaded from the .net Site,
Sample java program that shows MQSeries base java and DB2
jdbc transactions in the same unit of work (ie, two phase commit) .

But i am not able to complie the java prgs.i am getting classnot found exception for jdbc driver related class.So where i can get these classes
or (jar files related with db2)

COM.ibm.db2.jdbc.DB2XADataSource myDataSource =
new COM.ibm.db2.jdbc.DB2XADataSource();

Thanks in Advance

raj
Back to top
View user's profile Send private message
bower5932
PostPosted: Tue Feb 04, 2003 5:39 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

My guess would be that you are missing the db2 jar files:
Code:

set classpath=%classpath%;c:\sqllib\java\db2java.zip
set classpath=%classpath%;c:\sqllib\java\sqlj.zip

that ship with db2. I'm not sure where you can get a copy of DB2. I would think that there is a trial version available for download somewhere. If you are a software developer, you can register at www.developer.ibm.com, hope to get approved and then have access to the Software mall where you'll have to pay a minimal fee to get software.

For the sake of curiosity, what was the name of the program.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
rajmq
PostPosted: Tue Feb 04, 2003 9:51 pm    Post subject: Reply with quote

Partisan

Joined: 29 Sep 2002
Posts: 331
Location: USA

Hi,

I checked both the zip (db2java.zip & sqlj.zip)file from db2 installation path,But i am not able to find these classes.

can u give any other url for downloading.

regards
raj
Back to top
View user's profile Send private message
bower5932
PostPosted: Wed Feb 05, 2003 5:33 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

I don't remember doing anything special when I installed my DB2. If you don't have the two zip files above, I'd suggest re-installing DB2. It could be that these zip files are part of a development toolkit option that you didn't pick?
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » DB2XADataSource Class not Found
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.