Re: JMS Exception

2003-12-26 Thread Robert Broderick
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


Re: JMS Exception

2003-12-26 Thread Robert Broderick
LOST is a good word!!
I don't think I was anywhere near something like this BUT it worked for the
DB2 error:
http://www.mainframeforum.com/t605776.html

In short, I am running under VAJ 3.5. It sets the java.library.path to it's
own library directory. I copied db2jdbc.dll from c:\sqllib\bin to my
c:\program files\ibm\VAJ\ide\program directory and the exception went away.
Just like the article said. Now to get around my nosuchfield exception.
Obviously there is a class version mismatch. BUT where?
(Teach me to muck with my environment settings!!!)
bobbee

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
_
Working moms: Find helpful tips here on managing kids, home, workand
yourself.   http://special.msn.com/msnbc/workingmom.armx
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


Re: JMS Exception

2003-12-26 Thread Brian S. Crabtree
bobbee

VAJ 3.5 is a bit old - you probably have a mismatch in the JMS classes -
between MQ java classes and a J2EE jar file

Brian S. Crabtree
WBI Consultant
- Original Message -
From: Robert Broderick [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, December 26, 2003 2:47 PM
Subject: Re: JMS Exception


 LOST is a good word!!
 I don't think I was anywhere near something like this BUT it worked for
the
 DB2 error:

 http://www.mainframeforum.com/t605776.html

 In short, I am running under VAJ 3.5. It sets the java.library.path to
it's
 own library directory. I copied db2jdbc.dll from c:\sqllib\bin to my
 c:\program files\ibm\VAJ\ide\program directory and the exception went
away.
 Just like the article said. Now to get around my nosuchfield exception.
 Obviously there is a class version mismatch. BUT where?
 (Teach me to muck with my environment settings!!!)


 bobbee

 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

 _
 Working moms: Find helpful tips here on managing kids, home, workand
 yourself.   http://special.msn.com/msnbc/workingmom.armx

 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