[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=bb&op=viewtopic&p=4234139#4234139

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4234139
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bb&op=viewtopic&p=4234071#4234071

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4234071
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bb&op=viewtopic&p=4233804#4233804

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4233804
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 
via my webapp?


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4233643#4233643

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4233643
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 class loader error.

I searched the forum and wiki and didn't come up with any answers.
It's gotta be something fundamental. Why do I get the ClassCastException? I 
should be able to use the jms interfaces to hide the JBoss implementation.
Any help would be greatly appreciated.
TIA

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232774#4232774

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232774
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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. 
(http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Server_Configuration_Guide/4/html-single/index.html#Messaging_on_JBoss)

anonymous wrote : JBoss comes with a JMS 1.1 compliant JMS provider called 
JBoss Messaging or JBossMQ. When you use the JMS API with JBoss, you are using 
the JBoss Messaging engine transparently.[/url]

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232710#4232710

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232710
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=bb&op=viewtopic&p=4232616#4232616

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232616
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232608#4232608

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232608
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user