tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yuexiang <yue.xiang.y...@gridnode.com>
Subject configuration help is needed
Date Fri, 30 Nov 2001 03:14:14 GMT
Hi, All

I found the message in the error log. what's mean?
thanks
yang

 Parse error in application web.xml
org.xml.sax.SAXParseException: The content of element type "web-app" 
must match 
"(icon?,display-name?,description?,distributable?,context-param*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*)".
        at 
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:1196)
        at 
org.apache.xerces.validators.common.XMLValidator.reportRecoverableXMLError(XMLValidator.java:1781)
        at 
org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1425)
        at 
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1149)
        at 
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1081)
        at 
org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:143)
        at 
org.apache.catalina.util.xml.XmlMapper.readXml(XmlMapper.java:275)
        at 
org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.java:256)
        at 
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:824)
        at 
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:224)
        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:3334)
        at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
        at 
org.apache.catalina.core.StandardHost.start(StandardHost.java:612)
        at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
        at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:307)
        at 
org.apache.catalina.core.StandardService.start(StandardService.java:388)
        at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:505)
        at org.apache.catalina.startup.Catalina.start(Catalina.java:776)
        at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
        at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)



yuexiang wrote:

> Hi, all
>
> I just upgrade tomcat from 3.3 to 4.0.1.
> (1)
> I add my Context in the server.xml file as:
>
>        <Context path="/httptunnellerserver" 
> docBase="httptunnellerserver" debug="0"
>                 reloadable="true">
>          <Logger className="org.apache.catalina.logger.FileLogger"
>                     prefix="localhost_httptunnellerserver_log." 
> suffix=".txt"
>                  timestamp="true"/>
>        </Context>
>
> (2)
> I copy the whole directory of my application from webapps/myapp 
> recursively from 3.3 to 4.0.
>
> cp -r XXXXX/httptunnellerserver ~/tomcat/webapps/
>
> But the following error occured when I access the 8080 port.
> By the way, I can run my application in the 3.3 tomcat.
>
> Any help? I don't know whether other config is needed?
>
> Thanks advance.
> yang
>
>
>  Apache Tomcat/4.0.1 - HTTP Status 404 - /
>
> ------------------------------------------------------------------------
>
> *type* Status report
>
> *message*_/_
>
> *description*_The requested resource (/) is not available._
>
>
>
>
> -- 
> To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
> Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
>
>


-- 
             ^  ^
             (oo)\_______
             (__)\       )\/\
                 ||----w |
                 ||     ||

Welcome http://192.168.213.203




--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message