Hi, I'd very much like to use servicemix for a project I'm working on, so I downloaded the version recommended on the download page (3.3.1), which I have installed on a Windows 2003 SP2 platform. When I attempted to get the wsn-http-binding example to work I received this error in command window
E:\apache-servicemix-3.3.1\apache-servicemix-3.3.1\examples\wsn-http-binding>ser vicemix servicemix.xml Starting Apache ServiceMix ESB: 3.3.1 Loading Apache ServiceMix from file: servicemix.xml INFO - ConnectorServerFactoryBean - JMX connector available at: service:jmx :rmi:///jndi/rmi://localhost:1098/jmxrmi INFO - JBIContainer - ServiceMix 3.3.1 JBI Container (Service Mix) is starting INFO - JBIContainer - For help or more information please see : http://servicemix.apache.org/ WARN - ManagementContext - Failed to start jmx connector: connecto r:name=rmi INFO - ComponentMBeanImpl - Initializing component: #SubscriptionMa nager# INFO - jetty - Logging to org.apache.servicemix.http.j etty.jcllog...@1ad0839 via org.apache.servicemix.http.jetty.JCLLogger INFO - DeploymentService - Restoring service assemblies INFO - ComponentMBeanImpl - Setting running state for Component: se rvicemix-http to Started INFO - ComponentMBeanImpl - Initializing component: servicemix-http INFO - ComponentMBeanImpl - Setting running state for Component: se rvicemix-wsn2005 to Started INFO - ComponentMBeanImpl - Initializing component: servicemix-wsn2 005 INFO - ServiceAssemblyLifeCycle - Initializing service assembly: wsn-http -binding INFO - ServiceUnitLifeCycle - Initializing service unit: wsn-http-bin ding-su INFO - jetty - jetty-6.1.14 INFO - jetty - Started selectchannelconnec...@localhos t:8192 INFO - ServiceAssemblyLifeCycle - Starting service assembly: wsn-http-bin ding INFO - ServiceUnitLifeCycle - Starting service unit: wsn-http-binding -su INFO - JBIContainer - ServiceMix JBI Container (ServiceMix) s tarted ERROR - WSNComponent - Error processing exchange InOut[ id: ID:62.105.163.37-12a8e923bbd-2:0 status: Active role: provider service: {http://servicemix.org/wsnotification}NotificationBroker endpoint: Broker operation: {http://docs.oasis-open.org/wsn/brw-2}Subscribe in: <?xml version="1.0" encoding="UTF-8"?><wsnt:Subscribe xmlns:wsnt="http://d ocs.oasis-open.org/wsn/b-2" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/ " xmlns:ncex="http://www.consumer.org" xmlns:npex="http://www.producer.org" xmln s:wsa="http://www.w3.org/2005/08/addressing"> <wsnt:ConsumerReference> <wsa:Address> http://www.consumer.org/service/endpoint </wsa:Address> </wsnt:ConsumerReference> <wsnt:Filter> <wsnt:TopicExpression Dialect="http://docs.oasis-open.org/wsn/t-1/TopicE xpression/Simple"> myTopic </wsnt:TopicExpression> </wsnt:Filter> </wsnt:Subscribe> ] javax.xml.stream.XMLStreamException: ParseError at [row,col]:[4,5] Message: expected start or end tag at org.apache.servicemix.jbi.jaxp.FragmentStreamReader.nextTag(FragmentS treamReader.java:108) at org.apache.servicemix.wsn.jbi.JbiWrapperHelper.unwrap(JbiWrapperHelpe r.java:106) at org.apache.servicemix.wsn.component.WSNEndpoint.process(WSNEndpoint.j ava:139) at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLi feCycle.java:627) at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(Async BaseLifeCycle.java:581) at org.apache.servicemix.common.AsyncBaseLifeCycle.onMessageExchange(Asy ncBaseLifeCycle.java:535) at org.apache.servicemix.common.SyncLifeCycleWrapper.onMessageExchange(S yncLifeCycleWrapper.java:60) at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBoun d(DeliveryChannelImpl.java:623) at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlo w.java:172) at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.j ava:168) at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.jav a:134) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec utor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor .java:908) at java.lang.Thread.run(Thread.java:619) WARN - jetty - /Broker/ javax.xml.stream.XMLStreamException: ParseError at [row,col]:[4,5] Message: expected start or end tag at org.apache.servicemix.jbi.jaxp.FragmentStreamReader.nextTag(FragmentS treamReader.java:108) at org.apache.servicemix.wsn.jbi.JbiWrapperHelper.unwrap(JbiWrapperHelpe r.java:106) at org.apache.servicemix.wsn.component.WSNEndpoint.process(WSNEndpoint.j ava:139) at org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLi feCycle.java:627) at org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(Async BaseLifeCycle.java:581) at org.apache.servicemix.common.AsyncBaseLifeCycle.onMessageExchange(Asy ncBaseLifeCycle.java:535) at org.apache.servicemix.common.SyncLifeCycleWrapper.onMessageExchange(S yncLifeCycleWrapper.java:60) at org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBoun d(DeliveryChannelImpl.java:623) at org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlo w.java:172) at org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.j ava:168) at org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.jav a:134) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec utor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor .java:908) at java.lang.Thread.run(Thread.java:619) I did a bit of research on this in the bug lists and it looks VERY similar to the issue described in SM-1783 which was investigated when others reported a problem with the servicemix-wsn2005 example. Not sure if that bug fix has not found its way into this version or if this is an occurence of the same issue in a different place. On the other hand I may have something wrong in the configuration - not sure if the warning at the top about the failure to start the jmx connector is significant or not... Either way, it would be great if someone could help me with this. Cheers, Karen -- View this message in context: http://servicemix.396122.n5.nabble.com/help-with-wsn-http-binding-example-tp2641925p2641925.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
