"NoClassDefFoundError: org/apache/xml/serializer/OutputPropertiesFactory" Whilst Deploying CS During Upgrade From 11.1.1.6.1 To 11.1.1.8.0
(Doc ID 2053411.1)
Last updated on JULY 25, 2023
Applies to:
Oracle WebCenter Sites - Version 11.1.1.6.1 and laterInformation in this document applies to any platform.
Symptoms
Issue whilst deploying Sites during upgrade from 11.1.1.6.1 to 11.1.1.8.0. Deployment of Sites fails with the following exceptions on-screen in the WLS console:
java.lang.IllegalArgumentException: Getting Deployment configuration...
java.lang.NoClassDefFoundError: org/apache/xml/serializer/OutputPropertiesFactory
and in WLS logs:
#### <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <> at weblogic.deploy.api.spi.config.DeploymentConfigurationImpl.getDConfigBeanRoot(DeploymentConfigurationImpl.java:171)
at weblogic.deploy.api.tools.SessionHelper.initializeWithConfig(SessionHelper.java:798)
at weblogic.deploy.api.tools.SessionHelper.initialize(SessionHelper.java:739)
at weblogic.deploy.api.tools.SessionHelper.initializeConfiguration(SessionHelper.java:556)
at weblogic.deploy.api.tools.SessionHelper.initializeConfiguration(SessionHelper.java:544)
at weblogic.deploy.api.tools.SessionHelper.initializeConfiguration(SessionHelper.java:627)
at com.bea.console.utils.DeploymentConfigurationHelper$1.execute(DeploymentConfigurationHelper.java:838)
at com.bea.console.utils.DeploymentUtils.runDeploymentAction(DeploymentUtils.java:5022)
at com.bea.console.utils.DeploymentConfigurationHelper.initDeploymentConfiguration(DeploymentConfigurationHelper.java:827)
at com.bea.console.utils.DeploymentConfigurationHelper.completeInitialization(DeploymentConfigurationHelper.java:428)
at com.bea.console.utils.DeploymentConfigurationManager.getDeploymentConfiguration(DeploymentConfigurationManager.java:130)
at com.bea.console.utils.DeploymentConfigurationManager.getDeploymentConfiguration(DeploymentConfigurationManager.java:65)
...
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: javax.enterprise.deploy.spi.exceptions.InvalidModuleException: [J2EE Deployment SPI:260050]'weblogic.j2ee.descriptor.wl.WeblogicWebAppBeanDConfig' does not implement weblogic.deploy.api.spi.WebLogicDConfigBeanRoot, or cannot be instantiated: java.lang.NoClassDefFoundError: org/apache/xml/serializer/OutputPropertiesFactory.
at weblogic.deploy.api.spi.config.DeploymentConfigurationImpl.initDConfig(DeploymentConfigurationImpl.java:726)
at weblogic.deploy.api.spi.config.DeploymentConfigurationImpl.getDConfigBeanRoot(DeploymentConfigurationImpl.java:157)
... 63 more
Caused by: java.lang.NoClassDefFoundError: org/apache/xml/serializer/OutputPropertiesFactory
at org.apache.xalan.templates.OutputProperties.(OutputProperties.java:83)
at org.apache.xalan.transformer.TransformerIdentityImpl.(TransformerIdentityImpl.java:88)
at org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:823)
at weblogic.deploy.api.model.internal.DDBeanImpl.getTextFromNode(DDBeanImpl.java:253)
at weblogic.deploy.api.model.internal.DDBeanImpl.getNodeText(DDBeanImpl.java:245)
at weblogic.deploy.api.model.internal.DDBeanImpl.getText(DDBeanImpl.java:79)
at weblogic.deploy.api.internal.utils.ConfigHelper.getNSPrefix(ConfigHelper.java:74)
at weblogic.deploy.api.spi.config.BasicDConfigBeanRoot.setNamespace(BasicDConfigBeanRoot.java:440)
at weblogic.deploy.api.spi.config.BasicDConfigBeanRoot.(BasicDConfigBeanRoot.java:89)
at weblogic.j2ee.descriptor.wl.WeblogicWebAppBeanDConfig.(WeblogicWebAppBeanDConfig.java:60)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at weblogic.deploy.api.spi.config.DeploymentConfigurationImpl.constructDCB(DeploymentConfigurationImpl.java:606)
at weblogic.deploy.api.spi.config.DeploymentConfigurationImpl.initDConfig(DeploymentConfigurationImpl.java:693)
... 64 more
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |