You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by kai0411 <jo...@softechnics.com> on 2009/02/02 21:03:36 UTC

Re: Help with wsn-http-binding example

I have similar 'http 500' error in servicemix-notification component. My code
works in servicemix-3.2.2, but with error
"javax.xml.stream.XMLStreamException: ParseError at [row,col]:[n,m]
Message: expected start or end tag" in servicemix-3.3.
I think that it's a bug in servicemix-3.3.


nero_s wrote:
> 
> Hi,
> I have been trying to get wsn-http-binding example running with no
> success, i am getting the following error:
> 
> <html>
>    <head>
>       <meta http-equiv="Content-Type" content="text/html;
> charset=ISO-8859-1"/>
>       <title>Error 500 javax.xml.stream.XMLStreamException: ParseError at
> [row,col]:[4,7]
> Message: expected start or end tag</title>
>    </head>
>    <body>
>       <h2>HTTP ERROR: 500</h2>
>       <pre>javax.xml.stream.XMLStreamException: ParseError at
> [row,col]:[4,7]
> Message: expected start or end tag</pre>
>       <p>RequestURI=/CreatePullPoint/</p>
>       <h3>Caused by:</h3>
>       <pre>java.lang.Exception: javax.xml.stream.XMLStreamException:
> ParseError at [row,col]:[4,7]
> Message: expected start or end tag
> 	at
> org.apache.servicemix.http.processors.ConsumerProcessor.process(ConsumerProcessor.java:209)
> 	at
> org.apache.servicemix.http.HttpBridgeServlet.doPost(HttpBridgeServlet.java:71)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
> 	at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:363)
> 	at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:757)
> 	at
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
> 	at
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> 	at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> 	at org.mortbay.jetty.Server.handle(Server.java:324)
> 	at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)
> 	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:371)
> 	at
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
> 	at
> org.mortbay.jetty.nio.SelectChannelConnector$RetryContinuation.run(SelectChannelConnector.java:525)
> 	at
> org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
> Caused by: javax.xml.stream.XMLStreamException: ParseError at
> [row,col]:[4,7]
> Message: expected start or end tag
> 	at
> org.apache.servicemix.jbi.jaxp.FragmentStreamReader.nextTag(FragmentStreamReader.java:108)
> 	at
> org.apache.servicemix.wsn.jbi.JbiWrapperHelper.unwrap(JbiWrapperHelper.java:127)
> 	at
> org.apache.servicemix.wsn.component.WSNEndpoint.process(WSNEndpoint.java:138)
> 	at
> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:600)
> 	at
> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:554)
> 	at
> org.apache.servicemix.common.AsyncBaseLifeCycle.onMessageExchange(AsyncBaseLifeCycle.java:510)
> 	at
> org.apache.servicemix.common.SyncLifeCycleWrapper.onMessageExchange(SyncLifeCycleWrapper.java:60)
> 	at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:620)
> 	at
> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
> 	at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:168)
> 	at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> 	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:595)</pre>
>       <h3>Caused by:</h3>
>       <pre>javax.xml.stream.XMLStreamException: ParseError at
> [row,col]:[4,7]
> Message: expected start or end tag
> 	at
> org.apache.servicemix.jbi.jaxp.FragmentStreamReader.nextTag(FragmentStreamReader.java:108)
> 	at
> org.apache.servicemix.wsn.jbi.JbiWrapperHelper.unwrap(JbiWrapperHelper.java:127)
> 	at
> org.apache.servicemix.wsn.component.WSNEndpoint.process(WSNEndpoint.java:138)
> 	at
> org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:600)
> 	at
> org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:554)
> 	at
> org.apache.servicemix.common.AsyncBaseLifeCycle.onMessageExchange(AsyncBaseLifeCycle.java:510)
> 	at
> org.apache.servicemix.common.SyncLifeCycleWrapper.onMessageExchange(SyncLifeCycleWrapper.java:60)
> 	at
> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:620)
> 	at
> org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
> 	at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:168)
> 	at
> org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> 	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:595)</pre>
>       <p>
>          
>             <small>
>                 http://jetty.mortbay.org/ Powered by Jetty:// 
>             </small>
>          
>       </p>
>       <br/>
>       <br/>
>       <br/>
>       <br/>
>       <br/>
>       <br/>
>       <br/>
>       <br/>
>       <br/>
>       <br/>
>       <br/>
>       <br/>
>       <br/>
>       <br/>
>       <br/>
>       <br/>
>       <br/>
>       <br/>
>       <br/>
>       <br/>
>    </body>
> </html>
> 

-- 
View this message in context: http://www.nabble.com/Help-with-wsn-http-binding-example-tp21086836p21797150.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: Help with wsn-http-binding example

Posted by Karen Jude <ka...@vodafone.com>.

Jean-Baptiste Onofré wrote:
> 
> It seems to be an issue. We are going to investigate on it.
> See :
> http://issues.apache.org/activemq/browse/SM-1783
> 
> Regards
> JB
> 

Hi Jean-Baptiste,

I have come across this same problem too and was relieved to find SM-1783
with an attached fix. 

However, I was hoping to get my installation of servicemix working with the
ws-notification sample without having to download the source files and
rebuild part of it. Is it possible that you (or someone else who reads this)
could make available a fixed version of servicemix-utils for me?

If this is not possible, what is the quickest way to resolve this for those
not familiar with the servicemix build process? Install 3.2.2?

Thanks very much for your help,
Karen Jude



