Author |
Message
|
thomaszheng |
Posted: Wed Aug 30, 2006 6:20 am Post subject: run enqueue file from WID, java classes not found |
|
|
Acolyte
Joined: 01 Mar 2006 Posts: 62
|
Hi,
When I sent message to Q using the enqueue file from WID, it showed the flowing error:
BIP0977E The WebSphere MQ classes for Java could not be found.
Reason:
The WebSphere MQ classes for Java must be installed to use the enqueue editor to send messages
If this package is installed check and see if the following environment variable is set:
Windows:PATH=<install directory>\lib
Both the MQ and Message Broker are vertion 6. The main product installation dosen't have java classes installed? if not which support pack need to be download and installed? |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Aug 30, 2006 6:31 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Did you install the Java feature of WebSphere MQ?
Are the WebSphere MQ java libs on the system CLASSPATH?
Also, try re-running Rational Product Updater to update WID and WMBT to the most recent level. I've seen weird issues with installs of both these tools being fixed by upgrading.
Also, make sure your classpath is less than 255 characters long, or at least that the WebSphere MQ java classes are in the first 255 characters if you are running on Windows. Also make sure you use short paths for anything that is in a directory with spaces in it - if you are running on Windows - for CLASSPATH and PATH entries.
One more thing. Enqueue message files use the hardcoded SVRCONN channel 'SYSTEM.BKR.CONFIG' - so if that doesn't exist on the queue manager you want to send messages to, you'll have to create it. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
thomaszheng |
Posted: Wed Aug 30, 2006 6:42 am Post subject: |
|
|
Acolyte
Joined: 01 Mar 2006 Posts: 62
|
Hi jefflowrey,
I installed the MQ and Message broker in windows and the MQ installation has a java\lib folder there and has some jar files in it. the flowing is the CLASSPATH seting on my machine:
C:\IBM\WMQ6\Java\lib\providerutil.jar;C:\IBM\WMQ6\Java\lib\com.ibm.mqjms.jar;
C:\IBM\WMQ6\Java\lib\ldap.jar;C:\IBM\WMQ6\Java\lib\jta.jar;C:\IBM\WMQ6\Java\lib\jndi.jar;
C:\IBM\WMQ6\Java\lib\jms.jar;C:\IBM\WMQ6\Java\lib\connector.jar;C:\IBM\WMQ6\Java\lib\fscontext.jar;
C:\IBM\WMQ6\Java\lib\com.ibm.mq.jar;.;C:\IBM\SQLLIB\java\db2java.zip;C:\IBM\SQLLIB\java\db2jcc.jar;
C:\IBM\SQLLIB\java\sqlj.zip;C:\IBM\SQLLIB\java\db2jcc_license_cisuz.jar;
C:\IBM\SQLLIB\java\db2jcc_license_cu.jar;C:\IBM\SQLLIB\bin;
C:\IBM\SQLLIB\tools\db2XTrigger.jar;C:\IBM\SQLLIB\java\common.jar |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Aug 30, 2006 6:57 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Is C:\IBM\WMQ6\lib on the PATH variable? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
thomaszheng |
Posted: Wed Aug 30, 2006 7:44 am Post subject: |
|
|
Acolyte
Joined: 01 Mar 2006 Posts: 62
|
Hi jefflowrey,
Yes, it is also on PATH variable. |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Aug 30, 2006 9:45 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Look at the .log file in the .metadata directory of your workspace - see if it gives you any better information.
Otherwise, try running RPU again and applying any needed fixes.
If it still doesn't work or there are no fixes available... Open a PMR. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|