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

Bug 331803

Summary: Update XML configuration files to use proper arguments for startup commands in examples
Product: [RT] Jetty Reporter: Burhan Khalid <burhan.khalid>
Component: serverAssignee: Michael Gorovoy <mgorovoy>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: burhan.khalid, jetty-inbox, joakim.erdfelt, mgorovoy
Version: 7.2.0   
Target Milestone: 7.1.x   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Burhan Khalid CLA 2010-12-03 13:41:44 EST
Build Identifier: jetty-7.2.0.v20101020

In the default server, the rewrite demo launch instructions cause a bind exception because two configuration files are given in the sample command to be launched.

Reproducible: Always

Steps to Reproduce:
1. Download stable build (jetty-7.2.0.v20101020)
2. Launch default server (java -jar start.jar)
3. Browse to localhost:8080/rewrite/
4. Read instructions on page
5. Shut down server (CTRL+C)
6. Launch server with command given: java -jar start.jar OPTIONS=default,rewrite etc/jetty.xml etc/jetty-rewrite.xml
Comment 1 Joakim Erdfelt CLA 2010-12-03 13:50:10 EST
The "etc/jetty.xml" portion shouldn't be included in the instructions.
That is already present in the configuration by default, adding it again on the command line just makes jetty attempt to start 2 servers.

We should either change the etc/jetty.xml default behavior, or change the instructions.
Comment 2 Michael Gorovoy CLA 2011-01-24 17:09:51 EST
Greg, what is your preference? Should this be assigned to Shirley for the documentation re-write?
Comment 3 Michael Gorovoy CLA 2011-01-25 21:33:33 EST
Starting to work on this ticket.
Comment 4 Michael Gorovoy CLA 2011-01-26 11:42:29 EST
Committed r2698.