Hi, Folks! Anyone knows how to disable DTD Validation during deployment on JBoss 4.2? I have an EAR application which contains a WAR and you respective "web.xml". unfortunately, the server does not have access to internet, and throws the following exception:
avax.xml.ws.WebServiceException: org.dom4j.DocumentException: java.sun.com Nested exception: java.sun.com at org.jboss.wsf.container.jboss42.WebXMLRewriterImpl.rewriteWebXml(WebXMLRewriterImpl.java:95) at org.jboss.wsf.container.jboss42.ModifyWebMetaDataDeploymentAspect.create(ModifyWebMetaDataDeploymentAspect.java:53) at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:115) at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97) at org.jboss.wsf.container.jboss42.DeployerInterceptor.create(DeployerInterceptor.java:79) at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180) because this line on "web.xml": <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> This file ("web.xml") is generated by XDoclet, and he put automaticaly inside the file. Anyone knows a method to disable this validation? In XDoclet, in Jboss or in Java? Thanks for any help!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175104#4175104 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175104 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
