--
Nimret Sandhu wrote:
> --
>
> hello ppl -
>
> ive used jrun extensively before. u can start it from the command and
> line and have all your output to stdout in a servlet will show up on the
> command line. it does not seem that apache/jserv can do this ( i started
> apache
> from the command line and it did not seem to work).
you can start it manually: I think it is even in the FAQ somewhere.
make sure you have the JSDK and Apache-JServ.jar in the classpath and then:
/usr/bin/java org.apache.jserv.JServ <configfile>
that gives you System.out.println() on stdout.
I have created a shell-script that starts multiple JVM's automatically on
different ports
all it needs is a file with the names of the JVM's.
it then searches for a lib-dir for each JVM. All the jar-files in this
directory get added to the class-path.
This script also redirects stdout to log-files
with a small perl-cgi program I can then view the log-files via web-browser
or restart the JVM's remotely after updating class-files.
Tell me if you need this skript?
Willi
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
READ THE FAQ!!!! <http://java.apache.org/faq/>
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]