oracle.jms.AQjmsException: JMS-120: Dequeue failed [message #92410] |
Mon, 05 July 2004 00:42 |
Matthew Sreeves
Messages: 4 Registered: July 2004
|
Junior Member |
|
|
I have an AQ queue configured in a 9.2.0 database. I put a message onto the queue, using DBMS_AQ.ENQUEUE. So far so good.
I am attempting to get the message off the queue from a standalone Java application using a "thin" client connection.
The following exception is thrown every time (ignore classes beginning KC - these are our own):
oracle.jms.AQjmsException: JMS-120: Dequeue failed
at oracle.jms.AQjmsError.throwEx(AQjmsError.java:283)
at oracle.jms.AQjmsConsumer.dequeue(AQjmsConsumer.java:2025)
at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:982)
at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:919)
at oracle.jms.AQjmsConsumer.receive(AQjmsConsumer.java:835)
at com.kcom.rialto.KCQueueMessageReceiver.receive(KCQueueMessageReceiver.java:99)
at com.kcom.rialto.KCMessagePropagator.processMessages(KCMessagePropagator.java:57)
at com.kcom.rialto.KCMessagePropagator.main(KCMessagePropagator.java:284)
[[Linked-exception]]
java.sql.SQLException: ORA-00600: internal error code, arguments: [[kolaHashFind:hash table]], [[]], [[]], [[]], [[]], [[]], [[]], [[]]
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:189)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:242)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:554)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1478)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:888)
at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2076)
at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1987)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2697)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:457)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:387)
at oracle.jms.AQjmsConsumer.dequeue(AQjmsConsumer.java:1545)
at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:982)
at oracle.jms.AQjmsConsumer.receiveFromAQ(AQjmsConsumer.java:919)
at oracle.jms.AQjmsConsumer.receive(AQjmsConsumer.java:835)
at com.kcom.rialto.KCQueueMessageReceiver.receive(KCQueueMessageReceiver.java:99)
at com.kcom.rialto.KCMessagePropagator.processMessages(KCMessagePropagator.java:57)
at com.kcom.rialto.KCMessagePropagator.main(KCMessagePropagator.java:284)
Any ideas why this is happening?
Thanks
|
|
|
|
|
Re: oracle.jms.AQjmsException: JMS-120: Dequeue failed [message #92816 is a reply to message #92412] |
Mon, 07 February 2005 14:40 |
Sridevi Ravi
Messages: 1 Registered: February 2005
|
Junior Member |
|
|
Hi,
This is Sridevi. I have seen your post in the Oracle FAQ about the exception that you were getting
Exception: oracle.jms.AQjmsException: JMS-120: Dequeue failed.
Actually I am also trying to write a Java application which dequeues from the oracle Queue.
And I am getting the same exception.
Is your java app asynchronously receive messages whenever there is a message in the Oracle Queue.
I tried write a class which will implement the Message Listener but I was not able to see qnything getting dequeued.
So I change it to call the method receiver.receive() which is throwing the above exception.
I would appreciate any help in this matter.
And also if you can direct me to any of Oracle JMS resources that would be great.
Thanks,
Sridevi
|
|
|
|
|
|