wood burning stoves*
The moose likes EJB and other Java EE Technologies and the fly likes Queue is Sending TransactionRolledbackLocalException, even displayed Messages. why? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Queue is Sending TransactionRolledbackLocalException, even displayed Messages. why?" Watch "Queue is Sending TransactionRolledbackLocalException, even displayed Messages. why?" New topic
Author

Queue is Sending TransactionRolledbackLocalException, even displayed Messages. why?

Azrael Noor
Ranch Hand

Joined: Jul 29, 2010
Posts: 382


Please tell why it is showing this exception?






help


Regards
Azrael Noor
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10068
    
163

Looks like a classloader issue. If you have any jar files containing javax.jms.* classes in your deployed application packaging, then remove such jars from the deployed application.

[My Blog] [JavaRanch Journal]
Mike Zal
Ranch Hand

Joined: May 04, 2011
Posts: 144

Azrael Noor wrote:
java.lang.ClassCastException: org.jboss.mq.SpyMessage cannot be cast to javax.jms.TextMessage


It seems like the message type you are sending is not the same kind you expect to receive. What code is generating the messages?


OCJP6, OCWCD5
 
wood burning stoves
 
subject: Queue is Sending TransactionRolledbackLocalException, even displayed Messages. why?