<jbi-task xmlns="http://java.sun.com/xml/ns/jbi/management-message" version="1.0">
<jbi-task-result>
  ## framework task result 框架任务部署结果
<frmwk-task-result>
<frmwk-task-result-details>
<task-result-details>
<task-id>deploy</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-task-result xmlns="http://java.sun.com/xml/ns/jbi/management-message">
<component-name>servicemix-jms</component-name>
<component-task-result-details>
<task-result-details>
<task-id>deploy</task-id>
<task-result>SUCCESS</task-result>
</task-result-details>
</component-task-result-details>
</component-task-result> <component-task-result>
<component-name>servicemix-eip</component-name>
<component-task-result-details>
<task-result-details>
<task-id>deploy</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-result xmlns="http://java.sun.com/xml/ns/jbi/management-message"&gt;
&lt;component-name&gt;servicemix-eip&lt;/component-name&gt;
&lt;component-task-result-details&gt;
&lt;task-result-details&gt;
&lt;task-id&gt;deploy&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-msg&gt;&lt;msg-loc-info&gt;&lt;loc-token/&gt;&lt;loc-message&gt;Could not deploy xbean service unit&lt;/loc-message&gt;&lt;/msg-loc-info&gt;&lt;/task-status-msg&gt;
&lt;exception-info&gt;
&lt;nesting-level&gt;1&lt;/nesting-level&gt;
&lt;msg-loc-info&gt;
&lt;loc-token /&gt;
&lt;loc-message&gt; org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
Line 39 in XML document from file
[D:\osesbinaction\esb\apache-servicemix-3.2.1\data\smx\service-assemblies\cheapflow-sa\version_1\sus\servicemix-eip\cheapflow-routing-su\xbean.xml] is invalid;
nested exception is org.xml.sax.SAXParseException:
The element type "eip:exchange-target" must be terminated by the matching end-tag "&lt;/eip:exchange-target&gt;".&lt;/loc-message&gt;
&lt;stack-trace&gt;&lt;![CDATA[ org.apache.xbean.kernel.ServiceRegistrationException:
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
Line 39 in XML document from file
[D:\osesbinaction\esb\apache-servicemix-3.2.1\data\smx\service-assemblies\cheapflow-sa\version_1\sus\servicemix-eip\cheapflow-routing-su\xbean.xml] is invalid;
nested exception is org.xml.sax.SAXParseException:
The element type "eip:exchange-target" must be terminated by the matching end-tag "&lt;/eip:exchange-target&gt;".
at org.apache.xbean.kernel.standard.ServiceManagerRegistry.registerService(ServiceManagerRegistry.java:424)
at org.apache.xbean.kernel.standard.StandardKernel.registerService(StandardKernel.java:220)
at org.apache.xbean.server.spring.loader.SpringLoader.load(SpringLoader.java:152)
at org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:83)
at org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java:88)
at org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69)
at org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:508)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:350)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:253)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:647)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:60)
at org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:611)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
Line 39 in XML document from file
[D:\osesbinaction\esb\apache-servicemix-3.2.1\data\smx\service-assemblies\cheapflow-sa\version_1\sus\servicemix-eip\cheapflow-routing-su\xbean.xml] is invalid;
nested exception is org.xml.sax.SAXParseException:
The element type "eip:exchange-target" must be terminated by the matching end-tag "&lt;/eip:exchange-target&gt;". at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:359)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:280)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:147)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:173)
at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:112)
at org.apache.xbean.spring.context.FileSystemXmlApplicationContext.loadBeanDefinitions(FileSystemXmlApplicationContext.java:168)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:389)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:324)
at org.apache.xbean.server.spring.configuration.SpringConfiguration.&lt;init&gt;(SpringConfiguration.java:63)
at org.apache.xbean.server.spring.configuration.SpringConfigurationServiceFactory.createService(SpringConfigurationServiceFactory.java:106)
at org.apache.xbean.kernel.standard.ServiceManager.start(ServiceManager.java:420)
at org.apache.xbean.kernel.standard.ServiceManager.initialize(ServiceManager.java:200)
at org.apache.xbean.kernel.standard.RegistryFutureTask$RegisterCallable.call(RegistryFutureTask.java:110)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at org.apache.xbean.kernel.standard.ServiceManagerRegistry.registerService(ServiceManagerRegistry.java:409)
... 13 more
Caused by: org.xml.sax.SAXParseException: The element type "eip:exchange-target" must be terminated by the matching end-tag "&lt;/eip:exchange-target&gt;".
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:76)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:351)
... 31 more
]]&gt;&lt;/stack-trace&gt;
&lt;/msg-loc-info&gt;
&lt;/exception-info&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-result xmlns="http://java.sun.com/xml/ns/jbi/management-message">
<component-name>servicemix-eip</component-name>
<component-task-result-details>
<task-result-details>
<task-id>deploy</task-id>
<task-result>FAILED</task-result>
<message-type>ERROR</message-type>
<task-status-msg>
<msg-loc-info>
<loc-token/>
<loc-message>Could not deploy xbean service unit</loc-message>
</msg-loc-info>
</task-status-msg>
<exception-info>
<nesting-level>1</nesting-level>
<msg-loc-info>
<loc-token />
<loc-message>
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
Line 39 in XML document from file [D:\osesbinaction\esb\apache-servicemix-3.2.1\data\smx\service-assemblies\cheapflow-sa\version_1\sus\servicemix-eip\cheapflow-routing-su\xbean.xml] is invalid;
nested exception is org.xml.sax.SAXParseException:
The element type "eip:exchange-target" must be terminated by the matching end-tag "</eip:exchange-target>".
</loc-message>
<stack-trace>
<![CDATA[
服务注册异常:
org.apache.xbean.kernel.ServiceRegistrationException:
XmlBean定义存储异常:文件xxx.xml非法
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
Line 39 in XML document from file [D:\osesbinaction\esb\apache-servicemix-3.2.1\data\smx\service-assemblies\cheapflow-sa\version_1\sus\servicemix-eip\cheapflow-routing-su\xbean.xml] is invalid;
SAX解析异常: "eip:exchange-target"元素类型必须被对应的"</eip:exchange-target>"结束标签终止
nested exception is org.xml.sax.SAXParseException:
The element type "eip:exchange-target" must be terminated by the matching end-tag "</eip:exchange-target>".
at org.apache.xbean.kernel.standard.ServiceManagerRegistry.registerService(ServiceManagerRegistry.java:424)
at org.apache.xbean.kernel.standard.StandardKernel.registerService(StandardKernel.java:220)
at org.apache.xbean.server.spring.loader.SpringLoader.load(SpringLoader.java:152)
at org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:83)
at org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java:88)
at org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69)
at org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:508)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:350)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:253)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:647)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:60)
at org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:611)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
Line 39 in XML document from file [D:\osesbinaction\esb\apache-servicemix-3.2.1\data\smx\service-assemblies\cheapflow-sa\version_1\sus\servicemix-eip\cheapflow-routing-su\xbean.xml] is invalid; nested exception is org.xml.sax.SAXParseException: The element type "eip:exchange-target" must be terminated by the matching end-tag "</eip:exchange-target>".
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:359)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:280)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:147)
at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:173)
at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:112)
at org.apache.xbean.spring.context.FileSystemXmlApplicationContext.loadBeanDefinitions(FileSystemXmlApplicationContext.java:168)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:389)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:324)
at org.apache.xbean.server.spring.configuration.SpringConfiguration.<init>(SpringConfiguration.java:63)
at org.apache.xbean.server.spring.configuration.SpringConfigurationServiceFactory.createService(SpringConfigurationServiceFactory.java:106)
at org.apache.xbean.kernel.standard.ServiceManager.start(ServiceManager.java:420)
at org.apache.xbean.kernel.standard.ServiceManager.initialize(ServiceManager.java:200)
at org.apache.xbean.kernel.standard.RegistryFutureTask$RegisterCallable.call(RegistryFutureTask.java:110)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at org.apache.xbean.kernel.standard.ServiceManagerRegistry.registerService(ServiceManagerRegistry.java:409)
... 13 more
Caused by: org.xml.sax.SAXParseException: The element type "eip:exchange-target" must be terminated by the matching end-tag "</eip:exchange-target>".
at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:76)
at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:351)
... 31 more
]]]]><![CDATA[></stack-trace>
</msg-loc-info>
</exception-info>
</task-result-details>
</component-task-result-details>
</component-task-result> at org.apache.servicemix.common.ManagementSupport.failure(ManagementSupport.java:46)
at org.apache.servicemix.common.AbstractDeployer.failure(AbstractDeployer.java:43)
at org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:111)
at org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java:88)
at org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69)
at org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:508)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:350)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:253)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:647)
at org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:60)
at org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:611)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
]]></stack-trace>
</exception-info>
</task-result-details>
</component-task-result-details>
</component-task-result> <component-task-result xmlns="http://java.sun.com/xml/ns/jbi/management-message">
<component-name>servicemix-bean</component-name>
<component-task-result-details>
<task-result-details>
<task-id>deploy</task-id>
<task-result>SUCCESS</task-result>
</task-result-details>
</component-task-result-details>
</component-task-result> <component-task-result xmlns="http://java.sun.com/xml/ns/jbi/management-message">
<component-name>servicemix-saxon</component-name>
<component-task-result-details>
<task-result-details>
<task-id>deploy</task-id>
<task-result>SUCCESS</task-result>
</task-result-details>
</component-task-result-details>
</component-task-result>
</jbi-task-result>
</jbi-task>

