Re: Starting Tomcat w/ commons-daemon

2003-08-20 Thread Bill Barker
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 [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Starting Tomcat w/ commons-daemon

2003-08-19 Thread Richard Park
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

2003-08-19 Thread David Kramer
Not sure if this will help much, but servlet.jar is included in the
jakarta-servletapi-4 bundle.  I know the Tomcat source compile will require
that .jar package.  Hopefully that sheds some light.

DK

 -Original Message-
 From: Richard Park [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, August 19, 2003 8:31 AM
 To: [EMAIL PROTECTED]
 Subject: 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!
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]