[jboss-user] [EJB 3.0] - Re: JMS: using Websphere MQ as JMS provider.

2007-08-13 Thread adamhmitchell
I think that ClassCastException happens when the JBossMQ code pulls your IBM MQ class from JNDI. You're still using the JBoss MDB JMS Provider. I was in the same boat trying to use Sun's IMQ server. This is how I got it working: | package elm.mdb; | | import javax.ejb.ActivationConfig

[jboss-user] [Messaging, JMS & JBossMQ] - Re: connectionFactoryJndiName config property

2007-08-13 Thread adamhmitchell
When you add the "@ResourceAdapter("foo.rar")" annotation to the MDB, are the JNDI bindings you created in the *-ds.xml file being used? I'm trying to use Sun's MQ server (IMQ) in JBoss and I found that I could deploy the RAR from Sun IMQ and use the following annotations (without using a *-ds.

[jboss-user] [Messaging, JMS & JBossMQ] - Re: Using a 3rd-party JMS provider in JBoss (Sun Message Que

2007-08-10 Thread adamhmitchell
I'm getting closer to answering my own question. Section 6.2 of the JBoss AS docs explain how to reference objects from your RAR files and bind them into JNDI. I was able to expose my javax.jms.ConnectionFactory with a ds.xml file: | | | MyConnectionFactory | imq

[jboss-user] [Messaging, JMS & JBossMQ] - Using a 3rd-party JMS provider in JBoss (Sun Message Queue i

2007-08-10 Thread adamhmitchell
I'm trying to be good and RTFM, but could someone show me the way to some help? I want to use Sun's Message Queue product as my JMS provider. They provide an "imqjmsra.rar" file, which deploys to JBoss without error - and I can see that a new connection is made to my JMS server when I deploy th