• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

Tomcat -web.xml parseing error

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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..
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Kusum,
Welcome to Javaranch, I am moving this question to Tomcat forum, Folks there may help you.
 
I got this tall by not having enough crisco in my diet as a kid. This ad looks like it had plenty of shortening:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic