IBM Support

IC64877: HATS IOS INVOKED FROM SERVLET RETURN JAVA.LANG.ILLEGALARGUMENTEX CEPTION IF HTTP SESSION ISN'T ESTABLISHED FIRST.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment: HATS V7.5.
    Problem: If a customer uses a servlet to invoke a HATS
    Integration Object (IO), and they have not previously
    established an http session and thereby created an http session
    object, the invocation will fail, returning a
    java.lang.illegalArgumentException error message.  This type
    of invocation, without first establishing an http session,
    worked fine in HATS V6.0.  Also, in either case, invoking the
    IO from a .jsp page instead of a servelet works fine.
    

Local fix

  • establish an http session just before invoking the IO.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    *                 HATS users running applications that call    *
    *                 Integration Objects from a servlet context.  *
    ****************************************************************
    * PROBLEM DESCRIPTION: If an Integration Object was called     *
    *                      from a servlet context without          *
    *                      creating a HTTP session object first,   *
    *                      then                                    *
    *                      a java.lang.illegalArgumentException    *
    *                      error is generated.                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    HATS code was ignoring an indicator that specified not to
    create an internal WebSession object if no HTTP session object
    exists.
    

Problem conclusion

  • HATS code was modified to only create the internal WebSession
    object under the proper conditions.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC64877

  • Reported component name

    RATL HATS MULTI

  • Reported component ID

    5724U6700

  • Reported release

    750

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-11-30

  • Closed date

    2010-01-04

  • Last modified date

    2010-01-04

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Modules/Macros

  • HATSCOMM
    

Fix information

  • Fixed component name

    RATL HATS MULTI

  • Fixed component ID

    5724U6700

Applicable component levels

  • R710 PSY

       UP

  • R750 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSXKAY","label":"IBM Host Access Transformation Services"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
04 January 2010