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

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.

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

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

  • Mule, Weblogic and MQ JMS : deadlock problem

    Dear Oracle community,
    We are hosting our Mule ESB (3.1) application on a Weblogic 10.3 (11g) server and are using IBM Websphere MQ's JMS solution (with libraries version 7.0.1.7).
    The problem we are facing is that JMS connections are created by one of Weblogic's worker (thread) and the close() method for those connections are not necessarily called by the same thread.
    This is bad because from what I know this behavior is undefined from JMS specification
    (see http://docs.oracle.com/cd/E15051_01/wls/docs103/jms/design_best_practices.html#wp1061413 ) and it is a blocker issue in our case because this lead to a deadlock.
    Do someone has any idea how to enforce the fact that the same thread do create and close the connection through Weblogic and/or Mule configuration (without re-implementing the connector) ?
    Thanks in advance for your help,
    Best regards,
    Y.
    PS : I've already posted this question on Mule ESB's forum : http://forum.mulesoft.org/mulesoft/topics/mule_weblogic_and_mq_jms_deadlock_problem
    Edited by: user7428803 on May 14, 2012 2:26 PM

    I hope you found a solution by now, but as an FYI:
    * The JMS specification specifically requires that JMS providers support the ability to call connection.close() and session.close() from an arbitrary thread even when another thread is making calls on these objects. It furthermore goes into some detail about the expected behavior of these calls. The best practices link you cited alludes to this: "The JMS Specification states that multi-threading a session, producer, consumer, or message method results in undefined behavior +except when calling close().+"
    * Depending on your use case, you may not need to use Mule to integrate MQ with WebLogic. WebLogic supports a variety of options for integrating MQ directly without the use of third party tooling. See http://download.oracle.com/docs/cd/E17904_01/web.1111/e13727/interop.htm .
    Tom

  • OIM on Weblogic Vs WebSphere

    Hi All
    What could be the reasoning for promoting OIM/Weblogic over OIM/Websphere. I want to suggest my client to go with OIM/Weblogic combination rather than websphere. What should be my strong points to promote OIM-Weblogic.
    Please help.
    Thanks

    WebSphere trials only last 30 or 60 days, so unless your client gives you a full version, your dev images/environments will need rebuilds fairly often. There are lot more integration pieces that tie OIM and WebSphere together which can cause lots of problems because it integrates the security of websphere with the database for OIM.
    WebLogic is just the logical choice.
    -Kevin

  • Need help to integrate weblogic and mq on separate machine

    Hi,
    is there any step by step instruction to help me integrating weblogic server and websphere mq on separate machines?
    thanks.

    You can use the message bridge to move messages between two destinations:
    - http://download.oracle.com/docs/cd/E21764_01/web.1111/e13741/basics.htm#BRDGE116
    For this you have to create a foreign server: http://download.oracle.com/docs/cd/E21764_01/web.1111/e13738/advance_config.htm#JMSAD194
    and create a message bridge: http://download.oracle.com/docs/cd/E21764_01/apirefs.1111/e13952/taskhelp/bridge/bridge_instance/CreateJMSBridgeInstance.html
    Here an example is provided for the JBoss variant: http://middlewaremagic.com/weblogic/?p=6066 and WebSphere MQ: http://www.coderanch.com/t/440070/EJB-JEE/java/Configure-Bridge-between-Websphere-MQ
    To just use WebSphere MQ as the JMS provider: http://www.ibm.com/developerworks/websphere/library/techarticles/0604_kesavan/0604_kesavan.html (shows an example for WebLogic8)
    - Configure a foreign JMS server, foreign connection factory, and foreign destination.
    - Reference the local JNDI names of the foreign destination and foreign connection factory in, for example, an message-driven bean.

  • J2EE replaces BEA Weblogic, IBM WebSphere, Orion or JRun

    BEA Weblogic, IBM WebSphere absolutely provide stronger ability to support enterprise applications.
    I want to know whether J2EE can be used in deploying a commercial web site with multi-tier architecture. For example, to handle hundreds concurrent requests, to balance work load to some extent.
    Thanks.

    J2EE is a platform specification. And WebLogic, WebSphere, JRun etc. are vendor specific products that implement APIs from that platform standard.
    It seems you are talking about the refrence implementation of J2EE that comes with J2EE SDK.
    See http://java.sun.com/j2ee/faq.html Especially the answers therein to the two questions...
    1. What is the purpose of the Reference Implementation?
    2. Why don't you allow the binary Reference Implementation to be deployed or redistributed?

Maybe you are looking for

  • SMS Text not in Options?

    Hi, I have searched the forum in regards to the pop up saying my SIM Card is full delete messages etc., and I do know that I have gone back to Options (after reading it here) and said NO to saving messages on it.  I have also removed my battery while

  • Help! Safari wont open!

    I don't know a lot about the technical side of Mac's. Thats why I like mine, it usually just works! Well it looks like I'm having the same problem that others are having, Safari 5 won't open for me. I'm not sure how some of you Mac guru's read the "c

  • How to set Page break in multiple tables ?

    Hi , I have 3 tables in my SSRS report . 3 tables have different groups. All groups are showing in different excel tabs as expected. Also dynamically generating each tab name based on the group name . But 3 rd table group tab name not generating dyna

  • Income payment order - UK payroll

    Hi all, I need a confirmaiton on whether SAP supports for Income payment orders in UK payroll like court orders? If yes can you please provide me the details please. Thanks All in advance, Veena

  • HT3275 the file is already in use

    Time Machine couldn't complete the back up to the Time Capsule The backup disk image " ......." is already in use.