Weblogic Bridge to ActiveMQ

I am currently trying to connect to an activeMQ using a Bridge.
I have the activemq-all-5.6.0.jar in my class path on the start-up of weblogic.
CLASSPATH=/weblogic/Oracle/Middleware/patch_wls1035/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/weblogic/JDK/jdk1.6.0_29/lib/tools.jar:/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/weblogic/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.5.0.jar:/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/weblogic/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/weblogic/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/opt/ActiveMQ/activemq-all-5.6.0.jar:/weblogic/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/xqrl.jar
This is the definition of my Bridge from the server log
####<Dec 14, 2012 10:50:29 AM GMT> <Debug> <MessagingBridgeStartup> <vsl000i031.vspref.adidom.com> <AdminServer> <[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kerne
l.Default (self-tuning)'> <weblogic> <> <> <1355482229704> <BEA-000000> <Bridge IIPToGSDEM's source configurations are:
AdapterJNDIName=eis.jms.WLSConnectionFactoryJNDIXA
Classpath=null
ConnectionURL = tcp://localhost:61616
DestinationType = Queue
DestinationJNDIName = CITOUTBOUND
InitialContextFactory = org.apache.activemq.jndi.ActiveMQInitialContextFactory
ConnectionFactoryJNDIName = QueueConnectionFactory
>
####<Dec 14, 2012 10:50:29 AM GMT> <Debug> <MessagingBridgeStartup> <vsl000i031.vspref.adidom.com> <AdminServer> <[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kerne
l.Default (self-tuning)'> <weblogic> <> <> <1355482229704> <BEA-000000> <Bridge IIPToGSDEM's target configurations are:
AdapterJNDIName=eis.jms.WLSConnectionFactoryJNDIXA
Classpath=
ConnectionURL = t3://localhost:7001
DestinationType = Queue
DestinationJNDIName = INCIDENT_IN_Q_AT_GSD
InitialContextFactory = weblogic.jndi.WLInitialContextFactory
ConnectionFactoryJNDIName = BridgeCF
>
But my connection fails to find the activeMQ name CITOUTBOUND
####<Dec 14, 2012 10:50:29 AM GMT> <Debug> <MessagingBridgeRuntimeVerbose> <vsl000i031.vspref.adidom.com> <AdminServer> <[STANDBY] ExecuteThread: '3' for queue: 'weblog
ic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1355482229710> <BEA-000000> <Exception:
javax.naming.NameNotFoundException: CITOUTBOUND
at org.apache.activemq.jndi.ReadOnlyContext.lookup(ReadOnlyContext.java:235)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at weblogic.jms.adapter.JMSBaseConnection$3.run(JMSBaseConnection.java:299)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.jms.adapter.JMSBaseConnection.startInternal(JMSBaseConnection.java:297)
at weblogic.jms.adapter.JMSBaseConnection.start(JMSBaseConnection.java:249)
I think this has something to do with the activemq jndi properties
java.naming.factory.initial = org.apache.activemq.jndi.ActiveMQInitialContextFactory
# use the following property to configure the default connector
java.naming.provider.url = tcp://localhost:61616
# use the following property to specify the JNDI name the connection factory
# should appear as.
connectionFactoryNames = connectionFactory, QueueConnectionFactory, topicConnectionFactry
# register some queues in JNDI using the form
# queue.[jndiName] = [physicalName]
queue.CITOUTBOUND = CIT.OUTBOUND
queue.EMINBOUND = EM.INBOUND
queue.EMOUTBOUND = EM.OUTBOUND
This file has been places in
[root@vsl000i031 /]# find . -name jndi.properties -print
./weblogic/Oracle/Middleware/user_projects/domains/base_domain/jndi.properties
./weblogic/Oracle/Middleware/wlserver_10.3/server/jndi.properties
If I write java code to establish the connection is successfully connects using the above jndi properties.
I have tried placing the above file into a jar and including it on the weblogic class path, but when I do that the server fails to start.
Hopefully someone can help me with my problem.
Thanks.

I am currently trying to connect to an activeMQ using a Bridge.
I have the activemq-all-5.6.0.jar in my class path on the start-up of weblogic.
CLASSPATH=/weblogic/Oracle/Middleware/patch_wls1035/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/weblogic/JDK/jdk1.6.0_29/lib/tools.jar:/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/weblogic/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.5.0.jar:/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/weblogic/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/weblogic/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/opt/ActiveMQ/activemq-all-5.6.0.jar:/weblogic/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/xqrl.jar
This is the definition of my Bridge from the server log
####<Dec 14, 2012 10:50:29 AM GMT> <Debug> <MessagingBridgeStartup> <vsl000i031.vspref.adidom.com> <AdminServer> <[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kerne
l.Default (self-tuning)'> <weblogic> <> <> <1355482229704> <BEA-000000> <Bridge IIPToGSDEM's source configurations are:
AdapterJNDIName=eis.jms.WLSConnectionFactoryJNDIXA
Classpath=null
ConnectionURL = tcp://localhost:61616
DestinationType = Queue
DestinationJNDIName = CITOUTBOUND
InitialContextFactory = org.apache.activemq.jndi.ActiveMQInitialContextFactory
ConnectionFactoryJNDIName = QueueConnectionFactory
>
####<Dec 14, 2012 10:50:29 AM GMT> <Debug> <MessagingBridgeStartup> <vsl000i031.vspref.adidom.com> <AdminServer> <[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kerne
l.Default (self-tuning)'> <weblogic> <> <> <1355482229704> <BEA-000000> <Bridge IIPToGSDEM's target configurations are:
AdapterJNDIName=eis.jms.WLSConnectionFactoryJNDIXA
Classpath=
ConnectionURL = t3://localhost:7001
DestinationType = Queue
DestinationJNDIName = INCIDENT_IN_Q_AT_GSD
InitialContextFactory = weblogic.jndi.WLInitialContextFactory
ConnectionFactoryJNDIName = BridgeCF
>
But my connection fails to find the activeMQ name CITOUTBOUND
####<Dec 14, 2012 10:50:29 AM GMT> <Debug> <MessagingBridgeRuntimeVerbose> <vsl000i031.vspref.adidom.com> <AdminServer> <[STANDBY] ExecuteThread: '3' for queue: 'weblog
ic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1355482229710> <BEA-000000> <Exception:
javax.naming.NameNotFoundException: CITOUTBOUND
at org.apache.activemq.jndi.ReadOnlyContext.lookup(ReadOnlyContext.java:235)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at weblogic.jms.adapter.JMSBaseConnection$3.run(JMSBaseConnection.java:299)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.jms.adapter.JMSBaseConnection.startInternal(JMSBaseConnection.java:297)
at weblogic.jms.adapter.JMSBaseConnection.start(JMSBaseConnection.java:249)
I think this has something to do with the activemq jndi properties
java.naming.factory.initial = org.apache.activemq.jndi.ActiveMQInitialContextFactory
# use the following property to configure the default connector
java.naming.provider.url = tcp://localhost:61616
# use the following property to specify the JNDI name the connection factory
# should appear as.
connectionFactoryNames = connectionFactory, QueueConnectionFactory, topicConnectionFactry
# register some queues in JNDI using the form
# queue.[jndiName] = [physicalName]
queue.CITOUTBOUND = CIT.OUTBOUND
queue.EMINBOUND = EM.INBOUND
queue.EMOUTBOUND = EM.OUTBOUND
This file has been places in
[root@vsl000i031 /]# find . -name jndi.properties -print
./weblogic/Oracle/Middleware/user_projects/domains/base_domain/jndi.properties
./weblogic/Oracle/Middleware/wlserver_10.3/server/jndi.properties
If I write java code to establish the connection is successfully connects using the above jndi properties.
I have tried placing the above file into a jar and including it on the weblogic class path, but when I do that the server fails to start.
Hopefully someone can help me with my problem.
Thanks.

