*
The moose likes JBoss/WildFly and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark ""Attempting to reconnect" error" Watch ""Attempting to reconnect" error" New topic
Author

"Attempting to reconnect" error

vinaykumar vinay
Greenhorn

Joined: Jun 22, 2012
Posts: 9
18:06:15,130 INFO [JmsActivation] Attempting to reconnect org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@1264c84(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter@309ee1 destination=queue/MyQueue4 isTopic=true 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)
18:06:15,133 ERROR [JmsActivation] Unable to reconnect org.jboss.resource.adapter.jms.inflow.JmsActivationSpec@1264c84(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter@309ee1 destination=queue/MyQueue4 isTopic=true 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: Object at 'queue/MyQueue4' in context {java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.namingrg.jnp.interfacesrg.jboss.namingrg.jnp.interfaces} is not an instance of [class=javax.jms.Topic classloader=org.jboss.mx.loading.UnifiedClassLoader3@e61a35{ url=null ,addedOrder=2} interfaces={interface=javax.jms.Destination classloader=org.jboss.mx.loading.UnifiedClassLoader3@e61a35{ url=null ,addedOrder=2}}] object class is [class=org.jboss.mq.SpyQueue classloader=org.jboss.mx.loading.UnifiedClassLoader3@e61a35{ url=null ,addedOrder=2} interfaces={interface=java.io.Serializable classloader=null, interface=javax.jms.Queue classloader=org.jboss.mx.loading.UnifiedClassLoader3@e61a35{ url=null ,addedOrder=2}, interface=javax.naming.Referenceable classloader=null}]
at org.jboss.util.naming.Util.checkObject(Util.java:329)
at org.jboss.util.naming.Util.lookup(Util.java:216)
at org.jboss.resource.adapter.jms.inflow.JmsActivation.setupDestination(JmsActivation.java:409)
at org.jboss.resource.adapter.jms.inflow.JmsActivation.setup(JmsActivation.java:316)
at org.jboss.resource.adapter.jms.inflow.JmsActivation.handleFailure(JmsActivation.java:259)
at org.jboss.resource.adapter.jms.inflow.JmsActivation$SetupActivation.run(JmsActivation.java:639)
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)
at java.lang.Thread.run(Thread.java:619)


can anyone please resolve this issue... let me know the problem.. Thankq in advance...
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 860

Is this an MDB?

at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:756)

I think what's happening is something is being processed that is not an instance of javax.jms.Topic

You will need to debug this deeply.

WP
 
Don't get me started about those stupid light bulbs.
 
subject: "Attempting to reconnect" error
 
Similar Threads
jms not bound? what is that?
Error While Starting JBoss 5.1.0 GA!!!
Problem in Deploying MDB bean
Error while deploying MDB
JMS not bound? What is this?