Re: org.apache.activemq.ActiveMQConnectionFactory cannot be cast to javax.jms.ConnectionFactory

2010-04-14 Thread jguerra
Thanks Gary! you are absolutely right. I messed up my classpath with two versions of ActiveMQ (5.3.0 & 5.3.1). Now is working fine! -- View this message in context: http://old.nabble.com/org.apache.activemq.ActiveMQConnectionFactory-cannot-be-cast-to-javax.jms.ConnectionFactory-tp28241226p28244

Re: org.apache.activemq.ActiveMQConnectionFactory cannot be cast to javax.jms.ConnectionFactory

2010-04-14 Thread jguerra
just for a note. I am using JNDI on Tomcat 6.0.24. -- View this message in context: http://old.nabble.com/org.apache.activemq.ActiveMQConnectionFactory-cannot-be-cast-to-javax.jms.ConnectionFactory-tp28241226p28241750.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

org.apache.activemq.ActiveMQConnectionFactory cannot be cast to javax.jms.ConnectionFactory

2010-04-14 Thread jguerra
Hi all, Has anybody idea how to get rid of this exception?. For some reason i have attached a JNDI resource for JMS but it seems to me something is wrong with the returned object, throwing out the exception: ... ConnectionFactory factory = (ConnectionFactory) ctx.lookup("java:comp/env/jms/Connec