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 10.1.3.0.0 to 10.1.3.3.0 [Release AS10gR3]
Information in this document applies to any platform.
This problem can occur on any platform.

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

Symptoms

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.
oracle.sysman.ias.studio.sdk.IASRuntimeException: Error invoking MBean operation
...
Caused by: javax.management.MBeanException: Exception thrown in RequiredModelMBean while trying to invoke operation removeEnvironment
...
java.lang.ClassCastException: oracle.xml.parser.v2.XMLComment
...

Changes

Changing settings for an OC4J container.

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