[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [jetty-users] Problem upgrading Jetty
|
OK, most probably a bug.
On Saturday, 1 February 2014, Andrea Cappelli <
a.cappelli@xxxxxxxxx> wrote:
Hi Peter,
the command I pasted previously is the same as the upstart script
/usr/lib/jvm/java-1.7.0-oracle/bin/java -server -Xms256m -Xmx1024m -XX:+DisableExplicitGC -Djetty.home=/var/jolie/webreserv/jetty_9.1.1/ -Djetty.base=/var/jolie/webreserv/jetty-instances-enabled/gc -jar /var/jolie/webreserv/jetty_9.1.1/start.jar --daemon
At this moment what I understand is
1) If lib, lib/ext, resources and webapps doesn't exists in jetty.base Jetty print
WARNING: Required directory '${jetty.base}/lib' does not exist. Run with --create-files to create
WARNING: Required directory '${jetty.base}/lib/ext' does not exist. Run with --create-files to create
WARNING: Required directory '${jetty.base}/resources' does not exist. Run with --create-files to create
WARNING: Required directory '${jetty.base}/webapps' does not exist. Run with --create-files to create
and then exits
2) If I add --create-files to the command line missing directory are created (empty) and jetty exit with no output
3) If after 2) I started jetty with same arguments (except --create-files) everything is working
So I can solve my problem adding empty directory in jetty.base
What I'm wondering is
1) in 9.1.0 the behaviour was different, so something was changed (I can't see any relevant in changelog)
2) the output says WARNING, but in fact this is a blocking error (jetty exit)
Maybe this beahviour is due to some of my conf, but I can't see which one
Thanks to everyone for the replies