hi, i am using Apache Tomcat/4.0.1 on my windows professional . i am trying to deploy my existing code running on tomcat-4.1.29(linux platform). but after doing that whenever i start my windows tomact i get the follwoing error messages. ------------------------------------------------------- Starting service Tomcat-Standalone Apache Tomcat/4.0.1 PARSE error at line 61 column 11 org.xml.sax.SAXParseException: The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter- mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welco me-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-const raint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)". Starting service Tomcat-Apache Apache Tomcat/4.0.1 ------------------------------------------------------
i have also changed the path specified for my conf file(dessdocs.properties).. in web.xml following is the part of web.xml file that i am using..which may have a problem..i guess. ... <servlet> <servlet-name>DessdocsManager</servlet-name> <servlet-class>com.ddocs.DessdocsManager</servlet-class> <init-param> <param-name>ConfigPath</param-name> <param-value>dessdocs.properties</param-value> </init-param> <load-on-startup>1</load-on-startup> </servlet> ...
can any rancher tell me what might be the problem with web.xml ?? since it works on linux platform.... please help me out..
Balaji Loganathan
author and deputy
Bartender
Joined: Jul 13, 2001
Posts: 3150
posted
0
Hi Kusum, Welcome to Javaranch, I am moving this question to Tomcat forum, Folks there may help you.