Weblogic 8.1 App Server and IBM MQ Series 5.2 Issue - Weblogic

This is a discussion on Weblogic 8.1 App Server and IBM MQ Series 5.2 Issue - Weblogic ; Hi All, I am trying to create a bridge between Weblogic 8.1 App Server and IBM MQ Series 5.2 and i am facing issues. Bridge works fine if i use QualityOfService="Atmost-once" and i am getting following error when i use ...

+ Reply to Thread
Results 1 to 9 of 9

Thread: Weblogic 8.1 App Server and IBM MQ Series 5.2 Issue

  1. Weblogic 8.1 App Server and IBM MQ Series 5.2 Issue

    Hi All,

    I am trying to create a bridge between Weblogic 8.1 App Server and IBM MQ Series 5.2 and i am facing issues.

    Bridge works fine if i use QualityOfService="Atmost-once" and i am getting following error when i use
    QualityOfService="Duplicate-okay".

    Error:




    Any suggestions or comments will be really appreciated.

    Thanks
    Suresh

  2. Re: Weblogic 8.1 App Server and IBM MQ Series 5.2 Issue

    Hi,

    Could you post the full stack trace?

    If there isn't one,
    try enabling tracing on the bridge, see the
    bridge FAQ linked from:
    http://dev2dev.bea.com/technologies/jms/index.jsp
    (The 7.0 FAQ also applies to 8.1).

    Tom

    Suresh wrote:
    > Hi All,
    >
    > I am trying to create a bridge between Weblogic 8.1 App Server and IBM MQ Series 5.2 and i am facing issues.
    >
    > Bridge works fine if i use QualityOfService="Atmost-once" and i am getting following error when i use
    > QualityOfService="Duplicate-okay".
    >
    > Error:
    >
    >
    >
    >
    > Any suggestions or comments will be really appreciated.
    >
    > Thanks
    > Suresh



  3. Re: Weblogic 8.1 App Server and IBM MQ Series 5.2 Issue

    Hi Suresh,

    You can turn on bridge debug to see what went wrong. The details can be found
    in the Messaging Bridge FAQ at
    http://e-docs.bea.com/wls/docs70/faq/msgbridge.html
    Although the FAQ is for 7.0, most of the issues are the same in 8.1.
    By the way, are you using the transactional adapter (jms-xa-adp) when you use Duplicate-okay mode? You may want to try to use jms-notran-adp.

    Thanks,
    Dongbo

    Suresh wrote:

    > Hi All,
    >
    > I am trying to create a bridge between Weblogic 8.1 App Server and IBM MQ Series 5.2 and i am facing issues.
    >
    > Bridge works fine if i use QualityOfService="Atmost-once" and i am getting following error when i use
    > QualityOfService="Duplicate-okay".
    >
    > Error:
    >
    >
    >
    >
    > Any suggestions or comments will be really appreciated.
    >
    > Thanks
    > Suresh



  4. Re: Weblogic 8.1 App Server and IBM MQ Series 5.2 Issue

    By the way, if you are looking to improve performance, transactional
    mode may actually be the fastest. See the JMS Performance
    Guide white-paper on dev2dev for details.

    Suresh wrote:

    > Hi All,
    >
    > I am trying to create a bridge between Weblogic 8.1 App Server and IBM MQ Series 5.2 and i am facing issues.
    >
    > Bridge works fine if i use QualityOfService="Atmost-once" and i am getting following error when i use
    > QualityOfService="Duplicate-okay".
    >
    > Error:
    >
    >
    >
    >
    > Any suggestions or comments will be really appreciated.
    >
    > Thanks
    > Suresh



  5. Re: Weblogic 8.1 App Server and IBM MQ Series 5.2 Issue


    I am using the debug options (-Dweblogic.Debug.DebugMessagingBridgeStartup="true"
    -Dweblogic.Debug.DebugMessagingBridgeRuntime="true") in my stratip script,
    but, thats the maximum stack trace I can get. I am using jms-notran-adp.rar for
    both QOS. Bridge is working fine when I use Exactly-once and repeatedly getting
    the same message when I use Duplicate_okay. My destination queue is not able to
    ackowledge the messge to the sender.

    Here I am giving nodes from my config.xml

    Name="MQSeries WebLogic Bridge"
    QualityOfService="Duplicate-okay"
    SourceDestination="MQSeries Inbound Destination" Started="true"
    TargetDestination="WebLogic Inbound Destination" Targets="myserver"/>
    AdapterJNDIName="eis.jms.WLSConnectionFactoryJNDINoTX"
    ConnectionFactoryJNDIName="jms.InboundMessageConnectionFactory"
    ConnectionURL="t3://myserver:7001"
    DestinationJNDIName="jms.InboundMessageQueue"
    DestinationType="Queue"
    InitialContextFactory="weblogic.jndi.WLInitialContextFactory"
    Name="WebLogic Inbound Destination" UserName="username" UserPassword="pwd"/>
    AdapterJNDIName="eis.jms.WLSConnectionFactoryJNDINoTX"
    ConnectionFactoryJNDIName="cn=MQ_BROKER_1,ou=inboundConnectionFactories,ou=mq series,ou=jms,ou=Systems"
    ConnectionURL="ldap://ldapServer:389/o=myroot"
    DestinationJNDIName="cn=queue2,ou=queue,ou=mqseries,ou=jms,ou=Systems"
    InitialContextFactory="com.sun.jndi.ldap.LdapCtxFactory"
    Name="MQSeries Inbound Destination"
    UserName="cn=admin,o=myroot" UserPassword="pwd"/>
    Path="C:\bea\weblogic81\server\lib" StagingMode="nostage" TwoPhase="true">
    Targets="rdoddapaneni3" URI="jms-notran-adp.rar"/>



    Thanks

    Tom Barnes wrote:
    >By the way, if you are looking to improve performance, transactional
    >mode may actually be the fastest. See the JMS Performance
    >Guide white-paper on dev2dev for details.
    >
    >Suresh wrote:
    >
    >> Hi All,
    >>
    >> I am trying to create a bridge between Weblogic 8.1 App Server and

    >IBM MQ Series 5.2 and i am facing issues.
    >>
    >> Bridge works fine if i use QualityOfService="Atmost-once" and i am

    >getting following error when i use
    >> QualityOfService="Duplicate-okay".
    >>
    >> Error:
    >>
    >>

    > >of messages (java.lang.Exception: weblogic.jms.adapter.JMSConnectionHandle.acknowled ge(Ljavax/jms/MessageV).>
    >
    >>

    > >of its adapters or underlying systems. It stopped transferring messages
    >and will try to reconnect to the adapters shortly. (The exception caught
    >was weblogic.jms.bridge.internal.MessagingBridgeExcept ion.)>
    >>
    >> Any suggestions or comments will be really appreciated.
    >>
    >> Thanks
    >> Suresh

    >



  6. Re: Weblogic 8.1 App Server and IBM MQ Series 5.2 Issue

    Is there any chance that the JMS connection factory on the MQSeries
    side is a XAConnectionFactory?

    Suresh wrote:

    > I am using the debug options (-Dweblogic.Debug.DebugMessagingBridgeStartup="true"
    > -Dweblogic.Debug.DebugMessagingBridgeRuntime="true") in my stratip script,
    > but, thats the maximum stack trace I can get. I am using jms-notran-adp.rar for
    > both QOS. Bridge is working fine when I use Exactly-once and repeatedly getting
    > the same message when I use Duplicate_okay. My destination queue is not able to
    > ackowledge the messge to the sender.
    >
    > Here I am giving nodes from my config.xml
    >
    > > Name="MQSeries WebLogic Bridge"
    > QualityOfService="Duplicate-okay"
    > SourceDestination="MQSeries Inbound Destination" Started="true"
    > TargetDestination="WebLogic Inbound Destination" Targets="myserver"/>
    > > AdapterJNDIName="eis.jms.WLSConnectionFactoryJNDINoTX"
    > ConnectionFactoryJNDIName="jms.InboundMessageConnectionFactory"
    > ConnectionURL="t3://myserver:7001"
    > DestinationJNDIName="jms.InboundMessageQueue"
    > DestinationType="Queue"
    > InitialContextFactory="weblogic.jndi.WLInitialContextFactory"
    > Name="WebLogic Inbound Destination" UserName="username" UserPassword="pwd"/>
    > > AdapterJNDIName="eis.jms.WLSConnectionFactoryJNDINoTX"
    > ConnectionFactoryJNDIName="cn=MQ_BROKER_1,ou=inboundConnectionFactories,ou=mq series,ou=jms,ou=Systems"
    > ConnectionURL="ldap://ldapServer:389/o=myroot"
    > DestinationJNDIName="cn=queue2,ou=queue,ou=mqseries,ou=jms,ou=Systems"
    > InitialContextFactory="com.sun.jndi.ldap.LdapCtxFactory"
    > Name="MQSeries Inbound Destination"
    > UserName="cn=admin,o=myroot" UserPassword="pwd"/>
    > > Path="C:\bea\weblogic81\server\lib" StagingMode="nostage" TwoPhase="true">
    > > Targets="rdoddapaneni3" URI="jms-notran-adp.rar"/>
    >

    >
    > Thanks
    >
    > Tom Barnes wrote:
    > >By the way, if you are looking to improve performance, transactional
    > >mode may actually be the fastest. See the JMS Performance
    > >Guide white-paper on dev2dev for details.
    > >
    > >Suresh wrote:
    > >
    > >> Hi All,
    > >>
    > >> I am trying to create a bridge between Weblogic 8.1 App Server and

    > >IBM MQ Series 5.2 and i am facing issues.
    > >>
    > >> Bridge works fine if i use QualityOfService="Atmost-once" and i am

    > >getting following error when i use
    > >> QualityOfService="Duplicate-okay".
    > >>
    > >> Error:
    > >>
    > >>

    > > > >of messages (java.lang.Exception: weblogic.jms.adapter.JMSConnectionHandle.acknowled ge(Ljavax/jms/MessageV).>
    > >
    > >>

    > > > >of its adapters or underlying systems. It stopped transferring messages
    > >and will try to reconnect to the adapters shortly. (The exception caught
    > >was weblogic.jms.bridge.internal.MessagingBridgeExcept ion.)>
    > >>
    > >> Any suggestions or comments will be really appreciated.
    > >>
    > >> Thanks
    > >> Suresh

    > >



  7. Re: Weblogic 8.1 App Server and IBM MQ Series 5.2 Issue


    Thanks for following up on this.

    This bridge works with 6.1 app server and we are trying to use the same stuff
    for 8.1 app server too. No, we are not using XAConnectionFactory.

    Suresh

    Dongbo Xiao wrote:
    >Is there any chance that the JMS connection factory on the MQSeries
    >side is a XAConnectionFactory?
    >
    >Suresh wrote:
    >
    >> I am using the debug options (-Dweblogic.Debug.DebugMessagingBridgeStartup="true"
    >> -Dweblogic.Debug.DebugMessagingBridgeRuntime="true") in my stratip

    >script,
    >> but, thats the maximum stack trace I can get. I am using jms-notran-adp.rar

    >for
    >> both QOS. Bridge is working fine when I use Exactly-once and repeatedly

    >getting
    >> the same message when I use Duplicate_okay. My destination queue is

    >not able to
    >> ackowledge the messge to the sender.
    >>
    >> Here I am giving nodes from my config.xml
    >>
    >> >> Name="MQSeries WebLogic Bridge"
    >> QualityOfService="Duplicate-okay"
    >> SourceDestination="MQSeries Inbound Destination" Started="true"
    >> TargetDestination="WebLogic Inbound Destination" Targets="myserver"/>
    >> >> AdapterJNDIName="eis.jms.WLSConnectionFactoryJNDINoTX"
    >> ConnectionFactoryJNDIName="jms.InboundMessageConnectionFactory"
    >> ConnectionURL="t3://myserver:7001"
    >> DestinationJNDIName="jms.InboundMessageQueue"
    >> DestinationType="Queue"
    >> InitialContextFactory="weblogic.jndi.WLInitialContextFactory"
    >> Name="WebLogic Inbound Destination" UserName="username" UserPassword="pwd"/>
    >> >> AdapterJNDIName="eis.jms.WLSConnectionFactoryJNDINoTX"
    >> ConnectionFactoryJNDIName="cn=MQ_BROKER_1,ou=inboundConnectionFactories,ou=mq series,ou=jms,ou=Systems"
    >> ConnectionURL="ldap://ldapServer:389/o=myroot"
    >> DestinationJNDIName="cn=queue2,ou=queue,ou=mqseries,ou=jms,ou=Systems"
    >> InitialContextFactory="com.sun.jndi.ldap.LdapCtxFactory"
    >> Name="MQSeries Inbound Destination"
    >> UserName="cn=admin,o=myroot" UserPassword="pwd"/>
    >> >> Path="C:\bea\weblogic81\server\lib" StagingMode="nostage" TwoPhase="true">
    >> >> Targets="rdoddapaneni3" URI="jms-notran-adp.rar"/>
    >>

    >>
    >> Thanks
    >>
    >> Tom Barnes wrote:
    >> >By the way, if you are looking to improve performance, transactional
    >> >mode may actually be the fastest. See the JMS Performance
    >> >Guide white-paper on dev2dev for details.
    >> >
    >> >Suresh wrote:
    >> >
    >> >> Hi All,
    >> >>
    >> >> I am trying to create a bridge between Weblogic 8.1 App Server and
    >> >IBM MQ Series 5.2 and i am facing issues.
    >> >>
    >> >> Bridge works fine if i use QualityOfService="Atmost-once" and i

    >am
    >> >getting following error when i use
    >> >> QualityOfService="Duplicate-okay".
    >> >>
    >> >> Error:
    >> >>
    >> >>
    >> >

    >transfer
    >> >of messages (java.lang.Exception: weblogic.jms.adapter.JMSConnectionHandle.acknowled ge(Ljavax/jms/MessageV).>
    >> >
    >> >>
    >> > >> >of its adapters or underlying systems. It stopped transferring messages
    >> >and will try to reconnect to the adapters shortly. (The exception

    >caught
    >> >was weblogic.jms.bridge.internal.MessagingBridgeExcept ion.)>
    >> >>
    >> >> Any suggestions or comments will be really appreciated.
    >> >>
    >> >> Thanks
    >> >> Suresh
    >> >

    >



  8. Re: Weblogic 8.1 App Server and IBM MQ Series 5.2 Issue


    sorry...we are not using "Exactly-once" and so we are not using "XAConnectionFactory".
    Sorry about that confusion in replies..

    We are using jms-notran-adp.rar and it works for "Atmost-once" and doesnt work
    for " Duplicate-okay".

    Thanks


    "Suresh" wrote:
    >
    >Thanks for following up on this.
    >
    >This bridge works with 6.1 app server and we are trying to use the same
    >stuff
    >for 8.1 app server too. No, we are not using XAConnectionFactory.
    >
    >Suresh
    >
    >Dongbo Xiao wrote:
    >>Is there any chance that the JMS connection factory on the MQSeries
    >>side is a XAConnectionFactory?
    >>
    >>Suresh wrote:
    >>
    >>> I am using the debug options (-Dweblogic.Debug.DebugMessagingBridgeStartup="true"
    >>> -Dweblogic.Debug.DebugMessagingBridgeRuntime="true") in my stratip

    >>script,
    >>> but, thats the maximum stack trace I can get. I am using jms-notran-adp.rar

    >>for
    >>> both QOS. Bridge is working fine when I use Exactly-once and repeatedly

    >>getting
    >>> the same message when I use Duplicate_okay. My destination queue is

    >>not able to
    >>> ackowledge the messge to the sender.
    >>>
    >>> Here I am giving nodes from my config.xml
    >>>
    >>> >>> Name="MQSeries WebLogic Bridge"
    >>> QualityOfService="Duplicate-okay"
    >>> SourceDestination="MQSeries Inbound Destination" Started="true"
    >>> TargetDestination="WebLogic Inbound Destination" Targets="myserver"/>
    >>> >>> AdapterJNDIName="eis.jms.WLSConnectionFactoryJNDINoTX"
    >>> ConnectionFactoryJNDIName="jms.InboundMessageConnectionFactory"
    >>> ConnectionURL="t3://myserver:7001"
    >>> DestinationJNDIName="jms.InboundMessageQueue"
    >>> DestinationType="Queue"
    >>> InitialContextFactory="weblogic.jndi.WLInitialContextFactory"
    >>> Name="WebLogic Inbound Destination" UserName="username" UserPassword="pwd"/>
    >>> >>> AdapterJNDIName="eis.jms.WLSConnectionFactoryJNDINoTX"
    >>> ConnectionFactoryJNDIName="cn=MQ_BROKER_1,ou=inboundConnectionFactories,ou=mq series,ou=jms,ou=Systems"
    >>> ConnectionURL="ldap://ldapServer:389/o=myroot"
    >>> DestinationJNDIName="cn=queue2,ou=queue,ou=mqseries,ou=jms,ou=Systems"
    >>> InitialContextFactory="com.sun.jndi.ldap.LdapCtxFactory"
    >>> Name="MQSeries Inbound Destination"
    >>> UserName="cn=admin,o=myroot" UserPassword="pwd"/>
    >>> >>> Path="C:\bea\weblogic81\server\lib" StagingMode="nostage"

    >TwoPhase="true">
    >>> >>> Targets="rdoddapaneni3" URI="jms-notran-adp.rar"/>
    >>>
    >>>
    >>> Thanks
    >>>
    >>> Tom Barnes wrote:
    >>> >By the way, if you are looking to improve performance, transactional
    >>> >mode may actually be the fastest. See the JMS Performance
    >>> >Guide white-paper on dev2dev for details.
    >>> >
    >>> >Suresh wrote:
    >>> >
    >>> >> Hi All,
    >>> >>
    >>> >> I am trying to create a bridge between Weblogic 8.1 App Server

    >and
    >>> >IBM MQ Series 5.2 and i am facing issues.
    >>> >>
    >>> >> Bridge works fine if i use QualityOfService="Atmost-once" and i

    >>am
    >>> >getting following error when i use
    >>> >> QualityOfService="Duplicate-okay".
    >>> >>
    >>> >> Error:
    >>> >>
    >>> >>
    >>> >
    >>transfer
    >>> >of messages (java.lang.Exception: weblogic.jms.adapter.JMSConnectionHandle.acknowled ge(Ljavax/jms/MessageV).>
    >>> >
    >>> >>
    >>> > >>> >of its adapters or underlying systems. It stopped transferring messages
    >>> >and will try to reconnect to the adapters shortly. (The exception

    >>caught
    >>> >was weblogic.jms.bridge.internal.MessagingBridgeExcept ion.)>
    >>> >>
    >>> >> Any suggestions or comments will be really appreciated.
    >>> >>
    >>> >> Thanks
    >>> >> Suresh
    >>> >

    >>

    >



  9. Re: Weblogic 8.1 App Server and IBM MQ Series 5.2 Issue

    It is weird that nothing shows up in the log after you turned on the debug.

    Actually I knew somebody has run into the same problem once.
    The problem disappeared after he did something on the MQSeries side (like
    restart the system and something else). I did not know exactly what he did.
    I am not sure if that will help you but worth trying.
    If that does work either, I'd suggest that you contact the BEA Customer Support
    and somebody will look at it for you in depth.

    Thanks,
    Dongbo

    Suresh wrote:

    > Thanks for following up on this.
    >
    > This bridge works with 6.1 app server and we are trying to use the same stuff
    > for 8.1 app server too. No, we are not using XAConnectionFactory.
    >
    > Suresh
    >
    > Dongbo Xiao wrote:
    > >Is there any chance that the JMS connection factory on the MQSeries
    > >side is a XAConnectionFactory?
    > >
    > >Suresh wrote:
    > >
    > >> I am using the debug options (-Dweblogic.Debug.DebugMessagingBridgeStartup="true"
    > >> -Dweblogic.Debug.DebugMessagingBridgeRuntime="true") in my stratip

    > >script,
    > >> but, thats the maximum stack trace I can get. I am using jms-notran-adp.rar

    > >for
    > >> both QOS. Bridge is working fine when I use Exactly-once and repeatedly

    > >getting
    > >> the same message when I use Duplicate_okay. My destination queue is

    > >not able to
    > >> ackowledge the messge to the sender.
    > >>
    > >> Here I am giving nodes from my config.xml
    > >>
    > >> > >> Name="MQSeries WebLogic Bridge"
    > >> QualityOfService="Duplicate-okay"
    > >> SourceDestination="MQSeries Inbound Destination" Started="true"
    > >> TargetDestination="WebLogic Inbound Destination" Targets="myserver"/>
    > >> > >> AdapterJNDIName="eis.jms.WLSConnectionFactoryJNDINoTX"
    > >> ConnectionFactoryJNDIName="jms.InboundMessageConnectionFactory"
    > >> ConnectionURL="t3://myserver:7001"
    > >> DestinationJNDIName="jms.InboundMessageQueue"
    > >> DestinationType="Queue"
    > >> InitialContextFactory="weblogic.jndi.WLInitialContextFactory"
    > >> Name="WebLogic Inbound Destination" UserName="username" UserPassword="pwd"/>
    > >> > >> AdapterJNDIName="eis.jms.WLSConnectionFactoryJNDINoTX"
    > >> ConnectionFactoryJNDIName="cn=MQ_BROKER_1,ou=inboundConnectionFactories,ou=mq series,ou=jms,ou=Systems"
    > >> ConnectionURL="ldap://ldapServer:389/o=myroot"
    > >> DestinationJNDIName="cn=queue2,ou=queue,ou=mqseries,ou=jms,ou=Systems"
    > >> InitialContextFactory="com.sun.jndi.ldap.LdapCtxFactory"
    > >> Name="MQSeries Inbound Destination"
    > >> UserName="cn=admin,o=myroot" UserPassword="pwd"/>
    > >> > >> Path="C:\bea\weblogic81\server\lib" StagingMode="nostage" TwoPhase="true">
    > >> > >> Targets="rdoddapaneni3" URI="jms-notran-adp.rar"/>
    > >>

    > >>
    > >> Thanks
    > >>
    > >> Tom Barnes wrote:
    > >> >By the way, if you are looking to improve performance, transactional
    > >> >mode may actually be the fastest. See the JMS Performance
    > >> >Guide white-paper on dev2dev for details.
    > >> >
    > >> >Suresh wrote:
    > >> >
    > >> >> Hi All,
    > >> >>
    > >> >> I am trying to create a bridge between Weblogic 8.1 App Server and
    > >> >IBM MQ Series 5.2 and i am facing issues.
    > >> >>
    > >> >> Bridge works fine if i use QualityOfService="Atmost-once" and i

    > >am
    > >> >getting following error when i use
    > >> >> QualityOfService="Duplicate-okay".
    > >> >>
    > >> >> Error:
    > >> >>
    > >> >>
    > >> >
    > >transfer
    > >> >of messages (java.lang.Exception: weblogic.jms.adapter.JMSConnectionHandle.acknowled ge(Ljavax/jms/MessageV).>
    > >> >
    > >> >>
    > >> > > >> >of its adapters or underlying systems. It stopped transferring messages
    > >> >and will try to reconnect to the adapters shortly. (The exception

    > >caught
    > >> >was weblogic.jms.bridge.internal.MessagingBridgeExcept ion.)>
    > >> >>
    > >> >> Any suggestions or comments will be really appreciated.
    > >> >>
    > >> >> Thanks
    > >> >> Suresh
    > >> >

    > >