servicemix-3.2.1 部署异常-LMLPHP

文件xbean.xml 38行缺少结束标签

D:\osesbinaction\esb\apache-servicemix-3.2.1\data\smx\service-assemblies\cheapflow-sa\version_1\sus\servicemix-eip\cheapflow-routing-su\xbean.xml

装配文件cheapflow-sa.zip文件结构:
servicemix-3.2.1 部署异常-LMLPHP

组件servicemix-eip任务部署失败(即服务单元cheapflow-routing-su.zip组件文件部署失败)

########

${servicemix.home}/hotdeploy目录下的装配文件cheapflow-sa.zip,会被具体部署到${servicemix.home}/data/smx/service-assemblies目录下

cheapflow-sa.zip装配文件的目录结构:

servicemix-3.2.1 部署异常-LMLPHP

install目录的内容是: cheapflow-sa.zip文件的解压

servicemix-bean目录的内容是: cheapflow-bean-su.zip服务单元文件的解压

servicemix-eip目录的内容是: cheapflow-routing-su.zip服务单元文件的解压

servicemix-jms目录的内容是: cheapflow-jms-su.zip服务单元文件的解压

servicemix-saxon目录的内容是: cheapflow-xslt-su.zip服务单元文件的解压

添加结束标签后部署情况:

     [java] INFO  - AutoDeploymentService          - Directory: hotdeploy: Archive changed: processing cheapflow-sa.zip ...
