"Duplicate throwable nesting" warnings
caissa Feb 14, 2005 11:05 PMHi,
I am getting the following warnings in my jboss server.log, and was wondering if someone can suggest ways of tracking down the problem. The warnings are:
WARN [org.jboss.util.NestedThrowable] Duplicate throwable nesting of same base type: class org.jboss.mq.SpyJMSException is assignable from: class org.jboss.mq.SpyJMSExeption
Here's what I am doing:
I have a Stateless Session Bean sending messages to a topic. Before it sends a message, it creates a temporary topic, for use as a synchronous reply (using setJMSReplyTo()). It creates a replyReceiver (subscriber) to the temporary topic, publishes the message and then waits for replies on the temporary topic (using replyTopic.receive(timeout)). If it gets what it expects, it repeats the process after closing the replyReceiver and deleting the temporary topic.
The SLSB method creates a single TopicConnection and TopicSession, sends N messages as above, then closes the Session/Connection. I am using the "ConnectionFactory" factory and the method that sends the messages is marked "NotSupported" for transactions.
Frankly, the warnings are the only problem; the messages are sent fine, the replies on the temp topics are received fine, but when I close the TopicConnection, I get N warnings (one per message sent).
I have turned on TRACE debugging for org.jboss.mq and org.jboss.jms, but there is no JBoss debug output once I am sending messages (I see lots of mq debug during startup, etc.). The only mq debug I get is before I send a message and then again after the warnings:
DEBUG [org.jboss.mq.security.SecurityManager] No SecurityMetadata was a vailable for JMS_TT4 using defauly security config
[then I get my own debug, send/receive, etc., getting ready to close topic connection]
[then the warnings]
[topic connection successfully closed]
DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin ReadTask.run()
DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin WriteTask.run()
DEBUG [org.jboss.mq.il.uil2.SocketManager] Created ObjectOutputStream
DEBUG [org.jboss.mq.il.uil2.SocketManager] Created ObjectInputStream
DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] Setting up the UILClientIL Connection
DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] The UILClientIL Connection is set up
I am using jboss 3.2.6 on RedHat AS3.0, with MySql 4.0.16 for persistence, and UIL2 (obviously).
What does the warning mean exactly? I am catching all JMSExceptions, so if there's a SpyJMSException shouldn't I be getting it? Clearly I am doing something wrong, but I am having trouble getting more info. Any help would be much appreciated! I can post code snippets if necessary, but I don't have a standalone test case, alas.
Thanks!