Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] Two Processes after Launch of jetty


Frank,

it is normal.

The start.jar is what is initially run and it will look at its modules to determine if it can run jetty directly or must exec another JVM to run jetty.  If it needs to add anything to the boot path or set system properties, then it will exec a new JVM.

If you wish to avoid this, you can run

/opt/icedtea-bin/bin/java -Djetty.home=/opt/jetty -Djava.io.tmpdir=/tmp -jar /opt/jetty/start.jar /etc/jetty/jetty-logging.xml /etc/jetty/jetty.xml --dry-run

and the --dry-run will make it generate the command it would use for the exec'd JVM.   You can then modify your start script to run that directly.

cheers



--

Back to the top