That file exist no where on my machine. There is C:\sqllib\java\db2\db2java.zip, which I have in the classpath. The book sez that when you set up the app.DB2Driver it comes from the db2java.zip. I don't know where it is getting the db2jdbc.zip from.
CLASSPATH:
C:\SQLLIB\java\db2java.zip; C:[EMAIL PROTECTED]; C:\Program Files\IBM\WebSphere MQ\Java\lib\jndi.jar; C:\Program Files\IBM\WebSphere MQ\Java\lib\connector.jar; C:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mq.jar; C:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mqbind.jar; C:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mqjms.jar; C:\Program Files\IBM\WebSphere MQ\Java\lib\jms.jar;
That is the second problem. The first with the linkage issue relates to the JMS method call to createQueueConnection(). It was working prior to me changing the PATH/LIB/INCLUDE environment settings while working on some PERL MQ modules.
From: "Brian S. Crabtree" <[EMAIL PROTECTED]> Reply-To: MQSeries List <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: JMS Exception Date: Fri, 26 Dec 2003 11:08:48 -0500
bobbee
You lost your DB2 db2jdbc.zip classpath
Brian S. Crabtree WBI Consultant
----- Original Message ----- From: "Robert Broderick" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 26, 2003 10:41 AM Subject: JMS Exception
> I am getting the following error performing a "createQueueConnection()" in > my JAVA PGM. THIS WAS WORKING. I was playing with PERL and the MQSeries > modules and played with my PATH and LIB and INCLUDE environment variables > and now it is broke. My "PATH" is attached, I would appreciate any > suggestions. The exception is being caught and displayed. There is a second > error on a database call at the end of the stack which is from a call AFTER > the createQueueConnection() call. I think the "linkage" eror on the third > line is my issue BUT...... > > > bobbee > > java.lang.NoSuchFieldError > java.lang.Throwable() > java.lang.Error() > java.lang.LinkageError() > java.lang.IncompatibleClassChangeError() > java.lang.NoSuchFieldError() > java.lang.Class java.lang.Class.forName0(java.lang.String, boolean, > java.lang.ClassLoader) > java.lang.Class java.lang.Class.forName(java.lang.String) > javax.jms.QueueConnection > com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection() > javax.jms.QueueConnection > com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection() > void SimpleJMSGet.connectReceiver() > void QueueToDB.main(java.lang.String []) > > Exception: null > java.sql.SQLException: java.lang.UnsatisfiedLinkError: no db2jdbc in > java.library.path > > Path= > c:\Program files\cc\lib; > E:\Perl\bin\; > c:\Program files\IBM\WebSphere MQ\Java\lib; > c:\Program files\ibm\mqsiv21\nnsy\gui; > c:\Program files\ibm\mqsiv21\nnsy\bin; > c:\Program files\IBM\MQSIV2\neonsoft\gui; > c:\Program files\IBM\MQSIV2\neonsoft\bin; > C:\WINNT\system32; > C:\WINNT; > C:\WINNT\System32\Wbem; > c:\IBM\IMNNQ; > c:\Program files\ULTRAE~1; > c:\Program files\IBM\WebSphere MQ\bin; > c:\Program files\IBM\WebSphere MQ\tools\c\samples\bin; > c:\Program files\IBM\WebSphere MQ\Java\bin; > c:\Program files\IBM\WebSphere MQ Integrator 2.1\bin; > c:\SQLLIB\BIN; > C:\SQLLIB\java; > c:\SQLLIB\FUNCTION; > c:\SQLLIB\SAMPLES\REPL; > c:\SQLLIB\HELP; > C:\Program Files\Microsoft Visual Studio\VC98\bin; > C:\Program Files\Microsoft Visual Studio\VC98\include; > C:\Program Files\Microsoft Visual Studio\VC98\lib; > C:\Program Files\Microsoft Visual Studio\Common\MSDev98\bin; > C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT; > C:\Program Files\Microsoft Visual Studio\Common\Tools; > c:\Program files\lcc\bin; > c:\Program files\ObjREXX; > c:\Program files\ObjREXX\OODIALOG > > _________________________________________________________________ > Take advantage of our limited-time introductory offer for dial-up Internet > access. http://join.msn.com/?page=dept/dialup > > Instructions for managing your mailing list subscription are provided in > the Listserv General Users Guide available at http://www.lsoft.com > Archive: http://vm.akh-wien.ac.at/MQSeries.archive
Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
_________________________________________________________________ Get reliable dial-up Internet access now with our limited-time introductory offer. http://join.msn.com/?page=dept/dialup
Instructions for managing your mailing list subscription are provided in the Listserv General Users Guide available at http://www.lsoft.com Archive: http://vm.akh-wien.ac.at/MQSeries.archive