Similar Messages

  • Weblogic Bridge "failed and will reconnect later"

    The enterprise architecture is as follows:
    1 Physical machine where I have 2 VMs on this machine, and each VM I have 1 domain, 1 Cluster and 1 managed server, and the second VM I have the replicated what I have in first VM.
    In first domain I have the OSB, in the second domain I have SOA.
    What I need ? Send information of queues (topics) of First Domain (OSB) to second domain(SOA).
    At first the only thing I did was:
    In the first domain I created OSB JMS Server, JMS Module, Connection Factory and Queue Topic.
    In the second domain SOA I replied the same thing but with different names.
    Then I created the bridge with configuration default between the first domain and the second domain, the bridge and when active it generates me a message Weblogic Bridge "failed and will reconnect later"
    I did a test on my local machine windows where I created two domains, and the same procedures you did above, but the point was funcinou been activated now for the enterprise environment I'm not managing to make it work, you could tell me what is wrong . in both cases restarted the weblogic server as the machine itself the question that ran on my machine and machine company no.
    If you can give me a light thank.

    This is a bug (6973877, derby only) which has been fixed in 4.5 build14 and 4.4u2p1. Thanks for reporting. The problem is the missing "FOR BIT DATA" in LOG_RECORD column in derby table definition MQTMLRJMSBG41 in broker default.properties file
    - LOG_RECORD VARCHAR(2048) NOT NULL,\
    + LOG_RECORD VARCHAR(2048) FOR BIT DATA NOT NULL,\

  • Apache-Weblogic Bridge does not work?

    I've gone thru' the documentation regarding setting up of apache-weblogic bridge, but still it does not work. Does anyboday have any more details regarding this...EnvironmentOS - Solars 5.7Weblogic - 5.1 SP 8Apache 1.3.12

    I've given up and had to go back to running "Double NAT" which also reports as a "problem" within the AEBS, but I just "ignore" it so the light will always be green.
    It still ***** though, as "Double NAT" is also a reason for "Back to my Mac" not working properly, but how the ** am I supposed to avoid Double NAT when the wireless will not work in bridged mode?!

  • Aborting uploads through Apache/Weblogic bridge

    Hi,
    I have an application to which people should be able to upload files,
    however only of a certain size. So if I detect that the file is too
    large (based on Content-Length), I return an errorpage and don't read
    the data from the browser. This is allowed according to rfc 1867 (which,
    though it is obsoleted, is the one the HTTP1.1 rfc refers to on the
    matter - also the obsoleting rfc doesn't say anything on the matter) and
    all browsers seems to handle this.
    However, once I go through the Apache/Weblogic bridge the behaviour
    changes. When the browser sends the POST request to the bridge, the
    bridge relays it on to the Weblogic server and my code. I immediately
    determine that the file is too large, and returns the previously
    mentioned errorpage. But, the bridge doesn't stop recieving the file
    from the browser until it has got the entire file and then it returns a
    standard bridge POST timeout error (and the timeout has definately not
    been reached).
    Any ideas?
    CAPUT A/S Morten Jensen Phone +45 70 12 24 42
    Nygade 6 Senior Developer Fax +45 70 11 24 42
    DK-1164 Kbh K [email protected] http://www.caput.com

    Add the following attributes:
    <Location /re >
    WLProxySSL ON
    EnforceBasicConstraints false
    </Location>
    Original example in [http://m-button.blogspot.com/2008/11/how-to-configure-weblogic-to-use-ssl.html]
    I hope this helps.

  • Problem with IIS- WebLogic bridge

    Hi!
    We have configured the IIS-WebLogic bridge for WebLogic 6.0 (SP1), with IIS
    4.0 on two separate machines. This works on URLs which directly refer to
    pages lying on the same machine as WebLogic, but some links which refer to
    WebLogic properties file and then determines the page to be displayed (e.g.
    include files). These work when the exact URL (including the IP Address and
    port no. of the WebLogic Server) is pasted in the browser address window,
    but fail when the proxied hyperlink is clicked from another page, or the
    proxied URL is pasted in the address window.
    Can anyone help. This is slightly urgent.
    thanks and regards,
    Prajesh
    Prajesh K. Verma
    Eclaton eBDU India Pvt. Ltd.
    Huis van Eclaton
    25, Lavelle Road
    Bangalore 560 001
    Tel: +91 80 2996569
    Email: [email protected]
    http://www.eclaton.com

    It looks like you have the sendRedirect() problem.
    We will convert the relative uri into Absolute URL in the sendRedirect().
    the logic looks something like:
    if (url is an absolute url) { //i.e: http://host:port/dummy.jsp
    response.setHeader("Location", url);
    sendError("302");
    } else if (url is an absolute uri) { //i.e: /dummy.jsp
    //prepend protocol, host and port info
    } else if (url is a relative uri) { //i.e: dummy.jsp
    //cacluate the context path based on the current request
    //i.e: you are request http://iis:7001/include/index.jsp
    PathTrim=/weblogic is set in the iisproxy.ini
    //so the Location header looks like:
    //http://iis:7001/weblogic/include/dummy.jsp
    As you can see you may need to specify the redirected uri
    to fall into the rules of "proxy by path" or "proxy by mime type" if you want
    the iis to proxy the request properly.
    "Prajesh K. Verma" <[email protected]> wrote:
    Hi!
    We have configured the IIS-WebLogic bridge for WebLogic 6.0 (SP1), with
    IIS
    4.0 on two separate machines. This works on URLs which directly refer
    to
    pages lying on the same machine as WebLogic, but some links which refer
    to
    WebLogic properties file and then determines the page to be displayed
    (e.g.
    include files). These work when the exact URL (including the IP Address
    and
    port no. of the WebLogic Server) is pasted in the browser address window,
    but fail when the proxied hyperlink is clicked from another page, or
    the
    proxied URL is pasted in the address window.
    Can anyone help. This is slightly urgent.
    thanks and regards,
    Prajesh
    Prajesh K. Verma
    Eclaton eBDU India Pvt. Ltd.
    Huis van Eclaton
    25, Lavelle Road
    Bangalore 560 001
    Tel: +91 80 2996569
    Email: [email protected]
    http://www.eclaton.com

  • VAJ3.5.3 Weblogic Bridge problems SP10?

    Hi,
    There seems to be some progressive memory leak in Visual-Age when looking up for
    EJB on Weblogic, anybody faced such problems?
    AND ...
    In VAJ3.5.3 Weblogic Bridge documentation ... The docs/userguide.pdf says that
    (In service-PAck for Integration-Kit) Import VAJ35weblogic510spX.zip where 'X'
    is the service-pack number BUT...I don't find VAJ35weblogic510sp10.zip Anywhere
    on BEA site. Please let me know where to get it from if it is ever available.
    How do you upgrade the bridge to SP10?
    Thanks, Harish.

    Harish,
    SP10 for the VAJ I-Kit is available at -
    http://commerce.bea.com/downloads/weblogic_server_tools.jsp.
    Thanks,
    Nirav.
    Harish SK wrote:
    Hi,
    There seems to be some progressive memory leak in Visual-Age when looking up for
    EJB on Weblogic, anybody faced such problems?
    AND ...
    In VAJ3.5.3 Weblogic Bridge documentation ... The docs/userguide.pdf says that
    (In service-PAck for Integration-Kit) Import VAJ35weblogic510spX.zip where 'X'
    is the service-pack number BUT...I don't find VAJ35weblogic510sp10.zip Anywhere
    on BEA site. Please let me know where to get it from if it is ever available.
    How do you upgrade the bridge to SP10?
    Thanks, Harish.--
    Nirav Chanchani
    BEA Systems, Inc.

  • Apache-weblogic bridge problems with virtual hosting

    Hi,
    Can we set apache-weblogic bridge where apache webserver is configured
    as virtual hosts and each Virtual Host is mapped to a WebLogic server
    instance running on separate port ?
    Please provide doc or reference or your comments if you have solved this
    problem
    Thanks
    Shriniwas

    The above comments notwithstanding, there's one outstanding line in your post that seems crucial:
    Also if I type on my browser the name of another secondary (or virtual) domain name in the form http://domain2.com it brings the website hosted under the primary domain which is domain1.com. In case I type http://www.domain2.com than it works as it should and displays the website hosted under this domain name.
    As far as Apache is concerned, 'domain2.com' and 'www.domain2.com' are completely separate entities. They have to be otherwise if all domain2.com traffic went to this site you'd never be able to host different sites within the domain (e.g. blogs.domain2.com, wiki.domain2.com, blah.domain2.com, etc.). In other words, there is no automatic relationship between a hostname and sub-records of that hostname.
    So what's happening here is Apache is seeing a request for 'domain2.com' which does not match any of its configured virtual hosts, so it handles the request via the default site. If you request www.domain2.com this matches your virtual host configuration so Apache serves the alternate content.
    The fix is simple - trivial, even - you just need to tell Apache all the hostnames that match this site - in this case if you've configured the site's primary address as 'www.domain2.com' and you want it to also respond to requests to 'domain2.com' then add 'domain2.com' to the list of Server Aliases in Server Admin.

  • Overrding default Apache-Weblogic bridge error message

    We are running WLS 5.1 sp5 with Apache as Webserver. I want to know how
    could I display more user freindly error messages when
    weblogic is down and apache is working. Currently we get the default
    Weblogic-Apache down page.
    I tried putting
    ErrorPage http://www.mydomain.com/error.html
    in apache conf file. Now I do not get the default message, but now it can
    not find the above url.
    I am able to this url directly in the browser. Please help ?

    [email protected] (srinivasa reddy) wrote in
    <39bb039e$[email protected]>:
    >
    hi,
    I have a basic question, does webloigc support apache-weblogic
    bridge with mod_ssl/any ssl installed on apache.
    thanks & regards
    [email protected]
    There is a mod_wl_ssl.so in sp4 (i believe). mod_ssl extends Apaches API
    and thereby breaks the WebLogic bridge. For raven installations you need
    mod_wl_ssl_rave.so because raven extends the API even further.
    Joel
    E-Mail: (jbf (at) proceedo dot com)

  • Overriding default errror page for Apache-Weblogic bridge

    I am writing this problem again as nobody has replied me with any solution.
    I want to overide the default error page that comes up when weblogic is down
    for some reason in apache-weblogic bridge. I looked into the weblogic
    documentation and specfied the following in the apache configuration file
    ErrorPage http://www.domain.com/systemerror.html
    But for some reason it is not able to locate the domain as well as the page.
    But if try the same url in the browser, it works. Please help.
    Rakesh

    I am using the plugin and using the error page successfully. Apache and WL
    use the same document root, and the error page is located within the
    document root:
    Within the httpd.conf, I have:
    <IfModule mod_weblogic.c>
    # Config file for WebLogic which defines parameters for plugin
    Include conf/weblogic.conf
    </IfModule>
    Within the weblogic.conf, I have:
    ErrorPage unavailable.html
    Provide your configuration settings.
    "Rakesh Gupta" <[email protected]> wrote in message
    news:39d3bcd3$[email protected]..
    Well, we are using weblogic supplied apache plugin and I am following all
    the steps that is specified in setting up apache plugins in weblogic
    documentation. I do not think it is apache network problem as apache is
    working fine.
    The think the problem is somewhere in the weblogic-apache plugin module.
    "Jesse E Tilly" <[email protected]> wrote in message
    news:[email protected]..
    [email protected] (Rakesh Gupta) wrote in <[email protected]>:
    I am writing this problem again as nobody has replied me with any
    solution.
    I want to overide the default error page that comes up when weblogic is
    down for some reason in apache-weblogic bridge. I looked into the
    weblogic documentation and specfied the following in the apache
    configuration file
    ErrorPage http://www.domain.com/systemerror.html
    But for some reason it is not able to locate the domain as well as the
    page. But if try the same url in the browser, it works. Please help.
    Rakesh
    as worded, that sounds like a network setup problem on the apache server
    side.
    however, it seems that you want a server-connection-timeout error toreturn
    an specific error page via the plug-in. This all depends on how theplugin
    works. If it is how I think it works, there needs to be an INI
    setting
    to sepcify a page. Why? Because the plug-in effectively has control of
    the response. It either needs a way hand control back to the web serveror
    needs to have error pages of its own.
    BEA?
    Jesse

  • RMI Through Apache-Weblogic Bridge

    Hi,
    How to use RMI in apache-weblogic bridge
    Thanks,
    Siva E.

    [email protected] (srinivasa reddy) wrote in
    <39bb039e$[email protected]>:
    >
    hi,
    I have a basic question, does webloigc support apache-weblogic
    bridge with mod_ssl/any ssl installed on apache.
    thanks & regards
    [email protected]
    There is a mod_wl_ssl.so in sp4 (i believe). mod_ssl extends Apaches API
    and thereby breaks the WebLogic bridge. For raven installations you need
    mod_wl_ssl_rave.so because raven extends the API even further.
    Joel
    E-Mail: (jbf (at) proceedo dot com)

  • Encountered errors in Weblogic Bridge

    Hello All,
    I am trying to create a bridge between OTM AQ and Weblogic JMS Queue. For that i have done folloing steps:
    OTM Queue Details:
    URL : jdbc:oracle:thin:@dtmdvtm1.lk.nl:1539:dtmdvtm1
    Username : glogowner
    Pass : xxxx
    Queue Name : NB_AQ_INBOUND_QUEUE
    1. I have created a Weblogic Queue with folloing Details :
    Queue Name : ODITestQueue
    Queue JNDI : weblogic.jms.poc.TestQueue
    Connection Factory for Above queue:
    Connection Factory Name : TestWLSConnectionFactory
    Connection Factory Name : wls.test.XAconnectionFactory
    Targeted to : Admin Server
    2. After that i created DataSource for OTM AQ with following Details:
    DS Name : OTMAQDS
    JNDI : jdbc/OTMAQDS
    Driver Class Name : oracle.jdbc.xa.client.OracleXADataSource
    URL : jdbc:oracle:thin:@dtmdvtm1.lk.nl:1539:dtmdvtm1
    properties: glogowner
    pass : xxxx
    3. After that created the foreign server for the OTM AQ
    Foreign Server Name : AQJMSForeignServer
    JNDI Initial Context Factory: oracle.jms.AQjmsInitialContextFactory
    JNDI Properties: datasource=jdbc/OTMAQDS
    Connection Factory for Foreign Server
    Name : OTMAQConnectionFactory
    Local JNDI Name : aqjms.odi.OTMAQQueue
    Remote JNDI Name : XAQueueConnectionFactory
    Destination for Foreign Server:
    Name : NB_AQ_ORDER_INBOUND
    Local JNDI Name : NBAQORDERINBOUNDLocal
    Remote JNDI Name : Queues/NB_AQ_ORDER_INBOUND
    4. After this created the JMS Bridge Destinations
    A. InboundODIQueue
    1. Connection Factory JNDI Name: wls.test.XAconnectionFactory
         2. Destination JNDI Name: weblogic.jms.poc.TestQueue
         3. Initial Context Factory: weblogic.jndi.WLInitialContextFactory
    B. OutboundQueue
    1. Connection Factory JNDI Name: aqjms.odi.OTMAQQueue
         2. Destination JNDI Name: NBAQORDERINBOUNDLocal
         3. Initial Context Factory: weblogic.jndi.WLInitialContextFactory
    5. After that created a bridge "JOINBRIDGE" , source as "InboundODIQueue" and target as "OutboundQueue"
    But in the monitoring tab of Bridge when we restart the server one error displays for some time "WARN: Failed to connect and will reconnect later" also in the logs i am observing below error's:
    ####<Apr 15, 2013 4:26:00 PM CEST> <Info> <MessagingBridge> <ahl060.ah.nl> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <2f939325acf7729b:76241a93:13e0e15d685:-8000-0000000000000010> <1366035960235> <BEA-200032> <Bridge "OTMAQBridge" is configured to disallow degradation of its quality of service in cases where the configured quality of service is unreachable.>
    ####<Apr 15, 2013 4:26:00 PM CEST> <Error> <MessagingBridge> <ahl060.ah.nl> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <2f939325acf7729b:76241a93:13e0e15d685:-8000-0000000000000010> <1366035960238> <BEA-200025> <Bridge "OTMAQBridge" failed to start, because the quality of service configured (Exactly-once) is unreachable. This is likely due to an invalid configuration or adapter limitations.>
    ####<Apr 15, 2013 4:26:00 PM CEST> <Info> <MessagingBridge> <ahl060.ah.nl> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <2f939325acf7729b:76241a93:13e0e15d685:-8000-0000000000000010> <1366035960316> <BEA-200034> <Bridge "OTMAQBridge" is shut down.>
    But in my JNDI Tree of admin server evrythings seems ok i mean no error mark with my queue or OTM foreign server.
    Could you guys please help me out in this issue i want to forward the messages from my normal queue to OTM AQ.
    Also Note that i can directly post message to OTM AQ that why i am creating a bridge to first post the message in normal queue and from there via bridge transfer to OTM AQ.
    Thanks in Advance
    Regards...

    Hi Dongbo,
    Thanks for the help ..
    But now i am getting following errors:
    ####<Apr 16, 2013 10:02:19 AM CEST> <Info> <Common> <ahl060.ah.nl> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <2f939325acf7729b:-43339555:13e11d57511:-8000-0000000000000262> <1366099339125> <BEA-000628> <Created "1" resources for pool "eis/jms/WLSConnectionFactoryJNDIXA", out of which "1" are available and "0" are unavailable.>
    ####<Apr 16, 2013 10:02:19 AM CEST> <Info> <MessagingBridge> <ahl060.ah.nl> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <2f939325acf7729b:-43339555:13e11d57511:-8000-0000000000000262> <1366099339126> <BEA-200032> <Bridge "OTMAQBridge" is configured to disallow degradation of its quality of service in cases where the configured quality of service is unreachable.>
    ####<Apr 16, 2013 10:02:19 AM CEST> <Info> <MessagingBridge> <ahl060.ah.nl> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <2f939325acf7729b:-43339555:13e11d57511:-8000-0000000000000262> <1366099339126> <BEA-200030> <Bridge "OTMAQBridge" is configured to work in "Exactly-once" mode, and it is actually working in "Exactly-once" mode.>
    ####<Apr 16, 2013 10:02:19 AM CEST> <Info> <MessagingBridge> <ahl060.ah.nl> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <2f939325acf7729b:-43339555:13e11d57511:-8000-0000000000000262> <1366099339126> <BEA-200028> <The bridge "OTMAQBridge" has started transferring messages.>
    ####<Apr 16, 2013 10:02:19 AM CEST> <Warning> <MessagingBridge> <ahl060.ah.nl> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <2f939325acf7729b:-43339555:13e11d57511:-8000-0000000000000264> <1366099339131> <BEA-200026> <Bridge "OTMAQBridge" encountered some problems in one of its adapters or underlying systems. It stopped transferring messages and will try to reconnect to the adapters shortly. (The exception caught was javax.resource.ResourceException: Error sending message.)>
    ####<Apr 16, 2013 10:02:19 AM CEST> <Info> <MessagingBridge> <ahl060.ah.nl> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <2f939325acf7729b:-43339555:13e11d57511:-8000-0000000000000264> <1366099339131> <BEA-200024> <Bridge "OTMAQBridge" refused to obtain connections and transfer any messages, because it has been stopped or suspended, or is shutting down.>
    ####<Apr 16, 2013 10:02:19 AM CEST> <Info> <MessagingBridge> <ahl060.ah.nl> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <2f939325acf7729b:-43339555:13e11d57511:-8000-0000000000000266> <1366099339131> <BEA-200024> <Bridge "OTMAQBridge" refused to obtain connections and transfer any messages, because it has been stopped or suspended, or is shutting down.>
    ####<Apr 16, 2013 10:02:19 AM CEST> <Info> <MessagingBridge> <ahl060.ah.nl> <AdminServer> <[ACTIVE] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <2f939325acf7729b:-43339555:13e11d57511:-8000-0000000000000267> <1366099339132> <BEA-200024> <Bridge "OTMAQBridge" refused to obtain connections and transfer any messages, because it has been stopped or suspended, or is shutting down.>
    ####<Apr 16, 2013 10:02:19 AM CEST> <Info> <MessagingBridge> <ahl060.ah.nl> <AdminServer> <[ACTIVE] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <2f939325acf7729b:-43339555:13e11d57511:-8000-0000000000000265> <1366099339136> <BEA-200020> <Bridge "OTMAQBridge" is stopped.>
    Can you please help me in this regards.
    Regards,

  • Cache doesn't work with Apace-WebLogic bridge

    Hi.We noticed a problem with the download performance of our Java applet with Netscape. It's a tiny applet of 300K that takes only 2 seconds to load using IE, because it is already cached, and with Netscape it is always reloaded and the cache doesn't work.The applet is located on a WebLogic server, and we access it through an Apache server that redirects all requests to the WebLogic server. We noticed that when we access the WebLogic server directly, Netscape cache works fine. However when using the bridge, Netscape ignores the cache, while in IE the cache still works.The Apache server is installed on RedHat Linux 7.1. The bridge is a WebLogic module developed by BEA (the makers of WebLogic) that extends the Apache functionality and enables it to act as a proxy and leave the client (browser) totally unaware of the redirection. The requests are sent to the Apache server and the responses appear to be coming back from it as well.We need to understand why the cache doesn't work when using the bridge. Can you please tell us if you know of this problem or not, and if not -- point us in some direction to check for the problem.Thanks.

    You have to modify the password manually in OEM's target.xml.

  • Weblogic bridge error

    Hello!
    Please, can some one help me with my problem?
    I want to connect from our WebLogic server to OpenMQ JMS Server via bridge. But when i start server, i see this in my console:
    <Warning> <Connector> <BEA-190032> << eis/jms/WLSConnectionFactoryJNDINoTX > ResourceAllocationException thrown by resource adapter on call to ManagedConnectionFactory.createManagedConnection(): "javax.resource.ResourceException: Failed to start the connection ">
    And i find this in server logs:
    Bridge "Bridge-0" failed to connect to the target destination and will try again in 60 seconds. This could be a temporary condition unless the messages repeat several times. (java.lang.Exception: javax.resource.ResourceException: Failed to start the connection at weblogic.jms.adapter.JMSBaseConnection.throwResourceException(JMSBaseConnection.java:1695) at weblogic.jms.adapter.JMSBaseConnection.throwResourceException(JMSBaseConnection.java:1675) at weblogic.jms.adapter.JMSBaseConnection.startInternal(JMSBaseConnection.java:523) at weblogic.jms.adapter.JMSBaseConnection.start(JMSBaseConnection.java:249) at weblogic.jms.adapter.JMSManagedConnectionFactory.createManagedConnection(JMSManagedConnectionFactory.java:190) at weblogic.connector.security.layer.AdapterLayer.createManagedConnection(AdapterLayer.java:803) at weblogic.connector.outbound.ConnectionFactory.createResource(ConnectionFactory.java:91) at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1249) at weblogic.common.resourcepool.ResourcePoolImpl.reserveResourceInternal(ResourcePoolImpl.java:418) at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:342) at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:322) at weblogic.connector.outbound.ConnectionPool.reserveResource(ConnectionPool.java:620) at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:316) at weblogic.connector.outbound.ConnectionManagerImpl.getConnectionInfo(ConnectionManagerImpl.java:380) at weblogic.connector.outbound.ConnectionManagerImpl.getConnection(ConnectionManagerImpl.java:320) at weblogic.connector.outbound.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:129) at weblogic.jms.adapter.JMSBaseConnectionFactory.getTargetConnection(JMSBaseConnectionFactory.java:123) at weblogic.jms.bridge.internal.MessagingBridge.getConnections(MessagingBridge.java:864) at weblogic.jms.bridge.internal.MessagingBridge.run(MessagingBridge.java:1055) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) -------------- Linked Exception ------------ java.lang.NullPointerException at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:385) at javax.naming.InitialContext.lookup(InitialContext.java:392) at weblogic.jms.adapter.JMSBaseConnection$2.run(JMSBaseConnection.java:284) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363) at weblogic.jms.adapter.JMSBaseConnection.startInternal(JMSBaseConnection.java:282) at weblogic.jms.adapter.JMSBaseConnection.start(JMSBaseConnection.java:249) at weblogic.jms.adapter.JMSManagedConnectionFactory.createManagedConnection(JMSManagedConnectionFactory.java:190) at weblogic.connector.security.layer.AdapterLayer.createManagedConnection(AdapterLayer.java:803) at weblogic.connector.outbound.ConnectionFactory.createResource(ConnectionFactory.java:91) at weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1249) at weblogic.common.resourcepool.ResourcePoolImpl.reserveResourceInternal(ResourcePoolImpl.java:418) at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:342) at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:322) at weblogic.connector.outbound.ConnectionPool.reserveResource(ConnectionPool.java:620) at weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:316) at weblogic.connector.outbound.ConnectionManagerImpl.getConnectionInfo(ConnectionManagerImpl.java:380) at weblogic.connector.outbound.ConnectionManagerImpl.getConnection(ConnectionManagerImpl.java:320) at weblogic.connector.outbound.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:129) at weblogic.jms.adapter.JMSBaseConnectionFactory.getTargetConnection(JMSBaseConnectionFactory.java:123) at weblogic.jms.bridge.internal.MessagingBridge.getConnections(MessagingBridge.java:864) at weblogic.jms.bridge.internal.MessagingBridge.run(MessagingBridge.java:1055) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:178) )
    And connect failed.
    Help please!
    Edited by: 988900 on 19.02.2013 2:35

    Hi,
    This happens when the max number of connections in the jms_xa_adp\weblogic-ra.xml gets exhausted. During heavy load the message starts flow.
    In general, the value of the max-capacity attribute should be at least two times the number of bridge instances. For example, if your environment has up to ten message bridge instances targeted, a max-capacity attribute setting of 20 in the default configuration is adequate. But if you increase the number of bridge instances to 15, increase the max-capacity attribute to 30.
    Use the following steps to modify the weblogic-ra.xml descriptor file:
    1.Using the editor of your choice, update the attribute with the desired value.
    2.Deploy the updated adapter.
    3.Stop and restart any bridge instance that requires the new values.
    Example weblogic-ra.xml Descriptor File:
    <weblogic-connection-factory-dd>
    <connection-factory-name>WLSJMSConnectionFactoryLocal</connection-factory-name>
    <jndi-name>eis/jms/WLSConnectionFactoryJNDILocal</jndi-name>
    <pool-params>
    <initial-capacity>0</initial-capacity>
    <max-capacity>20</max-capacity>
    </pool-params>
    </weblogic-connection-factory-dd>
    Mark if this helps.
    Regards,
    Kishore

  • Weblogic Bridge Batch Size setting ?

    What is the per-requisite to set JMS bridge batch size in weblogic 10.3.3
    Customer setting in production:
    QoS --> Exactly once
    Asynchronous Mode Enabled --> True
    Batch Size --> 1
    From weblogic console
    "A messaging bridge instance provides transaction semantics when the QOS is Exactly-once. This envelops a received message and sends it within a user transaction (XA/JTA)."
    From documentation
    Changing the Batch Size
    When the Asynchronous Mode Enabled attribute is set to false and the quality of service is Exactly-once, the Batch Size attribute can be used to reduce the number of transaction commits by increasing the number of messages per transaction (batch). The best batch size for a bridge instance depends on the combination of JMS providers used, the hardware, operating system, and other factors in the application environment. See “Configure transaction properties” in Administration Console Online Help.
    Can batch size be set when Asynchronous Mode Enabled --> True ? If yes, what can be the optimal batch size in a production environment ?
    Right now application works fines for non-batch orders from CRM. When customers submit batch of 500 orders during specific hours of the day, lot of messages get queued up affecting the order completion rate.
    Thanks,
    Murali
    Edited by: murali_ora123 on May 22, 2013 6:28 AM
    Edited by: murali_ora123 on May 22, 2013 6:34 AM

    BatchSize does not take effect in async mode.
    What is the provider of your source destination? If it is not WLS JMS destination, your bridge may actually work in sync mode although you have configured it to work in async mode. In order to work in async mode for exactly-once QOS, a WLS proprietary feature is needed. We should see a log message in your server log file when the switch to the sync mode happens.
    If your bridge is indeed work in sync mode, you need to tune your batch size and batch interval to find the best performance for your application load condition. BatchInterval helps you send a batch before the batch is filled with the number of messages defined by batch size.
    Hope this helps.

  • Apache - Weblogic bridge - tricky question...

    We have WLS 5.1 sp4 on Redhat 6.1 and Apache 1.3.12 on the same box.
    I also have Mass virtual hosting setup under Apache. Before, the Apache-WLS
    bridge was available, I used RewriteRule to proxy the requests:
    Apache:
    <VirtualHost 10.10.10.1:80>
    ServerName test.com
    ServerAlias *.test123.com www.test.com
    VirtualDocumentRoot /www/vhosts/%1.1/%1.2/%1
    DirectoryIndex index.html index.jsp
    <Files *.jsp*>
    RewriteEngine On
    RewriteRule ^/(.*)$ http://www.test.com:7001/$1 [P]
    </Files>
    </VirtualHost>
    WLS:
    weblogic.properties: weblogic.httpd.documentRoot=public_html/
    I also had a link in the public_html directory called www->/www
    So, when a person connect to http://test1.test.com/shoppingcart.jsp, they
    are forwarded to WLS with the path
    /public_html/www/vhosts/test1/shoppingcart.jsp.
    However, if I want to use the Apache-WLS bridge:
    <VirtualHost 10.10.10.1:80>
    ServerName test.com
    ServerAlias *.test.com www.test.com
    VirtualDocumentRoot /www/vhosts/%1
    DirectoryIndex index.html index.jsp
    <Files *.jsp*>
    WeblogicHost localhost
    WebLogicPort 7001
    </Files>
    </VirtualHost>
    If a person connects to http://test1.test.com/shoppingcart.jsp, the path
    forwarded to WLS is /shoppingcart.jsp and it looks for the file in the
    public_html directory and it fails.
    I cannot use the "PathPrepend" directive as the path varies with the URL.
    Any ideas????
    Thanks...
    Hemanth

    You need mod_rewrite which is enabled for Apache on redhat by default.
    hemanth
    "Klaus Oberecker" <[email protected]> wrote in message
    news:[email protected]..
    hi!
    .. I have juste a short question concerning the Apache-Rewriting: do you
    need a special module for that?!? - if so: which one???
    thanks,
    klaus
    Hemanth wrote:
    We have WLS 5.1 sp4 on Redhat 6.1 and Apache 1.3.12 on the same box.
    I also have Mass virtual hosting setup under Apache. Before, the
    Apache-WLS
    bridge was available, I used RewriteRule to proxy the requests:
    Apache:
    <VirtualHost 10.10.10.1:80>
    ServerName test.com
    ServerAlias *.test123.com www.test.com
    VirtualDocumentRoot /www/vhosts/%1.1/%1.2/%1
    DirectoryIndex index.html index.jsp
    <Files *.jsp*>
    RewriteEngine On
    RewriteRule ^/(.*)$ http://www.test.com:7001/$1 [P]
    </Files>
    </VirtualHost>
    WLS:
    weblogic.properties: weblogic.httpd.documentRoot=public_html/
    I also had a link in the public_html directory called www->/www
    So, when a person connect to http://test1.test.com/shoppingcart.jsp,
    they
    are forwarded to WLS with the path
    /public_html/www/vhosts/test1/shoppingcart.jsp.
    However, if I want to use the Apache-WLS bridge:
    <VirtualHost 10.10.10.1:80>
    ServerName test.com
    ServerAlias *.test.com www.test.com
    VirtualDocumentRoot /www/vhosts/%1
    DirectoryIndex index.html index.jsp
    <Files *.jsp*>
    WeblogicHost localhost
    WebLogicPort 7001
    </Files>
    </VirtualHost>
    If a person connects to http://test1.test.com/shoppingcart.jsp, the path
    forwarded to WLS is /shoppingcart.jsp and it looks for the file in the
    public_html directory and it fails.
    I cannot use the "PathPrepend" directive as the path varies with theURL.
    >>
    Any ideas????
    Thanks...
    Hemanth

Maybe you are looking for

  • Email verification error

    Ever since the latest update, I'm receiving this error when trying to setup an additional email account: "Verification error Failed to verify email accounts from this device. All accounts will be deleted." The options are "Yes" or "No" Obviously, I'm

  • Homesharing - deactivate a computer I no longer own.

    Regarding homesharing: I need to deactivate a computer I no longer own.  How do I do this?  I have reached my limit of 5 computers

  • Parsing rowid in block dump

    In a blockdump a rowid is represented like 01 00 03 00 00 00. I think I have found that this is parsed as file 010 block 00300 and row 0000. That makes sense for block and row. For file I think I've pieced together some info which would indicate that

  • Wifi on iphone 3gs

    I have a question it might sound stupid but here it goes. Does the safari on the iphone use wifi connection if i'm connected to a wifi network automatically choosing it over the edge or 3g connection? or the youtube application? I am asking this beca

  • Need to set static IP for iMac

    I have a fairly elaborate home network. I want my iMac to always use the same IP address when it connects because I use it for web development and need it to consistently identify itself on the network. At the same time I need DHCP on for some other