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

Bug 350437

Summary: Launching Jetty with jetty.sh and --exec options create 2 processes
Product: [RT] Jetty Reporter: Guillaume D. <itchy75>
Component: serverAssignee: Thomas Becker <tbecker>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jetty-inbox
Version: unspecified   
Target Milestone: 7.2.x   
Hardware: Other   
OS: other   
Whiteboard:
Attachments:
Description Flags
jetty.sh changed for solaris none

Description Guillaume D. CLA 2011-06-27 08:47:29 EDT
Build Identifier: 7.4.2.v20110526

1) shell script doesn't work as it on solaris. I did some small modification (see attached)

2) using --exec create 2 processes (workaround : use JAVA_OPTIONS variable)

3) the stop command only kill one process

Reproducible: Always

Steps to Reproduce:
1. add --exec options in start.ini
2. start jetty with "jetty.sh start" => 2 processes are started
3. stop jetty with "jetty.sh stop" => only one process is killed
Comment 1 Guillaume D. CLA 2011-06-27 08:49:06 EDT
Created attachment 198642 [details]
jetty.sh changed for solaris

jetty.sh modified to work on solaris : remove += commands that doesn't work properly.
Comment 2 Greg Wilkins CLA 2011-07-11 03:34:50 EDT
Thomas,

can you look at this contribution and see how it relates to the similar fixes recently 
I'm thinking that we can mark this one as fixed ?
Comment 3 Thomas Becker CLA 2011-07-28 09:43:11 EDT
Yes, this has been fixed already. Just retested it with --exec options. If you now kill the parent process or shutdown jetty both process' are being terminated.
Comment 4 Thomas Becker CLA 2011-07-28 09:44:10 EDT
^^