[jboss-user] [JBoss Messaging] - Re: ClassCastException looking up ConnectionFactory

2009-05-29 Thread timfox
Either that or perhaps there are different versions of the JBM and JBR libs on client and server side. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4234071#4234071 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4234071

[jboss-user] [JBoss Messaging] - Re: ClassCastException looking up ConnectionFactory

2009-05-29 Thread markstrecker
I found the problem! I had an old jms.jar in my webapp's libs. Once I removed this, everything started working. Thanks Andy and Tim for the help. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4234139#4234139 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: ClassCastException looking up ConnectionFactory

2009-05-28 Thread ataylor
JBossConnectionFactory extends QueueConnectionFactory so all i can think of is you have a classloader issue. How are you running your example? maybe try running the same way as the examples are. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4233804#4233804

[jboss-user] [JBoss Messaging] - Re: ClassCastException looking up ConnectionFactory

2009-05-27 Thread markstrecker
Ok. I ran the non-clustered examples and they are working. I still get the same error : java.lang.ClassCastException: org.jboss.jms.client.JBossConnectionFactory cannot be cast to javax.jms.QueueConnectionFactory Any ideas? Is there something different I need to do since this is connecting

[jboss-user] [JBoss Messaging] - Re: ClassCastException looking up ConnectionFactory

2009-05-22 Thread markstrecker
Thanks for your answer. I'll get JBM. I suspected that it could be JBoss MQ. The docs are a bit confusing though. The docs assure me that I am using JBoss Messaging.

[jboss-user] [JBoss Messaging] - Re: ClassCastException looking up ConnectionFactory

2009-05-22 Thread markstrecker
Ok. I have JBM 1.4.2GA up and running and am getting almost the exact same errors ... just replace Spy with JBoss. The first error is : java.lang.ClassCastException: org.jboss.jms.client.JBossConnectionFactory cannot be cast to javax.jms.QueueConnectionFactory Then the JBossQueue and then the

[jboss-user] [JBoss Messaging] - Re: ClassCastException looking up ConnectionFactory

2009-05-21 Thread gaohoward
Hi, this is JBoss MQ question. It is no longer supported. JBoss Messaging 1.4 is the current messaging service. I would suggest you to download JBoss Messaging 1.4 to get started with. Also you can try JBM 2.0, a brand new product that has many great features! View the original post :

[jboss-user] [JBoss Messaging] - Re: ClassCastException looking up ConnectionFactory

2009-05-21 Thread gaohoward
Sorry my past reply is misleading. Here we usually don't answer JBoss MQ questions. It has its own forum where you can get support. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4232616#4232616 Reply to the post :