Re: [JBoss-user] ObjectMessage cast exception

2001-06-21 Thread Steve Wilkinson
Sorry I found the problem. My bone headed mistake. I was putting a String in the setObject method instead of the object. It works just fine Steve Wilkinson wrote: > I'm using JBoss2.2.2_Tomcat3.2.2 binary distribution. I've created a > MDB that can receive TextMessages just fine. I've rece

[JBoss-user] ObjectMessage cast exception

2001-06-21 Thread Steve Wilkinson
I'm using JBoss2.2.2_Tomcat3.2.2 binary distribution. I've created a MDB that can receive TextMessages just fine. I've recently added an ObjectMessage and I receive the following error message. [QueueBean] Transaction rolled back; nested exception is: java.lang.ClassCastException: java.lang.Str