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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Upload large file error

    Posted 03/16/11 06:20 PM

    Hi,

    Whenever I try to upload a file larger than the size defined in web.xml, I get an error
    message (see attachment). As you noticed, the portlet is no longer showned.

    Since the error occurs before my code is executed, I can’t catch it and throw a customized
    error message (as done with the BaseFacesBean.error method) , without my portlet disappearing…

    Any ideas how to customize this error?

    Regards,
    Rui Cabete


    #MWS-CAF-Task-Engine
    #webMethods
    #webMethods-BPMS


  • 2.  RE: Upload large file error

    Posted 03/18/11 02:26 AM

    Could you have a quick look at this post? http://tech.forums.softwareag.com/viewtopic.php?t=23188&highlight=upload&sid=4cd67d4d7ee18e807dc949f9b0f488ad

    If you set the MWS max file size larger than the allowed file size, your code should be able to handle this error condition with your own UI.

    With any luck this workaround will be sufficient for your requirements.

    Regards,
    –mark


    #webMethods
    #MWS-CAF-Task-Engine
    #webMethods-BPMS


  • 3.  RE: Upload large file error

    Posted 03/22/11 05:32 PM

    Hi Mark,

    Thanks for the reply, but the suggested workaround won’t do the job!

    If an user uploads a file larger than the MWS max file size, (and users don’t know the MWS max file size, and even if they know, they won’t care!) we’ll have the same problem again.

    Regards,
    Rui Cabete


    #MWS-CAF-Task-Engine
    #webMethods
    #webMethods-BPMS


  • 4.  RE: Upload large file error

    Posted 03/23/11 02:00 AM

    I’m sorry, but there isn’t a more comprehensive workaround available at this time. I’d recommend opening a Support Incident.

    Regards,
    –mark


    #webMethods-BPMS
    #webMethods
    #MWS-CAF-Task-Engine