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

Error javaioIOException Authorization Required Invalid Session ID or Session Expired

  • 1.  Error javaioIOException Authorization Required Invalid Session ID or Session Expired

    Posted Thu October 30, 2003 09:13 AM

    Hi,

    We have a trading partner who recently upgraded to WM6. Basically, we do an HTTP post of our transactions to their server (passing through HTTPS protocol). The system we are using to post is WM4.0.1 (SAP Business Connector). Ever since our trading partner has upgraded their WM, we have never been able to establish a successful connection and is getting the following error:

    java.io.IOException: Authorization Required: Invalid Session ID or Session Expired

    This happens when a normal transaction is run from the BackEnd SAP system who passes the IDoc transaction data to our WM4.0.1 server to map it to XML format. Afterwhich it will HTTP post it to the vendor’s server using the HTTPS protocol.

    However, when i try manually reprocessing the transactions from the WM Integrator/Developer, through a getMessage to bring back the IDoc data into the pipeline, and re-post it, it is able to process the transactions successfully.

    Anyone has an idea what may be happenning here? Any information would be greatly appreciated. Thanks! – Choy


    #webMethods
    #Integration-Server-and-ESB
    #webmethods-Protocol-and-Transport


  • 2.  RE: Error javaioIOException Authorization Required Invalid Session ID or Session Expired

    Posted Thu March 11, 2004 02:55 PM

    Hi Eduardo,

    Recently we had the same problem and we’ve solved this by entering a new parameter into the webMethods Administrator –> Settings –> Extended

    Here you add following parameter:

    watt.net.useCookies=false

    Don’t forget to save this change and to reboot your server.

    Good luck,

    David


    #Integration-Server-and-ESB
    #webMethods
    #webmethods-Protocol-and-Transport


  • 3.  RE: Error javaioIOException Authorization Required Invalid Session ID or Session Expired

    Posted Thu March 11, 2004 03:33 PM

    David,

    Thanks for that one. It drives me crazy!

    Ray


    #webMethods
    #Integration-Server-and-ESB
    #webmethods-Protocol-and-Transport


  • 4.  RE: Error javaioIOException Authorization Required Invalid Session ID or Session Expired

    Posted Sun March 14, 2004 11:29 PM

    Guys - Ever noticed how WM servers only have problems when HTTP-posting to each other? :-]

    Eduardo - David’s suggestion is good. The WM pub.client:http service seems to automatically reuse cookies received from previous posts - this stops it doing so.

    This problem can also be fixed if your partner’s receive service (in the WM6 server) is set to “stateless” in the service settings in developer. This stops extended session being setup, so there is nothing to expire. For eg: the wm.tn:receive service is set to “stateless”.

    I am assuming your service doesn’t use sessions - if it does, take a look at Integration Server 4.6 Fix 125 - there also may be a separate fix for IS 4.0.1.


    #Integration-Server-and-ESB
    #webmethods-Protocol-and-Transport
    #webMethods


  • 5.  RE: Error javaioIOException Authorization Required Invalid Session ID or Session Expired

    Posted Mon March 15, 2004 07:57 AM

    depends on which version u’re using. if it’s IS6.0, try any of the following:

    1. change invoked service to ‘stateless’
    2. apply fix - IS_6-0-1_SP2_Fix114.jar in “…\IntegrationServer\updates.…”
      3.or another option, use ‘anonymous’. then set the codes itself to validate the user.

    #webMethods
    #Integration-Server-and-ESB
    #webmethods-Protocol-and-Transport