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
Expand all | Collapse all

Problem with EDI large file handling

  • 1.  Problem with EDI large file handling

    Posted Mon October 13, 2003 04:00 PM

    Hi,

    I am trying to use the large EDI document using TN. I am reading the file from the disk and submitting it to TN. I am using processing rule to start a service. I set the config file to following

    Bigdocthreashhold = 15000000 (15MB)
    tspace location = /usr/tspace
    Maxdiscsize = 3GB
    EDI config file doc thershhold = 15MB.

    However, this works fine if I call the processing rule synchronously. When I call the processing service asynchronously from the rule, I am getting the following error.

    <exmlexception>
    <errorcode></errorcode>
    <info>wm.tn.doc:getContentPartData</info>
    <originalexception>
    <javaclass>com.wm.app.tn.err.EXMLException</javaclass>
    <message><exmlexception>
    <errorcode>TRNSERV.000026.000003</errorcode>
    <info>Error retrieving content of content part EDIdata of document u3240500v0k1aaee0000005i. The exception message is : <exmlexception>
    <errorcode>TRNSERV.000026.000002</errorcode>
    <info>Content for Part EDIdata of document u3240500v0k1aaee0000005i does not exist in TSpace.</info>
    <originalexception>
    <javaclass>com.wm.app.tn.err.EXMLException</javaclass>
    <message></message>
    <stacktrace>com.wm.app.tn.err.EXMLException:
    at com.wm.app.tn.err.EXMLException.fromResource(EXMLException.java:42)
    at com.wm.app.tn.doc.BizDocContentUtil.ge

    I viewed the bizdoc, storage reference and content pars are present fine in the file. Any ideas on what might be going on when the processing rule is called asynchronously.

    PS: I made sure save/restore pipelines are disabled.


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


  • 2.  RE: Problem with EDI large file handling

    Posted Tue October 14, 2003 12:51 AM

    after the getContentPartData
    make sure you’re invoke wm.b2b.edi.util.streamToString

    HTH


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