You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Mahesh_w <ja...@wipro.com> on 2008/03/25 13:54:43 UTC
getting error when deploying sa..
hi,
i am doing the tutorial execercise the link is
http://servicemix.apache.org/26-beginner-exercise.html
i have built an SA with three
SUs(tutorial-file-su,tutorial-jms-su,tutorial-eip-su).
when i am deploying i am getting the error in log file.
i am attaching the log file.
15:30:10,446 | INFO | main | JBIContainer |
mix.jbi.container.JBIContainer 642 | ServiceMix JBI
Container (ServiceMix) started
15:30:11,900 | INFO | main | JDBCAdapterFactory |
icemix.jdbc.JDBCAdapterFactory 45 | Database driver
recognized: [apache_derby_embedded_jdbc_driver]
15:30:12,087 | INFO | main | LogTask |
servicemix.jbi.logging.LogTask 58 | Logging system
reconfigured using file:
file:/D:/umesh/ServiceMix/apache-servicemix-3.2.1/conf/log4j.xml
15:31:42,448 | INFO | Timer-5 | AutoDeploymentService |
ramework.AutoDeploymentService 646 | Directory: hotdeploy:
Archive changed: processing tutorial-sa-1.0-SNAPSHOT.zip ...
15:31:43,682 | INFO | Timer-5 | DeploymentService |
bi.framework.DeploymentService 683 | UnDeployed ServiceUnit
tutorial-file-su from Component: servicemix-file
15:31:43,916 | INFO | Timer-5 | DeploymentService |
bi.framework.DeploymentService 683 | UnDeployed ServiceUnit
tutorial-jms-su from Component: servicemix-jms
15:31:44,213 | ERROR | Timer-5 | AutoDeploymentService |
ramework.AutoDeploymentService 364 | Failed to update
Service Assembly: tutorial-sa
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>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
xmlns="http://java.sun.com/xml/ns/jbi/management-message">
<component-name>servicemix-file</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-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
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 20 in XML document from file
[D:\umesh\ServiceMix\apache-servicemix-3.2.1\data\smx\service-assemblies\tutorial-sa\version_2\sus\servicemix-eip\tutorial-e
ip-su\xbean.xml] is invalid; nested exception is
org.xml.sax.SAXParseException: The processing instruction target matching
"[xX][mM][lL]" is not allowed.</loc-message>
<stack-trace><![CDATA[org.apache.xbean.kernel.ServiceRegistrationException:
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line
20 in XML document from file
[D:\umesh\ServiceMix\apache-servicemix-3.2.1\data\smx\service-assemblies\tutorial-sa\version_2\sus\servicemix-eip\tutorial-e
ip-su\xbean.xml] is invalid; nested exception is
org.xml.sax.SAXParseException: The processing instruction target matching
"[xX][mM][lL]" is not allowed.
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
20 in XML document from file
[D:\umesh\ServiceMix\apache-servicemix-3.2.1\data\smx\service-assemblies\tutorial-sa\version_2\sus\servicemix-eip\tutorial-e
ip-su\xbean.xml] is invalid; nested exception is
org.xml.sax.SAXParseException: The processing instruction target matching
"[xX][mM][lL]" is not allowed.
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(AbstractRefreshableApplicationC
ontext.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(SpringConfigurationServiceFacto
ry.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:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at
org.apache.xbean.kernel.standard.ServiceManagerRegistry.registerService(ServiceManagerRegistry.java:409)
... 13 more
Caused by: org.xml.sax.SAXParseException: The processing instruction target
matching "[xX][mM][lL]" is not allowed.
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.XMLScanner.scanPIData(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanPIData(Unknown
Source)
at org.apache.xerces.impl.XMLScanner.scanPI(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.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
]]></stack-trace>
</msg-loc-info>
</exception-info>
</task-result-details>
</component-task-result-details>
</component-task-result>
</jbi-task-result>
</jbi-task>
at
org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:125)
at
org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:111)
at
org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:543)
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)
15:31:44,463 | WARN | Timer-5 | AutoDeploymentService |
ramework.AutoDeploymentService 650 | Directory: hotdeploy:
Automatic install of
D:\umesh\ServiceMix\apache-servicemix-3.2.1\hotdeploy\tutorial-sa-1.0-SNAPSHOT.zip
failed
javax.jbi.management.DeploymentException: Failed to update Service Assembly:
tutorial-sa
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:365)
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: 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>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
xmlns="http://java.sun.com/xml/ns/jbi/management-message">
<component-name>servicemix-file</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-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
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 20 in XML document from file
[D:\umesh\ServiceMix\apache-servicemix-3.2.1\data\smx\service-assemblies\tutorial-sa\version_2\sus\servicemix-eip\tutorial-e
ip-su\xbean.xml] is invalid; nested exception is
org.xml.sax.SAXParseException: The processing instruction target matching
"[xX][mM][lL]" is not allowed.</loc-message>
<stack-trace><![CDATA[org.apache.xbean.kernel.ServiceRegistrationException:
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line
20 in XML document from file
[D:\umesh\ServiceMix\apache-servicemix-3.2.1\data\smx\service-assemblies\tutorial-sa\version_2\sus\servicemix-eip\tutorial-e
ip-su\xbean.xml] is invalid; nested exception is
org.xml.sax.SAXParseException: The processing instruction target matching
"[xX][mM][lL]" is not allowed.
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
20 in XML document from file
[D:\umesh\ServiceMix\apache-servicemix-3.2.1\data\smx\service-assemblies\tutorial-sa\version_2\sus\servicemix-eip\tutorial-e
ip-su\xbean.xml] is invalid; nested exception is
org.xml.sax.SAXParseException: The processing instruction target matching
"[xX][mM][lL]" is not allowed.
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(AbstractRefreshableApplicationC
ontext.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(SpringConfigurationServiceFacto
ry.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:269)
at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at
org.apache.xbean.kernel.standard.ServiceManagerRegistry.registerService(ServiceManagerRegistry.java:409)
... 13 more
Caused by: org.xml.sax.SAXParseException: The processing instruction target
matching "[xX][mM][lL]" is not allowed.
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.XMLScanner.scanPIData(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanPIData(Unknown
Source)
at org.apache.xerces.impl.XMLScanner.scanPI(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.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
]]></stack-trace>
</msg-loc-info>
</exception-info>
</task-result-details>
</component-task-result-details>
</component-task-result>
</jbi-task-result>
</jbi-task>
at
org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:125)
at
org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:111)
at
org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:543)
at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:350)
... 6 more
kindly help me to resolve the issue.
waiting for your reply,
Thanks & Regards,
MAHESH.
--
View this message in context: http://www.nabble.com/getting-error-when-deploying-sa..-tp16274458s12049p16274458.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: getting error when deploying sa..
Posted by Gert Vanthienen <ge...@skynet.be>.
J.MAHESH,
In the beginning of the tutorial, the XML file is just copied from one
directory to the other, using only a servicemix-file SU. After adding a
wiretap and JMS sender endpoint in the exercise, the same message is
also copied to a JMS queue. You can look at the contents of the queue
using JMX as is shown on the bottom of the exercise page.
Gert
Mahesh_w wrote:
> hi ,
>
> Thanks bsnyder for your solution i could resolve the issue which in
> xbean.xml.
> i could deploy it.itz working fine but i couldnt understand the flow of the
> example(uniting file-su,eip-su,jms-su).
> reference:(B) http://servicemix.apache.org/26-beginner-exercise.html
>
> i am putting a xml file in folder My-poller the file to copied to the folder
> My-sender.
> can any one explain the flow of this example because i couldnt find the
> differnce between the tutorial
> ((A)http://servicemix.apache.org/22-beginner-creating-our-first-su-module.html)which
> is creating only 1 SU(tutorial-file-su) and assembling into tutorial-sa.here
> also the same process is taking place.
> i could not understand the difference between these two i.e A & B.
> so please clarify me the the atcual process taking place.
>
> Thanks & Regards,
> J.MAHESH
>
>
> bsnyder wrote:
>
>> On Tue, Mar 25, 2008 at 6:54 AM, Mahesh_w <ja...@wipro.com> wrote:
>>
>>> hi,
>>>
>>> i am doing the tutorial execercise the link is
>>> http://servicemix.apache.org/26-beginner-exercise.html
>>>
>>> i have built an SA with three
>>> SUs(tutorial-file-su,tutorial-jms-su,tutorial-eip-su).
>>> when i am deploying i am getting the error in log file.
>>> i am attaching the log file.
>>>
>>> 15:30:10,446 | INFO | main | JBIContainer |
>>> mix.jbi.container.JBIContainer 642 | ServiceMix JBI
>>>
>>> Container (ServiceMix) started
>>> 15:30:11,900 | INFO | main | JDBCAdapterFactory |
>>> icemix.jdbc.JDBCAdapterFactory 45 | Database driver
>>>
>>> recognized: [apache_derby_embedded_jdbc_driver]
>>> 15:30:12,087 | INFO | main | LogTask |
>>> servicemix.jbi.logging.LogTask 58 | Logging system
>>>
>>> reconfigured using file:
>>> file:/D:/umesh/ServiceMix/apache-servicemix-3.2.1/conf/log4j.xml
>>> 15:31:42,448 | INFO | Timer-5 | AutoDeploymentService |
>>> ramework.AutoDeploymentService 646 | Directory: hotdeploy:
>>>
>>> Archive changed: processing tutorial-sa-1.0-SNAPSHOT.zip ...
>>> 15:31:43,682 | INFO | Timer-5 | DeploymentService |
>>> bi.framework.DeploymentService 683 | UnDeployed ServiceUnit
>>>
>>> tutorial-file-su from Component: servicemix-file
>>> 15:31:43,916 | INFO | Timer-5 | DeploymentService |
>>> bi.framework.DeploymentService 683 | UnDeployed ServiceUnit
>>>
>>> tutorial-jms-su from Component: servicemix-jms
>>> 15:31:44,213 | ERROR | Timer-5 | AutoDeploymentService |
>>> ramework.AutoDeploymentService 364 | Failed to update
>>>
>>> Service Assembly: tutorial-sa
>>> 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>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
>>> xmlns="http://java.sun.com/xml/ns/jbi/management-message">
>>> <component-name>servicemix-file</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-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
>>> 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 20 in XML document from file
>>>
>>>
>>> [D:\umesh\ServiceMix\apache-servicemix-3.2.1\data\smx\service-assemblies\tutorial-sa\version_2\sus\servicemix-eip\tutorial-e
>>>
>>> ip-su\xbean.xml] is invalid; nested exception is
>>>
>> The error above clearly states that the problem is in the xbean.xml
>> file for the tutorial-eip-su. Please paste that file in a reply to
>> this message so we can see its contents.
>>
>> Bruce
>> --
>> perl -e 'print
>> unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
>> );'
>>
>> Apache ActiveMQ - http://activemq.org/
>> Apache Camel - http://activemq.org/camel/
>> Apache ServiceMix - http://servicemix.org/
>> Apache Geronimo - http://geronimo.apache.org/
>>
>> Blog: http://bruceblog.org/
>>
>>
>>
>
>
Re: getting error when deploying sa..
Posted by Mahesh_w <ja...@wipro.com>.
hi ,
Thanks bsnyder for your solution i could resolve the issue which in
xbean.xml.
i could deploy it.itz working fine but i couldnt understand the flow of the
example(uniting file-su,eip-su,jms-su).
reference:(B) http://servicemix.apache.org/26-beginner-exercise.html
i am putting a xml file in folder My-poller the file to copied to the folder
My-sender.
can any one explain the flow of this example because i couldnt find the
differnce between the tutorial
((A)http://servicemix.apache.org/22-beginner-creating-our-first-su-module.html)which
is creating only 1 SU(tutorial-file-su) and assembling into tutorial-sa.here
also the same process is taking place.
i could not understand the difference between these two i.e A & B.
so please clarify me the the atcual process taking place.
Thanks & Regards,
J.MAHESH
bsnyder wrote:
>
> On Tue, Mar 25, 2008 at 6:54 AM, Mahesh_w <ja...@wipro.com> wrote:
>>
>> hi,
>>
>> i am doing the tutorial execercise the link is
>> http://servicemix.apache.org/26-beginner-exercise.html
>>
>> i have built an SA with three
>> SUs(tutorial-file-su,tutorial-jms-su,tutorial-eip-su).
>> when i am deploying i am getting the error in log file.
>> i am attaching the log file.
>>
>> 15:30:10,446 | INFO | main | JBIContainer |
>> mix.jbi.container.JBIContainer 642 | ServiceMix JBI
>>
>> Container (ServiceMix) started
>> 15:30:11,900 | INFO | main | JDBCAdapterFactory |
>> icemix.jdbc.JDBCAdapterFactory 45 | Database driver
>>
>> recognized: [apache_derby_embedded_jdbc_driver]
>> 15:30:12,087 | INFO | main | LogTask |
>> servicemix.jbi.logging.LogTask 58 | Logging system
>>
>> reconfigured using file:
>> file:/D:/umesh/ServiceMix/apache-servicemix-3.2.1/conf/log4j.xml
>> 15:31:42,448 | INFO | Timer-5 | AutoDeploymentService |
>> ramework.AutoDeploymentService 646 | Directory: hotdeploy:
>>
>> Archive changed: processing tutorial-sa-1.0-SNAPSHOT.zip ...
>> 15:31:43,682 | INFO | Timer-5 | DeploymentService |
>> bi.framework.DeploymentService 683 | UnDeployed ServiceUnit
>>
>> tutorial-file-su from Component: servicemix-file
>> 15:31:43,916 | INFO | Timer-5 | DeploymentService |
>> bi.framework.DeploymentService 683 | UnDeployed ServiceUnit
>>
>> tutorial-jms-su from Component: servicemix-jms
>> 15:31:44,213 | ERROR | Timer-5 | AutoDeploymentService |
>> ramework.AutoDeploymentService 364 | Failed to update
>>
>> Service Assembly: tutorial-sa
>> 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>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
>> xmlns="http://java.sun.com/xml/ns/jbi/management-message">
>> <component-name>servicemix-file</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-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
>> 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 20 in XML document from file
>>
>>
>> [D:\umesh\ServiceMix\apache-servicemix-3.2.1\data\smx\service-assemblies\tutorial-sa\version_2\sus\servicemix-eip\tutorial-e
>>
>> ip-su\xbean.xml] is invalid; nested exception is
>
> The error above clearly states that the problem is in the xbean.xml
> file for the tutorial-eip-su. Please paste that file in a reply to
> this message so we can see its contents.
>
> Bruce
> --
> perl -e 'print
> unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
>
> Apache ActiveMQ - http://activemq.org/
> Apache Camel - http://activemq.org/camel/
> Apache ServiceMix - http://servicemix.org/
> Apache Geronimo - http://geronimo.apache.org/
>
> Blog: http://bruceblog.org/
>
>
--
View this message in context: http://www.nabble.com/getting-error-when-deploying-sa..-tp16274458s12049p16296287.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: getting error when deploying sa..
Posted by Mahesh_w <ja...@wipro.com>.
hi Bruce,
Thanks for your solution. i could able to resolve it. itz in xbean.xml file
a syntax error.
i have deployed it and itz working fine.
but i could not understand the flow of the application
B)ref:http://servicemix.apache.org/26-beginner-exercise.html.
here iam sending an xml file in a folder My-poller which is copies into
My-sender folder.
but this is the same case when i worked the tutorial using file-su
A)Ref:http://servicemix.apache.org/22-beginner-creating-our-first-su-module.html
i could nt understand the flow of using A(using only 1 SU i.efile-su) and
B(using 3 SU's i.e file-su,jms-su,eip-su).
can any one clarify in this regard what is the actual flow of thes
examples(A&B)
Thanks & Regards
J.uma mahesh
bsnyder wrote:
>
> On Tue, Mar 25, 2008 at 6:54 AM, Mahesh_w <ja...@wipro.com> wrote:
>>
>> hi,
>>
>> i am doing the tutorial execercise the link is
>> http://servicemix.apache.org/26-beginner-exercise.html
>>
>> i have built an SA with three
>> SUs(tutorial-file-su,tutorial-jms-su,tutorial-eip-su).
>> when i am deploying i am getting the error in log file.
>> i am attaching the log file.
>>
>> 15:30:10,446 | INFO | main | JBIContainer |
>> mix.jbi.container.JBIContainer 642 | ServiceMix JBI
>>
>> Container (ServiceMix) started
>> 15:30:11,900 | INFO | main | JDBCAdapterFactory |
>> icemix.jdbc.JDBCAdapterFactory 45 | Database driver
>>
>> recognized: [apache_derby_embedded_jdbc_driver]
>> 15:30:12,087 | INFO | main | LogTask |
>> servicemix.jbi.logging.LogTask 58 | Logging system
>>
>> reconfigured using file:
>> file:/D:/umesh/ServiceMix/apache-servicemix-3.2.1/conf/log4j.xml
>> 15:31:42,448 | INFO | Timer-5 | AutoDeploymentService |
>> ramework.AutoDeploymentService 646 | Directory: hotdeploy:
>>
>> Archive changed: processing tutorial-sa-1.0-SNAPSHOT.zip ...
>> 15:31:43,682 | INFO | Timer-5 | DeploymentService |
>> bi.framework.DeploymentService 683 | UnDeployed ServiceUnit
>>
>> tutorial-file-su from Component: servicemix-file
>> 15:31:43,916 | INFO | Timer-5 | DeploymentService |
>> bi.framework.DeploymentService 683 | UnDeployed ServiceUnit
>>
>> tutorial-jms-su from Component: servicemix-jms
>> 15:31:44,213 | ERROR | Timer-5 | AutoDeploymentService |
>> ramework.AutoDeploymentService 364 | Failed to update
>>
>> Service Assembly: tutorial-sa
>> 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>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
>> xmlns="http://java.sun.com/xml/ns/jbi/management-message">
>> <component-name>servicemix-file</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-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
>> 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 20 in XML document from file
>>
>>
>> [D:\umesh\ServiceMix\apache-servicemix-3.2.1\data\smx\service-assemblies\tutorial-sa\version_2\sus\servicemix-eip\tutorial-e
>>
>> ip-su\xbean.xml] is invalid; nested exception is
>
> The error above clearly states that the problem is in the xbean.xml
> file for the tutorial-eip-su. Please paste that file in a reply to
> this message so we can see its contents.
>
> Bruce
> --
> perl -e 'print
> unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
>
> Apache ActiveMQ - http://activemq.org/
> Apache Camel - http://activemq.org/camel/
> Apache ServiceMix - http://servicemix.org/
> Apache Geronimo - http://geronimo.apache.org/
>
> Blog: http://bruceblog.org/
>
>
--
View this message in context: http://www.nabble.com/getting-error-when-deploying-sa..-tp16274458s12049p16296766.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: getting error when deploying sa..
Posted by Bruce Snyder <br...@gmail.com>.
On Tue, Mar 25, 2008 at 6:54 AM, Mahesh_w <ja...@wipro.com> wrote:
>
> hi,
>
> i am doing the tutorial execercise the link is
> http://servicemix.apache.org/26-beginner-exercise.html
>
> i have built an SA with three
> SUs(tutorial-file-su,tutorial-jms-su,tutorial-eip-su).
> when i am deploying i am getting the error in log file.
> i am attaching the log file.
>
> 15:30:10,446 | INFO | main | JBIContainer |
> mix.jbi.container.JBIContainer 642 | ServiceMix JBI
>
> Container (ServiceMix) started
> 15:30:11,900 | INFO | main | JDBCAdapterFactory |
> icemix.jdbc.JDBCAdapterFactory 45 | Database driver
>
> recognized: [apache_derby_embedded_jdbc_driver]
> 15:30:12,087 | INFO | main | LogTask |
> servicemix.jbi.logging.LogTask 58 | Logging system
>
> reconfigured using file:
> file:/D:/umesh/ServiceMix/apache-servicemix-3.2.1/conf/log4j.xml
> 15:31:42,448 | INFO | Timer-5 | AutoDeploymentService |
> ramework.AutoDeploymentService 646 | Directory: hotdeploy:
>
> Archive changed: processing tutorial-sa-1.0-SNAPSHOT.zip ...
> 15:31:43,682 | INFO | Timer-5 | DeploymentService |
> bi.framework.DeploymentService 683 | UnDeployed ServiceUnit
>
> tutorial-file-su from Component: servicemix-file
> 15:31:43,916 | INFO | Timer-5 | DeploymentService |
> bi.framework.DeploymentService 683 | UnDeployed ServiceUnit
>
> tutorial-jms-su from Component: servicemix-jms
> 15:31:44,213 | ERROR | Timer-5 | AutoDeploymentService |
> ramework.AutoDeploymentService 364 | Failed to update
>
> Service Assembly: tutorial-sa
> 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>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
> xmlns="http://java.sun.com/xml/ns/jbi/management-message">
> <component-name>servicemix-file</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-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
> 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 20 in XML document from file
>
> [D:\umesh\ServiceMix\apache-servicemix-3.2.1\data\smx\service-assemblies\tutorial-sa\version_2\sus\servicemix-eip\tutorial-e
>
> ip-su\xbean.xml] is invalid; nested exception is
The error above clearly states that the problem is in the xbean.xml
file for the tutorial-eip-su. Please paste that file in a reply to
this message so we can see its contents.
Bruce
--
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache ActiveMQ - http://activemq.org/
Apache Camel - http://activemq.org/camel/
Apache ServiceMix - http://servicemix.org/
Apache Geronimo - http://geronimo.apache.org/
Blog: http://bruceblog.org/
Re: getting error when deploying sa..
Posted by Mahesh_w <ja...@wipro.com>.
Hi,
i am also getting the same error
kindly help
thanks in advance
SK
Mahesh_w wrote:
>
> hi,
>
> i am doing the tutorial execercise the link is
> http://servicemix.apache.org/26-beginner-exercise.html
>
> i have built an SA with three
> SUs(tutorial-file-su,tutorial-jms-su,tutorial-eip-su).
> when i am deploying i am getting the error in log file.
> i am attaching the log file.
>
> 15:30:10,446 | INFO | main | JBIContainer |
> mix.jbi.container.JBIContainer 642 | ServiceMix JBI
>
> Container (ServiceMix) started
> 15:30:11,900 | INFO | main | JDBCAdapterFactory |
> icemix.jdbc.JDBCAdapterFactory 45 | Database driver
>
> recognized: [apache_derby_embedded_jdbc_driver]
> 15:30:12,087 | INFO | main | LogTask |
> servicemix.jbi.logging.LogTask 58 | Logging system
>
> reconfigured using file:
> file:/D:/umesh/ServiceMix/apache-servicemix-3.2.1/conf/log4j.xml
> 15:31:42,448 | INFO | Timer-5 | AutoDeploymentService |
> ramework.AutoDeploymentService 646 | Directory: hotdeploy:
>
> Archive changed: processing tutorial-sa-1.0-SNAPSHOT.zip ...
> 15:31:43,682 | INFO | Timer-5 | DeploymentService |
> bi.framework.DeploymentService 683 | UnDeployed ServiceUnit
>
> tutorial-file-su from Component: servicemix-file
> 15:31:43,916 | INFO | Timer-5 | DeploymentService |
> bi.framework.DeploymentService 683 | UnDeployed ServiceUnit
>
> tutorial-jms-su from Component: servicemix-jms
> 15:31:44,213 | ERROR | Timer-5 | AutoDeploymentService |
> ramework.AutoDeploymentService 364 | Failed to update
>
> Service Assembly: tutorial-sa
> 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>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
> xmlns="http://java.sun.com/xml/ns/jbi/management-message">
> <component-name>servicemix-file</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-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
> 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 20 in XML document from file
>
> [D:\umesh\ServiceMix\apache-servicemix-3.2.1\data\smx\service-assemblies\tutorial-sa\version_2\sus\servicemix-eip\tutorial-e
>
> ip-su\xbean.xml] is invalid; nested exception is
> org.xml.sax.SAXParseException: The processing instruction target matching
>
> "[xX][mM][lL]" is not allowed.</loc-message>
>
> <stack-trace><![CDATA[org.apache.xbean.kernel.ServiceRegistrationException:
>
> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
> Line 20 in XML document from file
>
> [D:\umesh\ServiceMix\apache-servicemix-3.2.1\data\smx\service-assemblies\tutorial-sa\version_2\sus\servicemix-eip\tutorial-e
>
> ip-su\xbean.xml] is invalid; nested exception is
> org.xml.sax.SAXParseException: The processing instruction target matching
>
> "[xX][mM][lL]" is not allowed.
> 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 20 in XML document from file
>
> [D:\umesh\ServiceMix\apache-servicemix-3.2.1\data\smx\service-assemblies\tutorial-sa\version_2\sus\servicemix-eip\tutorial-e
>
> ip-su\xbean.xml] is invalid; nested exception is
> org.xml.sax.SAXParseException: The processing instruction target matching
>
> "[xX][mM][lL]" is not allowed.
> 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(AbstractRefreshableApplicationC
>
> ontext.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(SpringConfigurationServiceFacto
>
> ry.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:269)
> at java.util.concurrent.FutureTask.run(FutureTask.java:123)
> at
> org.apache.xbean.kernel.standard.ServiceManagerRegistry.registerService(ServiceManagerRegistry.java:409)
> ... 13 more
> Caused by: org.xml.sax.SAXParseException: The processing instruction
> target matching "[xX][mM][lL]" is not allowed.
> 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.XMLScanner.scanPIData(Unknown Source)
> at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanPIData(Unknown
> Source)
> at org.apache.xerces.impl.XMLScanner.scanPI(Unknown Source)
> at
> org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.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
> ]]></stack-trace>
> </msg-loc-info>
> </exception-info>
> </task-result-details>
> </component-task-result-details>
> </component-task-result>
> </jbi-task-result>
> </jbi-task>
>
> at
> org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:125)
> at
> org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:111)
> at
> org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:543)
> 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)
> 15:31:44,463 | WARN | Timer-5 | AutoDeploymentService |
> ramework.AutoDeploymentService 650 | Directory: hotdeploy:
>
> Automatic install of
> D:\umesh\ServiceMix\apache-servicemix-3.2.1\hotdeploy\tutorial-sa-1.0-SNAPSHOT.zip
> failed
> javax.jbi.management.DeploymentException: Failed to update Service
> Assembly: tutorial-sa
> at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:365)
> 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: 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>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
> xmlns="http://java.sun.com/xml/ns/jbi/management-message">
> <component-name>servicemix-file</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-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
> 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 20 in XML document from file
>
> [D:\umesh\ServiceMix\apache-servicemix-3.2.1\data\smx\service-assemblies\tutorial-sa\version_2\sus\servicemix-eip\tutorial-e
>
> ip-su\xbean.xml] is invalid; nested exception is
> org.xml.sax.SAXParseException: The processing instruction target matching
>
> "[xX][mM][lL]" is not allowed.</loc-message>
>
> <stack-trace><![CDATA[org.apache.xbean.kernel.ServiceRegistrationException:
>
> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
> Line 20 in XML document from file
>
> [D:\umesh\ServiceMix\apache-servicemix-3.2.1\data\smx\service-assemblies\tutorial-sa\version_2\sus\servicemix-eip\tutorial-e
>
> ip-su\xbean.xml] is invalid; nested exception is
> org.xml.sax.SAXParseException: The processing instruction target matching
>
> "[xX][mM][lL]" is not allowed.
> 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 20 in XML document from file
>
> [D:\umesh\ServiceMix\apache-servicemix-3.2.1\data\smx\service-assemblies\tutorial-sa\version_2\sus\servicemix-eip\tutorial-e
>
> ip-su\xbean.xml] is invalid; nested exception is
> org.xml.sax.SAXParseException: The processing instruction target matching
>
> "[xX][mM][lL]" is not allowed.
> 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(AbstractRefreshableApplicationC
>
> ontext.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(SpringConfigurationServiceFacto
>
> ry.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:269)
> at java.util.concurrent.FutureTask.run(FutureTask.java:123)
> at
> org.apache.xbean.kernel.standard.ServiceManagerRegistry.registerService(ServiceManagerRegistry.java:409)
> ... 13 more
> Caused by: org.xml.sax.SAXParseException: The processing instruction
> target matching "[xX][mM][lL]" is not allowed.
> 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.XMLScanner.scanPIData(Unknown Source)
> at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanPIData(Unknown
> Source)
> at org.apache.xerces.impl.XMLScanner.scanPI(Unknown Source)
> at
> org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.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
> ]]></stack-trace>
> </msg-loc-info>
> </exception-info>
> </task-result-details>
> </component-task-result-details>
> </component-task-result>
> </jbi-task-result>
> </jbi-task>
>
> at
> org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:125)
> at
> org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:111)
> at
> org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:543)
> at
> org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:350)
> ... 6 more
>
> kindly help me to resolve the issue.
> waiting for your reply,
>
> Thanks & Regards,
> MAHESH.
>
>
--
View this message in context: http://www.nabble.com/getting-error-when-deploying-sa..-tp16274458s12049p16274562.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.