| Summary: | Multi Jetty xml files not loading if directory is referenced in jetty.conf | ||
|---|---|---|---|
| Product: | [RT] Jetty | Reporter: | Quintin <qpaulson> |
| Component: | server | Assignee: | Joakim Erdfelt <joakim.erdfelt> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | jetty-inbox, qpaulson |
| Version: | unspecified | ||
| Target Milestone: | 7.1.x | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Fixed in /rt/org.eclipse.jetty/jetty/trunk@2649 |
Build Identifier: 7.1.6.v20100715 When you try to specify a directory to load .xml files from within the /etc/jetty.conf file it does not work. The problem is within the jetty.conf: for file in "$CONF/"*.xml do echo "Checking file: $file" if [ -r "$FILE" ] && [ -f "$FILE" ] then echo "addding configgggg" CONFIGS+=("$FILE") else echo "** WARNING: Cannot read '$FILE' specified in '$JETTY_CONF'" fi the first line should be: for file in "$CONF/"*.xml ( lowercase file ) Reproducible: Always Steps to Reproduce: 1. create a /etc/jetty.conf file with a path to a dir ( /Users/user1/jetty/etc/myConfigs ) 2. create one or more jettty.xml files within this directory ( jetty_7000.xml, jetty_7001.xml ) 3. run jetty.sh check you will notice that the configs output is empty.