[java] INFO - ServiceAssemblyLifeCycle - Starting service assembly: cheapflow-sa
[java] INFO - ServiceUnitLifeCycle - Initializing service unit: cheapflow-jms-su
[java] INFO - ServiceUnitLifeCycle - Initializing service unit: cheapflow-routing-su
[java] INFO - ServiceUnitLifeCycle - Initializing service unit: cheapflow-bean-su
[java] INFO - ServiceUnitLifeCycle - Initializing service unit: cheapflow-xslt-su
[java] INFO - ServiceUnitLifeCycle - Starting service unit: cheapflow-jms-su
[java] INFO - ServiceUnitLifeCycle - Starting service unit: cheapflow-routing-su
[java] INFO - ServiceUnitLifeCycle - Starting service unit: cheapflow-bean-su
[java] INFO - ServiceUnitLifeCycle - Starting service unit: cheapflow-xslt-su
[java] INFO - AutoDeploymentService - Directory: hotdeploy: Finished installation of archive: cheapflow-sa.zip
[java] INFO - AutoDeploymentService - Directory: hotdeploy: Archive changed: processing cheapflow-sa.zip ...
[java] INFO - ServiceAssemblyLifeCycle - Shutting down service assembly: cheapflow-sa
[java] INFO - ServiceUnitLifeCycle - Stopping service unit: cheapflow-jms-su
[java] INFO - ServiceUnitLifeCycle - Stopping service unit: cheapflow-routing-su
[java] INFO - ServiceUnitLifeCycle - Stopping service unit: cheapflow-bean-su
[java] INFO - ServiceUnitLifeCycle - Stopping service unit: cheapflow-xslt-su
[java] INFO - ServiceUnitLifeCycle - Shutting down service unit: cheapflow-jms-su
[java] INFO - ServiceUnitLifeCycle - Shutting down service unit: cheapflow-routing-su
[java] INFO - ServiceUnitLifeCycle - Shutting down service unit: cheapflow-bean-su
[java] INFO - ServiceUnitLifeCycle - Shutting down service unit: cheapflow-xslt-su
[java] INFO - ServiceAssemblyLifeCycle - Shutting down service assembly: cheapflow-sa
[java] INFO - DeploymentService - UnDeployed ServiceUnit cheapflow-jms-su from Component: servicemix-jms
[java] INFO - DeploymentService - UnDeployed ServiceUnit cheapflow-routing-su from Component: servicemix-eip
[java] INFO - DeploymentService - UnDeployed ServiceUnit cheapflow-bean-su from Component: servicemix-bean
[java] INFO - DeploymentService - UnDeployed ServiceUnit cheapflow-xslt-su from Component: servicemix-saxon
[java] INFO - ServiceAssemblyLifeCycle - Starting service assembly: cheapflow-sa
[java] INFO - ServiceUnitLifeCycle - Initializing service unit: cheapflow-jms-su
[java] INFO - ServiceUnitLifeCycle - Initializing service unit: cheapflow-routing-su
[java] INFO - ServiceUnitLifeCycle - Initializing service unit: cheapflow-bean-su
[java] INFO - ServiceUnitLifeCycle - Initializing service unit: cheapflow-xslt-su
[java] INFO - ServiceUnitLifeCycle - Starting service unit: cheapflow-jms-su
[java] INFO - ServiceUnitLifeCycle - Starting service unit: cheapflow-routing-su
[java] INFO - ServiceUnitLifeCycle - Starting service unit: cheapflow-bean-su
[java] INFO - ServiceUnitLifeCycle - Starting service unit: cheapflow-xslt-su
[java] INFO - AutoDeploymentService - Directory: hotdeploy: Finished installation of archive: cheapflow-sa.zip
05-25 15:35