1 Reply Latest reply on Jul 15, 2011 2:02 PM by Todd Little-Oracle

    jms-120 error- dequeue failed

    875651
      I receives this error message when trying to dequeue a message in the log of my webapp.
      If i connect to another database...it's working.
      Could you help me to understand what could be wrong in my oracle intall, want parameter should be set to allow the reading of message.
      Thanks in advance for your help

      2011/07/14 18:03:36] WARN org.springframework.jms.listener.DefaultMessageListenerContainer - Setup of JMS message listener invoker failed for destination 'IpConnectorQueue' - trying to recover. Cause: JMS-120: Dequeue failed
      oracle.jms.AQjmsException: JMS-120: Dequeue failed
           at oracle.jms.AQjmsError.throwEx(AQjmsError.java:315)
           at oracle.jms.AQjmsConsumer.jdbcDequeue(AQjmsConsumer.java:1626)
           at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:1035)
           at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:960)
           at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:938)
           at oracle.jms.AQjmsConsumer.receive(AQjmsConsumer.java:790)
           at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveMessage(AbstractPollingMessageListenerContainer.java:429)
           at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:310)
           at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:263)
           at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1058)
           at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1050)
           at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:947)
           at java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.NullPointerException.