4 Replies Latest reply on Jun 16, 2008 3:07 AM by Roger Joelsson

    JMSException upon ServiceMix shutdown?!

    Roger Joelsson Novice

      Hi all,

       

      We have experienced exceptions lately upon shutting down (Ctrl-C) ServiceMix. Please find the error messages (produced two to four times per shutdown) below.

       

      Question #1: Does anyone have any idea why this is happening?

       

      Question #2: Is ServiceMix automatically trying to locate other ServiceMix instances on the LAN? So it seems, since we have experienced strange error messages (Connection reset, etc) when having multiple instances running (independently, or so we thought) on different machines. Is this somehow related to the error below?

       

      Regards,

      Roger

       

      -cut-

      ERROR - Service                        - Async error occurred: javax.jms.JMSException: Invalid acknowledgment: MessageAck {commandId = 23, responseRequired = false, ackType = 3, consumerId = ID:srmwse04-4154-1213177253836-2:2:-1:2, firstMessageId = I

      D:srmwse04-4154-1213177253836-2:10:6:1:1, lastMessageId = ID:srmwse04-4154-1213177253836-2:10:6:1:1, destination = topic://org.apache.servicemix.JCAFlow, transactionId = null, messageCount = 1}

      javax.jms.JMSException: Invalid acknowledgment: MessageAck {commandId = 23, responseRequired = false, ackType = 3, consumerId = ID:srmwse04-4154-1213177253836-2:2:-1:2, firstMessageId = ID:srmwse04-4154-1213177253836-2:10:6:1:1, lastMessageId = ID:sr

      mwse04-4154-1213177253836-2:10:6:1:1, destination = topic://org.apache.servicemix.JCAFlow, transactionId = null, messageCount = 1}

      .        at org.apache.activemq.broker.region.TopicSubscription.acknowledge(TopicSubscription.java:216)

      .        at org.apache.activemq.broker.region.AbstractRegion.acknowledge(AbstractRegion.java:359)

      .        at org.apache.activemq.broker.region.RegionBroker.acknowledge(RegionBroker.java:470)

      .        at org.apache.activemq.broker.TransactionBroker.acknowledge(TransactionBroker.java:194)

      .        at org.apache.activemq.broker.BrokerFilter.acknowledge(BrokerFilter.java:73)

      .        at org.apache.activemq.broker.BrokerFilter.acknowledge(BrokerFilter.java:73)

      .        at org.apache.activemq.broker.MutableBrokerFilter.acknowledge(MutableBrokerFilter.java:84)

      .        at org.apache.activemq.broker.TransportConnection.processMessageAck(TransportConnection.java:444)

      .        at org.apache.activemq.command.MessageAck.visit(MessageAck.java:196)

      .        at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:293)

      .        at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:181)

      .        at org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68)

      .        at org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:143)

      .        at org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:206)

      .        at org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:84)

      .        at org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:196)

      .        at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:183)

      .        at java.lang.Thread.run(Thread.java:619)

      -cut-

       

      Edited by: roger on Jun 11, 2008 9:14 AM