Bug 1401511
| Summary: | Karaf quickstart update source raise exceptions in pod log | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | David Simansky <dsimansk> |
| Component: | Management Console | Assignee: | Alexandre Kieling <abrianik> |
| Status: | CLOSED ERRATA | QA Contact: | Peng Li <penli> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.3.1 | CC: | aos-bugs, jforrest, jokerman, mmccomas, tdawson |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: Bug in the processing of Apache Camel routes defined in XML
Consequence: Error in the Apache Camel application
Fix: Fix XML by adding expected namespaces
Result: Error in the Apache Camel application stops happening
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-01-18 12:57:04 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: | |||
|
Description
David Simansky
2016-12-05 13:24:18 UTC
Fix is ready for testing. Please use openshift-jvm v1.0.54. Please use openshift-jvm v1.0.57 openshift-jvm v1.0.57 should be merged into ocp and is in OCP v3.4.0.34 or newer. verified # openshift version openshift v3.4.0.34+87d9d8d About openshift-jvm Version: 1.0.57 1. initiate karaf-camel-rest-sql-archetype 2. start build s2i-quickstart-karaf-camel-rest-sql $ oc process -f quickstart-template.json -v GIT_REPO=. | oc create -f - $ oc start-build s2i-quickstart-karaf-camel-rest-sql --from-dir=. 3. wait for pods ready $ oc get pod NAME READY STATUS RESTARTS AGE s2i-quickstart-karaf-camel-rest-sql-1-du3zz 1/1 Running 0 16m s2i-quickstart-karaf-camel-rest-sql-2-build 0/1 Completed 0 33m 4. click pod s2i-quickstart-karaf-camel-rest-sql-1-du3zz, then 'Open Java Console' 5. update generateOrder-route <route xmlns="http://camel.apache.org/schema/spring" id="generateOrder-route"> <from uri="timer:foo?delay=1s&period=10s"/> <transform> <method ref="orderBean" method="generateOrder"/> </transform> <to uri="sql:{{sql.insertOrder}}"/> <log message="Inserted new order MESSAGE ${body.id}"/> </route> 6. check pod log (...) 2016-12-12 04:57:44,735 | INFO | #3 - timer://foo | generateOrder-route | 89 - org.apache.camel.camel-core - 2.15.1.redhat-621084 | Inserted new order MESSAGE 180 2016-12-12 04:57:45,035 | INFO | ssed%20=%20false | processOrder-route | 89 - org.apache.camel.camel-core - 2.15.1.redhat-621084 | MESSAGE Processed order id 180 item Camel of 9 copies of Camel in Action 2016-12-12 04:57:54,735 | INFO | #3 - timer://foo | generateOrder-route | 89 - org.apache.camel.camel-core - 2.15.1.redhat-621084 | Inserted new order MESSAGE 181 2016-12-12 04:57:55,043 | INFO | ssed%20=%20false | processOrder-route | 89 - org.apache.camel.camel-core - 2.15.1.redhat-621084 | MESSAGE Processed order id 181 item ActiveMQ of 9 copies of ActiveMQ in Action 2016-12-12 04:58:04,736 | INFO | #3 - timer://foo | generateOrder-route | 89 - org.apache.camel.camel-core - 2.15.1.redhat-621084 | Inserted new order MESSAGE 182 2016-12-12 04:58:05,051 | INFO | ssed%20=%20false | processOrder-route | 89 - org.apache.camel.camel-core - 2.15.1.redhat-621084 | MESSAGE Processed order id 182 item Camel of 2 copies of Camel in Action 2016-12-12 04:58:14,735 | INFO | #3 - timer://foo | generateOrder-route | 89 - org.apache.camel.camel-core - 2.15.1.redhat-621084 | Inserted new order MESSAGE 183 2016-12-12 04:58:15,059 | INFO | ssed%20=%20false | processOrder-route | 89 - org.apache.camel.camel-core - 2.15.1.redhat-621084 | MESSAGE Processed order id 183 item ActiveMQ of 4 copies of ActiveMQ in Action 2016-12-12 04:58:24,736 | INFO | #3 - timer://foo | generateOrder-route | 89 - org.apache.camel.camel-core - 2.15.1.redhat-621084 | Inserted new order MESSAGE 184 2016-12-12 04:58:25,067 | INFO | ssed%20=%20false | processOrder-route | 89 - org.apache.camel.camel-core - 2.15.1.redhat-621084 | MESSAGE Processed order id 184 item Camel of 9 copies of Camel in Action (...) 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://access.redhat.com/errata/RHBA-2017:0066 |