Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331803 - Update XML configuration files to use proper arguments for startup commands in examples
Summary: Update XML configuration files to use proper arguments for startup commands i...
Status: RESOLVED FIXED
Alias: None
Product: Jetty
Classification: RT
Component: server (show other bugs)
Version: 7.2.0   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 minor (vote)
Target Milestone: 7.1.x   Edit
Assignee: Michael Gorovoy CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-03 13:41 EST by Burhan Khalid CLA
Modified: 2011-01-26 11:42 EST (History)
4 users (show)

See Also:


Attachments

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