Announcement Announcement Module
Collapse
No announcement yet.
What would be the reason for such an error? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • What would be the reason for such an error?

    I'm only getting this error after deploying to a new environment, and the only real difference I can find between the two environments is that in the working env, I didnt specify an MQ channel, but in the new env, there is a channel.

    So everything was working before, now on a different env, its giving this error..


    [8/19/09 16:28:11:814 SAST] 0000002d DefaultMessag W org.springframework.jms.listener.AbstractMessageLi stenerContainer handleListenerException Execution of JMS message listener failed
    org.springframework.integration.core.MessagingExce ption: the MethodInvokingMessageHandler method must have a void return, but 'org.springframework.integration.handler.MethodInv okingMessageHandler@1b3114' received a value: [183]
    at org.springframework.integration.handler.MethodInvo kingMessageHandler.handleMessage(MethodInvokingMes sageHandler.java:47)
    at org.springframework.integration.dispatcher.Abstrac tDispatcher.sendMessageToHandler(AbstractDispatche r.java:85)
    at org.springframework.integration.dispatcher.Abstrac tUnicastDispatcher.dispatch(AbstractUnicastDispatc her.java:54)
    at org.springframework.integration.channel.AbstractSu bscribableChannel.doSend(AbstractSubscribableChann el.java:56)
    at org.springframework.integration.channel.AbstractMe ssageChannel.send(AbstractMessageChannel.java:116)
    at org.springframework.integration.channel.AbstractMe ssageChannel.send(AbstractMessageChannel.java:94)
    at org.springframework.integration.channel.MessageCha nnelTemplate.doSend(MessageChannelTemplate.java:22 3)
    at org.springframework.integration.channel.MessageCha nnelTemplate.send(MessageChannelTemplate.java:180)
    at org.springframework.integration.channel.MessageCha nnelTemplate.send(MessageChannelTemplate.java:168)
    at org.springframework.integration.jms.ChannelPublish ingJmsMessageListener.onMessage(ChannelPublishingJ msMessageListener.java:203)
    at org.springframework.jms.listener.AbstractMessageLi stenerContainer.doInvokeListener(AbstractMessageLi stenerContainer.java:518)
    at org.springframework.jms.listener.AbstractMessageLi stenerContainer.invokeListener(AbstractMessageList enerContainer.java:479)
    at org.springframework.jms.listener.AbstractMessageLi stenerContainer.doExecuteListener(AbstractMessageL istenerContainer.java:451)
    at org.springframework.jms.listener.AbstractPollingMe ssageListenerContainer.doReceiveAndExecute(Abstrac tPollingMessageListenerContainer.java:323)
    at org.springframework.jms.listener.AbstractPollingMe ssageListenerContainer.receiveAndExecute(AbstractP ollingMessageListenerContainer.java:241)
    at org.springframework.jms.listener.DefaultMessageLis tenerContainer$AsyncMessageListenerInvoker.invokeL istener(DefaultMessageListenerContainer.java:982)
    at org.springframework.jms.listener.DefaultMessageLis tenerContainer$AsyncMessageListenerInvoker.run(Def aultMessageListenerContainer.java:881)
    at org.springframework.scheduling.commonj.DelegatingW ork.run(DelegatingWork.java:61)
    at com.ibm.ws.asynchbeans.J2EEContext$RunProxy.run(J2 EEContext.java:257)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:337)
    at com.ibm.websphere.security.auth.WSSubject.doAs(WSS ubject.java:118)
    at com.ibm.ws.asynchbeans.J2EEContext$DoAsProxy.run(J 2EEContext.java:328)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext .java:1111)
    at com.ibm.ws.asynchbeans.WorkWithExecutionContextImp l.go(WorkWithExecutionContextImpl.java:195)
    at com.ibm.ws.asynchbeans.CJWorkItemImpl.run(CJWorkIt emImpl.java:187)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava:1473)

  • #2
    Do you have an 'outbound-channel-adapter' with a non-void returning method?

    Comment


    • #3
      thanx yeah, I just saw that i do <blush>
      serves me right for not running unit tests before deploying changes u think wont impact anything....
      added scenario to unit test...all passing...phew...

      thanx Mark

      Comment

      Working...
      X