juddiv3.war のデプロイが "DOCTYPE disallowed" を取得する

Solution Unverified - Updated -

Issue

  • juddiv3.war をデプロイすると、server log に以下のエラーが出力されます。

    Caused by: java.io.IOException: org.xml.sax.SAXParseException:DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" set to true. 
     at org.jboss.wsf.common.DOMUtils.parse(DOMUtils.java:247) 
     at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:270) 
     . 
     .
     DEPLOYMENTS IN ERROR: 
     Deployment "vfsfile:/tmp/SOA-P/jboss-soa-p-5/jboss-as/server/all/deploy/juddiv3.war/" is in error due to the following reason(s): java.io.IOException: org.xml.sax.SAXParseException:DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" set to true.
    
    

    このエラーはどうして発生しますか? または、どのように修正することができますか?

  • Web サービスで XTS トランザクションのデプロイを行おうとすると、以下のエラーが発生します。

    ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/tmp/EAP5.1.2/jboss-eap-5.1/jboss-as/server/all/deploy/jbossxts.sar/ state=PreReal mode=Manual requiredState=Real 
         org.jboss.deployers.spi.DeploymentException:Error during deploy: vfszip:/tmp/EAP5.1.2/jboss-eap-5.1/jboss-as/server/all/deploy/jbossxts.sar/ws-c11.war/ 
                 at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) 
         . 
         . 
         Caused by: org.jboss.ws.WSException:Cannot publish wsdl to:/tmp/EAP5.1.2/jboss-eap-5.1/jboss-as/server/all/data/wsdl/jbossxts.sar/ws-c11.war/wscoor-activation-binding.wsdl 
                 at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishWsdlFiles(WSDLFilePublisher.java:145) 
         . 
         . 
         Caused by: java.io.IOException: org.xml.sax.SAXParseException:DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" set to true. 
                 at org.jboss.wsf.common.DOMUtils.parse(DOMUtils.java:247) 
                 at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishSchemaImports(WSDLFilePublisher.java:270) 
         . 
         . 
         DEPLOYMENTS IN ERROR: 
           Deployment "vfsfile:/tmp/EAP5.1.2/jboss-eap-5.1/jboss-as/server/all/deploy/jbossxts.sar/" is in error due to the following reason(s): java.io.IOException: org.xml.sax.SAXParseException:DOCTYPE is disallowed when the feature "http://apache.org/xml/features/disallow-doctype-decl" set to true.
    

Environment

  • JBoss Enterprise SOA Platform
  • JBoss Enterprise Application Platform

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.