Home » Server Options » Streams & AQ » Problems with Oracle JMS Advanced Queuing
Problems with Oracle JMS Advanced Queuing [message #216524] Mon, 29 January 2007 03:10
DickPJV
Messages: 1
Registered: January 2007
Location: Vianen
Junior Member
Hello,

We have build an application using Advanced Queing (database version 10.2.0.1.0). Everything works fine using PL/SQL. But when we try to send in messages through the Oracle JMS interface messages with less then 4000 bytes are stored in the queu table but the content of the message is not stored in one of the user data attributes.
Messages larger then 4000 bytes result in the following error:

oracle.jms.AQjmsException: JMS-204: Er is een fout opgetreden in de AQ JNI-laag.
at oracle.jms.AQjmsError.throwEx(AQjmsError.java:311)
at oracle.jms.AQjmsProducer.enqueue(AQjmsProducer.java:1323)
at oracle.jms.AQjmsProducer.send(AQjmsProducer.java:692)
at oracle.jms.AQjmsProducer.send(AQjmsProducer.java:465)
at nl.detailresult.aqadapter.test.OracleQueueSendTextMsgTest.testOracleQueuePlus4000(OracleQueueSendTextMsgTest.java:125)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

[Linked-exception]
oracle.jms.AQjmsException: ORA-00942: table or view does not exist

As far as I can see we have done everything according to the books but does anyone have a clue what we might have missed?
Previous Topic: recover data from 10g Db to 9i
Next Topic: Cannot Create Queue Table with Custom Message Type
Goto Forum:
  


Current Time: Sat Dec 10 22:17:02 CST 2016

Total time taken to generate the page: 0.10399 seconds