Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using variables for classpaths in jacl

Status
Not open for further replies.

blackp

Programmer
May 25, 2004
13
US
I am writing a jacl script to set up a Generic JMS Connection Factory. I have several values I need to add to the classpath, and would like to use Websphere variables for part of the classpath. This works just fine when I add it through the adminConsole, but when I add the classpath with the variable in it through jacl I get the message 'can't read "MQJMS_LIB_ROOT": no such variable'.

Does anyone know why I am not allowed to use a variable in the classpath?
 
I figured this one out.

I was adding the variable as ${MQJMS_LIB_ROOT}. The jacl parse was reading the $ and thinking that {MQJMS_LIB_ROOT} was a jacl variable, not a websphere variable. I modified my script so that is read \${MQJMS_LIB_ROOT}, and my problem was solved.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top