Bug 1185453 - Tomcat server.xml is empty causing SAXParseException upon startup
Summary: Tomcat server.xml is empty causing SAXParseException upon startup
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: ImageStreams
Version: 2.2.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Jason DeTiberus
QA Contact: libra bugs
URL:
Whiteboard:
Depends On: 1175489
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-23 19:34 UTC by Brenton Leanhardt
Modified: 2015-02-12 13:10 UTC (History)
11 users (show)

Fixed In Version: openshift-origin-cartridge-jbosseap-2.24.0.1-1, openshift-origin-cartridge-jbossews-1.32.0.1-1
Doc Type: Bug Fix
Doc Text:
Cause: A bug in environment variable parsing led to JBOSS EAP and EWS server.xml being removed when environment variables contained whitespace. Consequence: Tomcat would fail to start up. Fix: Environment variable handling has been updated to handle whitespace properly. Result: Environment variables with whitespace no longer break JBOSS EAP and EWS applications.
Clone Of: 1175489
Environment:
Last Closed: 2015-02-12 13:10:00 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0220 0 normal SHIPPED_LIVE Red Hat OpenShift Enterprise 2.2.4 bug fix and enhancement update 2015-02-12 18:08:20 UTC

Comment 3 Gaoyun Pei 2015-01-26 06:16:19 UTC
Verify this bug on puddle 2.2/2015-01-23.2

1. Create a jbosseap app with jenkins client
rhc app create eap jbossews-1 --enable-jenkins

2. Set an env variables with its value contain *blank* character
[root@broker ~]# rhc env-set OPENSHIFT_TEST=va' 'l"u"e1 -a eap
Setting environment variable(s) ... done
[root@broker ~]# rhc env-list -a eap
OPENSHIFT_TEST=va lue1

3. Open Jenkins job and click Build Now

4. Watch console output. No error was found, jbosseap cartridge could start.

5. This also works well against jbossews-1/jbossew-2 cartridge

Comment 5 errata-xmlrpc 2015-02-12 13:10:00 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0220.html


Note You need to log in before you can comment on or make changes to this bug.