-- 
View this message in context: http://servicemix.396122.n5.nabble.com/Help-with-wsn-http-binding-example-tp416759p2639870.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Re: Help with wsn-http-binding example

Posted by jb...@nanthrax.net.
It seems to be an issue. We are going to investigate on it.
See :
http://issues.apache.org/activemq/browse/SM-1783

Regards
JB

On Monday 02 February 2009 - 12:03, kai0411 wrote:
> 
> I have similar 'http 500' error in servicemix-notification component. My code
> works in servicemix-3.2.2, but with error
> "javax.xml.stream.XMLStreamException: ParseError at [row,col]:[n,m]
> Message: expected start or end tag" in servicemix-3.3.
> I think that it's a bug in servicemix-3.3.
> 
> 
> nero_s wrote:
> > 
> > Hi,
> > I have been trying to get wsn-http-binding example running with no
> > success, i am getting the following error:
> > 
> > <html>
> >    <head>
> >       <meta http-equiv="Content-Type" content="text/html;
> > charset=ISO-8859-1"/>
> >       <title>Error 500 javax.xml.stream.XMLStreamException: ParseError at
> > [row,col]:[4,7]
> > Message: expected start or end tag</title>
> >    </head>
> >    <body>
> >       <h2>HTTP ERROR: 500</h2>
> >       <pre>javax.xml.stream.XMLStreamException: ParseError at
> > [row,col]:[4,7]
> > Message: expected start or end tag</pre>
> >       <p>RequestURI=/CreatePullPoint/</p>
> >       <h3>Caused by:</h3>
> >       <pre>java.lang.Exception: javax.xml.stream.XMLStreamException:
> > ParseError at [row,col]:[4,7]
> > Message: expected start or end tag
> > 	at
> > org.apache.servicemix.http.processors.ConsumerProcessor.process(ConsumerProcessor.java:209)
> > 	at
> > org.apache.servicemix.http.HttpBridgeServlet.doPost(HttpBridgeServlet.java:71)
> > 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> > 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
> > 	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
> > 	at
> > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:363)
> > 	at
> > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:757)
> > 	at
> > org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
> > 	at
> > org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> > 	at
> > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> > 	at org.mortbay.jetty.Server.handle(Server.java:324)
> > 	at
> > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)
> > 	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:371)
> > 	at
> > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
> > 	at
> > org.mortbay.jetty.nio.SelectChannelConnector$RetryContinuation.run(SelectChannelConnector.java:525)
> > 	at
> > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
> > Caused by: javax.xml.stream.XMLStreamException: ParseError at
> > [row,col]:[4,7]
> > Message: expected start or end tag
> > 	at
> > org.apache.servicemix.jbi.jaxp.FragmentStreamReader.nextTag(FragmentStreamReader.java:108)
> > 	at
> > org.apache.servicemix.wsn.jbi.JbiWrapperHelper.unwrap(JbiWrapperHelper.java:127)
> > 	at
> > org.apache.servicemix.wsn.component.WSNEndpoint.process(WSNEndpoint.java:138)
> > 	at
> > org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:600)
> > 	at
> > org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:554)
> > 	at
> > org.apache.servicemix.common.AsyncBaseLifeCycle.onMessageExchange(AsyncBaseLifeCycle.java:510)
> > 	at
> > org.apache.servicemix.common.SyncLifeCycleWrapper.onMessageExchange(SyncLifeCycleWrapper.java:60)
> > 	at
> > org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:620)
> > 	at
> > org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
> > 	at
> > org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:168)
> > 	at
> > org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> > 	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:595)</pre>
> >       <h3>Caused by:</h3>
> >       <pre>javax.xml.stream.XMLStreamException: ParseError at
> > [row,col]:[4,7]
> > Message: expected start or end tag
> > 	at
> > org.apache.servicemix.jbi.jaxp.FragmentStreamReader.nextTag(FragmentStreamReader.java:108)
> > 	at
> > org.apache.servicemix.wsn.jbi.JbiWrapperHelper.unwrap(JbiWrapperHelper.java:127)
> > 	at
> > org.apache.servicemix.wsn.component.WSNEndpoint.process(WSNEndpoint.java:138)
> > 	at
> > org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:600)
> > 	at
> > org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:554)
> > 	at
> > org.apache.servicemix.common.AsyncBaseLifeCycle.onMessageExchange(AsyncBaseLifeCycle.java:510)
> > 	at
> > org.apache.servicemix.common.SyncLifeCycleWrapper.onMessageExchange(SyncLifeCycleWrapper.java:60)
> > 	at
> > org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:620)
> > 	at
> > org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:172)
> > 	at
> > org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:168)
> > 	at
> > org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
> > 	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:595)</pre>
> >       <p>
> >          
> >             <small>
> >                 http://jetty.mortbay.org/ Powered by Jetty:// 
> >             </small>
> >          
> >       </p>
> >       <br/>
> >       <br/>
> >       <br/>
> >       <br/>
> >       <br/>
> >       <br/>
> >       <br/>
> >       <br/>
> >       <br/>
> >       <br/>
> >       <br/>
> >       <br/>
> >       <br/>
> >       <br/>
> >       <br/>
> >       <br/>
> >       <br/>
> >       <br/>
> >       <br/>
> >       <br/>
> >    </body>
> > </html>
> > 
> 
> -- 
> View this message in context: http://www.nabble.com/Help-with-wsn-http-binding-example-tp21086836p21797150.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>