Hi,

  I have successfully enabled clustering in servicemix using multicast
discovery mechanism. However its not working consistantly. The following are
the problems that I face

 I have a routing slip service in "instance A" and jsr181 service in
"Instance B". The  routing slip service calls the jsr 181 service correctly
for sometime then it fails. After a break when messsages are sent  again
works the similar way and so on.

  The logs on instance A

  java.lang.IllegalStateException: Endpoint not found:
{http://vdssfrontend}Vdssfrontend:VDSS  at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:482)
        at
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLife
Cycle.java:46)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
        at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
        at
org.apache.servicemix.jbi.nmr.flow.jms.AbstractJMSFlow.access$201(AbstractJMSFlow.java:63)
        at
org.apache.servicemix.jbi.nmr.flow.jms.AbstractJMSFlow$4.run(AbstractJMSFlow.java:521)
        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)
ERROR - Jsr181Component                - Error setting exchange status to
ERROR
javax.jbi.messaging.MessagingException: illegal call to send / sendSync
        at
org.apache.servicemix.jbi.messaging.MessageExchangeImpl.handleSend(MessageExchangeImpl.java:614)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.doSend(DeliveryChannelImpl.java:385)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.send(DeliveryChannelImpl.java:431)
        at
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:58)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.java:610)
        at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
        at
org.apache.servicemix.jbi.nmr.flow.jms.AbstractJMSFlow.access$201(AbstractJMSFlow.java:63)
        at
org.apache.servicemix.jbi.nmr.flow.jms.AbstractJMSFlow$4.run(AbstractJMSFlow.java:521)
        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)


logs on instance B

 Processing SCMItem
Completed SCMItem
Processing SCMItem
Completed SCMItem
Processing SCMItem
Completed SCMItem
Processing SCMItem
Completed SCMItem
Processing SCMItem
Completed SCMItem
ERROR - JMSFlow                        - Caught an exception routing
ExchangePac
ket:
javax.jbi.messaging.MessagingException: Component servicemix-eip is shut
down
        at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlo
w.java:177)
        at
org.apache.servicemix.jbi.nmr.flow.jms.AbstractJMSFlow.access$201(Abs
tractJMSFlow.java:63)
        at
org.apache.servicemix.jbi.nmr.flow.jms.AbstractJMSFlow$4.run(Abstract
JMSFlow.java:521)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:885)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:907)
        at java.lang.Thread.run(Thread.java:619)


  why is this happening and how do I correct it?

Regards,
Ganesh
-- 
View this message in context: 
http://www.nabble.com/Cluster-working-not-consistant-tp18869925p18869925.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to