You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Richard Park <fi...@sympatico.ca> on 2003/08/19 17:30:56 UTC
Starting Tomcat w/ commons-daemon
Hi,
I've downloaded and built commons-daemon from source. I have the following issues:
1/ the 'INSTALL' text says I should have 'jsvc', 'service.jar'. I have 'jsvc', but 'service.jar' is no where to be found. The tutorial I'm following is from O'reilly's Tomcat Def. Guide, but it seems somewhat inaccurate/outdated > it makes no mention of 'service.jar'.
2/ I placed the dist directory in '/usr/local/apps/commons-daemon', set permisions on my Tomcat 'logs', 'temp', 'webapps' and 'work' directories, set my $PATH and $DAEMON_HOME env. variables.
When I run > Tomcat.sh start
nothing happens - Tomcat does not start. I checked 'catalina.out' and there are 3 jsvc error messages stating that my 'libjvm.so' could not be dynamically linked due to a 'permission denied'. I've tried playing with the permissions on this file with no luck.
Any suggestions or pointers would be greatly appreciated - thanks!
Re: Starting Tomcat w/ commons-daemon
Posted by Bill Barker <wb...@wilshire.com>.
The Tomcat.sh file is meant to be a template for the file that you install
in '/etc/init.d'. In particular, it sets the JAVA_HOME variable to where a
1.3.1 JVM would live on a Solaris box (which is most likely the cause of
your errors). Most of the other variable will likely need to be modified as
well (or you will just start seeing other errors in catalina.out :). If you
still have problems after fixing the paths, please post them. I am very
interested in hearing about them.
"Richard Park" <fi...@sympatico.ca> wrote in message
news:00bf01c36666$e248b920$0200a8c0@solid1...
Hi,
I've downloaded and built commons-daemon from source. I have the following
issues:
1/ the 'INSTALL' text says I should have 'jsvc', 'service.jar'. I have
'jsvc', but 'service.jar' is no where to be found. The tutorial I'm
following is from O'reilly's Tomcat Def. Guide, but it seems somewhat
inaccurate/outdated > it makes no mention of 'service.jar'.
2/ I placed the dist directory in '/usr/local/apps/commons-daemon', set
permisions on my Tomcat 'logs', 'temp', 'webapps' and 'work' directories,
set my $PATH and $DAEMON_HOME env. variables.
When I run > Tomcat.sh start
nothing happens - Tomcat does not start. I checked 'catalina.out' and there
are 3 jsvc error messages stating that my 'libjvm.so' could not be
dynamically linked due to a 'permission denied'. I've tried playing with the
permissions on this file with no luck.
Any suggestions or pointers would be greatly appreciated - thanks!
Re: Starting Tomcat w/ commons-daemon
Posted by Bill Barker <wb...@wilshire.com>.
The Tomcat.sh file is meant to be a template for the file that you install
in '/etc/init.d'. In particular, it sets the JAVA_HOME variable to where a
1.3.1 JVM would live on a Solaris box (which is most likely the cause of
your errors). Most of the other variable will likely need to be modified as
well (or you will just start seeing other errors in catalina.out :). If you
still have problems after fixing the paths, please post them. I am very
interested in hearing about them.
"Richard Park" <fi...@sympatico.ca> wrote in message
news:00bf01c36666$e248b920$0200a8c0@solid1...
Hi,
I've downloaded and built commons-daemon from source. I have the following
issues:
1/ the 'INSTALL' text says I should have 'jsvc', 'service.jar'. I have
'jsvc', but 'service.jar' is no where to be found. The tutorial I'm
following is from O'reilly's Tomcat Def. Guide, but it seems somewhat
inaccurate/outdated > it makes no mention of 'service.jar'.
2/ I placed the dist directory in '/usr/local/apps/commons-daemon', set
permisions on my Tomcat 'logs', 'temp', 'webapps' and 'work' directories,
set my $PATH and $DAEMON_HOME env. variables.
When I run > Tomcat.sh start
nothing happens - Tomcat does not start. I checked 'catalina.out' and there
are 3 jsvc error messages stating that my 'libjvm.so' could not be
dynamically linked due to a 'permission denied'. I've tried playing with the
permissions on this file with no luck.
Any suggestions or pointers would be greatly appreciated - thanks!
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org