export and Tomcat?
James McDonald
james at jamesmcdonald.id.au
Wed Jul 30 16:35:00 PDT 2008
buters wrote:
> 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?
>
Look for catalina.sh it contains many references to JAVA_OPTS it may be
set in their
It should be in the $tomcat_root/bin directory.
Also if you are running stuff from the command line check tool-wrapper.sh
More information about the Linux-users
mailing list