AccessControlException Encountered After Upgrading Java Version From Java5r10 To Java5r51 (Doc ID 1598632.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Java CAPS - Version 5.1.3 and later
Information in this document applies to any platform.

Symptoms

On : 5.1.3 version, Core Product

AccessControlException encountered after upgrading Java version from Java5r10 to Java5r51

After upgrading our JCAPS Java version from Java5r10 to Java5r51, the following exceptions is encounter during processing:

java.lang.RuntimeException: java.io.IOException: java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.com.sun.org.apache.xerces.internal.jaxp.datatype)

This seems to happen during serialization of an object.


ERROR
-----------------------

[#|2013-10-08T13:53:53.023+0800|SEVERE|IS5.1.3|STC.eGate.CMap.Collabs.dpyCREthsys.svcExtractFutTrade.prjGICCommonJCDs.jcdCollabNameKeyedDoubleOracleConnectedCollab|_ThreadID=33; ThreadName=JMS Async S12; Context=Equities_CREthsysProcess/queCRIMS_EthsysFutExtract_svcExtractFutTrade_ejb;|RuntimeException from svcExtractFutTrade
Stack Trace = java.lang.RuntimeException: java.io.IOException: java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.com.sun.org.apache.xerces.internal.jaxp.datatype)
       at gic.equities.extraction.FuturesTicketDispatcher.process(FuturesTicketDispatcher.java:87)
       at gic.equities.extraction.CRExtractCollab.execute(CRExtractCollab.java:44)
...
Caused by: java.io.IOException: java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.com.sun.org.apache.xerces.internal.jaxp.datatype)
       ... 35 more


Changes

 Upgrade JDK from Java5r10 to Java5r51

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms