This discussion is archived
0 Replies Latest reply: Nov 6, 2013 11:30 PM by Rigga RSS

JMS exception in JMS client

Rigga Newbie
Currently Being Moderated

Hi All

 

ERROR [org.springframework.jms.listener.AbstractPollingMessageListenerContainer]: Listener exception overridden by rollback exception

  1. weblogic.jms.common.JMSException: weblogic.messaging.dispatcher.DispatcherException: java.rmi.UnmarshalException: failed to unmarshal response; nested exception is:

    java.io.UTFDataFormatException

    at weblogic.jms.dispatcher.DispatcherAdapter.convertToJMSExceptionAndThrow(DispatcherAdapter.java:116)

    at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSyncNoTran(DispatcherAdapter.java:61)

    at weblogic.jms.client.JMSSession.receiveMessage(JMSSession.java:886)

    at weblogic.jms.client.JMSConsumer.receiveInternal(JMSConsumer.java:647)

    at weblogic.jms.client.JMSConsumer.receive(JMSConsumer.java:526)

    at weblogic.jms.client.WLConsumerImpl.receive(WLConsumerImpl.java:184)

    at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveMessage(AbstractPollingMessageListenerContainer.java:405)

    at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:308)

    at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:241)

    at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:982)

    at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:974)

    at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:876)

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

Caused by: weblogic.messaging.dispatcher.DispatcherException: java.rmi.UnmarshalException: failed to unmarshal response; nested exception is:

    java.io.UTFDataFormatException

    at weblogic.messaging.dispatcher.DispatcherWrapperState.dispatchSyncTran(DispatcherWrapperState.java:350)

    at weblogic.messaging.dispatcher.DispatcherWrapperState.dispatchSyncNoTran(DispatcherWrapperState.java:386)

    at weblogic.jms.dispatcher.DispatcherAdapter.dispatchSyncNoTran(DispatcherAdapter.java:59)

    ... 11 more

Caused by: java.rmi.UnmarshalException: failed to unmarshal response; nested exception is:

    java.io.UTFDataFormatException

    at weblogic.messaging.dispatcher.DispatcherProxy.unmarshalResponse(DispatcherProxy.java:271)

    at weblogic.messaging.dispatcher.DispatcherProxy.dispatchSyncTranFuture(DispatcherProxy.java:134)

    at weblogic.messaging.dispatcher.DispatcherWrapperState.dispatchSyncTran(DispatcherWrapperState.java:338)

    ... 13 more

Caused by: java.io.UTFDataFormatException

    at weblogic.utils.io.ChunkedDataInputStream.readUTFFromChunk(ChunkedDataInputStream.java:298)

    at weblogic.utils.io.ChunkedDataInputStream.readUTF(ChunkedDataInputStream.java:178)

    at weblogic.workarea.spi.WorkContextEntryImpl.readEntry(WorkContextEntryImpl.java:92)

    at weblogic.workarea.WorkContextLocalMap.receiveRequest(WorkContextLocalMap.java:151)

    at weblogic.jms.common.JMSWorkContextHelper.readWorkContext(JMSWorkContextHelper.java:89)

    at weblogic.jms.common.MessageImpl.readExternal(MessageImpl.java:2275)

    at weblogic.jms.common.TextMessageImpl.readExternal(TextMessageImpl.java:354)

    at weblogic.jms.common.JMSConsumerReceiveResponse.readExternal(JMSConsumerReceiveResponse.java:133)

    at weblogic.messaging.dispatcher.DispatcherObjectHandler.readResponse(DispatcherObjectHandler.java:154)

    at weblogic.messaging.dispatcher.DispatcherProxy.unmarshalResponse(DispatcherProxy.java:269)

    ... 15 more

INFO [org.springframework.jms.listener.DefaultMessageListenerContainer]: Setup of JMS message listener invoker failed for destination 'QUEUE' - trying to recover. Cause: Could not roll back JMS transaction; nested exception is weblogic.jms.common.LostServerException: [JMSClientExceptions:055169]Network connection to server was lost.



I am getting this exception while receiving inbound messages.


we are fetching message from JMS server then we get this error but the occasional message does get through.

I can see UTFdataexception in error log but we haven't changed anything at client end.So why are we getting this exception?

is it encoding issue?


we are using weblogic client 10.3.2.0.

 

Please let me know if any information is required.



Regards

xyz

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points