Have you looked at the error message: org.springframework.beans.factory.BeanDefinitionStoreException: Line 5 in XML document from file [D:\Servicemix\apache-servicemix-3.1-incubating\bin\data\smx\service-assemblies\ibm-sa\version_2\sus\servicemix-http\ibm-http\xbean.xml] is invalid; nested exception is org.xml.sax.SAXParseException: The markup in the document following the root element must be well-formed.
I find it quite explicit: the xbean.xml file for your SU is not even well-formed ... On Mon, Apr 28, 2008 at 10:15 AM, vinnu <[EMAIL PROTECTED]> wrote: > > hi, > Im trying to run an assembly where the jms xbean.xml file is > > > <?xml version="1.0" encoding="UTF-8"?> > <beans xmlns:jms="http://servicemix.apache.org/jms/1.0" > xmlns:ibmjms="http://com.dnb.ibmjms" > > > <jms:endpoint service="ibmjms:jms" > endpoint="endpoint" > role="provider" > jmsProviderDestinationName="QUEUE.LOCAL_I0044_DLQ" > destinationStyle="queue" > connectionFactory="#connectionFactory" > /> > > <bean id="connectionFactory" > class="com.ibm.mq.jms.MQQueueConnectionFactory" > > > <property name="hostName" value="tcp://10.158.28.161" /> > <property name="port" value="1414" /> > <property name="queueManager" value="QMGR.DNBQA1" /> > <property name="transportType" value="1" /> > <property name="channel" value="SYSTEM.DEF.SVRCONN" /> > > </bean> > </beans> > > > and im getting the following error... > > > WARN - AutoDeploymentService - Directory: deploy: Automatic > install of D:\Servicemix\apache-servicemix-3.1-incubating\bin\deploy\ibm- > sa.zip failed > javax.jbi.management.DeploymentException: Failed to update Service Assembly: > ibm-sa > at > > org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:348) > at > > org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:645) > at > > org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(AutoDeploymentService.java:62) > at > > org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:608) > 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-http</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.BeanDefinitionStoreException: > Line 5 in XML document fro > m file > > [D:\Servicemix\apache-servicemix-3.1-incubating\bin\data\smx\service-assemblies\ibm-sa\version_2\sus\servicemix-http\ibm-http\xbean.xml] > is invalid; nested exception is org.xml.sax.SAXParseException: The markup > in the document following the root element must be well-formed.</loc > -message> > > <stack-trace><![CDATA[org.apache.xbean.kernel.ServiceRegistrationException: > org.springframework.beans.f > actory.BeanDefinitionStoreException: Line 5 in XML document from file > [D:\Servicemix\apache-servicemix-3.1-incubating\bin\data\smx\service-asse > mblies\ibm-sa\version_2\sus\servicemix-http\ibm-http\xbean.xml] is invalid; > nested exception is org.xml.sax.SAXParseException: The markup in th > e document following the root element must be well-formed. > 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:154) > at > > org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:79) > 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:527) > at > > org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:334) > at > > org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:645) > at > > org.apache.servicemix.jbi.framework.AutoDeploymentService.access$200(AutoDeploymentService.java:62) > at > > org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:608) > at java.util.TimerThread.mainLoop(Timer.java:512) > at java.util.TimerThread.run(Timer.java:462) > Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: > Line 5 in XML document from file [D:\Servicemix\apache-servicemix-3. > > 1-incubating\bin\data\smx\service-assemblies\ibm-sa\version_2\sus\servicemix-http\ibm-http\xbean.xml] > is invalid; nested exception is org.xml.s > ax.SAXParseException: The markup in the document following the root element > must be well-formed. > at > > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:417) > at > > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:357) > at > > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334) > at > > org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126) > at > > org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142) > at > > org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:168) > at > > org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:113) > at > > org.apache.xbean.spring.context.FileSystemXmlApplicationContext.loadBeanDefinitions(FileSystemXmlApplicationContext.java:168) > at > > org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.j > ava:94) > at > > org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:292) > 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 > > edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176) > at > > org.apache.xbean.kernel.standard.ServiceManagerRegistry.registerService(ServiceManagerRegistry.java:409) > ... 12 more > Caused by: org.xml.sax.SAXParseException: The markup in the document > following the root element must be well-formed. > 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.XMLDocumentScannerImpl$TrailingMiscDispatcher.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:77) > at > > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:405) > ... 28 more > ]]></stack-trace> > </msg-loc-info> > </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-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> > </jbi-task-result> > </jbi-task> > > at > > org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:121) > at > > org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:107) > at > > org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:563) > at > > org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:334) > ... 5 more > > CAN ANYONE HELP ME IN THIS > -- > View this message in context: > http://www.nabble.com/Servicemix-jms-to-connect-IBM-Websphere-MQ-tp16930765p16930765.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. > > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/