Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350437 - Launching Jetty with jetty.sh and --exec options create 2 processes
Summary: Launching Jetty with jetty.sh and --exec options create 2 processes
Status: RESOLVED FIXED
Alias: None
Product: Jetty
Classification: RT
Component: server (show other bugs)
Version: unspecified   Edit
Hardware: Other other
: P3 normal (vote)
Target Milestone: 7.2.x   Edit
Assignee: Thomas Becker CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-27 08:47 EDT by Guillaume D. CLA
Modified: 2011-07-28 09:44 EDT (History)
1 user (show)

See Also:


Attachments
jetty.sh changed for solaris (14.69 KB, text/plain)
2011-06-27 08:49 EDT, Guillaume D. CLA
no flags Details

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