Arif Mohd,
I think the problem might be resolved in the yet-to-be-released
ServiceMix 3.1.1 and above. Can you try it out to confirm this?
3.1.1 is available on
http://people.apache.org/~gnodet/servicemix-3.1.1-incubating/org/apache/servicemix/apache-servicemix/3.1.1-incubating/.
Gert
Arif Mohd wrote:
I cross verified and the xpath is correct iam using xpath expression as
follows
<eip:routing-rule>
<eip:predicate>
<eip:xpath-predicate xpath="/Record/eid = 100"
namespaceContext="#nsContext" />
</eip:predicate>
<eip:target>
<eip:exchange-target service="bescocr:tap1" />
</eip:target>
</eip:routing-rule>
The flow is working fine and also my messages are processed properly but iam
getting this warning
i hope there is a bug with SAX API's used by
servicemix(http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4863878)
Could anybody knows how to get rid of these warnings?
rabi wrote:
It seems your xpath is incorrect. Send your configs(xbean.xml) and the
log (debug enabled).
Regards,
Rabi Mishra,
c++; /* this makes c bigger but returns the old value */
-----Original Message-----
From: Arif Mohd [mailto:[EMAIL PROTECTED]
Sent: Monday, June 18, 2007 2:10 PM
To: [email protected]
Subject: Premature eof warning
Hi,
Could any body know why we get the following warning?
18:20:17,710 | WARN | pool-flow.seda.servicemix-eip-thread-2 |
XPathPredicate | mix.eip.support.XPathPredicate 51 | Could
not
evaluate xpath expression
javax.jbi.messaging.MessagingException: org.xml.sax.SAXParseException:
Premature end of file.
at
org.apache.servicemix.expression.JAXPXPathExpression.evaluate(JAXPXPathE
xpression.java:114)
at
org.apache.servicemix.eip.support.XPathPredicate.matches(XPathPredicate.
java:48)
at
org.apache.servicemix.eip.patterns.MessageFilter.processAsync(MessageFil
ter.java:185)
at
org.apache.servicemix.eip.EIPEndpoint.process(EIPEndpoint.java:160)
at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeC
ycle.java:489)
at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBas
eLifeCycle.java:441)
at
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCyc
le.java:46)
at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(D
eliveryChannelImpl.java:593)
at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.j
ava:174)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java
:176)
at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:1
34)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
.runTask(ThreadPoolExecutor.java:665)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Thread.java:595)
Caused by: org.xml.sax.SAXParseException: Premature end of file.
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown
Source)
at
org.apache.servicemix.jbi.jaxp.SourceTransformer.toDOMSourceFromStream(S
ourceTransformer.java:224)
at
org.apache.servicemix.jbi.jaxp.SourceTransformer.toDOMSource(SourceTrans
former.java:135)
at
org.apache.servicemix.jbi.jaxp.SourceTransformer.toDOMNode(SourceTransfo
rmer.java:289)
at
org.apache.servicemix.jbi.jaxp.SourceTransformer.toDOMNode(SourceTransfo
rmer.java:306)
at
org.apache.servicemix.expression.JAXPXPathExpression.getXMLNode(JAXPXPat
hExpression.java:179)
at
org.apache.servicemix.expression.JAXPXPathExpression.evaluate(JAXPXPathE
xpression.java:94)
... 13 more
--
View this message in context:
http://www.nabble.com/Premature-eof-warning-tf3938917s12049.html#a111717
34
Sent from the ServiceMix - User mailing list archive at Nabble.com.
The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s) and
may contain proprietary, confidential or privileged information. If you
are not the intended recipient, you should not disseminate, distribute or
copy this e-mail. Please notify the sender immediately and destroy all
copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.
www.wipro.com