IX90067: ORB INCORRECTLY CACHES TOSTUB FAILURES

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • Error Message: ORB appears to be incorrectly caching negative
    class loads
    .
    Stack Trace:
    .
    

Local fix

Problem summary

  • ORB appears to be incorrectly caching negative class loads
    

Problem conclusion

  • This defect will be fixed in:
    6.0.1 GA FP1
    
    These are the events taking place during test run ?
    1) Context classloader is set to CL1
    2) Call to exportObject()
    3) Context classloader is set to CL2 (Cl2 is parent of CL1)
    4) Call to toStub() ?
    As expected this call fails with java.rmi.NoSuchObjectException
    as it cant load
    stub but adds entry in TieToStubcache though it was miss.
    5) set context classloader to CL1
    6) Call to toStub() this time the TieToStubCache hands back the
    stubInfo
       object which it stored in previous call to toStub() but
    remember this was miss
       last time and hence the stubInfo.stub = NULL here
    7) This again results in java.rmi.NoSuchObjectException where as
    it should
       have loaded separate stub. The problem occurs due
    ClassInfo.matches() logic
       where orb considers previous stubInfo object stored for
    parent context
       classloader (CL2 in this case) a match.
    And TieToStubCache returns back that stored stubInfo object.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IX90067

  • Reported component name

    ORB

  • Reported component ID

    620700123

  • Reported release

    260

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-06-17

  • Closed date

    2011-06-19

  • Last modified date

    2011-06-19

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

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

Fix information

  • Fixed component name

    ORB

  • Fixed component ID

    620700123

Applicable component levels

  • R260 PSY

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Runtimes for Java Technology
ORB

Software version:

260

Reference #:

IX90067

Modified date:

2011-06-19

Translate my page

Machine Translation

Content navigation