export and Tomcat?

View: New views
1 Messages — Rating Filter:   Alert me  

export and Tomcat?

by buters :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

My tomcat runs as a 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
LightInTheBox - Buy quality products at wholesale price