So I'm trying to get the trinidad_daemon installed. Worked locally on
OSX, so now I'm trying to set up a Debian staging server. I
downloaded the JSVC binary from
http://www.apache.org/dist/commons/daemon/binaries/1.0.3/linux/
and installed it on my path.
I have java extracted to:
/mnt/java/jdk1.6.0_20
and symlinked as:
/mnt/java/jdk -> /mnt/java/jdk1.6.0_20
so I can easily modify my Java version by updating this symlink.
This is what I set my JAVA_HOME to when running tomcat manually (/mnt/
java/jdk).
The installed script by default offers up /mnt/java/jdk1.6.0_20/jre as
a JAVA_HOME option, not sure what the difference is between the main
dir and the jre dir, but I get an error (below) when using both /mnt/
java/jdk and /mnt/java/jdk/jre
$ /etc/init.d/trinidad start
Starting daemon...
21/10/2010 10:50:32 12743 jsvc error: Cannot find any VM in Java Home /
mnt/java/jdk
Not sure what's happening as my JAVA_HOME works fine when I manually
start Tomcat. I can only assume it's an issue with my jsvc setup, but
I'm not sure where to go from here.
As usual, many thanks for all the help!