Community
Participate
Working Groups
Created attachment 183355 [details] screenshot configuring jetty runtime Jetty WTP Adaptor 1.0.0.201011170957 The jetty runtime is configured with an existing jetty installation. On start, it cannot find start.jar, but the path given appears to be relative to home directory? See attached screenshots
Created attachment 183356 [details] problem occured dialog
I'll have to play around with this to see if I can replicate, I do the same thing in normal testing and it works fine
The JVM args are: -Djetty.home="/home/gregw/workspace/jetty-7/.metadata/.plugins/org.eclipse.wst.server.core/tmp0" -DSTART="/home/gregw/workspace/jetty-7/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/start.config" -Dinstall.jetty.home="/home/gregw/src/jetty-7/jetty-distribution/target/distribution" -DVERBOSE -DSTOP.PORT=8082 -DSTOP.KEY=secret
I'll try to get more information
I update to the latest and still had same problem. I moved the target/distribution directory to /tmp/jetty-7 and updated the server properties - but it still looked and failed in target/distribution. I then deleted the server, edited the jetty-7 runtime and tried again with /tmp/jetty-7 and it started fine. I then moved the directory back to target/distribution and tried the same steps, but it resulted in failure again???
Can't reproduce. Played around with the jvm settings, etc. it always works. The default jvm settings are pretty similar to yours: -Djetty.home="/Users/tbecker/Documents/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0" -DSTART="/Users/tbecker/Documents/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/start.config" -Dinstall.jetty.home="/Users/tbecker/Documents/workspace/jetty-trunk/jetty-distribution/target/distribution" -DVERBOSE -DSTOP.PORT=8082 -DSTOP.KEY=secret I will now check the wtp version I use and probably try to get 1.0.0.201011170957 instead.
ok thats the latest stable release which I also used. It's a bit weird that the error dialogue states /jetty-distribution/target/distribution/start.jar (with leading slash) and omits /home/gregw/src/jetty-7.
Created attachment 184370 [details] classpath tab in eclipse ok it's normal and not weird, see my classpath. The path is relative to the jetty-distribution target.
Greg, try deleteing the Server and going through the New Server wizard again
closing as a couple of us have been unable to replicate