0 Replies Latest reply on May 25, 2004 10:37 PM by yaocl

    DeploymentException:The markup declarations ... must be well

    yaocl

      We have a EAR file containinf one WAR file only.
      Today, when we deploy the EAR file to the jboss3.2.3 server, we get a DeploymentException that never happended before.

      Somebody knows how does this happen?

      ----------Console logs------
      10:22:36,241 INFO [MainDeployer] Starting deployment of package: file:/C:/java/
      jboss-3.2.3/server/default/deploy/wpayment.ear
      10:22:37,233 INFO [EARDeployer] Init J2EE application: file:/C:/java/jboss-3.2.
      3/server/default/deploy/wpayment.ear
      10:22:47,948 ERROR [XmlFileLoader] The markup declarations contained or pointed
      to by the document type declaration must be well-formed.:3:1
      org.xml.sax.SAXParseException: The markup declarations contained or pointed to b
      y the document type declaration must be well-formed.
      at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:235)
      at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.
      java:201)
      at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:293)
      at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:247)
      at org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:323
      )
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:696)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:716)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy6.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
      tScanner.java:302)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:458)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      doScan(AbstractDeploymentScanner.java:201)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      loop(AbstractDeploymentScanner.java:212)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      run(AbstractDeploymentScanner.java:191)
      10:22:48,098 ERROR [EmbeddedTomcatService] Problem in init
      org.jboss.deployment.DeploymentException: The markup declarations contained or p
      ointed to by the document type declaration must be well-formed.; - nested throwa
      ble: (org.xml.sax.SAXParseException: The markup declarations contained or pointe
      d to by the document type declaration must be well-formed.)
      at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:307)
      at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:247)
      at org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:323
      )
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:696)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:716)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy6.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
      tScanner.java:302)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:458)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      doScan(AbstractDeploymentScanner.java:201)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      loop(AbstractDeploymentScanner.java:212)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      run(AbstractDeploymentScanner.java:191)
      Caused by: org.xml.sax.SAXParseException: The markup declarations contained or p
      ointed to by the document type declaration must be well-formed.
      at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:235)
      at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.
      java:201)
      at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:293)
      ... 18 more
      10:22:48,258 WARN [NestedThrowable] Duplicate throwable nesting of same base ty
      pe: class org.jboss.deployment.DeploymentException is assignable from: class org
      .jboss.deployment.DeploymentException
      10:22:48,278 ERROR [MainDeployer] Could not initialise deloyment: file:/C:/java/
      jboss-3.2.3/server/default/deploy/wpayment.ear
      org.jboss.deployment.DeploymentException: The markup declarations contained or p
      ointed to by the document type declaration must be well-formed.; - nested throwa
      ble: (org.xml.sax.SAXParseException: The markup declarations contained or pointe
      d to by the document type declaration must be well-formed.); - nested throwable:
      (org.jboss.deployment.DeploymentException: The markup declarations contained or
      pointed to by the document type declaration must be well-formed.; - nested thro
      wable: (org.xml.sax.SAXParseException: The markup declarations contained or poin
      ted to by the document type declaration must be well-formed.))
      at org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:350
      )
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:696)
      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:716)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:632)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy6.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
      tScanner.java:302)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:458)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      doScan(AbstractDeploymentScanner.java:201)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      loop(AbstractDeploymentScanner.java:212)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      run(AbstractDeploymentScanner.java:191)
      Caused by: org.jboss.deployment.DeploymentException: The markup declarations con
      tained or pointed to by the document type declaration must be well-formed.; - ne
      sted throwable: (org.xml.sax.SAXParseException: The markup declarations containe
      d or pointed to by the document type declaration must be well-formed.)
      at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:307)
      at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:247)
      at org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:323
      )
      ... 16 more
      Caused by: org.xml.sax.SAXParseException: The markup declarations contained or p
      ointed to by the document type declaration must be well-formed.
      at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:235)
      at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.
      java:201)
      at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:293)
      ... 18 more