2 Replies Latest reply on Nov 4, 2009 6:39 AM by Björn Ramant

    Problem of Logistix demo deployable order-sa-1.1

    Sandip Bose Newbie

      I have deploy all five service assembly file of logistix demo(version 1.1) to service mix(version 4.1.0.2) deploy folder.

       

      Start the service mix and run the command jbi/list. But the order-sa is not listed. All other four derby-sa-1.1.zip, order-processor-1.1.zip, order-route-1.1.zip and stock-processor-1.1.zip are running.

       

      Refer the attached screen shot.

        • 1. Re: Problem of Logistix demo deployable order-sa-1.1
          Dave Stanley Novice

          Can you check the log (i.e log/d

           

          Also run an osgi/list and verify the sa is listed.

           

          Regards

          /Dave

          • 2. Re: Problem of Logistix demo deployable order-sa-1.1
            Björn Ramant Newbie

            Hi,

             

            Any update on this? I'm also having problems deploying the order-sa-1.1...

            The servicemix.log shows the following information:

             

            11:05:12,441 | ERROR | Timer-3          | ServiceAssemblyInstaller         | er.impl.ServiceAssemblyInstaller  209 | Error deploying SU order-persistence-su

            javax.jbi.management.DeploymentException: <component-task-result xmlns="http://java.sun.com/xml/ns/jbi/management-message">

                 <component-name>servicemix-camel</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>No endpoint could be found for: jpa:com.iona.fuse.demo.logisticx.model.Order?persistenceUnit=order-processor, please check your classpath contains the needed camel component jar.</loc-message>

                                     <stack-trace><![CDATA[org.apache.camel.NoSuchEndpointException: No endpoint could be found for: jpa:com.iona.fuse.demo.logisticx.model.Order?persistenceUnit=order-processor, please check your classpath contains the needed camel component jar.

                 at org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:56)

                 at org.apache.camel.model.RouteType.resolveEndpoint(RouteType.java:99)

                 at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:106)

                 at org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:112)

                 at org.apache.camel.model.SendType.resolveEndpoint(SendType.java:57)

                 at org.apache.camel.model.SendType.createProcessor(SendType.java:51)

                 at org.apache.camel.model.ProcessorType.createOutputsProcessor(ProcessorType.java:2028)

                 at org.apache.camel.model.ProcessorType.createOutputsProcessor(ProcessorType.java:102)

                 at org.apache.camel.model.InterceptorRef.createProcessor(InterceptorRef.java:66)

                 at org.apache.camel.model.ProcessorType.makeProcessor(ProcessorType.java:1912)

                 at org.apache.camel.model.ProcessorType.addRoutes(ProcessorType.java:106)

                 at org.apache.camel.model.RouteType.addRoutes(RouteType.java:220)

                 at org.apache.camel.model.RouteType.addRoutes(RouteType.java:89)

                 at org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:673)

                 at org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:664)

                 at org.apache.camel.spring.SpringCamelContext.maybeDoStart(SpringCamelContext.java:165)

                 at org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.java:160)

                 at org.apache.camel.impl.ServiceSupport.start(ServiceSupport.java:53)

                 at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:606)

                 at org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:95)

                 at org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:114)

                 at org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:326)

                 at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:78)

                 at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)

                 at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:76)

                 at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:274)

                 at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:736)

                 at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:383)

                 at org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:87)

                 at org.apache.servicemix.camel.CamelSpringDeployer.deploy(CamelSpringDeployer.java:77)

                 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.deployer.artifacts.ServiceUnitImpl.deploy(ServiceUnitImpl.java:100)

                 at org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.deploySUs(ServiceAssemblyInstaller.java:204)

                 at org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.install(ServiceAssemblyInstaller.java:85)

                 at org.apache.servicemix.jbi.deployer.impl.Deployer.onBundleStarted(Deployer.java:354)

                 at org.apache.servicemix.jbi.deployer.impl.Deployer.bundleChanged(Deployer.java:284)

                 at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:771)

                 at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:700)

                 at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:597)

                 at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3382)

                 at org.apache.felix.framework.Felix.startBundle(Felix.java:1517)

                 at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:770)

                 at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:751)

                 at org.apache.servicemix.kernel.filemonitor.FileMonitor.refreshPackagesAndStartOrUpdateBundles(FileMonitor.java:549)

                 at org.apache.servicemix.kernel.filemonitor.FileMonitor.onFilesChanged(FileMonitor.java:299)

                 at org.apache.servicemix.kernel.filemonitor.FileMonitor$1.filesChanged(FileMonitor.java:151)

                 at org.apache.servicemix.kernel.filemonitor.Scanner.reportBulkChanges(Scanner.java:431)

                 at org.apache.servicemix.kernel.filemonitor.Scanner.reportDifferences(Scanner.java:327)

                 at org.apache.servicemix.kernel.filemonitor.Scanner.scan(Scanner.java:261)

                 at org.apache.servicemix.kernel.filemonitor.Scanner$1.run(Scanner.java:221)

                 at java.util.TimerThread.mainLoop(Timer.java:512)

                 at java.util.TimerThread.run(Timer.java:462)

            ]]></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:117)

                 at org.apache.servicemix.camel.CamelSpringDeployer.deploy(CamelSpringDeployer.java:77)

                 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.deployer.artifacts.ServiceUnitImpl.deploy(ServiceUnitImpl.java:100)

                 at org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.deploySUs(ServiceAssemblyInstaller.java:204)

                 at org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.install(ServiceAssemblyInstaller.java:85)

                 at org.apache.servicemix.jbi.deployer.impl.Deployer.onBundleStarted(Deployer.java:354)

                 at org.apache.servicemix.jbi.deployer.impl.Deployer.bundleChanged(Deployer.java:284)

                 at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:771)

                 at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:700)

                 at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:597)

                 at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3382)

                 at org.apache.felix.framework.Felix.startBundle(Felix.java:1517)

                 at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:770)

                 at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:751)

                 at org.apache.servicemix.kernel.filemonitor.FileMonitor.refreshPackagesAndStartOrUpdateBundles(FileMonitor.java:549)

                 at org.apache.servicemix.kernel.filemonitor.FileMonitor.onFilesChanged(FileMonitor.java:299)

                 at org.apache.servicemix.kernel.filemonitor.FileMonitor$1.filesChanged(FileMonitor.java:151)

                 at org.apache.servicemix.kernel.filemonitor.Scanner.reportBulkChanges(Scanner.java:431)

                 at org.apache.servicemix.kernel.filemonitor.Scanner.reportDifferences(Scanner.java:327)

                 at org.apache.servicemix.kernel.filemonitor.Scanner.scan(Scanner.java:261)

                 at org.apache.servicemix.kernel.filemonitor.Scanner$1.run(Scanner.java:221)

                 at java.util.TimerThread.mainLoop(Timer.java:512)

                 at java.util.TimerThread.run(Timer.java:462)

             

            Regards,

             

            Björn.