IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#TechXchangePresenter
 View Only
Expand all | Collapse all

Problem with Java services accessing CORBA

  • 1.  Problem with Java services accessing CORBA

    Posted Mon June 30, 2008 10:13 PM

    I’ve been tasked with migrating some CORBA integrations from EJBs to webMethods. I’ve been relying heavily on Java services to get the code moved over, but I’m getting an error that I suspect has to do with behind-the-scenes code generation for Java services.

    /apps/webMethods71/is1/IntegrationServer/packages/ST_System_IPCommander/code/source/ST_System_IPCommander/services.java:30: reference to Object is ambiguous, both class org.omg.CORBA.Object in org.omg.CORBA and class java.lang.Object in java.lang match
    static services _cast(Object o) { return (services)o; }

    There is no code that looks anything like the _cast() method in my source, so it must be generated code. The WM code should be making an explicit reference to java.lang.Object to avoid ambiguities, but there is no way for me to modify what is generated.

    Any ideas how to get around this problem?


    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Problem with Java services accessing CORBA

    Posted Thu October 09, 2008 09:42 PM

    Due to this problem we ended up upgrading the old Java code to run on Sun App Server 9.1, as there was apparently no way to integrate the code as Java services under webMethods 7.1.1.


    #webMethods
    #Integration-Server-and-ESB