----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------


Stefan Mainz wrote:
> Roland Becker wrote:
> >
>
> >     if test -x $JAVABIN
> >     then
> >       nohup su -c "$JAVABIN -classpath $JSERVCLASSPATH
$JAVABINPARAMETERS
>                 ^
>                 Propably you missed a $JSERVUSER here
> > org.apache.jserv.JServ $JSERVPROPERTIES" $JSERVUSER>>$JSERVLOG&
> >     else
> >       echo "Can't execute $JAVABIN"
> >     fi
> >     ;;
> >
> >   'stop')
> >     # Stop JServ
> >       su -c "$JAVABIN -classpath $JSERVCLASSPATH $JAVABINPARAMETERS
>            ^
>            Propably you missed a $JSERVUSER here
>
> Stefan

I don't think so (I mean it's working as it should in my configuration), but
you have to put

      nohup su -c "$JAVABIN -classpath $JSERVCLASSPATH $JAVABINPARAMETERS
org.apache.jserv.JServ $JSERVPROPERTIES" $JSERVUSER>>$JSERVLOG&

all in ONE line of the script as well as this:

      su -c "$JAVABIN -classpath $JSERVCLASSPATH $JAVABINPARAMETERS
org.apache.jserv.JServ $JSERVPROPERTIES -s" $JSERVUSER>>$JSERVLOG&

Roland



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to