continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Morgovsky, Alexander \(US - Glen Mills\)" <>
Date Mon, 08 Jan 2007 15:06:57 GMT
Well, could you try to do a ps -ef and see what user the Continuum
process is running under?  This way, you could be sure that the right
profile has the JAVA_HOME variable. 

-----Original Message-----
From: Tony Heal [] 
Sent: Monday, January 08, 2007 10:00 AM
Subject: JAVA_HOME

I need some help in setting the JAVA_HOME environment variable to run
the server is restarted? I use JAVA_HOME for several programs and I can
figure out how to set this for continuum.


I can get this set in every app except apache/maven continuum. I have
the following in the startup script in /etc/init.d/continuum and both
work if I log in and restart continuum manually, but do not work if the
server is restarted and I do not log in.


1)         I added the following lines at the beginning of the init


     Export JAVA_HOME




2) created a file with the following content


     Export JAVA_HOME

I then sourced this file at the beginning of the init script

    . test.txt

I have both the variable and export lines in my profile, so when I log
the server and start continuum it starts up and I can run a build,
JAVA_HOME is set by the profile. If I log out continuum continues to
and I am still able to complete a build, apparently because the app has
already determined when JAVA_HOME is.


If I remark out the variable and export lines from my profile, continuum
will run, but I can not get a build to complete. I get these same
results if
I do not log in.


With the lines remarked out in my profile I can add the JAVA_HOME to the
path and get a build to complete, but the PATH gets unset when I log


Any help would be great



This message (including any attachments) contains confidential information intended for a
specific individual and purpose, and is protected by law.  If you are not the intended recipient,
you should delete this message. 

Any disclosure, copying, or distribution of this message, or the taking of any action based
on it, is strictly prohibited. [v.E.1]

View raw message