1 Reply Latest reply on Nov 2, 2002 1:35 AM by Subrahmanyam

    problems  with Jboss_Tomcat

    hui Newbie

      Hi,
      When I run the interest.ear with jboss_tomcat,I had bugs as below,pls give help.


      [INFO,Default] PARSE error at line 3 column -1
      [INFO,Default] org.xml.sax.SAXParseException: Element type "web-app" is not decl
      ared.
      [ERROR,EmbeddedCatalinaServiceSX] ContextConfig[/interest] Parse error in applic
      ation web.xml
      org.xml.sax.SAXParseException: Element type "web-app" is not declared.
      at org.apache.crimson.parser.Parser2.error(Parser2.java:3086)
      at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1316)
      at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:500)
      at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
      at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:433)

      at org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)

      at javax.xml.parsers.SAXParser.parse(SAXParser.java:326)
      at javax.xml.parsers.SAXParser.parse(SAXParser.java:101)
      at org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:275)
      at org.apache.catalina.startup.ContextConfig.applicationConfig(ContextCo
      nfig.java:256)
      at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:82
      4)
      at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfi
      g.java:224)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
      eSupport.java:155)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)

      at org.apache.catalina.core.StandardContext.start(StandardContext.java:3
      334)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:78
      5)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:454)

      at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.createWebContext(Emb
      eddedCatalinaServiceSX.java:428)
      at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.performDeploy(Embedd
      edCatalinaServiceSX.java:282)
      at org.jboss.web.AbstractWebContainer.deploy(AbstractWebContainer.java:1
      91)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:16
      28)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
      23)
      at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:505)

      at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:
      459)
      at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:190)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:16
      28)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
      23)
      at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:400)
      at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:239)
      at org.jboss.deployment.AutoDeployer.startService(AutoDeployer.java:375)

      at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103
      )
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:16
      28)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
      23)
      at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(Conf
      igurationService.java:967)
      at $Proxy0.start(Unknown Source)
      at org.jboss.util.ServiceControl.start(ServiceControl.java:79)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:16
      28)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
      23)
      at org.jboss.Main.(Main.java:208)
      at org.jboss.Main$1.run(Main.java:110)
      at java.security.AccessController.doPrivileged(Native Method)
      at org.jboss.Main.main(Main.java:106)