----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Sorry to ask this again, but can anybody help?
----------------
Hi folks -
I was wondering if someone could give me a hand setting wrapper.env
environment variables to multiple line values in jserv.properties.....
(I looked all through the FAQ to no avail)
Basically I have a really long LD_LIBRARY_PATH containing 3 directory paths:
wrapper.env=LD_LIBRARY_PATH=/home/deep/work/web/agentm/servlets/simple_packa
ge:/home/deep/work/web/agentm/servlets:/home/deep/work/web/agentm/servlets/c
om
This works - but is ugly & hard to maintain.
I'd like to do something like:
wrapper.env=LD_LIBRARY_PATH=/home/deep/work/web/agentm/servlets/simple_packa
ge
wrapper.env=LD_LIBRARY_PATH=/home/deep/work/web/agentm/servlets
wrapper.env=LD_LIBRARY_PATH=/home/deep/work/web/agentm/servlets/com
BUT in this case only the last LD_LIBRARY_PATH gets set
so I tried
wrapper.env=LD_LIBRARY_PATH=/home/deep/work/web/agentm/servlets/simple_packa
ge\
:/home/deep/work/web/agentm/servlets\
:/home/deep/work/web/agentm/servlets/com
which doesn't work, so I tried
wrapper.env=LD_LIBRARY_PATH=/home/deep/work/web/agentm/servlets/simple_packa
ge
wrapper.env=LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/deep/work/web/agentm/serv
lets
wrapper.env=LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/deep/work/web/agentm/serv
lets/com
which doesn't work, so I tried
DIRS=/home/deep/work/web/agentm/servlets/simple_package:/home/deep/work/web/
agentm/servlets:/home/deep/work/web/agentm/servlets/com
wrapper.env=LD_LIBRARY_PATH=${DIRS}
which doesn't work, so I'm trying writing here :-)
Any ideas?
The odd thing is that wrapper.classpath seems to work like the first way I
tried:
wrapper.classpath=/home/deep/work/web/agentm/servlets/com/bitshark/test
wrapper.classpath=/home/deep/work/web/agentm/servlets/simple_package
wrapper.classpath=/home/deep/work/web/agentm/servlets
includes ALL of the paths in the classpath.....
--------------------------
Amandeep Jawa
Imagelock, Inc.
--------------------------
[EMAIL PROTECTED]
1725 Montgomery St.
San Francisco CA 94111
Wk: 415 616 7262
Fax: 415 392 5382
www.imagelock.com
Imagelock is growing rapidly and recruiting software engineers.
Please refer candidates to [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]