java.lang.ClassCastException: org.apache.xerces.dom.DeferredElementNSImploracle.oc4j.admin.internal.DeployerException: java.lang.ClassCastException: org.apache.xerces.dom.DeferredElementNSImpl


Solutions on the web

Solution icon of oraclecommunity
org.apache.xerces.dom.DeferredElementNSImploracle.oc4j.admin.internal.DeployerException: java.lang.ClassCastException: org.apache.xerces.dom.DeferredElementNSImpl

Stack trace

java.lang.ClassCastException: org.apache.xerces.dom.DeferredElementNSImploracle.oc4j.admin.internal.DeployerException: java.lang.ClassCastException: org.apache.xerces.dom.DeferredElementNSImpl
	at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:126)
	at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
	at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
	at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819)
	at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.ClassCastException: org.apache.xerces.dom.DeferredElementNSImpl
	at oracle.j2ee.ws.server.deployment.WebServiceEndpoint.writeRuntimeXml(WebServiceEndpoint.java:660)
	at oracle.j2ee.ws.server.deployment.WebServiceEndpoint.writeXML(WebServiceEndpoint.java:616)
	at com.evermind.xml.XMLUtils.writeAll(XMLUtils.java:136)
	at oracle.j2ee.ws.server.deployment.WebService.writeEndpoints(WebService.java:382)
	at oracle.j2ee.ws.server.deployment.WebService.writeXML(WebService.java:374)
	at com.evermind.xml.XMLUtils.writeAll(XMLUtils.java:136)
	at oracle.j2ee.ws.server.deployment.WebServicesDescriptor.writeWebServices(WebServicesDescriptor.java:447)
	at oracle.j2ee.ws.server.deployment.WebServicesDescriptor.writeOrionXML(WebServicesDescriptor.java:426)
	at oracle.j2ee.ws.server.deployment.WebServicesDescriptor.writeOrionConfig(WebServicesDescriptor.java:401)
	at com.evermind.server.J2EEComponent.getDeploymentContent(J2EEComponent.java:403)
	at com.evermind.server.J2EEComponent.storeDeployment(J2EEComponent.java:494)
	at com.evermind.server.http.WrapperClassGenerator.generateWebServiceArts(WrapperClassGenerator.java:93)
	at com.evermind.server.http.HttpApplication.generateWebServiceArtifacts(HttpApplication.java:8403)
	at com.evermind.server.http.HttpApplication.populateLoaderWithWebServicesDeploymentCache(HttpApplication.java:5465)
	at com.evermind.server.http.HttpApplication.populateLoader(HttpApplication.java:5394)
	at com.evermind.server.http.HttpApplication.initClassLoader(HttpApplication.java:5333)
	at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:645)
	at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:428)
	at com.evermind.server.Application.getHttpApplication(Application.java:512)
	at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1975)
	at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1894)
	at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1591)
	at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:206)
	at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:96)
	at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:541)
	at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:197)
	at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
	... 4 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.