Message bridge between two instances
I am trying to setup messaging bridge between two instances of weblogic server.
Can the second instance belong to a different domain? If yes how to configure it?
Yes, you can configure a messaging bridge to work between two WebLogic domains.
The general instructions of configuring a message bridge, including the bridge instance itself, the bridge destinations and the adapter, can be found at
http://edocs.bea.com/wls/docs103/bridge/basics.html#wp1168461
The only extra thing that you may need to take care of for the cross-domain case is to configure cross-domain security as instructed at
http://edocs.bea.com/wls/docs103/bridge/wls_interop.html#wp1126873
Regards,
Dongbo
Similar Messages
-
Messaging Bridge Between 2 Weblogic Server
Hi,
I would like to create a messaging bridge between two Weblogic Server on two different
server. One on Windows NT and one on Solaris.
I have created one queue on NT and one other queue on Solaris, and the corresponding
JMS Bridge destination for each queue on one server (and the other to test).
And on one server (and the other to test), I have created a messaging bridge to
transfert messages from one queue to the other, but I have a message on the Weblogic
Server.
javax.resource.spi.ResourceAllocationException: CreateManagedConnection Error:
ConnectionFactory: failed to get initial context (InitialContextFactory =weblogic.jndi.WLInitialContextFactory,
url = http://usv9007.rtc.ch:7001, user name = null, password = null
at weblogic.connector.common.internal.ConnectionPool.makeResources(ConnectionPool.java:978)
at weblogic.connector.common.internal.ConnectionPool.getConnection(ConnectionPool.java:1708)
at weblogic.connector.common.internal.ConnectionPoolManager.getConnection(ConnectionPoolManager.java:163)
at weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:25)
at weblogic.jms.adapter.JMSBaseConnectionFactory.getTargetConnection(JMSBaseConnectionFactory.java:126)
at weblogic.jms.bridge.internal.MessagingBridge.getConnections(MessagingBridge.java:733)
at weblogic.jms.bridge.internal.MessagingBridge.execute(MessagingBridge.java:899)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
<09.01.2003 13:48:51 CET> <Error> <Connector> <190006> <Error granting connection
request.>
Parameter for the distant queue
Adapter JNDI Name : eis.jms.WLSConnectionFactoryJNDIXA (I have activated the XA
ressources for the ConnectionFactory and the corresponding adapter)
Connection URL : http://SolarisIP:7001
InitialContextFactory : weblogic.jndi.WLInitialContextFactory
ConnectionFactory JNDI Name : myConnectionFactory
Destination JNDI Name : myQueueSolaris
Destination Type : Queue
I don't understand why I have this error, because all the parameters are correct,
and the http tunneling is activated.
Could you help me to configure correctly this messaging bridge ???
Thanks a lot.
Looks like the error occurred on the target destination
of the bridge. One way to find out if your configuration
is correct is to use the same parameters (initial context factory,
url, username and password) to get a connection to the
target server from a standalone client.
Dongbo
Seb wrote:
>
> Hi,
>
> I would like to create a messaging bridge between two Weblogic Server on two different
> server. One on Windows NT and one on Solaris.
>
> I have created one queue on NT and one other queue on Solaris, and the corresponding
> JMS Bridge destination for each queue on one server (and the other to test).
>
> And on one server (and the other to test), I have created a messaging bridge to
> transfert messages from one queue to the other, but I have a message on the Weblogic
> Server.
>
> -----------------------------------------------------------------
> javax.resource.spi.ResourceAllocationException: CreateManagedConnection Error:
> ConnectionFactory: failed to get initial context (InitialContextFactory =weblogic.jndi.WLInitialContextFactory,
> url = http://usv9007.rtc.ch:7001, user name = null, password = null
> at weblogic.connector.common.internal.ConnectionPool.makeResources(ConnectionPool.java:978)
> at weblogic.connector.common.internal.ConnectionPool.getConnection(ConnectionPool.java:1708)
> at weblogic.connector.common.internal.ConnectionPoolManager.getConnection(ConnectionPoolManager.java:163)
> at weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:25)
> at weblogic.jms.adapter.JMSBaseConnectionFactory.getTargetConnection(JMSBaseConnectionFactory.java:126)
> at weblogic.jms.bridge.internal.MessagingBridge.getConnections(MessagingBridge.java:733)
> at weblogic.jms.bridge.internal.MessagingBridge.execute(MessagingBridge.java:899)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
> <09.01.2003 13:48:51 CET> <Error> <Connector> <190006> <Error granting connection
> request.>
> -----------------------------------------------------------------
>
> Parameter for the distant queue
>
> Adapter JNDI Name : eis.jms.WLSConnectionFactoryJNDIXA (I have activated the XA
> ressources for the ConnectionFactory and the corresponding adapter)
> Connection URL : http://SolarisIP:7001
> InitialContextFactory : weblogic.jndi.WLInitialContextFactory
> ConnectionFactory JNDI Name : myConnectionFactory
> Destination JNDI Name : myQueueSolaris
> Destination Type : Queue
>
> I don't understand why I have this error, because all the parameters are correct,
> and the http tunneling is activated.
>
> Could you help me to configure correctly this messaging bridge ???
>
> Thanks a lot.
-
Unable to create a JMS Message bridge between Weblogic 12c and Weblogic 8.1
Hi,
I am unable to successfully create a Message Bridge between Weblogic 12.1.1.0 and Weblogic 8.1. The error message being received is:
eis/jms/WLSConnectionFactoryJNDINoTX > ResourceAllocationException generated by resource adapter on call to ManagedConnectionFactory.createManagedConnection(): "javax.resource.ResourceException: ConnectionFactory: failed to get initial context (InitialContextFactory =weblogic.jndi.WLInitialContextFactory, url = t3://localhost:8001, user name = System) ">
The error on the monitoring tab is WARN: failed to connect to target.
Both domains are deployed on one box for testing purposes. The bridge itself is deployed on Weblogic 12c. The areas of config that may be of interest are:
<server>
<name>AdminServer</name>
<listen-address></listen-address>
</server>
<messaging-bridge>
<name>Bridge</name>
<target>AdminServer</target>
<source-destination>JMSBridgeSource12c</source-destination>
<target-destination>JMSBridgeTarget81</target-destination>
<selector>Test</selector>
<quality-of-service>Exactly-once</quality-of-service>
<qos-degradation-allowed>false</qos-degradation-allowed>
<durability-enabled>true</durability-enabled>
<idle-time-maximum>60</idle-time-maximum>
<async-enabled>true</async-enabled>
<started>true</started>
<preserve-msg-property>false</preserve-msg-property>
</messaging-bridge>
<app-deployment>
<name>jms-xa-adp</name>
<target>AdminServer</target>
<module-type>rar</module-type>
<source-path>D:\ORACLE~3\WLSERV~1.1\server\lib\jms-xa-adp.rar</source-path>
<security-dd-model>DDOnly</security-dd-model>
</app-deployment>
<jms-bridge-destination>
<name>JMSBridgeSource12c</name>
<adapter-jndi-name>eis.jms.WLSConnectionFactoryJNDIXA</adapter-jndi-name>
<user-name>System</user-name>
<user-password-encrypted>{AES}nfFzhs+0J/O2Cenf0g4zDsDyvIKENMF7cZ5sAVUehX0=</user-password-encrypted>
<classpath></classpath>
<connection-factory-jndi-name>JMSConnectionFactory12c</connection-factory-jndi-name>
<connection-url>t3://localhost:7001</connection-url>
<destination-jndi-name>JMSQueue12c</destination-jndi-name>
</jms-bridge-destination>
<jms-bridge-destination>
<name>JMSBridgeTarget81</name>
<adapter-jndi-name>eis.jms.WLSConnectionFactoryJNDIXA</adapter-jndi-name>
<user-name>System</user-name>
<user-password-encrypted>{AES}eBkO46cHvtrzEraOMIOdXow6WvEAtA4NCUDTQ4mC+9w=</user-password-encrypted>
<classpath></classpath>
<connection-factory-jndi-name>JMSConnectionFactory81</connection-factory-jndi-name>
<connection-url>t3://localhost:8001</connection-url>
<destination-jndi-name>JMSQueue81</destination-jndi-name>
</jms-bridge-destination>
I have enforced global trust between the two domains. I have disabled the guest user on the 8.1 domain but can’t see where to do this on 12c.
Any suggestions would be much appreciated.
Regards
John
Edited by: 958336 on 13-Sep-2012 03:11Thanks for the recommendation. Unfortunately it did not help solve the problem.
I have managed to get a JMS bridge working between 12c and 8.1 by including the 8.1 weblogic.jar on the classpath. This setup was using eis.jms.WLSConnectionFactoryJNDINoTX.
After trying to use the adapter that supports transactions, WLSConnectionFactoryJNDIXA I received the following error:
java.lang.IllegalStateException: can only be called from server
Is this because the Weblogic 12c server now views the 8.1 server as being foreign? -
Distinguishing between two instances of the same portlet
Hi Experts,
Is there a way to distinguish between two instance of the same portlet in different browser windows?
I'm looking for something like URL parameter passing, but just for portlets.
The problem is, I want a way to pass a parameter between views in a portlet, but in such a way that if another browser window is opened and navigated to that portlet page, the parameter won't be the same. Perhaps I can explain better with this example:
Page A has a portlet on it which has a textbox and 2 buttons - the first button stores the value in the textbox in the PortletRequest (or PortletURL) and if you click the second button the portlet navigates to a different view which displays the value. If I navigate with a second browser window to Page A, however, and only click the navigate button, that value which was stored by the first instance of the portlet will still be shown. I want them to be independent, I don't want changes in the one's PortletRequest to reflect in the other one's PortletRequest.
Any ideas?
Thanks,
JPWhy not use two instances of the same portlet, i.e. create two channels of the same portlet.
The behave the same, have the same application logic, so all you need is to transfer informations between the two portlets.If you want this within user space use the portlet session, otherwise access the http session context /application context and store the data there.
The behavior would be controlled by the portlet preferences, so channel a (instance 1) would be configured to run as controller and channel b (instance 2) would be configured as receiver. -
Hello.
I have wi-fi bridge between two routers TP-LINK WR841ND.
The name of this technology - WDS.
HP Laser JET 1536 dnf MFP connect to one of this routers (copper).
Second device (my NETBOOK) connect to second router (WiFi).
I have good communication between NETBOOK and HP Laser JET 1536 dnf MFP via WiFI-bridge.
In usual case NETBOOK can find (and can Ping) network printer and make a print some files.
But my Ipad or Iphone can't find HP Laser JET 1536 dnf MFP (using Eprint). Ipad and iphone connect
to router across WiFi.
Please, help!Are you using the ePrint Mobile App, the ePrint Printer Control App, or just trying to send an email to the printer's ePrint email address?
Does AirPrint work?
-------------How do I give Kudos? | How do I mark a post as Solved? -------------------------------------------------------- -
Message Bridge between WLS 6.1 sp3 and MQSeries 5.2
Hi,
I'm really struggling with getting the Message Bridge working with Weblogic 6.1
sp3 and MQSeries 5.2. Currently I have both installed on the same Windows 2000
machine. First I'll pose some questions that I have, then I discuss the error
I'm getting. Here are my questions:
1. With the jms-xa-adp.rar there is a ra.xml and a weblogic-ra.xml. Within the
ra.xml deployment descriptor there are config-properties for ConnectionURL, InitialContextFactory,
ConnectionFactoryJNDI, and DestinationType. If my MQSeries Queue is the source
jms destination bridge and my weblogic queue is the target jms destination bridge,
what values do I set for the listed config-properties? I can't seem to find any
documentation on what these values should be. Am I missing something? Do these
values even have to be set?
2. When I go to install a Weblogic instance to a different physical machine what
has to be installed in terms of MQSeries? So I'll have MQSeries on physical machineA
and Weblogic on a different physical machineB. I want machineA to forward all
messages placed on a MQSeries Queue to forward them to machineB where the weblogic
Queue resides. Does machineB also have to contain an MQSeries installation?
Or can I just grab the necessary libraries and jar files and place them on the
Weblogic machineB so they can be included?
3. Is it correct that if I distribute Weblogic onto one physical server and MQSeries
onto a different physical server that I cannot use Exactly-once quality of service?
Other notes:
1. I have the following patches installed for Weblogic 6.1 sp3:
CR081404_610sp3.jar
CR081511_61sp3.jar
2. Here is the commands I used to create my ConnectionFactory and Queue within
MQSeries:
def xaqcf(MQTestConnectionFactory) qmanager(QM_jeff)
def q(MQTestQueue) qmanager(QM_jeff) queue(default)
Okay...here is my error:
<21-Aug-02 11:08:34 ADT AM> <Error> <MessagingBridge> <Error occurred in bridge
"Messaging Bridge" during transferring messages (java.lang.Exception: java.lang.
reflect.UndeclaredThrowableException: java.lang.reflect.InvocationTargetException:
javax.resource.ResourceException: Error creating consumer or receiving message
at weblogic.jms.adapter.JMSBaseConnection.throwResourceException(JMSBaseConnection.java:1086)
at weblogic.jms.adapter.JMSBaseConnection.receiveInternal(JMSBaseConnection.java:774)
at weblogic.jms.adapter.JMSBaseConnection.receiveCommon(JMSBaseConnection.java:656)
at weblogic.jms.adapter.JMSBaseConnection.receive(JMSBaseConnection.java:811)
at weblogic.jms.adapter.JMSConnectionHandle.receive(JMSConnectionHandle.java:111)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.connector.common.internal.ConnectionWrapper.invoke(ConnectionWrapper.java:60)
at $Proxy82.receive(Unknown Source)
at weblogic.jms.bridge.internal.MessagingBridge.processMessages(MessagingBridge.java:1215)
at weblogic.jms.bridge.internal.MessagingBridge.beginForwarding(MessagingBridge.java:854)
at weblogic.jms.bridge.internal.MessagingBridge.execute(MessagingBridge.
Has anyone see this error before? Here is part of my ra.xml file....I just put
these entries in to see what happens:
<config-property>
<config-property-name>ConnectionURL</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property value>file:/C:/Develop/app_servers/WebSphere/MQSeries</config-property-value>
</config-property>
<config-property>
<config-property-name>InitialContextFactory</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>com.sun.jndi.fscontext.RefFSContextFactory</config-property-value>
</config-property>
<config-property>
<config-property-name>ConnectionFactoryJNDI</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>MQTestConnectionFactory</config-property-value>
</config-property>
<config-property>
<config-property-name>DestinationJNDI</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>MQTestQueue</config-property-value>
</config-property>
<config-property>
<config-property-name>DestinationType</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value></config-property-value>
</config-property>
<config-property>
<config-property-name>AdapterType</config-property-name>
<config-property-type>java.lang.String</config-property-type>
<config-property-value>XATransaction</config-property-value>
</config-property>
Here is a snip of my config.xml:
<MessagingBridge AsyncEnabled="false" DurabilityEnabled="false"
Name="Messaging Bridge" QualityOfService="Atmost-once"
SourceDestination="Source JMS Bridge Destination"
TargetDestination="Target JMS Bridge Destination" Targets="myserver"/>
<JMSBridgeDestination
AdapterJNDIName="eis.jms.WLSConnectionFactoryJNDIXA"
ConnectionFactoryJNDIName="MQTestConnectionFactory"
ConnectionURL="file:/C:/Develop/app_servers/WebSphere/MQSeries"
DestinationJNDIName="MQTestQueue" InitialContextFactory="com.sun.jndi.fscontext.RefFSContextFactory"
Name="Source JMS Bridge Destination"/>
<JMSBridgeDestination
AdapterJNDIName="eis.jms.WLSConnectionFactoryJNDIXA"
ConnectionFactoryJNDIName="imagictv.platform.ToolkitRequestCF"
ConnectionURL="t3://localhost:7001"
DestinationJNDIName="imagictv.platform.ToolkitRequestQueue"
InitialContextFactory="weblogic.jndi.WLInitialContextFactory" Name="Target
JMS Bridge Destination"/>
Any help would be greatly appreciated. Thank you in advance for your help.
Sincerely,
Jeff
I tried your suggestion and it worked!! The only thing is, it
makes the deployment of the resource adapter a little more
complicated. Now my customers are going to have to edit their
config.xml, instead of just dropping in the appropriate rar into
the applications directory. But one nice side affect of placing
the rar's in a different directory is it makes the Message
Bridge a little more stable. I was finding it to be very
unstable. One time I would startup my Application Server and
everything was fine, then I would shutdown. The next time I
started it up, I would get exceptions. I have yet to see that
behavior with this new configuration.
Thanks again for all of your help, it is greatly appreciated!!
Jeff
Dongbo Xiao <[email protected]> wrote:
>Looks like that somehow you have the adapter deployed
>multiple times, may not be intended. The cause is that
>everything in the application directory will be automatically
>deployed and all of them are added to the config.xml. During
>the next boot, those appear in the config.xml will be deployed and
>everything in the application directory too. As a result, the adapters
>are deployed twice. The complain about runtime mbean not found may
>mean the one that is overridden by the new one.
>
>The work around is not to put your adapters in the application
>directory, instead, put them in a different directory and point to
>the directory in your config.xml.
>
>Dongbo
>Jeff wrote:
>>
>> One more thing...
>> I noticed that the exception specified that it couldn't find
>> mydomain:Location=myserver,Name=jms-xa-
>> adp_Pool_1,ServerRuntime=myserver,Type=ConnectorConnectionPoolRun
>> time MBean, but what's interesting that if I run the following
>> java weblogic.Admin GET -type ConnectorConnectionPoolRuntime -
>> property ActiveConnectionsCurrentCount -url
>> http://localhost:7001 -username xxxx -password xxxx I get the
>> following output:
>>
>> {MBeanName="mydomain:Location=myserver,Name=jms-xa-
>> adp_Pool_3,ServerRuntime=myse
>> rver,Type=ConnectorConnectionPoolRuntime"{ActiveConnectionsCurren
>> tCount=0}}
>> {MBeanName="mydomain:Location=myserver,Name=jms-notran-
>> adp_Pool_2,ServerRuntime=
>> myserver,Type=ConnectorConnectionPoolRuntime"{ActiveConnectionsCu
>> rrentCount=0}}
>>
>> So from that...it looks like the MBean is there. Any ideas why it
>is not being
>> found?
>>
>> Thanks,
>>
>> Jeff
>>
>> "Jeff" <[email protected]> wrote:
>> >
>> >
>> >
>> >Thank you very much!!
>> >
>> >I tried your suggestions and created a general Queue Connection Factory
>> >within
>> >MQSeries. Then I setup my MQSeries JMS Bridge Destination to use
>the
>> >jms-notrans-adp.rar
>> >resource adapter. With this configuration, I can send messages to
>MQSeries
>> >and
>> >they get forwarded to Weblogic.
>> >
>> >But, if I create a XAQueueConnectionFactory within MQSeries I cannot
>> >get the bridge
>> >working at all. I realize that MQSeries has a bug with Transactions
>> >and remote
>> >servers, but I have MQSeries and Weblogic running on the same machine.
>> > I thought
>> >I could setup an XAConnectionFactory in MQSeries, set the MQSeries
>JMS
>> >Bridge
>> >Destination to use the jms-xa-adp.rar and specify Exactly-once QOS
>and
>> >it should
>> >work? I tried it and it didn't work. ( see attachment for weblogic.log
>> >showing
>> >exception ).
>> >
>> >Here is my config.xml:
>> > <MessagingBridge AsyncEnabled="false" DurabilityEnabled="false"
>> > Name="Request Messaging Bridge" QOSDegradationAllowed="true"
>> > QualityOfService="Exactly-once"
>> > SourceDestination="Source JMS Bridge Destination"
>> > TargetDestination="Target JMS Bridge Destination" Targets="myserver"/>
>> > <JMSBridgeDestination
>> > ConnectionFactoryJNDIName="imagictv.platform.ToolkitRequestCF"
>> > ConnectionURL="t3://localhost:7001"
>> > DestinationJNDIName="imagictv.platform.ToolkitRequestQueue"
>Name="Target
>> >JMS Bridge Destination"/>
>> > <JMSBridgeDestination
>> > AdapterJNDIName="eis.jms.WLSConnectionFactoryJNDIXA"
>> > ConnectionFactoryJNDIName="MQTestConnectionFactory"
>> > ConnectionURL="file:/C:/Develop/app_servers/WebSphere/MQSeries"
>> > DestinationJNDIName="MQTestQueue"
>> > InitialContextFactory="com.sun.jndi.fscontext.RefFSContextFactory"
>> >Name="Source
>> >JMS Bridge Destination"/>
>> >
>> >Again, thank you very much for your response. It helped me a great
>deal.
>> > Any
>> >thoughts on the above problem please foward them along.
>> >
>> >Oh...and to answer the question posed to me, yes the CR081511_61sp3.jar
>> >file is
>> >dated 8/13/2002
>> >
>> >
>> >Sincerely,
>> >
>> >Jeff
>> >
>> >Dongbo Xiao <[email protected]> wrote:
>> >>Please see my comments inline.
>> >>
>> >>
>> >>Jeff wrote:
>> >>>
>> >>> Hi,
>> >>> I'm really struggling with getting the Message Bridge working with
>> >>Weblogic 6.1
>> >>> sp3 and MQSeries 5.2. Currently I have both installed on the same
>> >>Windows 2000
>> >>> machine. First I'll pose some questions that I have, then I discuss
>> >>the error
>> >>> I'm getting. Here are my questions:
>> >>>
>> >>> 1. With the jms-xa-adp.rar there is a ra.xml and a weblogic-ra.xml.
>> >> Within the
>> >>> ra.xml deployment descriptor there are config-properties for ConnectionURL,
>> >>InitialContextFactory,
>> >>> ConnectionFactoryJNDI, and DestinationType. If my MQSeries Queue
>> >is
>> >>the source
>> >>> jms destination bridge and my weblogic queue is the target jms
>destination
>> >>bridge,
>> >>> what values do I set for the listed config-properties? I can't
>seem
>> >>to find any
>> >>> documentation on what these values should be. Am I missing something?
>> >> Do these
>> >>> values even have to be set?
>> >>>
>> >>
>> >>You DON'T have to do anything to the adapter deployment descriptor
>> >>files.
>> >>The values given there for the listed config-properties are just
>default
>> >>values.
>> >>The values configured in JMSBridgeDestination instances are the values
>> >>used to
>> >>override the default values in the dd file.
>> >>
>> >>> 2. When I go to install a Weblogic instance to a different physical
>> >>machine what
>> >>> has to be installed in terms of MQSeries? So I'll have MQSeries
>on
>> >>physical machineA
>> >>> and Weblogic on a different physical machineB. I want machineA
>to
>> >>forward all
>> >>> messages placed on a MQSeries Queue to forward them to machineB
>where
>> >>the weblogic
>> >>> Queue resides. Does machineB also have to contain an MQSeries
>installation?
>> >>> Or can I just grab the necessary libraries and jar files and place
>> >>them on the
>> >>> Weblogic machineB so they can be included?
>> >>>
>> >>
>> >>You don't have to install MQSeries on the machine that the WebLogic
>> >>server is running. You need the necessary libraries and jar files
>> >>though.
>> >>
>> >>> 3. Is it correct that if I distribute Weblogic onto one physical
>server
>> >>and MQSeries
>> >>> onto a different physical server that I cannot use Exactly-once
>quality
>> >>of service?
>> >>>
>> >>
>> >>That is correct and it is a MQSeries transaction limitation.
>> >>
>> >>> Other notes:
>> >>> 1. I have the following patches installed for Weblogic 6.1 sp3:
>> >>> CR081404_610sp3.jar
>> >>> CR081511_61sp3.jar
>> >>>
>> >>
>> >>What version of CR081511_61sp3.jar you have? You need the one dated
>> >on
>> >>8/13/2002.
>> >>
>> >>> 2. Here is the commands I used to create my ConnectionFactory
>and
>> >>Queue within
>> >>> MQSeries:
>> >>> def xaqcf(MQTestConnectionFactory) qmanager(QM_jeff)
>> >>> def q(MQTestQueue) qmanager(QM_jeff) queue(default)
>> >>>
>> >>
>> >>The only possible error I see here is that you create a xaqcf while
>> >your
>> >>bridge
>> >>is configured to have "Atmost-once" QOS. The bridge adapter will
>create
>> >>XASession
>> >>if the connection factory is xa because it knows nothing about QOS
>of
>> >>the bridge.
>> >>As I said, there is a limitation in MQSeries transactions, which
>prevent
>> >>the
>> >>transaction to happen between remote servers. Although the bridge
>does
>> >>not
>> >>start the the transaction in your case, but MQSeries xa connection
>> >>factory may
>> >>throw error when it detects the other side is remote. Having said
>that,
>> >>I am not
>> >>completely sure this is the problem caused the bridge to fail. I
>suggest
>> >>you use
>> >>a non-xa connection factory on the MQSeries side and see if the problem
>> >>goes away.
>> >>
>> >>> Okay...here is my error:
>> >>>
>> >>> <21-Aug-02 11:08:34 ADT AM> <Error> <MessagingBridge> <Error occurred
>> >>in bridge
>> >>> "Messaging Bridge" during transferring messages (java.lang.Exception:
>> >>java.lang.
>> >>> reflect.UndeclaredThrowableException: java.lang.reflect.InvocationTargetException:
>> >>> javax.resource.ResourceException: Error creating consumer or receiving
>> >>message
>> >>> at weblogic.jms.adapter.JMSBaseConnection.throwResourceException(JMSBaseConnection.java:1086)
>> >>> at weblogic.jms.adapter.JMSBaseConnection.receiveInternal(JMSBaseConnection.java:774)
>> >>> at weblogic.jms.adapter.JMSBaseConnection.receiveCommon(JMSBaseConnection.java:656)
>> >>> at weblogic.jms.adapter.JMSBaseConnection.receive(JMSBaseConnection.java:811)
>> >>> at weblogic.jms.adapter.JMSConnectionHandle.receive(JMSConnectionHandle.java:111)
>> >>> at java.lang.reflect.Method.invoke(Native Method)
>> >>> at weblogic.connector.common.internal.ConnectionWrapper.invoke(ConnectionWrapper.java:60)
>> >>> at $Proxy82.receive(Unknown Source)
>> >>> at weblogic.jms.bridge.internal.MessagingBridge.processMessages(MessagingBridge.java:1215)
>> >>> at weblogic.jms.bridge.internal.MessagingBridge.beginForwarding(MessagingBridge.java:854)
>> >>> at weblogic.jms.bridge.internal.MessagingBridge.execute(MessagingBridge.
>> >>>
>> >>
>> >>The latest patch CR081511_61sp3.jar (dated on 8/13/2002) will expose
>> >>more error
>> >>information.
>> >>
>> >>> Has anyone see this error before? Here is part of my ra.xml file....I
>> >>just put
>> >>> these entries in to see what happens:
>> >>>
>> >>> <config-property>
>> >>> <config-property-name>ConnectionURL</config-property-name>
>> >>> <config-property-type>java.lang.String</config-property-type>
>> >>> <config-property value>file:/C:/Develop/app_servers/WebSphere/MQSeries</config-property-value>
>> >>> </config-property>
>> >>>
>> >>> <config-property>
>> >>> <config-property-name>InitialContextFactory</config-property-name>
>> >>> <config-property-type>java.lang.String</config-property-type>
>> >>> <config-property-value>com.sun.jndi.fscontext.RefFSContextFactory</config-property-value>
>> >>> </config-property>
>> >>>
>> >>> <config-property>
>> >>> <config-property-name>ConnectionFactoryJNDI</config-property-name>
>> >>> <config-property-type>java.lang.String</config-property-type>
>> >>> <config-property-value>MQTestConnectionFactory</config-property-value>
>> >>> </config-property>
>> >>>
>> >>> <config-property>
>> >>> <config-property-name>DestinationJNDI</config-property-name>
>> >>> <config-property-type>java.lang.String</config-property-type>
>> >>> <config-property-value>MQTestQueue</config-property-value>
>> >>> </config-property>
>> >>>
>> >>> <config-property>
>> >>> <config-property-name>DestinationType</config-property-name>
>> >>> <config-property-type>java.lang.String</config-property-type>
>> >>> <config-property-value></config-property-value>
>> >>> </config-property>
>> >>>
>> >>> <config-property>
>> >>> <config-property-name>AdapterType</config-property-name>
>> >>> <config-property-type>java.lang.String</config-property-type>
>> >>> <config-property-value>XATransaction</config-property-value>
>> >>> </config-property>
>> >>>
>> >>
>> >>As I said earlier, you are not supposed to change the adapter dd
>file.
>> >>
>> >>
>> >>> Here is a snip of my config.xml:
>> >>>
>> >>> <MessagingBridge AsyncEnabled="false" DurabilityEnabled="false"
>> >>> Name="Messaging Bridge" QualityOfService="Atmost-once"
>> >>> SourceDestination="Source JMS Bridge Destination"
>> >>> TargetDestination="Target JMS Bridge Destination" Targets="myserver"/>
>> >>> <JMSBridgeDestination
>> >>> AdapterJNDIName="eis.jms.WLSConnectionFactoryJNDIXA"
>> >>> ConnectionFactoryJNDIName="MQTestConnectionFactory"
>> >>> ConnectionURL="file:/C:/Develop/app_servers/WebSphere/MQSeries"
>> >>> DestinationJNDIName="MQTestQueue" InitialContextFactory="com.sun.jndi.fscontext.RefFSContextFactory"
>> >>> Name="Source JMS Bridge Destination"/>
>> >>>
>> >>> <JMSBridgeDestination
>> >>> AdapterJNDIName="eis.jms.WLSConnectionFactoryJNDIXA"
>> >>> ConnectionFactoryJNDIName="imagictv.platform.ToolkitRequestCF"
>> >>> ConnectionURL="t3://localhost:7001"
>> >>> DestinationJNDIName="imagictv.platform.ToolkitRequestQueue"
>> >>> InitialContextFactory="weblogic.jndi.WLInitialContextFactory"
>Name="Target
>> >>> JMS Bridge Destination"/>
>> >>>
>> >>
>> >>Your configuration of the bridge and bridge destinations look fine.
>> >
>> >>The last thing is that you have to put MQSeries stuff in your CLASSPATH
>> >>and PATH for starting the WebLogic server that the bridge is running
>> >>on.
>> >>
>> >>You can also turn on debug for more information.
>> >>-Dweblogic.Debug.DebugMessagingBridgeStartup=true
>> >>-Dweblogic.Debug.DebugMessagingBridgeRuntime=true
>> >>
>> >>
>> >>Thanks,
>> >>Dongbo
>> >
-
N bridge between two 1252an in bridge mode at 5GHz
I've read in some of the cisco documentation on the 1250 series that root bridge or non root bridge modes are "not tested". They don't say "not supported". I have a client that could use a high bandwidth link between two buildings that are 100' or so apart. The fiber link has already been busted twice. Heavy heavy trucks kill the ground concrete. I have configed a 54Mbps solution with two 1242G's and some cisco yagi's. But, if an N bridge is possible with two 1252AG's, and go faster than the 54Mbps..I'd go with that setup.
Cisco documentation says the bridge modes show up in the 1252 webgui and are selectable. They just end it with "not tested".
Any thoughts?It became supported in recent versions of the 1250 IOS.
|With this feature, the Cisco Aironet 1140 and 1250 Series can be configured for both access point and bridge functions. Bridging support on 802.11n access points offers added performance, reliability and throughput for basic wireless LAN coverage, wireless LAN coverage with wireless backhaul, and more traditional bridging applications.|
http://www.cisco.com/en/US/partner/prod/collateral/wireless/ps5678/ps6087/product_bulletin_c25-560118_ps6973_Products_Bulletin.html
Nicolas
===
Don't forget to rate answers that you find useful -
Copying SDO_GEOMETRY between two instances
have two oracle instances on separate servers:
Server 1 Oracle 10.2 Solaris
Server 2 Oracle 9.2 Solaris
In each instance I have a Schema called GEO_DATA with a Table called ROADS. This is a very simple table; id (number), road_name(varchar2) and geometry (sdo_geometry)
The ROADS table in Server 1 will get updated during the day. What is the best way to move data from Server 1 to Server 2? Server 2 ROADS is just read-only and will be used for data viewing.
I am very new to Oracle Spatial – so apologies for the basic question:
Can I just create a database link between the two instances and then run a simple SQL query:
Insert into Server 2.GEO_DATA.ROADS Select * from Server 1.GEO_DATA.ROADS
Feedback appreciated.Hello Ivan,
I just read this: Copy spatial data
I need to copy spatial data from a 8.1.6 (remote) to 8.1.7 (local). I tried the "CREATE DATABASE LINK" statement and got the error ORA-22804 (remote operations not permitted on object tables or user-defined type columns).
Is this still true in Oracle 9 and 10? -
Wireless Bridging between two 1242 AP's
Hello All,
I have a trailer at a client that I'am trying to connect to the main building via a wireless bridge using two 1242 AP's. I'am trunking on the connection to each AP using dot1q. I don't mind all the vlans going to the trailer so I'am not limiting the vlans. What do I have to do on the AP's to get this to work exactly? Are there any guides on this? thanks
JasonHi Jason,
If you're unfamiliar with the CLI, you should probably use the GUI. Here's what's needed to establish a bridge link between two APs:
1. Only one SSID is needed, regardless of the number of VLANs
2. The SSID should be placed in the native VLAN (as only one VLAN can be associate to an SSID)
3. Encryption for the link should be attached to the native VLAN
4. The SSID should be configured for infrastructure mode only
5. Every other VLAN should be created, but not assigned to anything.
6. The radio role/mode must be set to root bridge on side and non-root bridge on the other side
The critical realization is that only one SSID is used. It's perhaps what's most confusing about bridges. To my knowledge, you need to configure every VLAN you want to traverse the link. I do not know of any way to simply allow all VLANs.
Also, know that the channel can be set on the root side (and should be hard set to channel 1, 6, or 11 if using 2.4GHz), but you cannot configure the channel on the non-root. This is because the non-root scans all channels and matches to the root.
Let me know if you need assistance with any of this. I or someone else on the boards would be glad to help.
Jeff -
BI server generating query in a different way between two instances
Hi All,
We have executed a report in dev,test instances,BI server generated query in a different way in two instances where as dev BI server is on AIX operating system(recently we migrated from windows),test instance is on still on Windows environment.
For a report below are the queries
DEV(AIX)
WITH
SAWITH0 AS (select sum(T316025.SALES_QUOTA) as c1,
T329697.DIVISION_DESC as c2,
T329697.AREA_DESC as c3,
T329697.TERRITORY_DESC as c4,
case when T329697.ACCOUNT_NUM is null then T329697.BILL_TO_PARTY_NAME else concat(concat(concat(T329697.BILL_TO_PARTY_NAME, '('), T329697.ACCOUNT_NUM), ')') end as c5,
T150993.X_CONS_MAJOR_GROUP as c6,
T66755.PER_NAME_ENT_YEAR as c7
from
W_DAY_D T66755 /* Dim_W_DAY_D_Common */ ,
W_PRODUCT_D T67704 /* Dim_W_PRODUCT_D */ ,
WC_SLX_DATA_F T316025 /* Fact_WC_SLX_DATA_F */ ,
WC_CUSTOMER_HIERARCHY_D T329697 /* Dim_WC_Customer_Hierarchy_D_With_Error */ ,
OBIEE_SECURITY_LOCATION_SALES T339204,
W_PROD_CAT_DH T150993 /* Dim_W_PROD_CAT_DH_General */
where ( T66755.ROW_WID = T316025.DAY_WID and T316025.CUSTOMER_HIERARCHY_WID = T329697.ROW_WID and T67704.ROW_WID = T316025.PRODUCT_WID and T67704.PROD_CAT2_WID = T150993.ROW_WID and T329697.TERRITORY_CODE = nvl(T339204.LOCATION , T329697.TERRITORY_CODE) and T329697.AREA_DESC = 'GROCERY AREA - EAST' and T329697.DIVISION_DESC = 'DOMESTIC SALES DIVISION' and T339204.USER_NAME = upper('Administrator') and case when T329697.ACCOUNT_NUM is null then T329697.BILL_TO_PARTY_NAME else concat(concat(concat(T329697.BILL_TO_PARTY_NAME, '('), T329697.ACCOUNT_NUM), ')') end = 'JETRO CASH AND CARRY ENTERPRISES INC(10313)' and (T66755.PER_NAME_ENT_YEAR in ('2011', '2012')) and (T329697.TERRITORY_DESC in ('BOSTON', 'CHARLOTTE', 'FLORIDA', 'GREAT LAKES', 'MID-SOUTH', 'NEW YORK', 'WHITE ROSE')) )
group by T66755.PER_NAME_ENT_YEAR, T150993.X_CONS_MAJOR_GROUP, T329697.TERRITORY_DESC, T329697.AREA_DESC, T329697.DIVISION_DESC, case when T329697.ACCOUNT_NUM is null then T329697.BILL_TO_PARTY_NAME else concat(concat(concat(T329697.BILL_TO_PARTY_NAME, '('), T329697.ACCOUNT_NUM), ')') end )
select distinct SAWITH0.c2 as c1,
SAWITH0.c3 as c2,
SAWITH0.c4 as c3,
SAWITH0.c5 as c4,
SAWITH0.c5 as c5,
SAWITH0.c6 as c6,
SAWITH0.c7 as c7,
SAWITH0.c1 as c8
from
SAWITH0
order by c1, c6
Test(Windows)
select distinct D1.c2 as c1,
D1.c3 as c2,
D1.c4 as c3,
D1.c5 as c4,
D1.c5 as c5,
D1.c6 as c6,
D1.c7 as c7,
D1.c1 as c8
from
(select sum(T316025.SALES_QUOTA) as c1,
T329697.DIVISION_DESC as c2,
T329697.AREA_DESC as c3,
T329697.TERRITORY_DESC as c4,
case when T329697.ACCOUNT_NUM is null then T329697.BILL_TO_PARTY_NAME else concat(concat(concat(T329697.BILL_TO_PARTY_NAME, '('), T329697.ACCOUNT_NUM), ')') end as c5,
T150993.X_CONS_MAJOR_GROUP as c6,
T66755.PER_NAME_ENT_YEAR as c7
from
W_DAY_D T66755 /* Dim_W_DAY_D_Common */ ,
W_PRODUCT_D T67704 /* Dim_W_PRODUCT_D */ ,
WC_SLX_DATA_F T316025 /* Fact_WC_SLX_DATA_F */ ,
WC_CUSTOMER_HIERARCHY_D T329697 /* Dim_WC_Customer_Hierarchy_D_With_Error */ ,
OBIEE_SECURITY_LOCATION_SALES T339204,
W_PROD_CAT_DH T150993 /* Dim_W_PROD_CAT_DH_General */
where ( T66755.ROW_WID = T316025.DAY_WID and T316025.CUSTOMER_HIERARCHY_WID = T329697.ROW_WID and T67704.ROW_WID = T316025.PRODUCT_WID and T67704.PROD_CAT2_WID = T150993.ROW_WID and T329697.TERRITORY_CODE = nvl(T339204.LOCATION , T329697.TERRITORY_CODE) and T329697.AREA_DESC = 'GROCERY AREA - EAST' and T329697.DIVISION_DESC = 'DOMESTIC SALES DIVISION' and T339204.USER_NAME = upper('Administrator') and case when T329697.ACCOUNT_NUM is null then T329697.BILL_TO_PARTY_NAME else concat(concat(concat(T329697.BILL_TO_PARTY_NAME, '('), T329697.ACCOUNT_NUM), ')') end = 'JETRO CASH AND CARRY ENTERPRISES INC(10313)' and (T66755.PER_NAME_ENT_YEAR in ('2011', '2012')) and (T329697.TERRITORY_DESC in ('BOSTON', 'CHARLOTTE', 'FLORIDA', 'GREAT LAKES', 'MID-SOUTH', 'NEW YORK', 'WHITE ROSE')) )
group by T66755.PER_NAME_ENT_YEAR, T150993.X_CONS_MAJOR_GROUP, T329697.TERRITORY_DESC, T329697.AREA_DESC, T329697.DIVISION_DESC, case when T329697.ACCOUNT_NUM is null then T329697.BILL_TO_PARTY_NAME else concat(concat(concat(T329697.BILL_TO_PARTY_NAME, '('), T329697.ACCOUNT_NUM), ')') end
) D1
order by c1, c6
If we observe test query is very simple and easy to back track but in Dev it is appending like sawwith0,sawwith1 etc..looking difficult.
Is there in any configuration to change to generate query like Test(with out SAWWITH0).
NOTE:Any how results are same in both instances.
Please help me to resolve this issue.
Thank You,
Anil Kumar.Anil,
Are your database settings the same in both of the rpds dev and test?
Check wether you didn't change anything to the default. Open your RDP double click on the Database in the physical layer and go to Feature you can check all the settings there
Adil -
Roaming with Airport Express (bridging) between two Airport Extreme AP's
I have two Airport Extreme base stations set up on a company LAN that provide wireless coverage for our very large facility. Both are set up with the same SSID and WPA settings and they are 5 channels apart, 1 and 6. We have a cart with a computer and it uses an Airport Express / WDS to allow wired Ethernet bridging to our LAN via the wireless. I can't seem to get the Airport Express to "roam" between the two access points, ie, when one AP's signal gets too weak I would expect that the Airport Express would switch to the stronger of the two AP's. Is this a correct assumption?
In the AirPort utility when you set an Airport Express as a remote it only allows you to specify one "main" AP, so I don't know if this is why I can't seem to get it to roam between both AP's. Anyone have any experience / success doing this? Thanks for any information you can provide.
Joe Jenkinsif possible, it sounds like you need to configure a "roaming" network, not a WDS. Of course, I am assuming that all your base stations have access to your LAN via ethernet...
- Configure each base station with the same network name and authentication/password.
- Put each base station in bridge mode (unless you need 1 of them to distribute ip addresses).
- Each base station needs to be on a different channel - and make sure they spread apart, like 3 and 11, as opposed to 3 and 4.
Basically make sure they are configured exactly the same except for the wireless channel.
Roaming should improve. -
Import / Export between two instances
Hi everyone, in very new in oracle, i have created two new instances, prod and test, apps team have are now doing the setup on the test instance, is it possible to import and export all the things they have done on the test to the prod once they're finish?
thanks and regards,
jmakWhat version of Oracle Application Server are you using? And what type of application (Forms, PL/SQL, Java etc.) are you/they deploying on Oracle Application Server?
If you are using 10gR2 10.1.2.x, refer this:
http://download.oracle.com/docs/cd/B14099_19/core.1012/b13995/testprod.htm#BHBGBJFH
Thanks
Shail -
How to setup thunderbolt bridge between two macbook Pro (retina and 2011 )?
I have a new 13" MB Pro retina and want to use the thunderbolt bridge btween the 13" and the 15" MB pro 2011.
Somehow I cannot do anything with this, and on both laptops it shows the the Thunderbolt slots as "Inactive". I have connected the the two laptops via the new Thunderbolt cable.
I looked around and there is no documentation on how to make this happen. The documentations are very thin or non existent.
I want to use this mechanism to transfer my data from my old MB pro to the new retina one.
your help is greatly appreciated.
Amirunfortunately the option to select thunderbolt/firewire never comes up.
It directly goes to the options from where to transfer and then upcon clicking on it. It keeps on looking with the spinner icon showing and it never finds the other computer.
It does see it through the wiresless but not through thunderbolt.
The more I look to make this happen the more I am convinved that this feature is not fully baked and does not really work as the documentation on "Thunderbolt bridge" setup is next to none existent and only one perons through macrumors has supposedly managed this. It is really a shame as I was looking forward to use this new capability.
All the best, -
Wireless link(bridge) between two ap 1300
Hello, i need to configure wireless link between my 1300 series, how can i use them like a bridge and access point in the same time?
Do i need static ip for BVI interfacess between them for bridge or its need to be DHCP, is there any example? i would be great to know that
thank youHere is a simple config example
Root Non-Root
R(config)#dot11 ssid test n-R(config)#dot11 ssid test
#authentication open n-R(config)#authentication open
#infrastructure-ssid n-R(config)#infrastructure-ssid
#exit #exit
R(config)#int d0 n-R(config)#int d0
# ssid test #ssid test
#statio-role root bridge wireless-client #station-role non-root bridge wireless-client
#no shut #no shut
For BVI interfaces you can assign either static or dynamic IP address
But it is highly recommended to have static ip for better management. -
How to Differntiate between two instances of the same class ????
I don't even know if my question makes sense or not ??
I don't have any code written for it yet.. but its the most critical task for me..
Q ??
say i have multiple objects running of the same class on the same box.
sth like a CPU can have multiple ports. The port class is intantiated
to create every new port for CPU as required.
Now i have to differntiate multiple ports on that box and give
accordingly its statistics back to CPU. sth like how many acces to
ports, how much bandwidth available, how many bits.. i know how to
calculate statistics of ports but i don't know how to differentiate
between multiple ports ??
Eg: Number of sessions created on oneport is 14 and other is 25. Then i
have to give differnt statistics of these 2 ports back to CPU.
I hope all this made some sense ???
Thank youuuuu....reply back if u need some more details....
Edited by: javanewbie83 on Jun 16, 2008 4:28 PMjavanewbie83 wrote:
I don't even know if my question makes sense or not ??
I don't have any code written for it yet.. but its the most critical task for me..
Q ??
say i have multiple objects running of the same class on the same box.
For an example: (its just a correlation to my project.. its actually not CPU and port numbers.. sorry if u misunderstand...)
sth like a CPU can have multiple ports. The port class is intantiated
to create every new port for CPU as required.
Now i have to differntiate multiple ports on that box and give
accordingly its statistics back to CPU. sth like how many acces to
ports, how much bandwidth available, how many bits.. i know how to
calculate statistics of ports but i don't know how to differentiate
between multiple ports ??
Eg: Number of sessions created on oneport is 14 and other is 25. Then i
have to give differnt statistics of these 2 ports back to CPU.
I hope all this made some sense ???
Thank youuuuu....reply back if u need some more details....Simply repeating your unclear original post does not magically make it clear.
Maybe you are looking for
-
Cannot find "Create A Role " in BI Publisher
Hi All, I am trying to configure EBS security and assign catalog permissions to the EBS Roles.Following the Oracle Document Integrating with Other Oracle Security Models - 11g Release 1 (11.1.1) and it says under Security Center-->Role & Permissions
-
Where can I find a download for Firefox version 3.0?
My child's online school webpage doesn't support new versions of Firefox, only version 3.0. Trying to find a free download for 3.0, but can only find 4.0.
-
WHICH IS BETTER! (CASE POLL...please pic
http://us.creative.com/products/prod...y=27&product=5 <SPAN>[url="http://pdaden.com/shop/cart.php?target=product&action=view&product_id=690 2&substring=zen+micro">http://pdaden.com/shop/cart.php?target=product&action=view&product_id=690 2&substring=z
-
Balance in field profit center in line item 001 not field
Dear All SAP Gurus, I am facing the Error at the time of doing J1IH entry. the ref doc type used is Migo Document of ASSETS PURCHASE. While posting the differance amount of Excise Duty the above error is coming. PLEASE HELF Regards Abhijeet
-
Measure a single pulse width using usb 5133
hi im trying to measure the width of a single pulseoutpout from NI SCOPE express however pulse measurements.vi seems to expect more than a single pulse. any ideas? ta