|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
DB2XADataSource Class not Found |
« View previous topic :: View next topic » |
Author |
Message
|
rajmq |
Posted: Tue Feb 04, 2003 2:12 am Post subject: DB2XADataSource Class not Found |
|
|
 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 |
|
 |
bower5932 |
Posted: Tue Feb 04, 2003 5:39 am Post subject: |
|
|
 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 |
|
 |
rajmq |
Posted: Tue Feb 04, 2003 9:51 pm Post subject: |
|
|
 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 |
|
 |
bower5932 |
Posted: Wed Feb 05, 2003 5:33 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|