Error "java.lang.ClassCastException: oracle.xml.parser.v2.XMLComment" when Applying Changes to the OC4J Instances

(Doc ID 473533.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Containers for J2EE - Version to [Release AS10gR3]
Information in this document applies to any platform.
This problem can occur on any platform.

***Checked for relevance on 22-Jan-2014***


When trying to make changes to the java options of an OC4J container the following error
when applying the changes:

2008-01-09 11:39:00,999 [SystemThreadGroup-25] WARN svrproperty.JMXServerPropertyAdminBean
_removeEnvs.262 - Exception in committing server properties. Error invoking MBean operation
Caused by: Exception thrown in RequiredModelMBean while trying to invoke operation removeEnvironment
java.lang.ClassCastException: oracle.xml.parser.v2.XMLComment


Changing settings for an OC4J container.


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