Announcement Announcement Module
Collapse
No announcement yet.
Weblogic - JMS failover not working. Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Weblogic - JMS failover not working.

    Hi All,

    I am trying to get failover to work with the combination of Spring 2.0 + Weblogic 8.1 JMS.

    I am using DefaulMessageListner. This happens only when i restart the JMS provider.

    When i restart the server, i am getting the following exception. What should is that i am missing. I don't want to restart my client app.

    org.springframework.jms.listener.DefaultMessageLis tenerContainer handleListenerSetupFailure
    SEVERE: Setup of JMS message listener invoker failed - trying to recover
    weblogic.jms.common.JMSException: Destination not found
    at weblogic.rjvm.BasicOutboundRequest.sendReceive(Bas icOutboundRequest.java:108)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicR emoteRef.java:164)
    at weblogic.jms.dispatcher.DispatcherImpl_816_WLStub. dispatchSyncFuture(Unknown Source)
    at weblogic.jms.dispatcher.DispatcherWrapperState.dis patchSync(DispatcherWrapperState.java:345)
    at weblogic.jms.client.JMSSession.consumerCreate(JMSS ession.java:1862)
    at weblogic.jms.client.JMSSession.createConsumer(JMSS ession.java:1693)
    at weblogic.jms.client.JMSSession.createReceiver(JMSS ession.java:1532)
    at org.springframework.jms.listener.DefaultMessageLis tenerContainer102.createConsumer(DefaultMessageLis tenerContainer102.java:101)
    at org.springframework.jms.listener.AbstractPollingMe ssageListenerContainer.createListenerConsumer(Abst ractPollingMessageListenerContainer.java:216)
    at org.springframework.jms.listener.DefaultMessageLis tenerContainer$AsyncMessageListenerInvoker.initRes ourcesIfNecessary(DefaultMessageListenerContainer. java:887)
    at org.springframework.jms.listener.DefaultMessageLis tenerContainer$AsyncMessageListenerInvoker.invokeL istener(DefaultMessageListenerContainer.java:870)
    at org.springframework.jms.listener.DefaultMessageLis tenerContainer$AsyncMessageListenerInvoker.run(Def aultMessageListenerContainer.java:811)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: weblogic.jms.common.JMSException: Destination not found
    at weblogic.jms.dispatcher.InvocableManager.invocable Find(InvocableManager.java:136)
    at weblogic.jms.backend.BESession.createConsumer(BESe ssion.java:153)
    at weblogic.jms.backend.BESession.invoke(BESession.ja va:1475)
    at weblogic.jms.dispatcher.Request.wrappedFiniteState Machine(Request.java:643)
    at weblogic.jms.dispatcher.DispatcherImpl.dispatchSyn c(DispatcherImpl.java:179)
    at weblogic.jms.frontend.FEConsumer.<init>(FEConsumer .java:453)
    at weblogic.jms.frontend.FESession$3.run(FESession.ja va:1074)
    at weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(Se curityManager.java:147)
    at weblogic.jms.frontend.FESession.consumerCreate(FES ession.java:1070)
    at weblogic.jms.frontend.FESession.invoke(FESession.j ava:2584)
    at weblogic.jms.dispatcher.Request.wrappedFiniteState Machine(Request.java:643)
    at weblogic.jms.dispatcher.DispatcherImpl.dispatchAsy ncInternal(DispatcherImpl.java:132)
    at weblogic.jms.dispatcher.DispatcherImpl.dispatchSyn cFuture(DispatcherImpl.java:211)
    at weblogic.jms.dispatcher.DispatcherImpl_WLSkel.invo ke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicS erverRef.java:491)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicSe rverRef.java:434)
    at weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(Se curityManager.java:147)
    at weblogic.rmi.internal.BasicServerRef.handleRequest (BasicServerRef.java:429)
    at weblogic.rmi.internal.BasicExecuteRequest.execute( BasicExecuteRequest.java:35)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThrea d.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.ja va:183)
    Oct 18, 2007 3:58:35 PM org.springframework.jms.listener.DefaultMessageLis tenerContainer refreshConnectionUntilSuccessful
    INFO: Successfully refreshed JMS Connection
    Oct 18, 2007 3:58:40 PM org.springframework.jms.listener.DefaultMessageLis tenerContainer handleListenerSetupFailure
    SEVERE: Setup of JMS message listener invoker failed - trying to recover
    weblogic.jms.common.JMSException: Destination not found
    at weblogic.rjvm.BasicOutboundRequest.sendReceive(Bas icOutboundRequest.java:108)
    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicR emoteRef.java:164)
    at weblogic.jms.dispatcher.DispatcherImpl_816_WLStub. dispatchSyncFuture(Unknown Source)
    at weblogic.jms.dispatcher.DispatcherWrapperState.dis patchSync(DispatcherWrapperState.java:345)
    at weblogic.jms.client.JMSSession.consumerCreate(JMSS ession.java:1862)
    at weblogic.jms.client.JMSSession.createConsumer(JMSS ession.java:1693)
    at weblogic.jms.client.JMSSession.createReceiver(JMSS ession.java:1532)
    at org.springframework.jms.listener.DefaultMessageLis tenerContainer102.createConsumer(DefaultMessageLis tenerContainer102.java:101)
    at org.springframework.jms.listener.AbstractPollingMe ssageListenerContainer.createListenerConsumer(Abst ractPollingMessageListenerContainer.java:216)
    at org.springframework.jms.listener.DefaultMessageLis tenerContainer$AsyncMessageListenerInvoker.initRes ourcesIfNecessary(DefaultMessageListenerContainer. java:887)
    at org.springframework.jms.listener.DefaultMessageLis tenerContainer$AsyncMessageListenerInvoker.invokeL istener(DefaultMessageListenerContainer.java:870)
    at org.springframework.jms.listener.DefaultMessageLis tenerContainer$AsyncMessageListenerInvoker.run(Def aultMessageListenerContainer.java:811)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: weblogic.jms.common.JMSException: Destination not found
    at weblogic.jms.dispatcher.InvocableManager.invocable Find(InvocableManager.java:136)
    at weblogic.jms.backend.BESession.createConsumer(BESe ssion.java:153)
    at weblogic.jms.backend.BESession.invoke(BESession.ja va:1475)
    at weblogic.jms.dispatcher.Request.wrappedFiniteState Machine(Request.java:643)
    at weblogic.jms.dispatcher.DispatcherImpl.dispatchSyn c(DispatcherImpl.java:179)
    at weblogic.jms.frontend.FEConsumer.<init>(FEConsumer .java:453)
    at weblogic.jms.frontend.FESession$3.run(FESession.ja va:1074)
    at weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(Se curityManager.java:147)
    at weblogic.jms.frontend.FESession.consumerCreate(FES ession.java:1070)
    at weblogic.jms.frontend.FESession.invoke(FESession.j ava:2584)
    at weblogic.jms.dispatcher.Request.wrappedFiniteState Machine(Request.java:643)
    at weblogic.jms.dispatcher.DispatcherImpl.dispatchAsy ncInternal(DispatcherImpl.java:132)
    at weblogic.jms.dispatcher.DispatcherImpl.dispatchSyn cFuture(DispatcherImpl.java:211)
    at weblogic.jms.dispatcher.DispatcherImpl_WLSkel.invo ke(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicS erverRef.java:491)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicSe rverRef.java:434)
    at weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(Se curityManager.java:147)
    at weblogic.rmi.internal.BasicServerRef.handleRequest (BasicServerRef.java:429)
    at weblogic.rmi.internal.BasicExecuteRequest.execute( BasicExecuteRequest.java:35)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThrea d.java:224)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.ja va:183)
    Oct 18, 2007 3:58:40 PM org.springframework.jms.listener.DefaultMessageLis tenerContainer refreshConnectionUntilSuccessful
    INFO: Successfully refreshed JMS Connection
Working...
X