Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

was and mqseries

 
Ranch Hand
Posts: 271
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm trying to setup WAS so that when I run adminserver.sh , the appserver will see the mq jars located in /opt/mqm/java/lib (on a Solaris box).
I edited the LD_LIBRARY_PATH variable in the adminserver.sh script as shown below:
LD_LIBRARY_PATH=$WAS_LIBPATH:$LD_LIBRARY_PATH
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/mqm/java/lib
export LD_LIBRARY_PATH ;;

But on restarting the server , I get the following in the output :
Java Library path = /opt/WebSphere/java/jre/bin/../lib/sparc/client:/opt/WebSphe
re/java/jre/bin/../lib/sparc::/opt/WebSphere/bin:/opt/app/oracle/product/9.2.0//
jdbc/lib::/usr/lib
The mq jars are not being picked up. Running the application confirms that as I get a NoClassDef error for one of the mq series jars.
What am I missing?
jeff
 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think, you should make these modification in setupCmdLine.sh/bat file and then check whether paths are reflecting properly.
 
reply
    Bookmark Topic Watch Topic
  • New Topic