3 Replies Latest reply on Feb 11, 2002 10:23 AM by Andy Hart

    External entity not  found

    Sundaram Ramasamy Newbie

      [AutoDeployer] Auto deploy of
      I am trying to deploy the petsotre example. When I deploy the .ear file, its giving the External entiry not found error.

      org.jboss.deployment.J2eeDeploymentException: Error in parsing application.xml: External entity not found: "http://java.sun.com/dtd/application_1_3.dtd".

      Do i need to download the application_1_3.dtd file.

      Thanks
      -SR

      file:/D:/jboss/jboss/deploy/petstore.ear

      [J2EE Deployer Default] Deploy J2EE application: file:/D:/jboss/jboss/deploy/petstore.ear

      [J2eeDeployer] Create application petstore.ear

      [Default] External entity not found: "http://java.sun.com/dtd/application_1_3.dtd".:-1:3

      [Default] java.net.NoRouteToHostException: Operation timed out: no further information

      [Default] at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3035)

      [Default] at org.apache.crimson.parser.Parser2.externalParameterEntity(Parser2.java:2723)

      [Default] at org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Parser2.java:1154)

      [Default] at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:488)

      [Default] at org.apache.crimson.parser.Parser2.parse(Parser2.java:304)

      [Default] at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)

      [Default] at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:179)

      [Default] at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:86)

      [Default] at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:245)

      [Default] at org.jboss.deployment.Installer.execute(Installer.java:208)

      [Default] at org.jboss.deployment.InstallerFactory.install(InstallerFactory.java:101)

      [Default] at org.jboss.deployment.J2eeDeployer.installApplication(J2eeDeployer.java:418)

      [Default] at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:203)

      [Default] at java.lang.reflect.Method.invoke(Native Method)

      [Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)

      [Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)

      [Default] at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:379)

      [Default] at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:217)

      [Default] at java.lang.Thread.run(Thread.java:484)

      [AutoDeployer] Deployment failed:file:/D:/jboss/jboss/deploy/petstore.ear

      [AutoDeployer] org.jboss.deployment.J2eeDeploymentException: Error in parsing application.xml: External entity not found: "http://java.sun.com/dtd/application_1_3.dtd".

      [AutoDeployer] at org.jboss.deployment.Installer.execute(Installer.java:218)

      [AutoDeployer] at org.jboss.deployment.InstallerFactory.install(InstallerFactory.java:101)

      [AutoDeployer] at org.jboss.deployment.J2eeDeployer.installApplication(J2eeDeployer.java:418)

      [AutoDeployer] at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:203)

      [AutoDeployer] at java.lang.reflect.Method.invoke(Native Method)

      [AutoDeployer] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)

      [AutoDeployer] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)

      [AutoDeployer] at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:379)

      [AutoDeployer] at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:217)

      [AutoDeployer] at java.lang.Thread.run(Thread.java:484)