How to connect weblogic 8.1 to IBM MQ Series from remote machines?

Hi,
          I am trying to connect WebLogic 8.1 to IBM MQ Series 6.0 both are running in a seperate machines.Can we do using JNDI services? Can anyone help me to fix this issue?

I'm cutting/pasting my notes on the topic, including MQ specific notes. Start with the Integrating Remote JMS Providers FAQ (link below). You can also search this newsgroup for answers.
          Tom
          JMS Integration of Foreign Vendors with BEA WebLogic Server
          The following notes are derived mostly from "http://dev2dev.bea.com/technologies/jms/index.jsp".
          For additional questions, a good forum for WebLogic questions in general is "newsgroups.bea.com". These can be mined for information by using Google's newsgroup search function.
          JMS Integration Overview
          - For integration with "non-Java" and/or "non-JMS" platforms, see "Non-Java Integration Options" below.
          - For a foreign JMS vendor to participate in a WL transaction it must support XA. Specifically, it must support the javax.jms.XA* interfaces.
          - In WL versions 6.0 and up it is possible to make synchronous calls to foreign JMS vendors participate in a WL transaction as long as the foreign vendor supports XA.
          - WL 6.0 and 6.1 MDBs can be driven by foreign vendors non-transactionally. They can be driven transactionally by a select few foreign vendors (MQ is not part of the select few)
          - WL 7.0 and later, MDBs can be driven by foreign vendors transactionally and non-transationally.
          - WL 6.1 and later WL provides a messaging bridge feature. Messaging bridges forward messages between any two JMS destinations, including foreign destinations, and can transfer messages transactionally or non-transactionally.
          - WL 8.1 JMS provides additional features that simplify transactional and JNDI integration of foreign vendors. See http://edocs.bea.com/wls/docs81/jms/intro.html#jms_features and http://e-docs.bea.com/wls/docs81/faq/interop.html
          Integration with 8.1 Details
          To start, first read the "Integrating Remote JMS Providers FAQ" (released in Dec 2004) at:
          http://e-docs.bea.com/wls/docs81/faq/interop.html
          A good overview of 8.1 JMS interop capability is the presentation "Integrating Foreign JMS Providers with BEA WebLogic Server" here:
          http://www.bea.com/content/files/eworld/presentations/Wed_03_05_03/Application_Servers/1097-Foreign_JMS_Providers_WLS.pdf
          This document refers to helpful new 8.1 features, which simplify integration. These include:
          http://edocs.bea.com/wls/docs81/ConsoleHelp/jms_config.html#accessing_foreign_providers
          http://edocs.bea.com/wls/docs81/jms/j2ee_components.html#1033768
          And are also summarized here (under interoperability):
          http://edocs.bea.com/wls/docs81/jms/intro.html#jms_features
          Also read the MDB documentation, which extensively covers integrating foreign vendors:
          http://edocs.bea.com/wls/docs81/ejb/message_beans.html
          The 8.1 features are likely sufficient for most 8.1 integration needs, but you may want to refer to the "Using Foreign JMS Providers With WLS" white-paper mentioned below, which is 7.0 specific but contains specific examples of configuring non-WebLogic JMS vendors. See also notes on "MQ" below.
          Integration with 6.1 and 7.0 Details
          Read the "Using Foreign JMS Providers With WLS" white-paper:
          http://dev2dev.bea.com/products/wlserver/whitepapers/jmsproviders.jsp
          Note that this white-paper does not take into account 8.1 features.
          For 7.0 read the extensive 8.1 MDB documentation, which largely also applies to 7.0:
          http://edocs.bea.com/wls/docs81/ejb/message_beans.html
          Non-Java Integration Options
          - WL JMS has a JNI based C client which is available for Windows and some UNIX platforms. This C client supports 7.0 and up, and will be officially packaged with WLS in 9.0 (virtually unchanged). The C API is currently only supported through the jms newsgroup. See "JMS C API", here:
          http://dev2dev.bea.com/technologies/jms/index.jsp
          - WL supports direct Windows COM access through its "JCOM" feature. This doesn't include the JMS API, but one can invoke EJBs which in turn invoke JMS. See
          http://e-docs.bea.com/wls/docs61/jcom.html
          http://e-docs.bea.com/wls/docs70/jcom/
          http://e-docs.bea.com/wls/docs81/jcom/
          - Similar to JCOM, but more advanced and supported on more platforms, WL supports access via the standard IIOP protocol. You can use the BEA Tuxedo C client for this purpose (no license fee). This doesn't include the JMS API, but one can invoke EJBs which in turn invoke JMS. See
          http://e-docs.bea.com/wls/docs81/rmi_iiop/
          http://e-docs.bea.com/wls/docs70/rmi_iiop/
          http://e-docs.bea.com/wls/docs61/rmi_iiop/
          Unlike most other approaches, the IIOP client approach also allows the client to begin and commit user (JTA) transactions (not configured).
          - If you already have a BEA Tuxedo license, one option is communicate through BEA Tuxedo (which has various APIs on Windows) and configure a WebLogic Server to respond to these requests via the WTC bridge. Search for "WTC" in the BEA docs. Unlike most other approaches, the Tuxedo API approach also allows the client to begin and commit user (JTA) transactions.
          - Another approach is to interop via web-service standards. Or even to simply to invoke a servlet on the WL server using a basic HTTP call from the client. These operation in turn can invoke the JMS API. There is a white-paper on "Interoperability Study of BEA WebLogic Workshop 8.1 and Microsoft .NET 1.1 Web Services", that demonstrates web-services here:
          http://ftpna2.bea.com/pub/downloads/WebLogic-DotNet-Interop.pdf
          - Yet another approach is to use a third party product that is designed to wrap any JMS vendor. There are even open source versions. In no particular order, here are some examples: Open3 WinJMS, CodeMesh, Active JMS, SpiritSoft
          - Finally, there are .NET/C/C++ integration libraries that are not specific to JMS, some examples are JNBridge, Jace, and CodeMesh.
          Notes on MQ Remote Capable XA Clients
          Until recently, IBM MQ JMS clients could not work transactionally unless they were running on the same host as their MQ server. This is a limitation unique to MQ that was relaxed with the introduction of IBM's new "WebSphere MQ Extended Transactional Client". See:
          http://publibfp.boulder.ibm.com/epubs/pdf/csqzar00.pdf
          The product is new, and for some reason, configuration of this client seems to be tricky, even when WebLogic is not involved at all. Oddly, the main sticking point seems to be simply making sure that class paths refer to the required IBM jars:
          - Required on WLS where MQ objects are bound into JNDI:
          com.ibm.mq.jar, com.ibm.mqjms.jar
          - Required only if MQ objects are bound into JNDI on a different server:
          com.ibm.mq.jar
          If there are problems when using this client, first get it to work using a pure IBM client without any BEA classes involved. Once that is working, search the WL JMS newsgroup for answers and/or contact BEA customer support.
          Notes on Oracle AQ Integration
          If problems are encountered integrating Oracle's built-in queuing (Oracle AQ) JMS client, there is publicly available wrapper code that can aid integrating AQ directly into MDBs, JMS, or the messaging bridge. The solution is titled "Startup class to bind AQ/Referenceable objects to WLS JNDI", is not supported by BEA, and is posted to:
          http://dev2dev.bea.com/codelibrary/code/startupclass.jsp (older version)
          http://xa-compliant-oracleaq.projects.dev2dev.bea.com (newer version)
          Caveats:
          It may be that the solution doesn't directly support concurrent consumers. Perhaps Oracle requires that concurrent consumers each have a unique JMS connection? As a work-around, parallel message processing can be achieved indirectly by forwarding AQ messages into a WL JMS destination - which do support concurrent processing.
          Up-to-date versions of Oracle may be required. For more information, google search the weblogic.developer.interest.jms newsgroup for "Oracle" and "AQ".
          MDB Thread Pool Notes
          WL7.0SP? and WL8.1 and later support the "dispatch-policy" field to specify which thread pool an MDB uses to run its instances. In most cases this field should be configured to help address potential performance issues and/or dead-locks:
          http://edocs.bea.com/wls/docs81/ejb/DDreference-ejb-jar.html#dispatch-policy
          (Note that "dispatch-policy" is ignored for non-transactional foreign vendors; in this case, the MDB "onMessage" callback runs in the foreign vendor's thread.)
          MDB Concurrency Notes
          Queue MDBs driven by foreign providers can run multiple instances concurrently. Topic MDBs driven by foreign providers are limited to one instance (not sure, but transactional foreign driven topic MDBs may not have this limitation). The size of the thread pool that the MDB runs in and the "max-beans-in-free-pool" descriptor limit how many instances run concurrently.
          Design Guide-Lines and Performance Tuning Notes
          The "WebLogic JMS Performance Guide" white-paper contains detailed design, performance, and tuning information for Clustering, Messaging Bridge, JMS, and MDBs.
          http://dev2dev.bea.com/products/wlserver/whitepapers/WL_JMS_Perform_GD.jsp

Similar Messages

  • How to integrate weblogic 10 server in IBM rational software architect 7.0?

    Hi All,
    Please help me to resolve this issue!!!!!!!!
    I am trying to find it out how to integrate weblogic 10 server in IBM rational software architect 7.0?
    Thanks
    Harshad

    You're right: Weblogic supports Apache web server 2.0 and 2.2 to be a proxy server but you are using Oracle Application Server 10.1.3.1.0 which is based on Apache *1.3* as you can read in "Oracle® HTTP Server Administrator's Guide"
    10g (10.1.3.1.0) - Part Number B28948-01 - 1.1 Oracle HTTP Server Features, right under "Based on Apache - HTTP v1.1 Support" at
    http://download.oracle.com/docs/cd/B31017_01/web.1013/b28948/overview.htm#i1008837.
    As far as I know, the only OHS based on Apache *2.0* is available as a standalone release: "Oracle HTTP Server (Apache 2.0) (10.1.3.3.0) for Linux x86" - 32bit. You can download it from http://www.oracle.com/technology/software/products/database/oracle11g/111060_linuxsoft.html (as_101330_apache2_lnx.zip).
    I've tested it successfully.
    Edited by: Virgil on Jan 15, 2009 3:08 AM

  • How to read file from remote machine

    Hello,
    Hi, i would like to know how to read text file from remote machine using java source code, any code ?
    Thanks very much;
    Best regards
    Kim

    On the server, perform the following steps:
    Parse the request and determine the file to serve
    Open a FileInputStream to the appropriate file
    Obtain a reference to the Servlet OutputStream
    Pipe the bytes from the file to the output stream
    Flush and close the streamYou might want to call HttpServletResponse.setContentType("application/octet") to indicate to the browser that a file download will be occurring. Do so before getting the reference to the Servlet's OutputStream.
    - Saish

  • How can I find photos in iPhoto 4.0.3 from Time Machine?

    How can I find photos in iPhoto 4.0.3 from Time Machine? I'm using an eMac with OS X 10.5.8.

    Hi Gary,
    I never use TM myself...
    Have you looked through Pondini's extensive TM help site?
    http://Pondini.org/TM/FAQ.html
    http://pondini.org/TM/Troubleshooting.html
    Can't imagine something not being covered there.

  • How to connect Weblogic 6.1 and DB2 under OS/390

    Hello,
    which JDBC Driver do I need in order to connect Weblogic 6.1 to DB2 OS/390.
    And where can I get this Driver?
    With best regards
    Stefan Stössel

    In order to use IBM's JDBC driver to connect to DB/2 on the mainframe, you will need to
    use DB2Connect. You can also get third-party drivers from companies such as Neon
    Systems that support this without DB2Connect...
    Joseph Weinstein wrote:
    Stefan Stoessel wrote:
    Hello,
    which JDBC Driver do I need in order to connect Weblogic 6.1 to DB2 OS/390.
    And where can I get this Driver?
    With best regards
    Stefan StösselHi. As far as I know, IBM is the only source of JDBC drivers for DB2, so you should
    get the appropriate driver from them, for the platform on which you want to run
    WebLogic. Once you have this driver, and can connect to your DBMS using the driver's
    own simple example programs, show me the few lines of code that make the connection,
    and I'll show you how to define a pool so WebLogic can do the same.
    Joe

  • How to Create and Use MQ Adapter(IBM MQ Series) in BPEL

    Hi,
    I am using Oracle SOA Suite 10.1.3.3.
    I am very new to the Usage of MQ Adapter(IBM MQ Series) in BPEL.
    what is the procedure to create our own Message Queues(i.e., MQ Series)?
    It would be great if anybody share the idea of how to create the MQ and usage of same in BPEL Workflows.
    is it mandatory to install websphere to create the MQ?
    If possible,share the related docs for the same.
    Any suggestions/views will be great.
    Cheers,
    Balaji
    Edited by: user580285 on Nov 4, 2008 5:44 AM

    Hi,
    Kindly refer to the BPEL Dev Guide and in that please refer to the Appendix which contains MQ Series Adapter.
    For this you need to provide the details like: -
    MQ Server Host, port, queue manager name etc. Also you need not to install IBM Websphere MQ, you can work on it remotely as well.

  • How to connect to External Database, if say SQL server, from Adobe LC

    Hi everyone,
    I have one application, which needs to save and load data from/to an external database,SQL server.I have no idea on how to implement this.But with my knowledge I managed to create DSs and using new data connection wizard, some how I managed to list the fields in the Data View.BUT i still worrying about the way i did is rigt or wrong?.. how can i save and load data to sql server from Adobe LC..Please help me
    Thanks,
    Vinod

    You created the data source on the app server which is the first step. Now you can use the JDBC service to query the database:
    http://livedocs.adobe.com/livecycle/8.2/wb_help/000632.html
    scott

  • How to start/stop/restart a java desktop application from remote machine

    Hi,
    I want to know is there a way in java where i can start/stop/restart a java desktop application running on a remote machine through another java desktop application?
    For e.g i have an Admin console which monitors its clients based on socket communication, all of them are java desktop applications. I want to also give start/stop remote clients through my Admin console.
    I am thinking in terms of windows system service which can start/restart/stop my clients on request of Admin console, but how can i call this system service remotely?
    How can i do it?

    I got it. its about connection...

  • Connecting SqlPlus from Remote Machine

    Does anyone have an idea one how to connect Sqlplus to an Oracle DB on an other machine?
    I really do appreciate your help guys!!
    Thanks,
    Karim Soliman

    On the Client use Net Configuration Assistant (netca command on Linux/Unix) to configure the connection string. Then you can connect as
    sqlplus <username>/<password>@<connection string>
    but... what does this have to do with Application Server ?

  • Connection problems with DI-SERVER 2007 & B1WS from remote machine

    Hi,
    Can you please help us better understand what the issue is, and how to solve it?
    I am seeking to get B1WS working on remote machines.
    I have built a small test application, which works fine on the server which also hosts the SQL Server instance and IIS.
    When I move the application to another machine, no connection happens, and it always throws this error:
    Message: 
    "Unable to connect to the remote server"
    Inner Exception:
    "No connection could be made because the target machine actively refused it 127.0.0.1:80"
    Error Code:
    10061
    This configuration works:
    Licensing Server:  Server A
    Database Server:  Server B
    IIS Server (B1WS):  Server B
    Running App:  Server B
    This configuration does not work:
    Licensing Server:  Server A
    Database Server:  Server B
    IIS Server (B1WS): Server B
    Running App:  Workstation C
    I have checked permissions on the web services folder, and gave Everyone all permissions.  The same connection problems persists.
    All help is welcome!
    Thank you in advance,
    Mike

    Dear Michael Gurevich,
    Was resolved?
    Thanks.
    João Paulo

  • How to coonect to a JMS queue which is in a remote machine

    I have made one simple CEP application which have following components:
    1.JMS input adapter
    2.input channel
    3.processor
    4.Output channel
    5.local publisher
    Code for Adapter configuration:
    <?xml version="1.0" encoding="UTF-8"?>
    <wlevs:config xmlns:wlevs="http://www.bea.com/ns/wlevs/config/application"
    xmlns:jdbc="http://www.oracle.com/ns/ocep/config/jdbc">
         <http-pub-sub-adapter>
    <name>remotePublisher</name>
    <server-url>http://172.18.21.103:9002/pubsub</server-url>
    <channel>/channel1</channel>
    <event-type>MarketEvent</event-type>
    <user>wlevs</user>
    <password>wlevs</password>
    </http-pub-sub-adapter>
    <http-pub-sub-adapter>
    <name>localPublisher</name>
    <server-context-path>/pubsub</server-context-path>
    <channel>/channel2</channel>
    </http-pub-sub-adapter>
         <jms-adapter>
              <name>Inputadapter</name>
              <event-type>MarketEvent</event-type>
         *     <jndi-provider-url>t3://localhost:7001</jndi-provider-url>*
              <connection-jndi-name>jms/ConnFact</connection-jndi-name>
         <destination-jndi-name>eis.Queue-source</destination-jndi-name>
              <user>weblogic</user>
              <password>welcome1</password>
              </jms-adapter>
    </wlevs:config>
    If I want to read JMS messgaes from a queue situated at remote machine.What changes I need to make to my JMS adapter config file?

    I have changed the <jndi-provider-url> entry to http://172.18.21.94:7001.Where 172.18.21.94 is the location of the remote server.But it is giving error like:
    Anupam Dhank: <Error> <Deployment> <BEA-2045010> <The application context "pub-sub" could not be started: org.springframework.beans.FatalBeanException: Error in context lifecycle initialization; nested exception is java.lang.Exception: Error initializing JMS connection: javax.naming.ServiceUnavailableException [Root exception is java.net.UnknownHostException: Unknown protocol: 'HTTP']
    javax.naming.ServiceUnavailableException [Root exception is java.net.UnknownHostException: Unknown protocol: 'HTTP']
         at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:34)
    Edited by: 856272 on May 23, 2011 3:52 AM

  • How to execute an SSIS package on a scheduled basis from remote server and pass in input files

    I have an application server and a db server.  My db server has all things SQL Server stored on it (DBMS, SSRS, SSIS, etc.)  I have several nightly batch process SSIS packages (dtsx files currently) that will pickup an input file and import them
    into the database.  I would like to execute all batch processes from my application server as I have quite a few other ones as well that do other stuff outside of SQL Server via powershell.  My question is how to do this?  Is there away to execute
    them remotely via DTexec.exe, should I set them up as Agent jobs and somehow pass in the file names\location (how?), create and SSIS catalog, etc.?  
    I need to easily be able to see if the packages execute successfully or not and if not capture the detailed information of why they failed from the remote server so I can use that to drive my process flow logic in the batch processes.

    Hi Jason,
    According to your description, you want to execute a package on a schedule and receive notification when package ends with error in the job.
    After testing the issue in my environment, we can directly add the package in a step of a job, then add a schedule and set the Alert and Notification property in the job to achieve your requirement. For more details, please see:
    Create a Database Mail in the SSMS.
    Right-click the SQL Server Agent services to Enable mail profile, then select the appropriate Mail profile.
    Under the Operators folder, create an operator with the correct E-mail name.
    Right-click the Jobs folder to add a new job.
    In the Steps pane, New a step with SQL Server Integration Services Package Type to run the package.
    In the Schedules pane, New a schedule for the job.
    In the Alerts pane, New an alert with SQL Server event alert, then enable Notify operators option with an operator in the Response pane.
    In the Notifications pane, enable Email option with same operator and When the job fails selection.
    Then when the package fails, the job would be failed and we can receive the error message in the mailbox.
    Besides, please make sure the account that execute the job has correct permissions for the file, for the folder that contains the file, and for the database.
    References:
    Configure Database Mail – Send Email From SQL Database
    How to setup SQL Server alerts and email operator notifications
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • How to retrive data through stored procedure in mysql from remote machine?

    Hello everybody,
    I am having problem in accessing data of mysql through stored procedure. It works fine if I use "jdbc:mysql://localhost:3306/[database name]" instead of "jdbc:mysql://[IP address]:3306/[database name]". The connection is fine for both, but when stored procedure is called the system stops at "stmt.execute();" line in java file while debuging. In case of localhost there is no any problem. The code for connecting procedure is:
    stmt = dbConn.prepareCall("{? = call testing()}"); stmt.registerOutParameter(1, Types.VARCHAR); stmt.execute();
    I have to connect java application running in Windows to the mysql database running in remote machine(RHEL 5).
    I am using "mysql-connector-java-5.1.5-bin.jar", jdk 1.5.0 and remote database Mysql version : 5.0.22.
    There is no exception and application hangs at stmt.execute();
    Can anybody help me with this problem?
    Thank you.

    I got it. its about connection...

  • Unable to connect to APEX from remote machine.

    Hi All,
    I have installed APEX 4.2.2 on Oracle 10g XE , the installation was successful and I am able to see the apex home page.
    I have used the port 1234 for the same.
    http://127.0.0.1:1234/apex/f?p=4550:1:14917953436987
    Now I have configured web listener apex_listener2.0.3 for remote machines and used port 8086.
    The listener was started on standalone mode successfully, but when I am trying to access below URL :
    http://localhost:8086/apex/
    I am getting 503 - Service unavailable error.
    I have disabled local listener also , but still it is not woking .
    SQL> exec dbms_xdb.setListenerLocalAccess (l_access => FALSE) ;
    commit;
    Please help .

    Getting below message in console whenever I am trying to access http://localhost:8086/apex/
    SEVERE: The pool named: apex is not correctly configured, error: Connection Caching Not Enabled or Not a Valid Cache Enabled DataSource
    oracle.dbtools.common.jdbc.ConnectionPoolException: The pool named: apex is not correctly configured, error: Connection Caching Not Enabled
    Could you please help me on this.

  • How to connect to airport express without needing internet (for wifi remote)

    I am hooking up the Mackie DL 806 mixing console. my airport only works if i first have a internet connection. after I disconnect the internet it still works. I need it to work no matter what in a non internet environment  

    nicandmac wrote:
    I am hooking up the Mackie DL 806 mixing console. my airport only works if i first have a internet connection. after I disconnect the internet it still works. I need it to work no matter what in a non internet environment
    I am trying to understand this.. it sounds like you have it setup in bridge mode.. so it must get an IP from the main router to begin working.
    The Airport can work with or without internet.. but it needs to be in router mode to pass IP addresses.. and it will give errors which you must ignore.
    It is possible also to setup in static IP mode.. but you will still need to ignore errors.
    However to really help I need the whole setup.. I need to know if you are using the wireless in a secondary IP network from internet which is also running.. and if so what IP address ranges are being used.
    In other words tell me the entire setup.. what is the main router.. ?? What are the clients? How are they going to connect to the express when there is no internet??

Maybe you are looking for