[jboss-user] [JBossMQ] - How can we change DefaultJMSProvider for an MDB?
sboddapati
do-not-reply at jboss.com
Wed Apr 1 07:13:51 EDT 2009
Hi,
I am getting an exception when my MDB gets deployed.
It is trying to use DefaultJMSProvider. Can we change the default JMS provider to Websphere MQ JMS provider?
>From the logs default user is null. Should we have user/pwd in configuration?
Here is the log:
Failure in jms activation org.jboss.resource.adapter.jms.inflow.JmsActivationSpec at 422a422a(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter at 3fd43fd4 destination=queue/toILR isTopic=false tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null maxMessages=1 minSession=1 maxSession=15 keepAlive=60000 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=5)
java.lang.ClassCastException: com.ibm.mq.jms.MQQueue incompatible with org.jboss.mq.SpyDestination
at org.jboss.mq.SpyConnectionConsumer.(SpyConnectionConsumer.java:110)
at org.jboss.mq.SpyConnection.createConnectionConsumer(SpyConnection.java:128)
at org.jboss.resource.adapter.jms.inflow.JmsServerSessionPool.setupConsumer(JmsServerSessionPool.java:289)
at org.jboss.resource.adapter.jms.inflow.JmsServerSessionPool.start(JmsServerSessionPool.java:89)
at org.jboss.resource.adapter.jms.inflow.JmsActivation.setupSessionPool(JmsActivation.java:585)
at org.jboss.resource.adapter.jms.inflow.JmsActivation.setup(JmsActivation.java:323)
at org.jboss.resource.adapter.jms.inflow.JmsActivation$SetupActivation.run(JmsActivation.java:635)
at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204)
at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:756)
Thanks
Siva
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222583#4222583
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4222583
More information about the jboss-user
mailing list