The moose likes Web Services and the fly likes Tomcat  -web.xml parseing error Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Tomcat  -web.xml parseing error" Watch "Tomcat  -web.xml parseing error" New topic
Author

Tomcat -web.xml parseing error

Kusum Mandore
Greenhorn

Joined: Oct 08, 2004
Posts: 3
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
Hi Kusum,
Welcome to Javaranch, I am moving this question to Tomcat forum, Folks there may help you.


Spritle Software Blogs
 
 
subject: Tomcat -web.xml parseing error
 
Threads others viewed
Tomcat -web.xml parseing error
== Filter Problem ==
Not able to use Struts Taglibs
Entries in Web.xml file
Problem in web.xml
MyEclipse, The Clear Choice