• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

jms with websphere 4.0

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i tried installing mQSeries 5.2 with support pack ma88.HOw do u integrate it.After setting up the environment when i tried run IVTRun batch file...i got the following exception.
Exception in thread "main" java.lang.NoSuchMethodError
at com.ibm.mq.jms.services.ConfigEnvironment.<clinit>(ConfigEnvironment.java:173)
at com.ibm.mq.jms.MQJMSIVT.main(MQJMSIVT.java:149)
PLease help,
vikram
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Go to the IBM website (look in VADD) and do a search for Ryan Cox's articles on JMS in WAS 4.0. Or, do a search here on Javaranch for WAS and MQ Series and you'll find earlier posts where I posted the links to the articles directly.
Kyle
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The problem encountered is a classpath problem , Here is the solution:
Change According to ur setup environment of the below code and save in X:/Program files/IBM/MQSeries/Java/bin Directory and execute this .bat file.
Then it should work fine
**************************************************** setenv.bat
@echo off
set WAS_HOME=c:\websphere\appserver
set MQ_JAVA_INSTALL_PATH=c:\mqseries\java
@rem Java runtime
set JAVA_HOME=%WAS_HOME%\java\bin
@rem MQ JMS
set MQ=%MQ%;%MQ_JAVA_INSTALL_PATH%\lib
set MQ=%MQ%;%MQ_JAVA_INSTALL_PATH%\lib\com.ibm.mq.jar
set MQ=%MQ%;%MQ_JAVA_INSTALL_PATH%\lib\com.ibm.mqjms.jar
set MQ=%MQ%;%MQ_JAVA_INSTALL_PATH%\lib\jms.jar
@rem needed if using LDAP or file system for JNDI
set MQ=%MQ%;%MQ_JAVA_INSTALL_PATH%\lib\ldap.jar
@rem needed if using the file system for JNDI
set MQ=%MQ%;%MQ_JAVA_INSTALL_PATH%\lib\fscontext.jar
set MQ=%MQ%;%MQ_JAVA_INSTALL_PATH%\lib\providerutil.jar
@rem needed to use WebSphere name service for JNDI
set WebSphereCP=%WAS_HOME%\lib\ns.jar
set CLASSPATH=%MQ%;%WebSphereCP%;%CLASSPATH%
set PATH=%JAVA_HOME%;%MQ_JAVA_INSTALL_PATH%\lib;%PATH%;
***************************************************** end of setenv.bat file ***********************
Thanx & reg'ds
satish.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic