webMethods

webMethods

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.

 View Only
Expand all | Collapse all

Java exceptions in Finalizer after invoking a dll

  • 1.  Java exceptions in Finalizer after invoking a dll

    Posted Wed July 02, 2003 03:51 PM

    If the COM object throws an exception, without returning a proper error message, the Integration Server crashes. This has been observed before and reported to webMethods support. One way to get rid of this error is to make sure that the COM object return a valid error message each time something goes wrong inside the com object.
    Thanks and good luck.


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 2.  RE: Java exceptions in Finalizer after invoking a dll

    Posted Wed July 02, 2003 05:04 PM

    Thanks for your reply Vinod.
    I suppose I cannot catch the error through a Try Catch mechanism, can I?

    cdrc


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 3.  RE: Java exceptions in Finalizer after invoking a dll

    Posted Wed July 02, 2003 07:33 PM

    Another question: since the wM implementation of the COM call seems not to be stable, I’m thinking of writing a Java service.
    However, every example I find on the web (using JNI) requires the native class to be recompiled.
    However, this is clearly not done by the wM call. Does anybody know how to implement such a call from within Java without the need to recompile the native (COM) class to be recompiled?
    Thanks. Cheers,

    crdc


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB