export and Tomcat?

buters franzi2005 at mail.ru
Fri Jul 18 10:25:06 PDT 2008


Hi,

My tomcat runs as service on Linux system.
Earlier another person set $JAVA_OPTS as
"=-Dartifactory.home=/srv/artifactory-1.2.5"
I would change it with "export
JAVA_OPTS=-Dartifactory.home=/srv/artifactory-1.3". If I execute echo
$JAVA_OPTS, I see "=-Dartifactory.home=/srv/artifactory-1.3". Also it is
correct. But tomcat sees it as earlier i.e.
"=-Dartifactory.home=/srv/artifactory-1.2.5" (info from localhost.log). I
insert "export JAVA_OPTS=-Dartifactory.home=/srv/artifactory-1.3" in
.bashrc, but it was unsuccessful. My $JAVA_OPTS points on
-Dartifactory.home=/srv/artifactory-1.3 but tomcat won't watch it so. Where
should I it change, that tomcat can find it?

Thanks beforehand,
regards, buters
-- 
View this message in context: http://www.nabble.com/export-and-Tomcat--tp18534155p18534155.html
Sent from the Linux Users (linux-sxs.org) mailing list archive at Nabble.com.




More information about the Linux-users mailing list