<JMSBridgeDestination
AdapterJNDIName="eis.jms.WLSConnectionFactoryJNDIXA"
ConnectionFactoryJNDIName="weblogic.jms.testConnectionFactory"
ConnectionURL="t3://localhost:7001"
DestinationJNDIName="examples.queue2" Name="LocalBridge"
UserName="kyang" UserPassword="{3DES}2LeceOSYOaRuCvrFshnBZg=="/>
ConnectionFactoryJNDIName="weblogic.jms.ClientConnectionFactory"
ConnectionURL="t3://localhost:7001"
DestinationJNDIName="examples.queue1"
Name="MQWeblogicDestination" UserName="kyang"/>
..
<JMSConnectionFactory DefaultDeliveryMode="Persistent"
DefaultTimeToDeliver="200" DefaultTimeToLive="1000"
JNDIName="weblogic.jms.ClientConnectionFactory"
LoadBalancingEnabled="false" MessagesMaximum="100"
Name="ClientConnectionFactory" OverrunPolicy="KeepNew"
ServerAffinityEnabled="false" Targets="examplesServer"/>
<JMSConnectionFactory DefaultDeliveryMode="Non-Persistent"
DefaultTimeToDeliver="200" DefaultTimeToLive="1000"
FlowControlEnabled="false"
JNDIName="weblogic.jms.testConnectionFactory"
Name="testConnectionFactory" OverrunPolicy="KeepNew" Targets="examplesServer"/>
...
<MessagingBridge Name="MyMessaging Bridge" Selector="*"
SourceDestination="LocalBridge"
TargetDestination="MQWeblogicDestination" Targets="examplesServer"/>
################################
I used a test client get InitialContext with url:"t3://localhost:7001" and send
the message to "examples.queue2" which is "MyJMSQueue".
From the monitor screen I found the message was put on "MyJMSQueue" but the message
was nerver delieveried to the "examples.queue1".
From the log, I got following message:
<Jun 20, 2002 10:05:53 AM CDT> <Info> <MessagingBridge> <200012> <Bridge "MyMess
aging Bridge" suceesfully found the two adapters configured for it.>
Do you have any suggestions?
Thanks a lot!
Looks like you are setting up a bridge between two WLS 7.0
queues and your bridge is using "Exactly-once" quality of
service (which is the default). Please be aware that there
are some special configuration requirements for the bridge to
work in this kind of cases. If you are just doing a trial of
the new feature, I suggest you use "Atmost-once" or "Duplicate-okay"
quality of service. If you do need "Exactly-once", please check the
configuration requirements at:
http://edocs.bea.com/wls/docs70/adminguide/msgbridge.html#1063962
Hope this helps,
Dongbo
<Jun 20, 2002 1:38:50 PM CDT> <Info> <MessagingBridge> <200020> <Bridge "MyMessa
ging Bridge" is stopped.>
<Jun 20, 2002 1:38:55 PM CDT> <Info> <MessagingBridge> <200033> <Bridge "MyMessa
ging Bridge" is getting the connections to the two adapters.>
<Jun 20, 2002 1:38:55 PM CDT> <Info> <Connector> <190011> <Unable to locate cont
ext: java:/comp/env/wls-connector-resref>
<Jun 20, 2002 1:38:55 PM CDT> <Info> <Connector> <190010> <Unable to determine R
esource Principal for Container Managed Security Context.>
<Jun 20, 2002 1:38:55 PM CDT> <Info> <Connector> <190011> <Unable to locate cont
ext: java:/comp/env/wls-connector-resref>
<Jun 20, 2002 1:38:55 PM CDT> <Info> <Connector> <190010> <Unable to determine R
esource Principal for Container Managed Security Context.>
<Jun 20, 2002 1:38:55 PM CDT> <Info> <Connector> <190035> <There was/were 1 phys
ical connection(s) created with the following Meta Data: Product name of EIS ins
tance: Java Messaging Service Product version of EIS instance: 1.0.2 Maximum num
ber of connections supported from different processes: 0 User name for connectio
n: kyang>
<Jun 20, 2002 1:38:55 PM CDT> <Info> <Connector> <190011> <Unable to locate cont
ext: java:/comp/env/wls-connector-resref>
<Jun 20, 2002 1:38:55 PM CDT> <Info> <Connector> <190010> <Unable to determine R
esource Principal for Container Managed Security Context.>
<Jun 20, 2002 1:38:55 PM CDT> <Info> <MessagingBridge> <200031> <Bridge "MyMessa
ging Bridge" is configured to allow degradation of its quality of service in cas
es where the configured quality of service is not reachable.>
<Jun 20, 2002 1:38:55 PM CDT> <Info> <MessagingBridge> <200030> <Bridge "MyMessa
ging Bridge" is configured to work in "Atmost-once" mode and it is actually work
ing in "Atmost_once" mode.>
<Jun 20, 2002 1:38:55 PM CDT> <Info> <MessagingBridge> <200028> <Bridge "MyMessa
ging Bridge" starts transferring messages.>
<Jun 20, 2002 1:38:55 PM CDT> <Info> <MessagingBridge> <200026> <Bridge "MyMessa
ging Bridge" encountered some problems to one of its adapters or underlying syst
ems. It stopped transferring messages and will try to reconnect to the adapters
shortly. (Exception caught was java.lang.reflect.UndeclaredThrowableException)
java.lang.reflect.UndeclaredThrowableException: java.lang.reflect.InvocationTarg
etException: javax.resource.ResourceException: Error creating asynchronous consu
mer or setting message lisenter
at weblogic.jms.adapter.JMSBaseConnection.throwResourceException(JMSBase
Connection.java:1086)
at weblogic.jms.adapter.JMSBaseConnection.setMessageListenerInternal(JMS
BaseConnection.java:984)
at weblogic.jms.adapter.JMSBaseConnection.setMessageListener(JMSBaseConn
ection.java:892)
at weblogic.jms.adapter.JMSConnectionHandle.setMessageListener(JMSConnec
tionHandle.java:121)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.connector.common.internal.ConnectionWrapper.invoke(Connectio
nWrapper.java:92)
at $Proxy131.setMessageListener(Unknown Source)
at weblogic.jms.bridge.internal.MessagingBridge.beginForwarding(Messagin
gBridge.java:842)
at weblogic.jms.bridge.internal.MessagingBridge.execute(MessagingBridge.
java:922)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
>
where can I get the context:"comp/env/wls-connector-resref"?
Dongbo