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.  IS doesn't always release files

    Posted 12/03/03 09:19 AM

    I have noticed that the IS doesn’t always release/close a filestream. If execution goes according to plan then the file is availble for editing but if an exception happens or you terminate the the execution of a service then IS holds on to this file- preventing editing of this file until you restart the service.

    This was orignally an annoyance when I was reading in sample data to test my service but now that I am editing JSPs this is huge pain. Has anyone else noticed this.


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


  • 2.  RE: IS doesn't always release files

    Posted 12/03/03 09:33 AM

    Platform info:
    webMethods Integration Server
    Version 6.0.1
    Updates IS_6-0-1_SP2
    Build Number 425


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


  • 3.  RE: IS doesn't always release files

    Posted 12/05/03 11:07 AM

    I definitely notice this as well. If all goes well with your service, the stream closes fine. But if you go to an exception block, I can not pull the stream from the pipeline and close it. For some reason it is changing the type of the stream from java.io.BufferedInputStream to java.lang.String.

    Any suggestions would be greatly appreciated!


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


  • 4.  RE: IS doesn't always release files

    Posted 12/05/03 01:44 PM

    I just figured out my issue. I had a Main/try/catch block. I called getFile in the try block. If an error occurred, i tried to get the variable from the pipeline and close the stream. It wasn’t working. Now I have a:
    main
    try{
    getFile
    main
    try{
    }
    catch{
    close stream
    }
    catch

    This seems to fix my issue. It’s all about variable declaration.


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


  • 5.  RE: IS doesn't always release files

    Posted 12/08/03 04:35 AM

    when you go to the catch block IS does not pass any pipeline content of the try block, that is probably the reason


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