The error means that the message on the queue is a javax.jms.Message, not an javax.jms.ObjectMessage.
Check the code you're using to send the message to the queue. Are you passing in an ObjectMessage?
Nigel
[Message sent by forum member 'nigeldeakin' (nigel.deakin_at_sun.com)]
http://forums.java.net/jive/thread.jspa?messageID=366855