[
http://jira.jboss.com/jira/browse/JBESB-1226?page=comments#action_12388427 ]
Kevin Conner commented on JBESB-1226:
-------------------------------------
Tom, this quickstart appears to work as expected now. Can you verify this?
I am seeing the following in the output.
14:06:07,989 INFO [STDOUT]
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
14:06:07,989 INFO [STDOUT] Body: Hello World From JMS
hello from Spring
14:06:07,989 INFO [STDOUT]
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
14:06:07,990 INFO [STDOUT]
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
14:06:07,990 INFO [STDOUT] Body: Hello World From JMS
hello from Spring
goodbye from Spring
14:06:07,990 INFO [STDOUT]
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
14:06:07,990 INFO [STDOUT]
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
14:06:07,990 INFO [STDOUT] Body: Hello World From JMS
hello from Spring
goodbye from Spring
hello from Spring
goodbye from Spring
14:06:07,990 INFO [STDOUT]
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
spring_helloworld QS throws exceptions duriing runtest
------------------------------------------------------
Key: JBESB-1226
URL:
http://jira.jboss.com/jira/browse/JBESB-1226
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Examples
Affects Versions: 4.2
Reporter: Tom Cunningham
Assigned To: Kevin Conner
Fix For: 4.2.1 CP1
10:50:42,244 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED
started.
10:50:43,773 ERROR [STDERR] [Fatal Error] :1:1: Content is not allowed in prolog.
10:50:43,774 WARN [ActionProcessingPipeline] Unexpected exception caught while
processing the action pipeline: header: [ To: JMSEpr [ PortReference < <wsa:Address
jms://localhost/queue/B/>, <wsa:ReferenceProperties jbossesb:specification-version :
1.1/>, <wsa:ReferenceProperties jbossesb:connection-factory :
ConnectionFactory/>, <wsa:ReferenceProperties jbossesb:persistent : true/>,
<wsa:ReferenceProperties jbossesb:acknowledge-mode : 1/> > ] MessageID:
ID:JBM-20500 RelatesTo: jms:correlationID#ID:JBM-25600 ]
org.drools.RuntimeDroolsException: javax.xml.xpath.XPathExpressionException
at org.drools.rule.EvalCondition.isAllowed(EvalCondition.java:76)
at org.drools.reteoo.EvalConditionNode.assertTuple(EvalConditionNode.java:145)
at
org.drools.reteoo.CompositeTupleSinkAdapter.createAndPropagateAssertTuple(CompositeTupleSinkAdapter.java:73)
at
org.drools.reteoo.LeftInputAdapterNode.assertObject(LeftInputAdapterNode.java:116)
at
org.drools.reteoo.SingleObjectSinkAdapter.propagateAssertObject(SingleObjectSinkAdapter.java:22)
at org.drools.reteoo.AlphaNode.assertObject(AlphaNode.java:140)
at
org.drools.reteoo.SingleObjectSinkAdapter.propagateAssertObject(SingleObjectSinkAdapter.java:22)
at org.drools.reteoo.ObjectTypeNode.assertObject(ObjectTypeNode.java:153)
at org.drools.reteoo.Rete.assertObject(Rete.java:177)
at org.drools.reteoo.ReteooRuleBase.assertObject(ReteooRuleBase.java:201)
at org.drools.reteoo.ReteooWorkingMemory.doInsert(ReteooWorkingMemory.java:71)
at
org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:886)
at
org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:858)
at
org.drools.common.AbstractWorkingMemory.insert(AbstractWorkingMemory.java:659)
at
org.jboss.internal.soa.esb.services.routing.cbr.JBossRulesRouter.route(JBossRulesRouter.java:172)
at
org.jboss.soa.esb.actions.ContentBasedWiretap.routeMessage(ContentBasedWiretap.java:135)
at
org.jboss.soa.esb.actions.ContentBasedWiretap.process(ContentBasedWiretap.java:101)
at
org.jboss.soa.esb.actions.ContentBasedRouter.process(ContentBasedRouter.java:52)
at
org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.process(ActionProcessingPipeline.java:273)
at
org.jboss.soa.esb.listeners.message.MessageAwareListener$1.run(MessageAwareListener.java:303)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:613)
Caused by: javax.xml.xpath.XPathExpressionException
at com.sun.org.apache.xpath.internal.jaxp.XPathImpl.evaluate(XPathImpl.java:473)
at
org.jboss.internal.soa.esb.services.routing.cbr.DslHelper.xmlContentGreaterThan(DslHelper.java:125)
at
com.jboss.soa.esb.routing.cbr.Rule_Routing_Rule_using_XPATH_0.eval0(Rule_Routing_Rule_using_XPATH_0.java:9)
at
com.jboss.soa.esb.routing.cbr.Rule_Routing_Rule_using_XPATH_0Eval0Invoker.evaluate(Rule_Routing_Rule_using_XPATH_0Eval0Invoker.java:16)
at org.drools.rule.EvalCondition.isAllowed(EvalCondition.java:72)
... 22 more
Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at com.sun.org.apache.xpath.internal.jaxp.XPathImpl.evaluate(XPathImpl.java:468)
... 26 more
10:50:43,775 WARN [ActionProcessingPipeline] No fault address defined for fault message!
header: [ To: JMSEpr [ PortReference < <wsa:Address jms://localhost/queue/B/>,
<wsa:ReferenceProperties jbossesb:specification-version : 1.1/>,
<wsa:ReferenceProperties jbossesb:connection-factory : ConnectionFactory/>,
<wsa:ReferenceProperties jbossesb:persistent : true/>, <wsa:ReferenceProperties
jbossesb:acknowledge-mode : 1/> > ] MessageID: ID:JBM-20500 RelatesTo:
jms:correlationID#ID:JBM-25600 ]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira