reconnect MQ every 3~5seconds - weblogic.developer.interest.examples(Archived)

We use weblogic 8.1 SP5 and IBM MQ6 as a JMS queue.
The actual error message is following.
####<Jun 18, 2007 12:29:34 AM EDT> <Info> <EJB> <XXX-XXXXXX> <cgServer> <ExecuteThread: '4' for queue: 'weblogic.kernel.System'> <<anonymous>> <> <BEA-010060> <The Message-Driven EJB: N-MMGR has reconnected to the JMS destination: N-QUEUE.>
Our weblogic server print this error message everytime when the server is idle. And also our applicaition is idle even if there are 1,000 messages in the MQ waiting for arriving messages.
My doubt is each thread try to reconnect MQ every 3 seconds and it takes time to reconnect queue.
Does anybody experience similar problem?
I will attach the part of our configuration file.
<JMSServer Name="WSStoreForwardInternalJMSServercgServer"
Store="FileStore" Targets="cgServer">
<JMSQueue CreationTime="1178746875702"
JNDIName="jms.internal.queue.WSStoreForwardQueue"
JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSStoreForwardQueuecgServer"/>
<JMSQueue CreationTime="1178746875968"
JNDIName="jms.internal.queue.WSDupsEliminationHistoryQueue"
JNDINameReplicated="false" Name="WSInternaljms.internal.queue.WSDupsEliminationHistoryQueuecgServer"/>
</JMSServer>
<StartupClass Arguments="QManager=BMDBDS01QMD0,QMPort=1412,JNDIConnName=N-CONN-FACTORY,JNDIQueueName=N-QUEUE,Queue=BMW.S.WNP.MPE.MPEOUT,JNDIQManager=QM"
ClassName="aaa.bbb.MQJMSStartup"
DeploymentOrder="1000" FailureIsFatal="true"
LoadBeforeAppActivation="true" LoadBeforeAppDeployments="true"
Name="N-MMGR" Targets="cgServer"/>

Related

Distributed transaction hangs thread

Hi,
          I am using WL8.1 sp3,
          And am using a transaction across two servers.
          The first invokes 2 EJBs on the other, one that updates a db (Oracle 9i, thin xa driver), and the other sends a message to a queue.
          
          The transaction commits cleanly, but a few hours later a see this message in the transaction initiator server:
          
          <Jul 4, 2005 5:00:50 PM GMT+03:00> <Warning> <WebLogicServer> <BEA-000337> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default' has been busy for "3,638" seconds working on the request "weblogic.transaction.internal.CoordinatorImpl", which is more than the configured time (StuckThreadMaxTime) of "2,000" seconds.>
          
          And this in the participant server:
          
          <Jul 4, 2005 5:20:09 PM GMT+03:00> <Warning> <WebLogicServer> <BEA-000337> <ExecuteThread: '13' for queue: 'weblogic.kernel.Default'
          has been busy for "3,991" seconds working on the request "weblogic.transaction.internal.XAResourceDescriptor$1#43c9da8", which is m
          ore than the configured time (StuckThreadMaxTime) of "2,000" seconds.>
          
          A thread dump showed both servers are stuck on some oracle xa resource.
          
          Has anyone expirienced such an issue before?
          Thanks,
          Uri

MDB can't receive BytesMessage in Windows

Hi Tom,
          
          I set up foreign JMS in weblogic 8.1.4 to talk to MQSeries. Everything is working fine except MDB can not receive BytesMessage (no problem to receive TextMessage). The weblogic is running in Windows XP profesional, sp2. The MDB can receive BytesMessage if move foreign JMS and my app to Unix (HP). There is no error message in weblogic log, but I can find following message if there is BytesMessage in remote queue.
          
          ####<Feb 14, 2006 5:29:05 PM CST> <Info> <EJB> <wwhq728h> <marsJms> <ExecuteThread: '12' for queue: 'weblogic.kernel.Default'> <<anonymous>> <> <BEA-010060> <The Message-Driven EJB: QBMDBean has reconnected to the JMS destination: (Destination JNDI Name).>
          
          Please help me on how to narrow down where the problem is in windows env.
          
          Thanks,
          James

MessagingBridge info messages

Hi,
          I keep getting MessagingBridge info messages as soon as I start the weblogic server. After a few hours, I stop getting these messages. Is there a reason why these messages stop showing up. Does that mean that there is a problem with the bridge ?
          
          How do we disable these info messages
          
          Thx
          -Kiran
          
          <Info> <MessagingBridge> <200020> <Bridge "AtoB" is stopped.>
          <Info> <MessagingBridge> <200033> <Bridge "AtoB" is getting the connections to the two adapters.>
          <Info> <MessagingBridge> <200031> <Bridge "AtoB" is configured to allow degradation of its quality of service in cases where the configured quality of service is not reachable.>
          <Info> <MessagingBridge> <200030> <Bridge "AtoB" is configured to work in "Exactly-once" mode and it is actually working in "Duplicate-okay" mode.>
          <Info> <MessagingBridge> <200020> <Bridge "BtoA" is stopped.>
          <Info> <MessagingBridge> <200033> <Bridge "BtoA" is getting the connections to the two adapters.>
          <Info> <MessagingBridge> <200031> <Bridge "BtoA" is configured to allow degradation of its quality of service in cases where the configured quality of service is not reachable.>
          <Info> <MessagingBridge> <200030> <Bridge "BtoA" is configured to work in "Exactly-once" mode and it is actually working in "Duplicate-okay" mode.> 
check this http://e-docs.bea.com/wls/docs81/faq/msgbridge.html
          
          cheers!
          Dips 
You have to use XA adapter and connection factory to get 'Exactly once' QoS, which is basically means that Bridge needs to run XA transaction when moving message from one queue to another.
          It's up to your design to decide which QoS level is best for you, but if you really need 'exactly once' you probably should consider disabling degradation of quality feature.

JMS Bridge between Weblogic 8.1 Sp2 and Sp1

          Hi,
          
          I am trying to build JMS Bridge between weblogic 8.1 SP2 and SP1 topics. MyBridge
          is running on the SP2 machine.
          
          I have deployed jms-notran-adp.rar on SP2 machine.
          
          My Quality Of Service is - Atmost-once
          
          Since I am using non-tran adapter, I dont think I need to set up security credentials
          for both the domain.
          
          On starting the Bridge, getting this error -
          
          On SP2 - <Jul 12, 2004 3:36:16 PM MDT> <Warning> <MessagingBridge> <BEA-200026>
          <Bridge "MyMessaging Bridge" encountered some problems in one of its adapters
          or underlying systems. It stopped transfe
          rring messages and will try to reconnect to the adapters shortly. (The exception
          caught was javax.resource.ResourceException: Error setting message listener.)>
          
          On SP1 - ####<Jul 12, 2004 3:07:07 PM MDT> <Error> <Security> <peakdev2> <absCommonWLIMngd1>
          <ExecuteThread: '9' for queue: 'JmsDispatcher'> <<WLS Kernel>> <> <BEA-090513>
          <ServerIdentity failed validation, downgrading to anonymous.>
          
          Any help in this would be appreciated.
          
          Thanks,
          Sumit
          
          
According to the documentation for error message "BEA-090513" you
          need to set up a trust relationship between the domains.
          
          Search for "Enabling Trust Between WebLogic Domains" in the docs.
          
          Sumit Gangrade wrote:
          
          > Hi,
          >
          > I am trying to build JMS Bridge between weblogic 8.1 SP2 and SP1 topics. MyBridge
          > is running on the SP2 machine.
          >
          > I have deployed jms-notran-adp.rar on SP2 machine.
          >
          > My Quality Of Service is - Atmost-once
          >
          > Since I am using non-tran adapter, I dont think I need to set up security credentials
          > for both the domain.
          >
          > On starting the Bridge, getting this error -
          >
          > On SP2 - <Jul 12, 2004 3:36:16 PM MDT> <Warning> <MessagingBridge> <BEA-200026>
          > <Bridge "MyMessaging Bridge" encountered some problems in one of its adapters
          > or underlying systems. It stopped transfe
          > rring messages and will try to reconnect to the adapters shortly. (The exception
          > caught was javax.resource.ResourceException: Error setting message listener.)>
          >
          > On SP1 - ####<Jul 12, 2004 3:07:07 PM MDT> <Error> <Security> <peakdev2> <absCommonWLIMngd1>
          > <ExecuteThread: '9' for queue: 'JmsDispatcher'> <<WLS Kernel>> <> <BEA-090513>
          > <ServerIdentity failed validation, downgrading to anonymous.>
          >
          > Any help in this would be appreciated.
          >
          > Thanks,
          > Sumit
          >
          
          

WLS 7.0.4 - JMS Connection Factory - Server Affinity - issues in log file

<b>WLS 7.0.4 - JMS Connection Factory - Server Affinity - issues in log file</b>
          
          We are using WLS 7.0.4 - One of JMS connection factory setting in admin console we selected "Server Affinity" options.
          
          We see this messages appear in Weblogic log file,
          ####<Apr 24, 2006 1:56:53 AM EDT> <Error> <Cluster> <liberatenode4.dc2.adelphia.com> <node4_svr> <ExecuteThrea
          d: '4' for queue: '__weblogic_admin_rmi_queue'> <kernel identity> <> <000123> <Conflict start: You tried to bi
          nd an object under the name sbetrmi2 in the JNDI tree. The object you have bound from liberatenode2.dc2.adelp
          hia.com is non clusterable and you have tried to bind more than once from two or more servers. Such objects ca
          n only deployed from one server.>
          
          and then,
          ####<Apr 24, 2006 1:58:12 AM EDT> <Error> <Cluster> <liberatenode5.dc2.adelphia.com> <node5_svr> <ExecuteThrea
          d: '7' for queue: '__weblogic_admin_rmi_queue'> <kernel identity> <> <000125> <Conflict Resolved: sbetrmi2 for
          the object from liberatenode5.dc2.adelphia.com under the bind name sbetrmi2 in the JNDI tree.>
          
          
          Should we use 'load balancing option' instead of 'server affinity' ?
          
          Any thuoghts?
          
          Thanks in adv.
          Vijay 
Test Reply
          
          
          <Vijay Kumar> wrote in message news:600035456#newsgroups.bea.com...
          > <b>WLS 7.0.4 - JMS Connection Factory - Server Affinity - issues in log
          > file</b>
          >
          > We are using WLS 7.0.4 - One of JMS connection factory setting in admin
          > console we selected "Server Affinity" options.
          >
          > We see this messages appear in Weblogic log file,
          > ####<Apr 24, 2006 1:56:53 AM EDT> <Error> <Cluster>
          > <liberatenode4.dc2.adelphia.com> <node4_svr> <ExecuteThrea
          > d: '4' for queue: '__weblogic_admin_rmi_queue'> <kernel identity> <>
          > <000123> <Conflict start: You tried to bi
          > nd an object under the name sbetrmi2 in the JNDI tree. The object you have
          > bound from liberatenode2.dc2.adelp
          > hia.com is non clusterable and you have tried to bind more than once from
          > two or more servers. Such objects ca
          > n only deployed from one server.>
          >
          > and then,
          > ####<Apr 24, 2006 1:58:12 AM EDT> <Error> <Cluster>
          > <liberatenode5.dc2.adelphia.com> <node5_svr> <ExecuteThrea
          > d: '7' for queue: '__weblogic_admin_rmi_queue'> <kernel identity> <>
          > <000125> <Conflict Resolved: sbetrmi2 for
          > the object from liberatenode5.dc2.adelphia.com under the bind name
          > sbetrmi2 in the JNDI tree.>
          >
          >
          > Should we use 'load balancing option' instead of 'server affinity' ?
          >
          > Any thuoghts?
          >
          > Thanks in adv.
          > Vijay

Categories

Resources