iAS 10.1.3.x XDB Application fails with error IllegalAccessError: tried to access class CharacterSetFactoryDefault error

(Doc ID 393243.1)

Last updated on JULY 10, 2009

Applies to:

Oracle Containers for J2EE - Version: to
This problem can occur on any platform.


Executing a XDB servlet application in OC4J 10.1.3.x aborts with error:

500 Internal Server Error
java.lang.IllegalAccessError: tried to access class oracle.sql.CharacterSetFactoryDefault from
class oracle.sql.CharacterSet 
at oracle.sql.CharacterSet.<clinit>(CharacterSet.java:351) 
at oracle.xdb.XMLType.<init>(XMLType.java:111) 
at oracle.xdb.XMLType.createXML(XMLType.java:746) 
at oracle.xdb.XMLType.createXML(XMLType.java:1334) 
at xmldbtestcase.XMLDBTestCase.doInsert(XMLDBTestCase.java:82)
at xmldbtestcase.XMLDBTestCase.create(XMLDBTestCase.java:57)
at xmldbtestcase.XMLDBTestCaseServlet.processRequestXMLDBTestCaseServlet.java:37)
at xmldbtestcase.XMLDBTestCaseServlet.doPost(XMLDBTestCaseServlet.java:23)


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