When you download the jsvc from the site it contains a script that can be modified and used. Look in the jsvc folder.
Doug ----- Original Message ----- From: "Ingo Kampe" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, April 22, 2004 6:16 AM Subject: Re: JSP work dir problem running Tomcat 5 through jsvc > Hello, > > Parsons Technical Services wrote: > > When using jsvc it will not picking up the shell variables. Set the data > > manually in the script header. Mine looks like this: > > > > JAVA_HOME=/tomcat/java > > CATALINA_HOME=/tomcat/tc > > DAEMON_HOME=/tomcat/tc/bin > > TOMCAT_USER=tomcat > > TMP_DIR=/var/tmp > > CATALINA_OPTS= > > CLASSPATH=\ > > $JAVA_HOME/lib/tools.jar:\ > > $CATALINA_HOME/bin/commons-daemon.jar:\ > > $CATALINA_HOME/bin/bootstrap.jar > > There are just to more vars than i already use: DAEMON_HOME and TMP_DIR. > I will try if these makes the difference in execution. > > > Also where did you get the script file from? It is considerable different > > from the one I downloaded a few weeks ago. In mine the first line tells you > > to edit these line to match your machine. > > I've just written the script for my needs. > > Thanks for your response. > > Regards, > )ngo > > > > ----- Original Message ----- > > From: "Ingo Kampe" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Wednesday, April 21, 2004 7:10 AM > > Subject: JSP work dir problem running Tomcat 5 through jsvc > > > > > > > >>Hello, > >> > >>i'm facing a problem with jsp pages. Seems to have a broken work dir > >>path and jasper doesn't prepare the jsp files to .java files for > >>compilation. > >> > >>symptom: > >>java.io.FileNotFoundException: > >>/opt/tbone/server/tomcat/work/Catalina/localhost/tbone/org/apache/jsp/ > >>topmenu_jsp.java > >>at java.io.FileOutputStream.open(Native Method) > >>at java.io.FileOutputStream.<init>(FileOutputStream.java:179) > >>at java.io.FileOutputStream.<init>(FileOutputStream.java:70) > >>at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:223) > >> > >>This is the first jsp page of my webapp. servlets and html pages are > >>working well. > >> > >>What works: > >>same webapp in Tomcat 3.3 and in Tomcat 5.19 started with startup.sh > >>instead of jsvc. But I need the fork mechanism of jsvc for using port > >>80,443 as user. jsp-examples work fine but there are already precompiled > >>jsp pages inside WEB-INF/classes/org/apache/jsp. > >> > >>Any help would be appreciated. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
