Connection Weblogic and Websphere MQ

Can anybody help me how to connect Weblogic and Websphere MQ?

If you are using the foreign JMS server then create the binding file for MQ. The binding file would contain host and port and other required details.
Weblogic could understand the configuration details in that.

Similar Messages

  • Weblogic and websphere colocated?

    Has anyone ever had any experience running weblogic and websphere on the same machine? If so, what were your issues?
    Thanks in advance.

    Web sphere has a wide robust features which weblogic lacks some. Like the load balancing and admin console, clustering .
    In Weblogic In many cases, code for applications deployed on WebLogic Server is arbitrarily structured and depends on the build process to make sense of it all. The implication of this is that existing code organization will very likely have to be changed as part of the migration effort. This may be very difficult (or even impossible) to accomplish while maintaining links to your code's history. Some organizations choose simply to archive their history and start fresh.
    In WebSphere, Packaged with each module is an XML deployment descriptor that describes the organization of the components in the module and how they are configured at run time. hence applications can be migrated easily.

  • Weblogic and Websphere communication!!

    Hi Friends,
    I have an EJB HelloWorld deployed on both servers(Weblogic and Websphere) and these beens are accessible easily from their respective client servlets, which is the easy part.
    Now what I want to try is access the bean's methods on Weblogic server from a bean on Websphere server and vice versa. This is where I want some ideas from the gurus please.
    e.g. hello() method of the EJB (HelloWeblogic) in Weblogic server prints the message "Hello from Weblogic" and the hello() method of the EJB (HelloWebsphere) in Websphere server prints the message "Hello from Websphere". Now I want to know what do I need to do so that I am able to execute hello() of the HelloWeblogic EJB, from HelloWebsphere EJB and vice versa.
    I am also new to EJB, but I think I am making my way slowly.
    Any help/ideas/code samples would be really appreciated.
    Please feel free to ask any questions.
    Regards
    Rajeev

    As far as I can see the standard way would be to lookup
    the ejbs-home in the others JNDI context. After that proceed
    as you are used to.
    Troubles (or some unlikely behaviours) could occur if your beans are
    served by the same interfaces.
    But Dynamic Stub loading via RMI should prevent you from any problems with non existing stub/skels, etc.
    You could only run into problems when stub/skel-implementation-classes where named equally (by full qualifier) in both app-servers. This should never happen. (weblogic.SomeWLStubClass != ...websphere...SomeStubClass)
    Read RMI-Specification for further details on dynamic class-loading in
    the RMI process:
    http://java.sun.com/products/jdk/1.1/docs/guide/rmi/spec/rmi-arch.doc.html
    or j2ee-tutorial on how to resolve JNDI-Contexts.
    Hope it helps!
    Alexander Sack

  • Weblogic and websphere

    hi
    could anybody tell what is the basic difference between weblogic and websphere.
    thanks
    suru

    Web sphere has a wide robust features which weblogic lacks some. Like the load balancing and admin console, clustering .
    In Weblogic In many cases, code for applications deployed on WebLogic Server is arbitrarily structured and depends on the build process to make sense of it all. The implication of this is that existing code organization will very likely have to be changed as part of the migration effort. This may be very difficult (or even impossible) to accomplish while maintaining links to your code's history. Some organizations choose simply to archive their history and start fresh.
    In WebSphere, Packaged with each module is an XML deployment descriptor that describes the organization of the components in the module and how they are configured at run time. hence applications can be migrated easily.

  • EJB communication between weblogic and websphere

    Hello:
    I have weblogic 7.1 instance running in machine A and websphere running in machine B. I want to make a call to the ejb deployed from weblogic to websphere. Any experience in this would be very helpful. Or pl. post the procedure.
    Thx in advance.

    I don't think that there is any magic here, although I've never tried it.
    All you need is the compiled EJBHome and EJBObject interfaces in the
    classpath of the calling EJB, get an InitialContext in the JNDI namespace of
    the target EJB container using the name of the JNDI InitialContext Factory,
    do a lookup on the bean making sure to do a PortableRemoteObject.narrow when
    you are casting the Home stub with the vendor specific version of
    PortableRemoteObject(and that may be the real trick), call the appropriate
    create method, and you are rolling.
    I guess the question becomes how to make sure that when you are calling
    PortableRemoteObject.narrow on the Home stub, that you get the vendor
    specific version for the EJB container and JNDI namespace from which you are
    doing the lookup.
    I guess the answer is, I'm guessing. Have you tried it?
    bill
    "nebs om" <[email protected]> wrote in message
    news:30035468.1103738722864.JavaMail.root@jserv5...
    Hello:
    I have weblogic 7.1 instance running in machine A and websphere runningin machine B. I want to make a call to the ejb deployed from weblogic to
    websphere. Any experience in this would be very helpful. Or pl. post the
    procedure.
    >
    Thx in advance.

  • Weblogic and Websphere intergration

    Hi,
    I would like to make a call from EJB bean deploeyd on WLS8.1 to another
    bean deployed on Websphere 6.0 but I have no idea how to do that.
    When I do sth like that in EJB in WLS:
    InitialContext tx = new InitialContext();
    Object obj =
    (Object)tx.lookup("corbaname:iiop:localhost:2809#comarch/test/ejb/BasicCalculator");
    I get the following exception:
    javax.naming.NameNotFoundException: Exception in lookup.:
    `comarch/test/ejb/Basi
    cCalculator' could not be found. Root exception is
    org.omg.CosNaming.Nami
    ngContextPackage.NotFound:
    IDL:omg.org/CosNaming/NamingContext/NotFound:1.0
    at
    org.omg.CosNaming.NamingContextPackage.NotFoundHelper.read(NotFoundHe
    lper.java:72)
    at
    org.omg.CosNaming._NamingContextStub.resolve(_NamingContextStub.java:
    251)
    at
    weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:187)
    at
    weblogic.corba.j2ee.naming.ContextImpl.lookup(ContextImpl.java:174)
    at javax.naming.InitialContext.lookup(InitialContext.java:347)
    at examples.HelloBean.hello(HelloBean.java:71)
    BasicCalculator bean is deployed on websphere and websphere runs on
    localhost.
    What should i do to get it running?
    Any help appreciated.

    looser0 <[email protected]> writes:
    BasicCalculator bean is deployed on websphere and websphere runs on
    localhost.
    What should i do to get it running?
    Any help appreciated.This definitely works but there have been several patches to both
    products to support things well. First of all check what name you
    should actually use for websphere - I have a feeling that it has some
    bizarre prefix on all of its names. Next make sure you are running
    with WLS 8.1sp4. I don't know what version of WebSphere 6.0 you need -
    I know there were fixes in WAS 5.1.3.
    andy
    --

  • Weblogic and Websphere IIS plugin coexistence

    Hi Folks,
    I have a customer who is planning to migrate part of their webapps from websphere to weblogic, however they would like to share the same IIS webfarm for the existing appservers farms ... I wonder if anyone know how the appservers plugins will behave if I have both BEA ISSProxy and IBM WebSphere IIS plugin on the same server ... anyone can share experience on this? Is it even supported?
    BTW ... Weblogic is 8.1SP4 and WebSphere is 5.1 ...
    Thanks,
    Juan Pablo Chen

    Sure.. why wouldn't it be?
    If you are using 1 IIS instance, which I am assuming you are, just make sure
    you load the iisproxy.dll in high isolation.
    Regards,
    Eric
    "Alan Bub" <[email protected]> wrote in message
    news:[email protected]..
    >
    I have a requirement that I run two weblogic servers on the same box. Theserver
    run the same applications except that they have different port numbers. Iwould
    like to run these both through a single IIS server. Is this possible?
    Thanks
    Alan

  • Weblogic vs Websphere

    I know that this has been asked a few times but I couldn't find any recent comparisons.
    So - my company is going to adopt a J2EE platform and wants to buy an appserver. We've narrowed it down to Weblogic 8.1 or Websphere 5.2
    I know that early versions of Websphere got slated - but can anyone advise on how improved 5.1 is
    Also we are mixed ability team with some newbies to Java. We want to adopt a uniform IDE.
    Any comments on WSAD versus Weblogic Workshop. Are people using othe IDEs alongside either Websphere Server or Weblogic Server
    I like the look of Workshop - but it clearly isn't as big as WSAD - and also Weblogic have introduced the concept of Java Controls which definitely isn't standards based. However our team leader thinks that this could be an easy entry point for less experienced Developers. Any comments on any of these products much appreciated

    Hi,
    I was looking for a comparison against the latest versions of Weblogic and websphere. I was looking at the string of posts and came to a conclusion that you were in the same situation months before and you have nailed your choice as weblogic. Could you please give me some information regarding that?
    Basically am preparing a presentation with performance, scalability, features, ease of development, IDE effeciency, Integration abilities, Webservices capabilities, licensing cost and so on.

  • Weblogic and Webspehere comparison

    Hi All,
    Has any one done comparison between weblogic and websphere ? Can I get
    the details on how these products compare ?
    Thanks
    Prasad

    I'm trying XSQL Servlet version 1.0.0.0 with Weblogic 5.1.
    In my weblogic.properties file I have
    weblogic.httpd.register.*.xsql=oracle.xml.xsql.XSQLServlet
    I also have
    weblogic.httpd.servlet.classpath=d:/weblogic/myserver/servletclasses;d:/xsqlservlet_v1_0_
    0_0/lib;d:/xsqlservlet_v1_0_0_0/lib/oraclexmlxsql.jar;d:/xsqlservlet_v1_0_0_0/lib/oraclex
    sql.jar;d:/xsqlservlet_v1_0_0_0/lib/xmlparserv2.jar;d:/xsqlservlet_v1_0_0_0/lib/classes11
    1.zip
    I have been getting this error:
    java.lang.NoClassDefError: oracle/xml/xsql/XSQLDocHandler ....
    This might be caused by some incorrectly assigned classpath (i.e. does the XSQL Servlet classpath go to the weblogic.httpd.classpath or should it be defined in another path or classpath -- Weblogic seems to have several).
    Also, some init args can be set for servlets. Which args need to be set for the XSQL Servlet?
    In general, what is the configuration with Weblogic?
    null

  • What is the role of J2EE compared with WebLogic and Tomcat?

    Now that J2EE play the role of Web Services Container and Logic Services Container
    What does WebLogic do?and What does Tomcat do?
    Do they collided with each other?

    WebLogic (and WebSphere, JBoss, and Sun ONE) are all J2EE application servers. Each of them has an HTTP server and servlet/JSP engines built-in. They can handle HTML pages, JSPs, EJBs, messaging, transactions, two-phase commit to databases, etc.
    Tomcat is just a servlet/JSP engine with an HTTP server built in. It can handle HTML pages, servlets, and JSPs, but it can't run EJBs for you. If you want to stick EJBs into a servlet or JSP, you'll have to get them from a J2EE app server.
    No, WebLogic is a superset of Tomcat. It has an HTTP server and a servlet/JSP engine, so WebLogic can happily exist without Tomcat.
    If you'd like, you can have both Tomcat and WebLogic. Let Tomcat handle the servlet and JSP requests and leave the EJB enterprise stuff to WebLogic. You might use this arrangement when you'd like to have a Tomcat server running in a DMZ and a WebLogic app server inside the second firewall. Tomcat can then do authentication and forward requests back to WebLogic. - MOD

  • Best application servers: weblogiv and websphere?

    Hi I have heard that if I want to do JSP on NT with IIS the most widely adopted middleware is weblogic and websphere is this true? Which is the most expensive and which is the easiest for a beginner to get to grips with?

    If you are a beginner with JSPs and Servlets, but want to work with the J2EE component model strictly for developer purpose, have a look at Reisen, JBoss, JRun (dev edition), and Tomcat. My preferred container is Tomcat but running with Apache rather than IIS. I've spent one too many times reimaging drives after virus fiascos. If you want to get grips with the two mentioned, check their web sites... the documentation is quite vast.

  • Problem connecting weblogic OSB with IBM websphere via foreign JMS

    Hi All,
    I am trying to setup Foreign JMS. My configuration doesn’t work.
    Could you please let me know if I am missing anything .
    All my configuration details are done as specified in this link http://www.oracle.com/technology/products/integration/service-bus/docs/osb-websphere-whitepaper.pdf
    Here is what I did.
    In OSB sbconsole
    OSB business Service ENDPoint URL jms://webspherehost:9082/sampleQueuemanager/sampleQueue
    In websphere
    Created a queue connection factory and a queue from the webspehere administrator console.
    Modified JSMAdmin.config to enable the following…/Java/bin/JMSAdmin.config.
    INITIAL_CONTEXT_FACTORY=com.sun.jndi.fscontext.RefFSContextFactory
    PROVIDER_URL=file:/C:/JNDI-Directory
    Ran JSMAdmin.bat to bind the JNDI
    def qcf(sampleQueuemanager) qmanager(QMGR) HOSTNAME(webspherehost) PORT(1327) TRANSPORT(CLIENT)
    def Q(sampleQueue) queue(sampleQueue) qmanager(QMGR) PERSISTENCE(PERS)
    InitCtx> dis ctx
    JMSADM4089 InitCtx
    .bindings java.io.File
    bck_.bindings java.io.File
    a sampleQueuemanager com.ibm.mq.jms.MQQueueConnectionFactory
    a sampleQueue com.ibm.mq.jms.MQQueue
    4 Object(s)
    0 Context(s)
    4 Binding(s), 2 Administered
    In weblogic admin console
    Created foreign JMS, destination and connection factory as mentioned in the following link.
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/ConsoleHelp/taskhelp/jms_modules/foreign_servers/CreateForeignConnectionFactories.html
    When I execute business service from OSB sbconsole, this is what I get.
    +The invocation resulted in an error: [JMSPool:169803]JNDI lookup of the JMS connection factory sampleQueuemanager failed: javax.naming.CommunicationException [Root exception is weblogic.socket.UnrecoverableConnectException: [Login failed for an unknown reason: HTTP/1.1 400 Bad Request]].+
    Thanks
    siva

    Little confusing. Are we not supposed to use osb host name and port along with foreign connection factory created in weblogic for OSB BS?.
    You said: jms://webspherehost:9082/sampleQueuemanager/sampleQueue
    We have to jms://osbhost:port/ForeignQueueManagerInWeblogic/ForeignQueueInWeblogic
    Manoj

  • What is the best Connection option from WebSphere to Weblogic?

    What is the best Connection option from WebSphere to Weblogic?
              We are trying to send XML messages from Websphere to WLS to active some
              services....
              any pointers, suggestions?
              Thx
              VJ
              

    Hi,
    One of my clients has an environment similar to yours with an internal pair of F5s and a pair used for the access from the internet. 
    I am only going to focus on the method using an F5 Load Balancer and SSL Offloading. the setup of the F5 will not be covered in detail but a reference to the documentation to support SharePoint and SSL Offloading will be provided
    Since you arte going to be using SSL Offloading you do not need to extend your WebApps to use separate IIS WebSites with Unique IP Addresses
    Configure the F5 with SSL Offloading
    Configure a Internal AAM for SSL (HTTPS) for each WebApp that maps to the Public HTTP FQDN AAM Setting for each WebApp
    Our environment has an additional component we require RSA Authentication for all internet facing Sites. So we have the extra step of extending the WebApp to a separate IIS WebSite and configuring RSA for each extended WebSite.Reference:
    Reference SharePoint F5 Configuration:
    http://www.f5.com/featured/video/ssl-offloading/
    -Ivan

  • 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

  • Needed help on connecting weblogic 8.1 SP5 with oracle 10g and mysql 5.0

    Hi !!
    Hope you are doing well...
    Can anyone tell me how to connect weblogic 8.1 SP5 with an oracle 10g DB on windows..
    also, how to connect weblogic 8.1 SP5 with mysql 5.0 on windows..
    Please step by step... very urgent..
    Thanks!! Jhonson

    Shouldn't this be posted in BEA forums?
    Try getting help there and if you encounter any Oracle related exception, you can post here.

Maybe you are looking for