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.

 View Only

Java API publish() crashes silently

  • 1.  Java API publish() crashes silently

    Posted Wed April 09, 2003 11:01 AM

    When publishing a BrokerEvent that has more than 30 nested structures i.e MR_DTL > 30 the publishRequestAndWait() API crashes silently with no error/exceptions returned. Is there any kind of ‘hidden’ limit on how many nested items to include on a document/event ?

    When sending event with header + MR_DTL <= 30 items - API works correctly and reply event(s) are also received as expected…

    <<
    eventtype Dist::CREWS::MaterialReservation::TransferMRRequest_01 {
    unicode_string HDR_ITEM1;
    unicode_string HDR_ITEM2;
    struct {
    unicode_string DETAIL_FIELD1;
    unicode_string DETAIL_FIELD2;
    unicode_string DETAIL_FIELD3;
    } MR_DTL;
    }

    << /* Application source snippet */
    try {
    events = c.publishRequestAndWait(e, 120000);
    } catch (BrokerException ex) {
    s = "80 " + “(#” + curHdrSeqNo + ") - Error on publish - " + ex;
    writeLog(s);
    exit(c);
    return;
    }

    NOTE: We’re running this Application within Oracle 8.1.7 JVM (JDK 1.2+) with plenty of memory setup to handle sending these sized events.
    java_pool_size = 125 MB
    shared_pool_size = 150 MB

    We have also tried publish(), deliver() APIs with same results.

    Would appreciate any feedback.


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods