1 Reply Latest reply: Jul 15, 2011 9:02 AM by Todd Little-Oracle RSS

    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.
        • 1. Re: jms-120 error- dequeue failed
          Todd Little-Oracle
          Hi,

          This forum is for Oracle MessageQ (also known as BEA MessageQ and DEC MessageQ), not JMS or AQ. I would suggest checking out the WebLogic Server or Oracle Database (since this looks like an AQ issue) forums for help with your problem.

          Regards,
          Todd Little
          Oracle Tuxedo Chief Architect