servicemix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet" <gno...@gmail.com>
Subject Re: component-task-result parsing
Date Wed, 15 Mar 2006 15:46:48 GMT
Who is supposed to listen on the queue ?
I think your problems will soon be out of ServiceMix environment
and I have never used Joram so ...

Guillaume

On 3/15/06, Charles Souillard <Charles.Souillard@ext.bull.net> wrote:
>
> Guillaume,
>
> I am now able to send my jms message on the right queue but nothing
> happens then...
> I can see in my J2EE app server that the message is pending on the
> queue, it means it has not been read...
> What can I do to understand what is happening (or not happening !) ?
> How can I activate some traces ?
>
> Thanks,
> Charles
>
> Guillaume Nodet wrote:
>
> >That's what I feared :(
> >Do you have a more complete output or  way to reproduce it ?
> >
> >Guillaume
> >
> >On 3/15/06, Charles Souillard <Charles.Souillard@ext.bull.net> wrote:
> >
> >
> >>The target component is servicemix-jms
> >>
> >>Charles
> >>
> >>Guillaume Nodet wrote:
> >>
> >>
> >>
> >>>It seems that the target component for your SU has returned an invalid
> >>>exception message.
> >>>What is the target component ?
> >>>
> >>>Guillaume
> >>>
> >>>On 3/15/06, Charles Souillard <Charles.Souillard@ext.bull.net> wrote:
> >>>
> >>>
> >>>
> >>>
> >>>>Guillaume,
> >>>>
> >>>>I tried with the latest SM sommon package and I still get an error
> >>>>(different but still concerning the parsing):
> >>>>
> >>>>2006-03-15 11:13:17,866 : ServiceUnitLifeCycle.start : Starting
> service
> >>>>unit: helloworldSUForJms
> >>>>[Fatal Error] :14:20: The content of elements must consist of
> >>>>well-formed character data or markup.
> >>>>2006-03-15 11:13:18,127 : ServiceAssemblyLifeCycle.getComponentFailure:
> >>>>Could not parse result exception
> >>>>org.xml.sax.SAXParseException: The content of elements must consist of
> >>>>well-formed character data or markup.
> >>>>       at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
> >>>>       at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown
> >>>>Source)
> >>>>       at
> >>>>org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.parse(
> >>>>ServiceAssemblyLifeCycle.java:419)
> >>>>       at
> >>>>
> >>>>
> >>>>
> >>>>
> >>
> org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.getComponentFailure
> >>
> >>
> >>>>(ServiceAssemblyLifeCycle.java:400)
> >>>>       at
> >>>>org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.start(
> >>>>ServiceAssemblyLifeCycle.java:132)
> >>>>       at
> >>>>org.apache.servicemix.jbi.framework.DeploymentService.start(
> >>>>DeploymentService.java:373)
> >>>>       at
> >>>>
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(
> >>>>AutoDeploymentService.java:242)
> >>>>       at
> >>>>org.apache.servicemix.jbi.framework.AutoDeploymentService$2.run(
> >>>>AutoDeploymentService.java:472)
> >>>>       at
> >>>>org.apache.geronimo.connector.work.WorkerContext.run(
> WorkerContext.java
> >>>>:291)
> >>>>       at
> >>>>EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown
> >>>>
> >>>>
> >>Source)
> >>
> >>
> >>>>       at java.lang.Thread.run(Thread.java:595)
> >>>>
> >>>>Charles
> >>>>
> >>>>Guillaume Nodet wrote:
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>Yes, this is a bug ;)
> >>>>>But it has already been fixed in servicemix-common.
> >>>>>You should update your components to the latest servicemix-common.
> >>>>>
> >>>>>Cheers,
> >>>>>Guillaume Nodet
> >>>>>
> >>>>>On 3/15/06, Charles Souillard <Charles.Souillard@ext.bull.net>
wrote:
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>>>Hi all,
> >>>>>>
> >>>>>>I am using the latest snapshot of this morning.
> >>>>>>I get the following error when deploying a SA into SM (embeded
in
> the
> >>>>>>
> >>>>>>
> >>SM
> >>
> >>
> >>>>>>webapp).
> >>>>>>
> >>>>>>I think it is a little bug ;-)
> >>>>>>
> >>>>>>Thanks
> >>>>>>Charles
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>[Fatal Error] :1:28: Element type "component-task-resultxmlns"
must
> be
> >>>>>>followed by either attribute specifications, ">" or "/>".
> >>>>>>2006-03-15 09:27:58,767 :
> ServiceAssemblyLifeCycle.getComponentFailure:
> >>>>>>Could not parse result exception
> >>>>>>org.xml.sax.SAXParseException: Element type
> >>>>>>
> >>>>>>
> >>"component-task-resultxmlns"
> >>
> >>
> >>>>>>must be followed by either attribute specifications, ">" or
"/>".
> >>>>>>      at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
> >>>>>>      at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown
> >>>>>>Source)
> >>>>>>      at
> >>>>>>org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.parse(
> >>>>>>ServiceAssemblyLifeCycle.java:419)
> >>>>>>      at
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>
> org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.getComponentFailure
> >>
> >>
> >>>>
> >>>>
> >>>>>>(ServiceAssemblyLifeCycle.java:400)
> >>>>>>      at
> >>>>>>org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.stop(
> >>>>>>ServiceAssemblyLifeCycle.java:169)
> >>>>>>      at
> >>>>>>org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.restore
> (
> >>>>>>ServiceAssemblyLifeCycle.java:328)
> >>>>>>      at
> >>>>>>org.apache.servicemix.jbi.framework.DeploymentService.start(
> >>>>>>DeploymentService.java:95)
> >>>>>>      at
> >>>>>>org.apache.servicemix.jbi.container.JBIContainer.start(
> >>>>>>
> >>>>>>
> >>JBIContainer.java
> >>
> >>
> >>>>>>:526)
> >>>>>>      at
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>
> org.apache.servicemix.jbi.container.SpringJBIContainer.afterPropertiesSet(
> >>
> >>
> >>>>
> >>>>
> >>>>>>SpringJBIContainer.java:78)
> >>>>>>      at
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods
> >>
> >>
> >>>>
> >>>>
> >>>>>>(AbstractAutowireCapableBeanFactory.java:1059)
> >>>>>>      at
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean
> >>
> >>
> >>>>
> >>>>
> >>>>>>(AbstractAutowireCapableBeanFactory.java:363)
> >>>>>>      at
> >>>>>>
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(
> >>>>>>AbstractBeanFactory.java:226)
> >>>>>>      at
> >>>>>>
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(
> >>>>>>AbstractBeanFactory.java:147)
> >>>>>>      at
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons
> >>
> >>
> >>>>
> >>>>
> >>>>>>(DefaultListableBeanFactory.java:275)
> >>>>>>      at
> >>>>>>
> org.springframework.context.support.AbstractApplicationContext.refresh
> >>>>>>
> >>>>>>
> >>(
> >>
> >>
> >>>>>>AbstractApplicationContext.java:320)
> >>>>>>      at
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>
> org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh
> >>
> >>
> >>>>
> >>>>
> >>>>>>(AbstractRefreshableWebApplicationContext.java:134)
> >>>>>>      at
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>
> org.springframework.web.context.ContextLoader.createWebApplicationContext(
> >>
> >>
> >>>>
> >>>>
> >>>>>>ContextLoader.java:246)
> >>>>>>      at
> >>>>>>
> >>>>>>
> >>>>>>
> >>org.springframework.web.context.ContextLoader.initWebApplicationContext(
> >>
> >>
> >>>>>>ContextLoader.java:184)
> >>>>>>      at
> >>>>>>
> >>>>>>
> >>>>>>
> >>org.springframework.web.context.ContextLoaderListener.contextInitialized
> >>
> >>
> >>>>>>
> >>>>>>
> >>>>(
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>>ContextLoaderListener.java:49)
> >>>>>>      at
> >>>>>>org.apache.catalina.core.StandardContext.listenerStart(
> >>>>>>StandardContext.java:3692)
> >>>>>>      at
> >>>>>>org.apache.catalina.core.StandardContext.start(StandardContext.java
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>:4127)
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>>      at
> >>>>>>org.objectweb.jonas.web.catalina55.JOnASStandardContext.start(
> >>>>>>JOnASStandardContext.java:221)
> >>>>>>      at
> >>>>>>org.apache.catalina.core.ContainerBase.addChildInternal(
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>ContainerBase.java
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>>:759)
> >>>>>>      at
> >>>>>>org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>:121)
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>>>      at
> >>>>>>org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(
> >>>>>>ContainerBase.java:143)
> >>>>>>      at java.security.AccessController.doPrivileged(Native Method)
> >>>>>>      at
> >>>>>>org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java
> >>>>>>
> >>>>>>
> >>:737)
> >>
> >>
> >>>>>>      at
> >>>>>>org.apache.catalina.core.StandardHost.addChild(StandardHost.java
> :524)
> >>>>>>
> >>>>>>2006-03-15 09:27:59,759 : ServiceUnitLifeCycle.init : Initializing
> >>>>>>service unit: helloworldSUForJms
> >>>>>>2006-03-15 09:28:00,512 : DeploymentService.start : Unable to
> restore
> >>>>>>state for service assembly BPELSamplesSA
> >>>>>>java.lang.Exception: <?xml version="1.0" encoding="UTF-8"?>
> >>>>>><jbi-task xmlns="http://java.sun.com/xml/ns/jbi/management-message"
> >>>>>>version="1.0">
> >>>>>><jbi-task-result>
> >>>>>><frmwk-task-result>
> >>>>>><frmwk-task-result-details>
> >>>>>><task-result-details>
> >>>>>><task-id>stop</task-id>
> >>>>>><task-result>FAILED</task-result>
> >>>>>><message-type>ERROR</message-type>
> >>>>>></task-result-details>
> >>>>>></frmwk-task-result-details>
> >>>>>></frmwk-task-result>
> >>>>>><component-task-result>
> >>>>>><component-name>Orchestra</component-name>
> >>>>>><component-task-result-details>
> >>>>>><task-result-details>
> >>>>>><task-id>stop</task-id>
> >>>>>><task-result>FAILED</task-result>
> >>>>>><message-type>ERROR</message-type>
> >>>>>><task-status-msg>
> >>>>>><msg-loc-info>
> >>>>>><loc-token/>
> >>>>>><loc-message>Unable to parse result string</loc-message>
> >>>>>></msg-loc-info>
> >>>>>></task-status-msg>
> >>>>>><exception-info>
> >>>>>><nesting-level>1</nesting-level>
> >>>>>><loc-token/>
> >>>>>><loc-message>&lt;component-task-resultxmlns="
> >>>>>>http://java.sun.com/xml/ns/jbi/management-message"
> >>>>>>      &lt;component-name&gt;Orchestra&lt;/component-name&gt;
> >>>>>>      &lt;component-task-result-details&gt;
> >>>>>>              &lt;task-result-details&gt;
> >>>>>>                      &lt;task-id&gt;init&lt;/task-id&gt;
> >>>>>>                      &lt;task-result&gt;FAILED&lt;/task-result&gt;
> >>>>>>                      &lt;message-type&gt;ERROR&lt;/message-type&gt;
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
>
> >>>>>>&lt;task-status-message&gt;&lt;msg-loc-info&gt;&lt;loc-token/&gt;&lt;loc-message&gt;Service
> >>>>>>Unit 'echoSU' is not
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
>
> >>>>>>deployed&lt;/loc-message&gt;&lt;/msg-loc-info&gt;&lt;/task-status-message&gt;
> >>>>>>              &lt;/task-result-details&gt;
> >>>>>>      &lt;/component-task-result-details&gt;
> >>>>>>&lt;/component-task-result&gt;</loc-message>
> >>>>>><stack-trace><![CDATA[javax.jbi.management.DeploymentException:
> >>>>>><component-task-resultxmlns="
> >>>>>>http://java.sun.com/xml/ns/jbi/management-message"
> >>>>>>      <component-name>Orchestra</component-name>
> >>>>>>      <component-task-result-details>
> >>>>>>              <task-result-details>
> >>>>>>                      <task-id>init</task-id>
> >>>>>>                      <task-result>FAILED</task-result>
> >>>>>>                      <message-type>ERROR</message-type>
> >>>>>>
> >>>>>><task-status-message><msg-loc-info><loc-token/><loc-message>Service
> >>>>>>
> >>>>>>
> >>Unit
> >>
> >>
> >>>>>>'echoSU' is not
> >>>>>>deployed</loc-message></msg-loc-info></task-status-message>
> >>>>>>              </task-result-details>
> >>>>>>      </component-task-result-details>
> >>>>>></component-task-result>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>
> >>>
> >>>
> >
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message