Bug 1175489
Summary: | Tomcat server.xml is empty causing SAXParseException upon startup | |||
---|---|---|---|---|
Product: | OpenShift Online | Reporter: | cparham | |
Component: | Image | Assignee: | Jakub Hadvig <jhadvig> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | |
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 2.x | CC: | bparees, chunchen, jokerman, libra-bugs, mmccomas, wsun, wzheng | |
Target Milestone: | --- | Keywords: | NeedsTestCase | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1185453 (view as bug list) | Environment: | ||
Last Closed: | 2015-03-05 19:56:43 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1185453 |
Description
cparham
2014-12-17 20:29:05 UTC
hi cparham, thank you for reporting this issue, we found the cause and the solution. We already fixed the issue and your application should be running now. Thank you, -Jakub Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/09aaa38649636a329a5bb89ad7222924a9dc1068 Bug 1175489: Wrong grep regexp in jbossews Checked on devenv_5367, it's reproduced for jbossews-1/jbossews-2 when the value of env variables contain *blank* character, but work well for jbossas/jbosseap, please refer to the following test steps: 1. Create a jbossews app with jenkins client rhc app create cews12 jbossews-1 --enable-jenkins 2. Set an env variables with its value contain *blank* character rhc env-set OPENSHIFT_TEST=va' 'l"u"e1 -a cews12 3. Check the env variable $ rhc env-list -a cews12 4. Open Jenkins job and click Build Now 5. Watch console output Jakub did you see this came back? Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/ae09d815f459957d969622c10c4103d1a51ddc16 Bug 1175489: Updating sed logic and escaping env vars It's fixed, verified on devenv_5381, please refer to the below results: <---------snip--------> Downloaded: http://mirror.ops.rhcloud.com/nexus/content/groups/public/org/codehaus/plexus/plexus-archiver/1.2/plexus-archiver-1.2.jar (178 KB at 593.9 KB/sec) [INFO] Packaging webapp [INFO] Assembling webapp [cews12] in [/var/lib/openshift/54ae2bd49463915730000051/app-root/runtime/repo/target/cews12] [INFO] Processing war project [INFO] Copying webapp resources [/var/lib/openshift/54ae2bd49463915730000051/app-root/runtime/repo/src/main/webapp] [INFO] Webapp assembled in [86 msecs] [INFO] Building war: /var/lib/openshift/54ae2bd49463915730000051/app-root/runtime/repo/webapps/ROOT.war [INFO] WEB-INF/web.xml already added, skipping [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 30.065s [INFO] Finished at: Thu Jan 08 02:05:09 EST 2015 [INFO] Final Memory: 7M/18M [INFO] ------------------------------------------------------------------------ + /usr/libexec/openshift/cartridges/jenkins/bin/git_ssh_wrapper.sh 54ae2b11946391573000000f.rhcloud.com 'gear stop --conditional --exclude-web-proxy --git-ref 0e3b1f83f3c36cfeece75ab531e9734a10e0d026' Warning: Permanently added 'cews12-cdm.dev.rhcloud.com,10.150.78.224' (RSA) to the list of known hosts. Stopping gear... Stopping jbossews cartridge Sending SIGTERM to jboss:13861 ... ++ /usr/libexec/openshift/cartridges/jenkins/bin/git_ssh_wrapper.sh 54ae2b11946391573000000f.rhcloud.com 'gear create-deployment-dir' Warning: Permanently added 'cews12-cdm.dev.rhcloud.com,10.150.78.224' (RSA) to the list of known hosts. + deployment_dir=2015-01-08_02-05-16.142 + rsync --delete-after -azS -e /usr/libexec/openshift/cartridges/jenkins/bin/git_ssh_wrapper.sh /var/lib/openshift/54ae2bd49463915730000051//app-deployments/current/metadata.json 54ae2b11946391573000000f.rhcloud.com:app-deployments/2015-01-08_02-05-16.142/metadata.json Warning: Permanently added 'cews12-cdm.dev.rhcloud.com,10.150.78.224' (RSA) to the list of known hosts. + rsync --delete-after -azS -e /usr/libexec/openshift/cartridges/jenkins/bin/git_ssh_wrapper.sh --exclude .git /var/lib/openshift/54ae2bd49463915730000051/app-root/runtime/repo/ 54ae2b11946391573000000f.rhcloud.com:app-root/runtime/repo/ Warning: Permanently added 'cews12-cdm.dev.rhcloud.com,10.150.78.224' (RSA) to the list of known hosts. + rsync --delete-after -azS -e /usr/libexec/openshift/cartridges/jenkins/bin/git_ssh_wrapper.sh /var/lib/openshift/54ae2bd49463915730000051/app-root/runtime/build-dependencies/ 54ae2b11946391573000000f.rhcloud.com:app-root/runtime/build-dependencies/ Warning: Permanently added 'cews12-cdm.dev.rhcloud.com,10.150.78.224' (RSA) to the list of known hosts. + rsync --delete-after -azS -e /usr/libexec/openshift/cartridges/jenkins/bin/git_ssh_wrapper.sh /var/lib/openshift/54ae2bd49463915730000051/app-root/runtime/dependencies/ 54ae2b11946391573000000f.rhcloud.com:app-root/runtime/dependencies/ Warning: Permanently added 'cews12-cdm.dev.rhcloud.com,10.150.78.224' (RSA) to the list of known hosts. + /usr/libexec/openshift/cartridges/jenkins/bin/git_ssh_wrapper.sh 54ae2b11946391573000000f.rhcloud.com 'gear remotedeploy --deployment-datetime 2015-01-08_02-05-16.142' Warning: Permanently added 'cews12-cdm.dev.rhcloud.com,10.150.78.224' (RSA) to the list of known hosts. Preparing build for deployment Deployment id is 33c18446 Activating deployment Starting jbossews cartridge Found 127.1.244.1:8080 listening port Archiving artifacts Finished: SUCCESS |