[jboss-user] [JBoss Messaging] - Re: java.lang.ClassCastException: org.jboss.messaging.core.p

2006-10-11 Thread timfox
I fixed something that looks similar to this in alpha 2, due out very shortly. I'm trying to remember the circumanstances under which this happens. Did you manage to run the clustered topic example ok? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977645#397

[jboss-user] [JBoss Messaging] - Re: java.lang.ClassCastException: org.jboss.messaging.core.p

2006-10-11 Thread jgilbert
Yes, I just ran the distributed-topic example successfully. I'm using an ejb3 mdb and I am registering the topic in both nodes. Does any of this make a difference? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977649#3977649 Reply to the post : http://www.

[jboss-user] [JBoss Messaging] - Re: java.lang.ClassCastException: org.jboss.messaging.core.p

2006-10-11 Thread timfox
Are you using durable subscriptions? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977650#3977650 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3977650 ___ jboss-user mailing

[jboss-user] [JBoss Messaging] - Re: java.lang.ClassCastException: org.jboss.messaging.core.p

2006-10-11 Thread jgilbert
At the moment I am not using Durable because I get an error that a clientID is required. When I add the clientID to the activationSpec I get an error that it is not a valid property. I'll try again. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977653#397765

[jboss-user] [JBoss Messaging] - Re: java.lang.ClassCastException: org.jboss.messaging.core.p

2006-10-11 Thread jgilbert
OK. I made the subscriptions Durable. I had to use clientId instead of clientID. I still get the original exception on the 2nd server. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977659#3977659 Reply to the post : http://www.jboss.com/index.html?module=bb

[jboss-user] [JBoss Messaging] - Re: java.lang.ClassCastException: org.jboss.messaging.core.p

2006-10-11 Thread jgilbert
I haven't solved it yet, but a pattern is emerging. I removed the definition of my topic and decided to try the testDistributedTopic defined in the jboss messaging sar. This one also fails with the same exception on the 2nd server. So it looks like it has something to do with the last topic or

[jboss-user] [JBoss Messaging] - Re: java.lang.ClassCastException: org.jboss.messaging.core.p

2006-10-11 Thread timfox
Can you try stopping both servers and deleting your topic from the database (jms_postoffice table), then restarting both servers and seeing if they start this time? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977680#3977680 Reply to the post : http://www

[jboss-user] [JBoss Messaging] - Re: java.lang.ClassCastException: org.jboss.messaging.core.p

2006-10-11 Thread jgilbert
rock on! that was it! now my 2 servers are properly sharing the load of the messages published to the topic! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977685#3977685 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&

[jboss-user] [JBoss Messaging] - Re: java.lang.ClassCastException: org.jboss.messaging.core.p

2006-10-11 Thread jgilbert
One more thing. I appears that I have to delete the entries from the table every time. For example, I had my 2 servers running and killed one in the middle of a test to see the messages fail over to the other server. they did, but i couldn't restart the server. i had to bring both down, delete t

[jboss-user] [JBoss Messaging] - Re: java.lang.ClassCastException: org.jboss.messaging.core.p

2006-10-11 Thread timfox
Right. I think this is a bug I have fixed in in TRUNK and will be in alpha2, out sometime next week probably. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977699#3977699 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p