Re: servicemix Drool engine Issue
Hi Gert, I have both xbean.xml for JMS and Drool components. Please take a look at the attachement herewith. Please advice. Regards, Prasanta pksahoo wrote: > > Hi Gert, > > Thank you for reply. I am getting same error that "The Service Name > specified for routing, but can't find it registered". > > Please see below error details: > > 14:01:08,880 | WARN | pool-component.servicemix-jms-thread-6 | > DefaultBroker| rvicemix.jbi.nmr.DefaultBroker 341 | > ServiceName ({urn:logicblaze:soa:loanbroker}myDroolsService) specified for > routing, but can't find it registered > 14:01:08,880 | WARN | pool-component.servicemix-jms-thread-6 | > DefaultBroker| rvicemix.jbi.nmr.DefaultBroker 341 | > ServiceName ({urn:logicblaze:soa:loanbroker}myDroolsService) specified for > routing, but can't find it registered > 14:01:08,880 | ERROR | pool-component.servicemix-jms-thread-6 | > plexingConsumerProcessor | ultiplexingConsumerProcessor$1 100 | Error > while handling jms message > javax.jbi.messaging.MessagingException: Could not find route for exchange: > InOut[ > id: ID:10.16.106.91-1134524da8a-5:4 > status: Active > role: provider > service: {urn:logicblaze:soa:loanbroker}myDroolsService > operation: {urn:/HelloWorld2.wsdl}Hello > in: xmlns="urn:/HelloWorld2.wsdl" > xmlns:soap="http://www.w3.org/2003/05/soap-envelope";> > > Pleas advise. > > Regards, > Prasanta > > > > Gert Vanthienen wrote: >> >> Prasanta, >> >> >> At this moment, there is no servicemix-drools SU archetype. Please file >> a JIRA to have it created... >> >> For now, you can just use the plain SU archetype and go from there. Have >> a look at >> http://incubator.apache.org/servicemix/what-is-a-jbi-su-and-how-do-i-create-one.html, >> but use -DarchetypeArtifactId=servicemix-service-unit instead. >> >> After that is done, you add a dependency to servicemix-drools to the >> pom.xml that has been generated: >> >> org.apache.servicemix >> servicemix-http >> ${servicemix-version} >> >> >> Now all you have to do is modify your xbean.xml to configure the Drools >> service endpoints. Maven will take care of packaging it a SU targeted at >> servicemix-drools. >> >> >> Gert >> >> >> >> pksahoo wrote: >>> >>> How can I create a service unit to use the drools rules engine? Please >>> share the maven archetype and, if possible, an example >>> >>> My JMS client is cnfigured with servicemix drool SU. I am getting >>> following error. >>> >>> Please advise. >>> >>> Here is the details of error: >>> 10:13:49,928 | WARN | pool-component.servicemix-jms-thread-2 | >>> DefaultBroker | rvicemix.jbi.nmr.DefaultBroker 341 | ServiceName >>> ({urn:logicblaze:soa:loanbroker}myDroolsService) specified for routing, >>> but can't find it registered >>> 10:13:49,928 | WARN | pool-component.servicemix-jms-thread-2 | >>> DefaultBroker | rvicemix.jbi.nmr.DefaultBroker 341 | ServiceName >>> ({urn:logicblaze:soa:loanbroker}myDroolsService) specified for routing, >>> but can't find it registered >>> 10:13:49,928 | ERROR | pool-component.servicemix-jms-thread-2 | >>> plexingConsumerProcessor | ultiplexingConsumerProcessor$1 100 | Error >>> while handling jms message >>> javax.jbi.messaging.MessagingException: Could not find route for >>> exchange: InOut[ >>> id: ID:169.254.185.179-1133f6208c3-5:0 >>> status: Active >>> role: provider >>> service: {urn:logicblaze:soa:loanbroker}myDroolsService >>> operation: Hello >>> in: >> xmlns="urn:/HelloWorld2.wsdl" >>> xmlns:soap="http://www.w3.org/2003/05/soap-envelope";> >>> Hello from Vishal - >>> >>> ] for service: {urn:logicblaze:soa:loanbroker}myDroolsService and >>> interface: null >>> at >>> org.apache.servicemix.jbi.nmr.DefaultBroker.sendExchangePacket(DefaultBroker.java:295) >>> at >>> org.apache.servicemix.jbi.security.SecuredBroker.sendExchangePacket(SecuredBroker.java:81) >>> at >>> org.apache.servicemix.jbi.container.JBIContainer.sendExchange(JBIContainer.java:793) >>> at >>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:381) >>> at >>> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.send(DeliveryChannelImpl.java:417) >>> at >>> org.apache.servicemix.common.AsyncBaseLifeCycle.sendConsumerExchange(AsyncBaseLifeCycle.java:572) >>> at >>> org.apache.servicemix.jms.multiplexing.MultiplexingConsumerProcessor$1.run(MultiplexingConsumerProcessor.java:98) >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) >>> at java.lang.Thread.run(Thread.java:619) >>> >>> [ Show » ] Jawed Khan [18/Jun/07 08:27 AM] Here is the details of error: >>> 10:13:49,928 | WARN | pool-component.servicemix-jms-thread-2 | >>> DefaultBroker | rvicemix.jbi.nmr.DefaultBroker 341 | ServiceName >>> ({urn:logicblaze:soa:loanbroker}myDroolsService) specified for routing, >>> but can't find it registered 10:13:49
Re: a few more JBI components I spotted (XMPP, UDDI, SIP, RSS)
We demonstrated three of the components, SIP, XMPP, and UDDI, to gnodet at JavaOne at the JBI Ecosystems pod. gnodet wrote: > > See https://open-jbi-components.dev.java.net/ for a full list of JBI > components > hosted at java.net (in the left navigation bar). > > On 6/19/07, James Strachan <[EMAIL PROTECTED]> wrote: >> >> I spotted this surfing today... >> >> >> http://weblogs.java.net/blog/boneill42/archive/2007/06/jbi_as_a_conver.html >> >> haven't looked too close at the actual components yet or anything though >> >> -- >> James >> --- >> http://macstrac.blogspot.com/ >> > > > > -- > Cheers, > Guillaume Nodet > > Principal Engineer, IONA > Blog: http://gnodet.blogspot.com/ > > -- View this message in context: http://www.nabble.com/a-few-more-JBI-components-I-spotted-%28XMPP%2C-UDDI%2C-SIP%2C-RSS%29-tf3944130s12049.html#a11201143 Sent from the ServiceMix - Dev mailing list archive at Nabble.com.
Re: servicemix Drool engine Issue
Hi Gert, Thank you for reply. I am getting same error that "The Service Name specified for routing, but can't find it registered". Please see below error details: 14:01:08,880 | WARN | pool-component.servicemix-jms-thread-6 | DefaultBroker| rvicemix.jbi.nmr.DefaultBroker 341 | ServiceName ({urn:logicblaze:soa:loanbroker}myDroolsService) specified for routing, but can't find it registered 14:01:08,880 | WARN | pool-component.servicemix-jms-thread-6 | DefaultBroker| rvicemix.jbi.nmr.DefaultBroker 341 | ServiceName ({urn:logicblaze:soa:loanbroker}myDroolsService) specified for routing, but can't find it registered 14:01:08,880 | ERROR | pool-component.servicemix-jms-thread-6 | plexingConsumerProcessor | ultiplexingConsumerProcessor$1 100 | Error while handling jms message javax.jbi.messaging.MessagingException: Could not find route for exchange: InOut[ id: ID:10.16.106.91-1134524da8a-5:4 status: Active role: provider service: {urn:logicblaze:soa:loanbroker}myDroolsService operation: {urn:/HelloWorld2.wsdl}Hello in: http://www.w3.org/2003/05/soap-envelope";> Pleas advise. Regards, Prasanta Gert Vanthienen wrote: > > Prasanta, > > > At this moment, there is no servicemix-drools SU archetype. Please file a > JIRA to have it created... > > For now, you can just use the plain SU archetype and go from there. Have > a look at > http://incubator.apache.org/servicemix/what-is-a-jbi-su-and-how-do-i-create-one.html, > but use -DarchetypeArtifactId=servicemix-service-unit instead. > > After that is done, you add a dependency to servicemix-drools to the > pom.xml that has been generated: > > org.apache.servicemix > servicemix-http > ${servicemix-version} > > > Now all you have to do is modify your xbean.xml to configure the Drools > service endpoints. Maven will take care of packaging it a SU targeted at > servicemix-drools. > > > Gert > > > > pksahoo wrote: >> >> How can I create a service unit to use the drools rules engine? Please >> share the maven archetype and, if possible, an example >> >> My JMS client is cnfigured with servicemix drool SU. I am getting >> following error. >> >> Please advise. >> >> Here is the details of error: >> 10:13:49,928 | WARN | pool-component.servicemix-jms-thread-2 | >> DefaultBroker | rvicemix.jbi.nmr.DefaultBroker 341 | ServiceName >> ({urn:logicblaze:soa:loanbroker}myDroolsService) specified for routing, >> but can't find it registered >> 10:13:49,928 | WARN | pool-component.servicemix-jms-thread-2 | >> DefaultBroker | rvicemix.jbi.nmr.DefaultBroker 341 | ServiceName >> ({urn:logicblaze:soa:loanbroker}myDroolsService) specified for routing, >> but can't find it registered >> 10:13:49,928 | ERROR | pool-component.servicemix-jms-thread-2 | >> plexingConsumerProcessor | ultiplexingConsumerProcessor$1 100 | Error >> while handling jms message >> javax.jbi.messaging.MessagingException: Could not find route for >> exchange: InOut[ >> id: ID:169.254.185.179-1133f6208c3-5:0 >> status: Active >> role: provider >> service: {urn:logicblaze:soa:loanbroker}myDroolsService >> operation: Hello >> in: > xmlns="urn:/HelloWorld2.wsdl" >> xmlns:soap="http://www.w3.org/2003/05/soap-envelope";> >> Hello from Vishal - >> >> ] for service: {urn:logicblaze:soa:loanbroker}myDroolsService and >> interface: null >> at >> org.apache.servicemix.jbi.nmr.DefaultBroker.sendExchangePacket(DefaultBroker.java:295) >> at >> org.apache.servicemix.jbi.security.SecuredBroker.sendExchangePacket(SecuredBroker.java:81) >> at >> org.apache.servicemix.jbi.container.JBIContainer.sendExchange(JBIContainer.java:793) >> at >> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:381) >> at >> org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.send(DeliveryChannelImpl.java:417) >> at >> org.apache.servicemix.common.AsyncBaseLifeCycle.sendConsumerExchange(AsyncBaseLifeCycle.java:572) >> at >> org.apache.servicemix.jms.multiplexing.MultiplexingConsumerProcessor$1.run(MultiplexingConsumerProcessor.java:98) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) >> at java.lang.Thread.run(Thread.java:619) >> >> [ Show » ] Jawed Khan [18/Jun/07 08:27 AM] Here is the details of error: >> 10:13:49,928 | WARN | pool-component.servicemix-jms-thread-2 | >> DefaultBroker | rvicemix.jbi.nmr.DefaultBroker 341 | ServiceName >> ({urn:logicblaze:soa:loanbroker}myDroolsService) specified for routing, >> but can't find it registered 10:13:49,928 | WARN | >> pool-component.servicemix-jms-thread-2 | DefaultBroker | >> rvicemix.jbi.nmr.DefaultBroker 341 | ServiceName >> ({urn:logicblaze:soa:loanbroker}myDroolsService) specified for routing, >> but can't find it registered 10:13:49,928 | ERROR | >> pool-component.servicemix-jms-thread-2 | plexingConsumerProcessor | >> ultiplexingConsumerProcessor$1 100 | Err
Re: servicemix Drool engine Issue
Prasanta, At this moment, there is no servicemix-drools SU archetype. Please file a JIRA to have it created... For now, you can just use the plain SU archetype and go from there. Have a look at http://incubator.apache.org/servicemix/what-is-a-jbi-su-and-how-do-i-create-one.html, but use -DarchetypeArtifactId=servicemix-service-unit instead. After that is done, you add a dependency to servicemix-drools to the pom.xml that has been generated: org.apache.servicemix servicemix-http ${servicemix-version} Now all you have to do is modify your xbean.xml to configure the Drools service endpoints. Maven will take care of packaging it a SU targeted at servicemix-drools. Gert pksahoo wrote: > > How can I create a service unit to use the drools rules engine? Please > share the maven archetype and, if possible, an example > > My JMS client is cnfigured with servicemix drool SU. I am getting > following error. > > Please advise. > > Here is the details of error: > 10:13:49,928 | WARN | pool-component.servicemix-jms-thread-2 | > DefaultBroker | rvicemix.jbi.nmr.DefaultBroker 341 | ServiceName > ({urn:logicblaze:soa:loanbroker}myDroolsService) specified for routing, > but can't find it registered > 10:13:49,928 | WARN | pool-component.servicemix-jms-thread-2 | > DefaultBroker | rvicemix.jbi.nmr.DefaultBroker 341 | ServiceName > ({urn:logicblaze:soa:loanbroker}myDroolsService) specified for routing, > but can't find it registered > 10:13:49,928 | ERROR | pool-component.servicemix-jms-thread-2 | > plexingConsumerProcessor | ultiplexingConsumerProcessor$1 100 | Error > while handling jms message > javax.jbi.messaging.MessagingException: Could not find route for exchange: > InOut[ > id: ID:169.254.185.179-1133f6208c3-5:0 > status: Active > role: provider > service: {urn:logicblaze:soa:loanbroker}myDroolsService > operation: Hello > in: xmlns="urn:/HelloWorld2.wsdl" > xmlns:soap="http://www.w3.org/2003/05/soap-envelope";> > Hello from Vishal - > > ] for service: {urn:logicblaze:soa:loanbroker}myDroolsService and > interface: null > at > org.apache.servicemix.jbi.nmr.DefaultBroker.sendExchangePacket(DefaultBroker.java:295) > at > org.apache.servicemix.jbi.security.SecuredBroker.sendExchangePacket(SecuredBroker.java:81) > at > org.apache.servicemix.jbi.container.JBIContainer.sendExchange(JBIContainer.java:793) > at > org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:381) > at > org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.send(DeliveryChannelImpl.java:417) > at > org.apache.servicemix.common.AsyncBaseLifeCycle.sendConsumerExchange(AsyncBaseLifeCycle.java:572) > at > org.apache.servicemix.jms.multiplexing.MultiplexingConsumerProcessor$1.run(MultiplexingConsumerProcessor.java:98) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) > at java.lang.Thread.run(Thread.java:619) > > [ Show » ] Jawed Khan [18/Jun/07 08:27 AM] Here is the details of error: > 10:13:49,928 | WARN | pool-component.servicemix-jms-thread-2 | > DefaultBroker | rvicemix.jbi.nmr.DefaultBroker 341 | ServiceName > ({urn:logicblaze:soa:loanbroker}myDroolsService) specified for routing, > but can't find it registered 10:13:49,928 | WARN | > pool-component.servicemix-jms-thread-2 | DefaultBroker | > rvicemix.jbi.nmr.DefaultBroker 341 | ServiceName > ({urn:logicblaze:soa:loanbroker}myDroolsService) specified for routing, > but can't find it registered 10:13:49,928 | ERROR | > pool-component.servicemix-jms-thread-2 | plexingConsumerProcessor | > ultiplexingConsumerProcessor$1 100 | Error while handling jms message > javax.jbi.messaging.MessagingException: Could not find route for exchange: > InOut[ id: ID:169.254.185.179-1133f6208c3-5:0 status: Active role: > provider service: {urn:logicblaze:soa:loanbroker}myDroolsService > operation: Hello in: xmlns="urn:/HelloWorld2.wsdl" > xmlns:soap="http://www.w3.org/2003/05/soap-envelope";> Hello from > Vishal - ] for service: > {urn:logicblaze:soa:loanbroker}myDroolsService and interface: null at > org.apache.servicemix.jbi.nmr.DefaultBroker.sendExchangePacket(DefaultBroker.java:295) > at > org.apache.servicemix.jbi.security.SecuredBroker.sendExchangePacket(SecuredBroker.java:81) > at > org.apache.servicemix.jbi.container.JBIContainer.sendExchange(JBIContainer.java:793) > at > org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:381) > at > org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.send(DeliveryChannelImpl.java:417) > at > org.apache.servicemix.common.AsyncBaseLifeCycle.sendConsumerExchange(AsyncBaseLifeCycle.java:572) > at > org.apache.servicemix.jms.multiplexing.MultiplexingConsumerProcessor$1.run(MultiplexingConsumerProcessor.java:98) > at > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) > at > java.util.concurrent.ThreadPoolExecu