1 Reply Latest reply on Apr 5, 2002 7:52 AM by Thomas Peuss

    Failed to setup web application ENC if offline

    lsloh Newbie

      Hi,
      I am running Jboss 3.0 beta release with the embedded Catalina engine.

      I noticed that if I am not on the network, I get the following error during Jboss startup. Otherwise, it's fine.

      Thanks for any advice.

      LS
      ================= error log ============================
      01:13:10,620 ERROR [org.jboss.metadata.XmlFileLoader] External entity not found: "http://java.sun.co
      m/dtd/web-app_2_3.dtd".:-1:2
      java.net.UnknownHostException: java.sun.com
      at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3108)
      at org.apache.crimson.parser.Parser2.externalParameterEntity(Parser2.java:2796)
      at org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Parser2.java:1155)
      at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:489)
      at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
      at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)
      at org.apache.crimson.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:185)
      at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:86)
      at org.jboss.metadata.XmlFileLoader.getDocument(XmlFileLoader.java:260)
      at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.contextInit(EmbeddedCatalinaServiceSX.ja
      va:493)
      at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.access$000(EmbeddedCatalinaServiceSX.jav
      a:74)
      at org.jboss.web.catalina.EmbeddedCatalinaServiceSX$1.lifecycleEvent(EmbeddedCatalinaService
      SX.java:429)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:3353)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)
      at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.createWebContext(EmbeddedCatalinaService
      SX.java:443)
      at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.performDeploy(EmbeddedCatalinaServiceSX.
      java:287)
      at org.jboss.web.AbstractWebContainer.deploy(AbstractWebContainer.java:389)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
      at org.jboss.deployment.MainDeployer.deploySubPackages(MainDeployer.java:793)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:453)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:413)
      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:272)
      at org.jboss.deployment.MainDeployer.startService(MainDeployer.java:218)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:160)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
      at org.jboss.system.Server.(Server.java:157)
      at org.jboss.Main.boot(Main.java:263)
      at org.jboss.Main.run(Main.java:48)
      at java.lang.Thread.run(Thread.java:484)
      01:13:10,760 ERROR [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] Failed to setup web application ENC