My jboss 6.0.0.M2 JMS producer was working fine with the jboss example queue (modified for my needs and attached here) but not with the J2SE Swing standlaone app.
The above stack trace still exists in my app but once I commented out the infinite loop after the initial connection setup for the JMS consumer, JMS seemed to work inspite of the above stack trace!!!