Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 335361 - "./jetty.sh check" doesn't display "Jetty running pid=xx" if JETTY_PID was set
Summary: "./jetty.sh check" doesn't display "Jetty running pid=xx" if JETTY_PID was set
Status: RESOLVED FIXED
Alias: None
Product: Jetty
Classification: RT
Component: server (show other bugs)
Version: 7.2.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 7.2.x   Edit
Assignee: Michael Gorovoy CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-25 13:42 EST by Michael Gorovoy CLA
Modified: 2011-03-30 17:15 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.