PK83722: RMI-IIOP FAILS TO WORK VIA JAVA PLUGIN

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Error Message: An applet accessing an EJB fails with an
    AcessControlException.
    .
    Stack Trace: com.ibm.rmi.iiop.CDRInputStream loadStub:1378
    thread applet-RMIIIOPTestApplet ORBRas<OSB>default<CSB>
    java.lang.ExceptionInInitializerError
    java.lang.ExceptionInInitializerError
    at com.ibm.rmi.util.ClassInfo.<clinit>(ClassInfo.java:61)
    at
    com.ibm.rmi.util.Utility$RepIdToStubClassCache.get(Utility.java:
    310)
    at com.ibm.rmi.util.Utility.loadStubClass(Utility.java:1591)
    at
    com.ibm.rmi.iiop.CDRInputStream.loadStub(CDRInputStream.java:135
    8)
    at
    com.ibm.rmi.iiop.CDRInputStream.newObjRef(CDRInputStream.java:12
    31)
    at
    com.ibm.rmi.iiop.CDRInputStream.read_Object(CDRInputStream.java:
    1191)
    at
    com.ibm.rmi.iiop.CDRInputStream.read_Object(CDRInputStream.java:
    1157)
    at com.ibm.rmi.corba.IorURL.iorbytesToObjref(IorURL.java:106)
    at com.ibm.rmi.corba.IorURL.<init>(IorURL.java:155)
    at com.ibm.rmi.corba.ORB.IORToObject(ORB.java:3808)
    .....
    at com.ibm.rmi.iiop.ORB.resolve_initial_references(ORB.java:654)
    at
    com.ibm.CORBA.iiop.ORB.resolve_initial_references(ORB.java:3387)
    at
    com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java:387
    )
    at com.sun.jndi.cosnaming.CNCtx.initUsingIiopUrl(CNCtx.java:330)
    at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java:285)
    at
    com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java:23
    6)
    at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java:84)
    at
    com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFacto
    ry.java:50)
    at
    javax.naming.spi.NamingManager.getInitialContext(NamingManager.j
    ava:675)
    at
    javax.naming.InitialContext.getDefaultInitCtx(InitialContext.jav
    a:257)
    at javax.naming.InitialContext.init(InitialContext.java:233)
    at javax.naming.InitialContext.<init>(InitialContext.java:209)
    at RMIIIOPTestApplet.init(RMIIIOPTestApplet.java:15)
    at sun.applet.AppletPanel.run(AppletPanel.java:393)
    at java.lang.Thread.run(Thread.java:571)
    Caused by: java.security.AccessControlException: access denied
    (java.lang.RuntimePermission createClassLoader)
    at
    java.security.AccessControlContext.checkPermission(AccessControl
    Context.java:292)
    at
    java.security.AccessController.checkPermission(AccessController.
    java:476)
    at
    java.lang.SecurityManager.checkPermission(SecurityManager.java:5
    38)
    at
    java.lang.SecurityManager.checkCreateClassLoader(SecurityManager
    .java:600)
    at java.lang.ClassLoader.<init>(ClassLoader.java:371)
    at
    com.ibm.rmi.util.ClassInfo$NULL_CL_CLASS.<init>(ClassInfo.java:6
    9)
    at
    com.ibm.rmi.util.ClassInfo$NULL_CL_CLASS.<clinit>(ClassInfo.java
    :67)
    ... 33 more
    , p1=<null>
    .
    

Local fix

Problem summary

  • An applet accessing EJB failed with an AccessControlException.
    

Problem conclusion

  • This defect will be fixed in:
    1.4.2 SR13-1
    1.4.2 SR13-1 (z/OS 64-bit)
    1.4.2 SR13-1 (Linux AMD64)
    1.4.2 SR13-1 (Windows AMD64)
    .
    The problem was resolved by modifying the logic used in the
    creation of classloader.
    .
    To obtain the fix:
    Install build 20090510 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK83722

  • Reported component name

    JAVA(1.3/1.4 CO

  • Reported component ID

    5648C9800

  • Reported release

    42A

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2009-03-31

  • Closed date

    2009-05-14

  • Last modified date

    2009-05-14

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

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

    PK83728 PK83730 PK83732

Fix information

  • Fixed component name

    JAVA(1.3/1.4 CO

  • Fixed component ID

    5648C9800

Applicable component levels

  • R42A PSN

       UP

  • R42L PSN

       UP

  • R42W PSN

       UP

  • R420 PSN

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

z/OS family

Software version:

1.4.2

Reference #:

PK83722

Modified date:

2009-05-14

Translate my page

Machine Translation

Content navigation