Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 335361

Summary: "./jetty.sh check" doesn't display "Jetty running pid=xx" if JETTY_PID was set
Product: [RT] Jetty Reporter: Michael Gorovoy <mgorovoy>
Component: serverAssignee: Michael Gorovoy <mgorovoy>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jetty-inbox
Version: 7.2.2   
Target Milestone: 7.2.x   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Michael Gorovoy CLA 2011-01-25 13:42:03 EST
Originally reported as JETTY-1321 at Codehaus by Florian Heinisch <florian@heinisch.cc>.

When custom values for JETTY_RUN and JETTY_PID are set in jetty.sh, the command "./jetty.sh check" does not display the expected information "Jetty running pid=xx" (while jetty is running).
That's because the script jetty.sh (version 6.1.26 in line 652, version 7.2.2 in line 555) looks for $JETTY_RUN/jetty.pid which should be $JETTY_PID (also applies to line 654 in version 6.1.26 and line 557 in version 7.2.2).
Comment 1 Michael Gorovoy CLA 2011-03-30 17:15:21 EDT
Committed r2690.