----------------------------------------------------------------
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!!!
----------------------------------------------------------------

I tried the same thing, but it didn't work!
All I changed is /bin/sh ---> /usr/bin/sh
LOGFILE ---> point to where my java_wrapper sits
..../java ---> point to where my java command is.

My java_wrapper script ran on the command line with an error:
LOGFILE=.......: Command not found
Ambiguous output redirect

Any idea?

Mei

Fanniemae

Ben Ricker wrote:

> ----------------------------------------------------------------
> 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!!!
> ----------------------------------------------------------------
>
> Morten Primdahl wrote:
> >
> > ----------------------------------------------------------------
> > 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!!!
> > ----------------------------------------------------------------
> >
> > Ben Ricker wrote:
> > >
> > > ----------------------------------------------------------------
> > > 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!!!
> > > ----------------------------------------------------------------
> > >
> > > I am an admin settign up a development environment for Java developers.
> > > One developer wanted to know where the println output (standard out)
> > > goes? Does Jserv send it through the nobody user?
> >
> > What we do, running JServ in automatic mode, is in jserv.properties:
> >
> > wrapper.bin=/opt/jdk1.2.2/bin/java_wrapper
> >
> > Where java_wrapper is:
> >
> > #!/bin/sh
> > LOGFILE=/opt/jserv-1.1/logs/jserv-jvm.log
> >
> > exec /opt/jdk1.2.2/bin/java  $* >> $LOGFILE 2>&1
>
> That will do the trick! I appreciate the help.
>
> Ben Ricker
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search Archives:
> <http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]




--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to