You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by Bård Lind <ba...@gmail.com> on 2008/03/05 10:05:37 UTC

Automatic startup of Continuum on Solaris 10.

Hi folks.

Does any of you have experience on setting up automatic startup of Continuum
on Solaris 10 (in its own zone)
Currenty I´m trying to use smf/svccfg/svcadm.

What I´ve done so far is:
-created a manifest file, running continumm as ci user
-created a startup script, that calls bin/solaris-x86/run.sh ("runService")
- altered run.sh to reflect where wrapper is located (relative not absolute
".")
- using svccfg to validate and import manifest file
- using svcadm enable -t svc:/application/continuum/runService to start
Continuum.

The error I get is that trying to start Continuum the environment variables
for "ci" user (eg. JAVA_HOME and M2, MAVEN_HOME) is not available when
run.sh i run.
Adding these variables in the manifest file does not solve the issue, it
seems like.

Anyone got an idea on how to get Continuum to automatically start on
Solaris?

Tanks.

Bard