Ivan RODODENDRO [
http://community.jboss.org/people/rododendro.ivan] created the
discussion
"Connecting to JBoss MQ from JBM 1.4"
To view the discussion, visit:
http://community.jboss.org/message/567345#567345
--------------------------------------------------------------
Hello,
I'm trying to connecting to a remote JBoss MQ Provider ( Jboss AS 4.2.2 ) from a JBM
client (AS 5.1.0), I've configured a remote provider in jms-ds as indicated here
http://community.jboss.org/docs/DOC-9893
http://community.jboss.org/wiki/HowDoIConfigureAnMDBToTalkToARemoteQueue but at server
startup I get this errror :
{code}
08:56:59,756 ERROR [JmsActivation] Unable to reconnect
org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@13d9e14(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter(a)1dfae24
destination=topic/requestTopic destinationType=javax.jms.Topic selector=(applica
tionName = 'references') OR (applicationName = 'ocea') tx=true
durable=false clientID=jboss5 subscription=GenericServiceActivator reconnect=10
provider=java:/ProxyJMSProvider user=null maxMessages=1 minSession=1 maxSession=5
keepAlive=60000 useDLQ=true DLQHand
ler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/DLQ
DLQUser=null DLQMaxResent=5) java.lang.ClassCastException: Object at 'queue/DLQ'
in context {java.naming.factory.initial=org.jnp.interfaces.NamingContextFactor
y, java.naming.provider.url=172.20.21.54:1099,
java.naming.factory.url.pkgs=org.jnp.interfaces:org.jboss.naming:org.jnp.interfaces,
hostKey=/172.20.21.54:1099} is not an instance of [class=javax.jms.Queue
classloader=BaseClassLoader@29483{vfsfile:/C:/DevTools/
Serveurs/jboss-5.1.0.GA/server/default/conf/jboss-service.xml}
interfaces={interface=javax.jms.Destination
classloader=BaseClassLoader@29483{vfsfile:/C:/DevTools/Serveurs/jboss-5.1.0.GA/server/default/conf/jboss-service.xml}}]
object class is [class=javax.naming.Reference classloader=null
interfaces={interface=java.lang.Cloneable classloader=null, interface=java.io.Serializable
classloader=null}]
at org.jboss.util.naming.Util.checkObject(Util.java:338)
at org.jboss.util.naming.Util.lookup(Util.java:223)
at
org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler.setupDLQDestination(AbstractDLQHandler.java:106)
at
org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler.setup(AbstractDLQHandler.java:82)
at
org.jboss.resource.adapter.jms.inflow.dlq.JBossMQDLQHandler.setup(JBossMQDLQHandler.java:48)
at
org.jboss.resource.adapter.jms.inflow.JmsActivation.setupDLQ(JmsActivation.java:413)
at
org.jboss.resource.adapter.jms.inflow.JmsActivation.setup(JmsActivation.java:351)
at
org.jboss.resource.adapter.jms.inflow.JmsActivation.handleFailure(JmsActivation.java:292)
at
org.jboss.resource.adapter.jms.inflow.JmsActivation$SetupActivation.run(JmsActivation.java:733)
at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:205)
at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:260)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
08:56:59,756 ERROR [JmsActivation] Unable to reconnect
org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@13d9e14(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter(a)1dfae24
destination=topic/requestTopic destinationType=javax.jms.Topic selector=(applica
tionName = 'references') OR (applicationName = 'ocea') tx=true
durable=false clientID=jboss5 subscription=GenericServiceActivator reconnect=10
provider=java:/ProxyJMSProvider user=null maxMessages=1 minSession=1 maxSession=5
keepAlive=60000 useDLQ=true DLQHand
ler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queue/DLQ
DLQUser=null DLQMaxResent=5) java.lang.ClassCastException: Object at 'queue/DLQ'
in context {java.naming.factory.initial=org.jnp.interfaces.NamingContextFactor
y, java.naming.provider.url=172.20.21.54:1099,
java.naming.factory.url.pkgs=org.jnp.interfaces:org.jboss.naming:org.jnp.interfaces,
hostKey=/172.20.21.54:1099} is not an instance of [class=javax.jms.Queue
classloader=BaseClassLoader@29483{vfsfile:/C:/DevTools/
Serveurs/jboss-5.1.0.GA/server/default/conf/jboss-service.xml}
interfaces={interface=javax.jms.Destination
classloader=BaseClassLoader@29483{vfsfile:/C:/DevTools/Serveurs/jboss-5.1.0.GA/server/default/conf/jboss-service.xml}}]
object class is [class=javax.naming.Reference classloader=null
interfaces={interface=java.lang.Cloneable classloader=null, interface=java.io.Serializable
classloader=null}]
at org.jboss.util.naming.Util.checkObject(Util.java:338)
at org.jboss.util.naming.Util.lookup(Util.java:223)
at
org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler.setupDLQDestination(AbstractDLQHandler.java:106)
at
org.jboss.resource.adapter.jms.inflow.dlq.AbstractDLQHandler.setup(AbstractDLQHandler.java:82)
at
org.jboss.resource.adapter.jms.inflow.dlq.JBossMQDLQHandler.setup(JBossMQDLQHandler.java:48)
at
org.jboss.resource.adapter.jms.inflow.JmsActivation.setupDLQ(JmsActivation.java:413)
at
org.jboss.resource.adapter.jms.inflow.JmsActivation.setup(JmsActivation.java:351)
at
org.jboss.resource.adapter.jms.inflow.JmsActivation.handleFailure(JmsActivation.java:292)
at
org.jboss.resource.adapter.jms.inflow.JmsActivation$SetupActivation.run(JmsActivation.java:733)
at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:205)
at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:260)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908){code}
any ideas ?
Ivan
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/567345#567345]
Start a new discussion in JBoss Messaging at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]