Error in bridge between Weblogic 9 to 8

=D
Edited by: user5793527 on 03-jul-2009 8:50

I solved the problem by creating a filestore on weblogic 8..........:D
Edited by: user5793527 on 03-jul-2009 8:51

Similar Messages

  • 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:11

    Thanks 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?

  • Weblogic JMS bridge between Weblogic and oracle Advanced Queue

    Hi,
    We are facing some issues when we are trying to integrate with Oracle AQ JMS through Weblogic.
    We have configured a Foreign AQ server which points to the oracle Advanced Queue and we are trying to create a Weblogic JMS bridge between AQ and weblogic. The bridge works perfectly if create the connection factories and bridge destinations with NonTX mode. The issue is with XA mode. Also we have deployed the Resource adaper for XAResource to use XA transactions.
    No help is available for the exception on google too :)
    Following is the exception we are getting.
    <An error occurred in bridge "aqjmsbridge" during the transfer of messages (javax.resource.ResourceException: Failed to setup the Resource Adapter Connection for enlistment in the transaction, Pool = 'eis/jms/WLSConnectionFactoryJNDIXA', javax.transaction.SystemException: start() failed on resource 'eis/jms/WLSConnectionFactoryJNDIXA': XA_OK
    javax.transaction.xa.XAException: method start should not be called on weblogic.transaction.internal.IgnoreXAResource
    at weblogic.jms.foreign.IgnoreXAResourceImpl.start(ForeignAQIntegration.java:260)
    at weblogic.connector.security.layer.AdapterLayer.start(AdapterLayer.java:513)
    at weblogic.connector.transaction.outbound.XAWrapper.start(XAWrapper.java:466)
    at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1184)
    at weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceInfo.java:1117)
    at weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerResourceInfo.java:275)
    at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:516)
    at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:443)
    at weblogic.connector.transaction.outbound.XATxConnectionHandler.enListResource(XATxConnectionHandler.java:118)
    at weblogic.connector.outbound.ConnectionWrapper.invoke(ConnectionWrapper.java:218)
    at $Proxy59.receive(Unknown Source)
    at weblogic.jms.bridge.internal.MessagingBridge.processMessages(MessagingBridge.java:1427)
    at weblogic.jms.bridge.internal.MessagingBridge.beginForwarding(MessagingBridge.java:1002)
    at weblogic.jms.bridge.internal.MessagingBridge.run(MessagingBridge.java:1079)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    .).>
    Will appriciate any help for the above.
    Thanks and Regards,
    Navin

    Maybe this if of any help:
    - Re: Help with creating AQ JMS
    or
    - Re: AQ Weblogic integration - JMS-107: Operation not allowed on Connection

  • Problems with bridge between 2 weblogic

    Hello!
              We try to set up a bridge between 2 weblogic 8.0 on 2 machines to send JMS-messages.
              Our set up / system looks like:
              http://www.dsv.su.se/~fr-ander/images/Overview.jpg
              When we send our messages they do not seems to get all the way trough.
              Look at the following image that describes machine A during a send and receive.
              http://www.dsv.su.se/~fr-ander/images/weblogic_tables.JPG
              1 The bridge is running
              2 We have not send a message yet and the monotoring looks like this.
              3 We send a message from machine A to B.
              4 Very often, just after the message is sent, we get this message from the monotoring of the bridge:
              "WARN: faild and will connect later"
              It lokks like the bridge is connected again after 15-30 sec.
              How ever it seems that machine B indicates that something happens. In the next step (5) we have done the opposite and send from B to A. We get the same result on both machines when we monotor them after a send. In step 5 you see the monotoring of machine A after a send from B. The only difference is tha the bridge from B to A seems to be more stable and do not break down. It looks like it have the same state all the time "Forwarding messages".
              5 Assume that we have send a message from B to A then it seems that we get a indication about that at A ("Messages high" and Messages received" increase), something do get to the destination. (The same happens if the secnario is from A to B). But we do not get a indication in the "Messages" column!! When we try to read from the queue FredrikReceive or OscarReceive we get nothing.
              Do you guys got any idea why this happens?
              A) Why is the bridge "falling down" all the time when we send and why the bridge "get up" again a while later.
              B) Why do we do not find the real message, why do we get the indication that something happens but we can not read the message???
              Best regards
              Fredrik and Oscar

    Hi Fredrik.
              Message bridges are tricky things, and there are a number of requirements that need to be in place for them to work correctly:
              - <b>ALL</b> JMS objects need to be unique between domains for XA transactions to work correctly. From looking at your diagram, this appears to be the case, but I can't see the name of higher level objects like your connection factory and JMS server.
              - the domains must have trust enabled, which means setting the same domain security credential for both domains
              - the correct adapter rar file needs to be deployed for the domain.
              Soooo...
              - which adapter are you using for the JMS bridge? (what is the name of the RAR file?)
              - are you getting any warnings/errors as part of starting the message bridge? From looking at the administration console, everything looks OK on first flush because you're getting a consumer plugged in.
              But if you're not seeing those bytes pending disappear, that means there are transaction issues in communicating between the domains. (most likely caused by domain trust)
              Try enabling the following switches in your start script for both domains:
              -Dweblogic.Debug.DebugMessagingBridgeStartup=true
              -Dweblogic.Debug.DebugMessagingBridgeRuntime=true
              There's a pretty good FAQ for troubleshooting messaging bridges that I've used in the past here: http://e-docs.bea.com/wls/docs81/faq/msgbridge.html#251107
              ...and the general configuration reference for messaging bridges is here, if you haven't gone there already (apologies if you have) - http://edocs.bea.com/wls/docs81/ConsoleHelp/messaging_bridge.html#1107082
              <br>
              Kevin Powe
              http://www.integral-techsolutions.com

  • 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.
              

  • Creating Bridge on weblogic to connect between OSM and AIA

    Hi,
    Am trying to create a messaging bridge in weblogic server to move msg from a queue to AIA's queue. I have created both Source & Target destinations and associated to bridge. My doubt is as both servers are different app servers, if i use initial context factory of AIA in target bridge destination will it be able to handle it or any steps needs to be done to handle it? Also how to set up global trust between two servers?
    As per my knowledge turst credentials should be given in weblogic console as follows,
    DomainName->Security->Advanced->Credential
    This credential is the same credential that must match on AIA. Pls confirm this.
    Can anybody Pls clarify on my queries asap....
    Thanks in advance
    Bharathi

    Hi Naveen,
    Thanks for your inputs.
    Those 2 points are clear now. Can u please tell me is there anything to edit in the bridge configuration after ran that script in weblogic console.
    I have followed the below mentioned steps after ran that script
    1.
    - Weblogic console,
    - Services
    - JDBC
    - Data Sources
    - Newly created JDBC Data Source which points to AIA AQ database
    - Connection Pool: set user and password.
    - Services -
    - JDBC
    - Data Sources
    - Newly created JDBC Data Source which points to AIA AQ database: select the Target Server.
    - Save changes.
    2.
    - AQ JMS Module (bridge_jms_module).
    - Security Tab
    - Role Tab: create new Role e.x JMSAQRole. Click on the role and Add Conditions "Access to Every One"
    3.
    Do the same thing for the "osm-jms-role", but the role is already created (also there is a condition already created "Group : OMS_client or OMS_ws_api or OMS_xml_api or OSM_automation or Cartridge_Management_WebService", but we to create the new condition)
    Please remember that am not using latest AIA, so i have created queues in AIA DB manually.
    can u please tell me why bridge is in Inactive state and shows warning as WARN: failed and will reconnect later.
    Also weblogic server logs shows as below
    <Warning> <MessagingBridge> <BEA-200026> <Br
    idge "CFS_2_AIA_CreateCustomer" encountered some problems in one of its adapters
    or underlying systems. It stopped transferring messages and will try to reconne
    ct to the adapters shortly. (The exception caught was javax.resource.ResourceExc
    eption: Failed to setup the Resource Adapter Connection for enlistment in the tr
    ansaction, Pool = 'eis/jms/WLSConnectionFactoryJNDIXA', javax.transaction.System
    Exception: start() failed on resource 'eis/jms/WLSConnectionFactoryJNDIXA': XA_O
    K
    javax.transaction.xa.XAException: method start should not be called on weblogic.
    transaction.internal.IgnoreXAResource
    at weblogic.jms.foreign.IgnoreXAResourceImpl.start(ForeignAQIntegration.
    java:260)
    at weblogic.connector.security.layer.AdapterLayer.start(AdapterLayer.jav
    a:513)
    at weblogic.connector.transaction.outbound.XAWrapper.start(XAWrapper.jav
    a:466)
    at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerReso
    urceInfo.java:1184)
    at weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerRe
    sourceInfo.java:1117)
    at weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerRes
    ourceInfo.java:275)
    at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(Se
    rverTransactionImpl.java:516)
    at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(Se
    rverTransactionImpl.java:443)
    at weblogic.connector.transaction.outbound.XATxConnectionHandler.enListR
    esource(XATxConnectionHandler.java:118)
    at weblogic.connector.outbound.ConnectionWrapper.invoke(ConnectionWrappe
    r.java:218)
    at $Proxy112.createMessage(Unknown Source)
    at weblogic.jms.bridge.internal.MessagingBridge.onMessageInternal(Messag
    ingBridge.java:1323)
    at weblogic.jms.bridge.internal.MessagingBridge.onMessage(MessagingBridg
    e.java:1251)
    at weblogic.jms.adapter.JMSBaseConnection$29.run(JMSBaseConnection.java:
    2269)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    147)
    at weblogic.jms.adapter.JMSBaseConnection.onMessage(JMSBaseConnection.ja
    va:2265)
    Please suggest how to resolve this issue.
    Thanks in advance
    Bharathi
    Edited by: Bharathi on Nov 29, 2011 6:51 AM
    Edited by: Bharathi on Nov 29, 2011 6:59 AM

  • JMS Bridge Between HornetQ (on Jboss 5.1) and WebLogic 10.3

    Greetings!
    I'm trying to set up a bridge between HornetQ (JBoss 5.1) and WebLogic 10.3. The bridge should be set up on WebLogic. It'll read messages from queue on HornetQ and post them on WebLogic Queue.
    Here are my preferences on Source Destination:
    Adapter JNDI Name eis.jms.WLSConnectionFactoryJNDINoTx
    Classpath: empty (?)
    Connection URL: jnp://<hostName>:1099
    Initial Context Factory: org.jnp.interfaces.NamingContextFactory
    Connection Factory JNDI Name: /tp/ConnectionFactory
    Connection JNDI Name: /etgreceiver/queue
    Destination Type: Queue
    User Name: guest
    User Password: guest.
    WebLogic prints a warning: <12.10.2010 18:25:40 MSD> <Warning> <Connector> <BEA-190032> << eis/jms/WLSConnectionFactoryJNDINoTX > resourceAllocationException thrown by resource adapter on call to ManagedConnectionFactory.createManagedConnection(): "javax.resource.ResourceException: ConnectionFactory: failed to get initial context (InitialContextFactory =org.jnp.interfaces.NamingContextFactory, url = jnp://AIskrich:11099, user name = guest) ">
    I have no idea what the problem is, could anyone help?

    Yes - I think "pre_classpath" is probably the right place to reference the non-WebLogic jars. That said, layered products like BPEL often provide tooling that simplifies messaging integration -- I assume some even help setup classpaths and may have their own recommended unique way to set them. So I recommend consulting your layered product's documentation and forums.
    It looks like this posting already covers the needed HornetQ specific settings. If it turns out that you're still interested in working directly at the WebLogic layer instead of the BPEL layer, see the interop FAQ http://docs.oracle.com/cd/E21764_01/web.1111/e13727/interop.htm#JMSPG553 for a full treatment of WebLogic's built in JMS provider integration features.
    HTH,
    Tom

  • CreateManagedConnection Error messaging bridge MQ

    Hi all,
              I've successfuly set up a messaging bridge between 2 Weblogic queues, but I
              get the following when setting up an MQSeries queue as source and WL queue
              as target:
              javax.resource.spi.ResourceAllocationException: CreateManagedConnection
              Error: Failed to start the connection
              at
              weblogic.connector.common.internal.ConnectionPool.makeResources(ConnectionPo
              ol.java:978)
              at
              weblogic.connector.common.internal.ConnectionPool.getConnection(ConnectionPo
              ol.java:1708)
              at
              weblogic.connector.common.internal.ConnectionPoolManager.getConnection(Conne
              ctionPoolManager.java:163)
              at
              weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(
              ConnectionManagerImpl.java:25)
              at
              weblogic.jms.adapter.JMSBaseConnectionFactory.getSourceConnection(JMSBaseCon
              nectionFactory.java:97)
              at
              weblogic.jms.bridge.internal.MessagingBridge.getConnections(MessagingBridge.
              java:699)
              at
              weblogic.jms.bridge.internal.MessagingBridge.execute(MessagingBridge.java:89
              9)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
              <May 13, 2002 7:11:23 PM PDT> <Error> <Connector> <190006> <Error granting
              conne
              ction request.>
              It finds everything fine in LDAP for the MQ queue. Does anyone know what
              would cause this exception?
              I'm using Weblogic 7, and MQSeries 5.2.1
              Thanks,
              Duke
              [email protected]
              

    Hi Duke,
              Looks like that you have not configured the MQSeries
              side of the bridge. There are a couple of things you have to configure in
              order to make bridge work for 3rd party
              products. Please see details in the e-doc:
              http://edocs.bea.com/wls/docs70/adminguide/msgbridge.html#1063962
              Besides, you have to configure the security attributes according to the
              requirement of your MQSeries setup.
              Hope this helps.
              Dongbo
              "Duke Nguyen" <[email protected]> wrote in message
              news:[email protected]...
              > Hi all,
              >
              > I've successfuly set up a messaging bridge between 2 Weblogic queues, but
              I
              > get the following when setting up an MQSeries queue as source and WL queue
              > as target:
              >
              > javax.resource.spi.ResourceAllocationException: CreateManagedConnection
              > Error: Failed to start the connection
              > at
              >
              weblogic.connector.common.internal.ConnectionPool.makeResources(ConnectionPo
              > ol.java:978)
              > at
              >
              weblogic.connector.common.internal.ConnectionPool.getConnection(ConnectionPo
              > ol.java:1708)
              > at
              >
              weblogic.connector.common.internal.ConnectionPoolManager.getConnection(Conne
              > ctionPoolManager.java:163)
              > at
              >
              weblogic.connector.common.internal.ConnectionManagerImpl.allocateConnection(
              > ConnectionManagerImpl.java:25)
              > at
              >
              weblogic.jms.adapter.JMSBaseConnectionFactory.getSourceConnection(JMSBaseCon
              > nectionFactory.java:97)
              > at
              >
              weblogic.jms.bridge.internal.MessagingBridge.getConnections(MessagingBridge.
              > java:699)
              > at
              >
              weblogic.jms.bridge.internal.MessagingBridge.execute(MessagingBridge.java:89
              > 9)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
              > <May 13, 2002 7:11:23 PM PDT> <Error> <Connector> <190006> <Error granting
              > conne
              > ction request.>
              >
              > It finds everything fine in LDAP for the MQ queue. Does anyone know what
              > would cause this exception?
              > I'm using Weblogic 7, and MQSeries 5.2.1
              >
              > Thanks,
              > Duke
              > [email protected]
              >
              >
              

  • Configure a Bridge between Websphere MQ 6.0(MQSeries) and Weblogic9.2

    Bridge between Websphere MQ 6.0(Previously MQSeries) and Weblogic 9.2
    At Websphere MQ 6.0 side:
    „³ Create a folder by the name JNDI-Directory under C drive
    „³ Create the queue manager by using the command at the command prompt:
    crtmqm testqmgr or you can create it by GUI also.
    „³ Start the queue manager: strmqm testqmgr. or you can start it by GUI also
    „³Define Local Queues in the newly created queue manager testqmgr by using GUI or by using Commands .Assume we have created a local queue by the name MyMDBQueue.
    „³ Create a file by the name MyAdmin.config,It¡¦s a configuration file under C:\Program Files\IBM\WebSphere MQ\Java\bin directory.
    Now add the following entries into the config file
    INITIAL_CONTEXT_FACTORY=com.sun.jndi.fscontext.RefFSContextFactory
    PROVIDER_URL=file:/C:/JNDI-Directory
    SECURITY_AUTHENTICATION=none
    Without the above step also you can do that. How it means
    You have a file called JMSAdmin.config under C:\Program Files\IBM\WebSphere MQ\Java\bin directory.jsut uncomment the above mentioned 3 properties and comment the remaing that¡¦s it.
    Next run the below command
    C:\Program Files\IBM\WebSphere MQ\Java\bin>JMSAdmin.bat ¡Vcfg MyAdmin.config
    Once you run the above command you will see
    this prompt InitCtx>.
    Now your command prompt will stop at
    InitCtx>
    Just type the following commands
    a) InitCtx> def xaqcf(SenderQCF) qmgr(testqmgr) press enter
    b) InitCtx> def q(MyMDBQueue) qmgr(testqmgr) queue(MyMDBQueue) press enter
    c) InitCtx> end press enter
    At step a it will create a queue connection factory by the name SenderQCF UNDER QueueManager testqmgr
    At step b it will create a queue by the name MyMDBQueue UNDER
    QueueManager testqmgr
    At step c Its ends the Context cration process
    At Weblogic 9.2 side:
    Go to your domain location lib folder i.e. In my system it¡¦s in C:\bea\user_projects\domains\bplus_domain\lib. Add the following jars in lib folder
    1) com.ibm.mq.jar
    2) com.ibm.mqjms.jar
    3) commonservices.jar
    4) connector.jar
    5) dhbcore.jar
    6) fscontext.jar
    7) jms.jar
    8) jta.jar
    9) ldap.jar
    10) postcard.jar
    11) providerutil.jar
    Now restart the weblogic server. now the server reads all the jars
    Open console of weblogic9
    Go to Services„³Messaging„³Bridges„³Jms bridge destination. under this create new
    jms bridge destination.
    Source of jms bridge destination:
    Adapter JNDI Name: eis.jms.WLSConnectionFactofyNoTX
    Classpath:<optional>
    Connection URL: file:/C:/JNDI-Directory
    Initial Context Factory: com.sun.jndi.fscontext.RefFSContextFactory
    Connection Factory JNDI Name: SenderQCF
    Destination JNDI Name: MyMDBQueue
    Destination Type:Queue
    User Name: <optional>
    User Password: <optional>
    Confirm User Password: <optional>
    Now activate the changes what you have made
    Destination of jms bridge destination:
    Adapter JNDI Name: eis.jms.WLSConnectionFactofyNoTX
    Classpath: < optional>
    Connection URL: t3://localhost:7001
    Initial Context Factory: weblogic.jndi.WLInitialContextFactory
    Connection Factory JNDI Name: ConnectionFactory1
    Destination JNDI Name: ResponseQueue
    Destination Type:Queue
    User Name: < optional>
    User Password: < optional>
    Confirm User Password: < optional>
    Now configure a new Bridge by using above configured two source and destination
    jms bridge destinations
    At source you have to select Other JMS.don¡¦t select Weblogic7 or Higher because the source of this bridge is WebsphreMQ, not weblogic
    Now once again RESTART The weblogic9.2 serever and put one message on WebsphreMq queue and check whether it reaches the destination queue of weblogic
    Enjoy the session

    Is this working for you? What errors do you get in the logs (bam, EL)?

  • Memory Error in Bridge while running a script with multiple moveTo()'s.

    I have written a script to create folders based on the names of assets in the parent folder, then move the assets with matching names into the appropriate folders. The script runs perfectly up to somewhere between 1,000 to 1,500 images moved and then I receive a memory error from Bridge.
    I have been running this on folders with an excess of 25,000 assets in them. My work around was to put a simple counter in the script to let me know when 1,000 assets had been moved, throw up an alert, and then I would view the Task Manager to let me know when the CPU usage had dropped below 50% and would ok the alert, then it would run the next 1000 assets.
    My question, is it possible in scripting to monitor your memory usage to allow a pause in the script so Bridge processing can catch up?

    Don't do that!
    $.sleep() doesn't "sleep". ExtendScript is not multi-threaded. $.sleep just waits on the $.sleep() command to execute. It actually blocks all processing rather than free up the processor to do things like garbage collection.
    First try the $.gc() command. To my knowledge there is no way to track ES' memory usage.
    If that doesn't work, try scheduling a task...
    Let's say that you find that after 1000 moves, it takes 60 seconds for the processor to cool off:
    doAThousandMoves = function() {
    // execute 1000 moves
    app.scheduleTask( "doAThousandMoves()", 60000, true );
    The way I would actually code this is to scan the folder tree and create a global array that contained all of the files to be moved.
    I would then move them 1 at a time, shifting them off the array. Something like this:
    var mover = {}; // global object declaration
    mover.init = function() {
    mover.files = new Array();
    // fill mover files with the file objects to be moved.
    app.scheduleTask( "mover.move()", 10 );
    mover.move = function() {
    var i = 0;
    while ( i++ < 1000 ) {
    file = mover.files.shift();
    // move file
    if ( mover.files.length > 0 ) {
    app.scheduleTask( "mover.move()", 60000 );
    In fact, you should probably break this into chunks of about 10 or so at a time (you can reduce the gap between calls). Doing so will make the operation appear to be running as a background process.
    Regards
    Bob

  • Enabling Trust Between WebLogic Server Domains

    Hi everyone,
    We have two sites, each one running one WL 8.1 instance. The problem is that we have different users in each one, and they need to access both sites (using a RMI call).
    When the user is created in both sites, there is no problem. But we do not want to replicate all users in all sites.
    So this is what we are trying to do:
    Create the user in one site and enable trust between Weblogic Server domains (giving both sites the same password), so once one user is authenticated, the other site will not try to authenticate this user again. But since this user does not exist in the other site, he has no permission to do anything at all. Because of that we receive the following error message: "User a7ax does not have permission on br to perform lookup operation."
    Does anyone have any idea about how we can handle this, and enable the users to use other sites, without creating the user in both sites?
    Thanks in advance.
    Cesar

    In order to debug this issue you need to determine which kind of security has been applied on the web service deployed on remote weblogic server.
    Whether it requires username/password from the calling web service ?
    or it requires any kind of digital certificate from the calling web service etc......
    the most usual secnario where cross-domain security is required is as:
    If a user- Test calls a service- ServiceA on Weblogic Domain-domainA and provides its credentials and is authenticated properly.
    Then if this service requires to call another service -ServiceB on another Weblogic Domain - DomainB which is also secured then there should be a cross-domain trust should be enabled between the domains DomainA and DomainB so that the subject populated in the domainA can be transferred to DomainB.
    Now you should determine whether this is the secnario you are trying to achieve or it is something else.
    Also try to use the following debug flag in the DomainB where the provider service is deployed to get the exact reason why it is failing to verify the security check.
    -Dweblogic.DebugSecurityAtn=true
    This debug flag is enabled as JAVA_OPTIONS.
    Thanks,
    Sandeep

  • Communicating between Weblogic 8.1 and Weblogic 10.3

    Hi,
    I have a requirement where in I need to access Queues in Weblogic 10.3 from Weblogic 8.1 and viceversa.
    Weblogic 8.1 :
    This has a proxy/web application that needs to put request to a Queue exposed in weblogic 10.3
    And will again poll for a Response Queue in weblogic 10.3
    Is it feasible, knowing the fact that jdk version in 8.1 is 1.4 & Jdk version is 1.6 in 8.1 ?
    Can we lookup for Queue defined in 8.1 in Weblogic 10.3 ? Can we use JMS adapter in 10.3 for acheiving this.
    Any help is greatly appreciated.
    Thanks !!

    Avoid using Message Bridges to receive messages.
    See the best practice: http://download.oracle.com/docs/cd/E15051_01/wls/docs103/jms/interop.html#wp1009272
    Q. When should I avoid using a messaging bridge?
    A. Other methods are preferred in the following situations:
        * Receiving from a remote destination—use a message driven EJB or implement a client consumer directly.
        * Sending messages to a local destination—send directly to the local destination.
        * Environment with low tolerance for message latency. Messaging Bridges increase latency and may lower throughput. Messaging bridges increase latency for messages as they introduce an extra destination in the message path and may lower throughput because they forward messages using a single thread.
        * Forward messages between WebLogic 9.0 domains—Use WebLogic Store-and-Forward.

  • Global Trust Between WebLogic Domains ?

    Hi there,
    Need clarification on "Global Trust between weblogic domains "
    My scenario :
    WebLogic Version installed                : 10.3.5.0
    Linux physical machines                     :  2
              x - machine
              y - machine
    Now, I've created new domain with AdminServer , and 2 managed servers on x-machine. And, 2 more managed servers on y-machine.
         x-machine --> AdminServer + 2 managed servers
         y-machine -->  2 managed servers
    Created a cluster for all the 4 managed servers.
    My question : Though we have created 2 domains -
                                                                                         Domain 1- on x-machine where we have Admin + 2 nodes
                                                                                         Domain 2 - on y-machine where we have 2 nodes
    Now , do we require to create/enabe "Global trust between these domains to communicate  ? And, enable cross-domain security also  ? Is this required  ?
    Or in which situations we require to enable trust between domains ?
    Can someone explain me.
    Thanks

    Looking to this Oracle Doc >> http://docs.oracle.com/cd/E24329_01/web.1211/e24375/basics.htm#BRDGE128
    "Typical tasks required to manage a messaging bridge using the Administration Console include
    Creating a trusted security relationship. See "Configuring Domains for Inter-Domain Transactions" in Programming JTA for Oracle WebLogic Server"
    And, clicking the link to Configuring Domains for Inter-Domain Transactions, there's two types of communications:
    Inter-domain—The transaction communication is between servers participating in transactions that are not in the same domain.
    Intra-domain—The transaction communication is between servers participating in transactions within the same domain
    Check the rest of the doc to know how to configure each type, and apply the one that matches your case..
    Hope it helps
    Regards,
    Mohab

  • 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

  • SSL Between Weblogic and IBM MQ

    Dear All,
    I would like to know the SSL configuration steps between Weblogic and MQ Communication.
    The existing setup is, To put message in MQ, We are using MQ Java API directly. To get message from MQ, We are using JMS API with binding file.
    Now, we are in a position to enable SSL in those communication between Weblogic and MQ. Here Weblogic is Treated as Client & MQ is treated as Server. If any one throw some light here would be greatful for us to enable 2-way SSL.
    In High Level, Initially we planned for One-Way SSL like below,
    1. Create the Trust Store in MQ Server
    gsk7capicmd -keydb -create -db "/var/mqm/qmgrs/WLMQTest/ssl/WLMQTest.kdb" -pw serverpass -type cms -expire 365 -stash -fips
    2. Create Self-Signed Certificate Initially for MQ Server
    gsk7capicmd -cert -create -db "/var/mqm/qmgrs/WLMQTest/ssl/WLMQTest.kdb" -pw serverpass -label ibmwebspheremqwlmqtest -dn "CN=WLMQTest,O=,C=" -expire 365 -fips -sigalg sha1
    gsk7capicmd -cert -extract -db "/var/mqm/qmgrs/WLMQTest/ssl/WLMQTest.kdb" -pw serverpass -label ibmwebspheremqwlmqtest -target "/var/mqm/qmgrs/WLMQTest/ssl/*WLMQTest.crt*" -format ascii -fips
    3. Create the Key Store in Weblogic Server
    keytool -genkey -alias mydomain -keyalg RSA -keystore keystore.jks -keysize 2048
    4. Copy the Public SSL Server Certificate to the Weblogic Server
    Copied the WLMQTest.crt from MQ Server into a directory under Weblogic Server Domain
    The below command list the content of the keystore.jks
    keytool -list -keystore keystore.jks
    Keystore type: JKS
    Keystore provider: SUN
    Your keystore contains 1 entry
    mydomain, Dec 26, 2011, PrivateKeyEntry,
    Certificate fingerprint (MD5): E7:B6:4C:02:A7:DE:A3:66:27:66:38:A1:87:DF:8F:0F
    And tried to import the WLMQTest.crt
    keytool -import -alias mydomain -file WLMQTest.crt -keystore keystore.jks -storepass serverpass
    We got the error like below,
    keytool error: java.lang.Exception: Public keys in reply and keystore don't match
    5. Configuring the Channels.
    Please advice, Is it a right way? Positively expected your valuable comments
    Edited by: user10094300 on Dec 26, 2011 1:17 AM

    Check this:
    http://www.ibm.com/developerworks/websphere/library/techarticles/0510_fehners/0510_fehners.html

Maybe you are looking for

  • Using garageband as an audio input

    I am trying to figure out a way to funnel the output audio as an input on a webcam. So, lets say we are using skype. I want skpe to recognize the video from my webcam for the video input and only the audio that is coming out of garageband (the audio

  • How do I build a dynamic property list?

    It has been a long time and all my old Authorware stuff is in the shed somewhere. I want to dynamically build a property list statement in Authorware 7 I figured it was something like property_list[1]["#"^variable_text] but this doesn't seem to be wo

  • Why to use beans?

    why to use beans?

  • Can't open Itunes 9.0.2  getting message: installer has insufficient...

    I need help, I was asked to update Itunes to the lastest version. But now I can't open or install. I get this message: The installer has insufficient priviledges to access this directory C:/program data/ applecomputer / installer cache/ itunes 9.0.2.

  • Datastore control center error

    i need help regarding our backup ipcc server. the primary ipcc server is showing this error about backup ipcc server. kindly suggest some solution to resolve this issue. thanks, Zeeshan iqbal.