Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Servlet and MQ Classpath

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want my classpath to receive both my MQ variables and the servlet ones. When I set then individually it works fine. But I want then both, and when I set them both on the same class path only one works.

Can anyone help ?

Here is a sample of my class path, with both servlet and MQ variables:

.;C:\Tomcat4.1\common\lib\servlet.jar;D:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mq.jar;D:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mqjms.jar; D:\Program Files\IBM\WebSphere MQ\java\lib\com.ibm.mq.iiop.jar; D:\Program Files\IBM\WebSphere MQ\java\lib\connector.jar;D:\Program Files\IBM\WebSphere MQ\java\lib\;D:\Program Files\IBM\WebSphere MQ\samples\base;

When I set only this bit:

.;C:\Tomcat4.1\common\lib\servlet.jar;

my j2ee programs works very well.

and when I set only this bit:

D:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mq.jar;D:\Program Files\IBM\WebSphere MQ\Java\lib\com.ibm.mqjms.jar; D:\Program Files\IBM\WebSphere MQ\java\lib\com.ibm.mq.iiop.jar; D:\Program Files\IBM\WebSphere MQ\java\lib\connector.jar;D:\Program Files\IBM\WebSphere MQ\java\lib\;D:\Program Files\IBM\WebSphere MQ\samples\base;

my MQ classes works pretty well.

But the trouble is how to set them both ?

Carla.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!