tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Donald Duquaine" <dduqua...@mlabs-fl.com>
Subject Mapping problem
Date Wed, 06 Aug 2003 16:52:52 GMT
1. What ever happened to the 'catalina out log'?

2. this is the error I am getting upon starting Tomcat(catalina).....

Aug 6, 2003 10:27:07 AM org.apache.commons.nodeler.Registry loadRegistry
INFO: Loading registry information
Aug 6, 2003 10:27:07 AM org.apache.commons.nodeler.Registry getRegistry
INFO: Creating new Registry instance
Aug 6, 2003 10:27:07 AM org.apache.commons.nodeler.Registry getServer
INFO: Creating MBeanServer
Aug 6, 2003 10:27:11 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.24
Aug 6, 2003 10:27:15 AM org.apache.commons.digester.Digester error
SEVERE: Parse Error at line 129 column 11: The content of element type
"web-app" must
match "(icon?.desplay-name?,description?,distributable?, context-parm*,
filter*,
filter-mapping*, listener*, servlet* ...........


   at.org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)


   etc.....

I was modifying my Web.xml file...  The problem is in the entries for
mapping..If I take the
mapping section out of the Web.xml file everything works fine.

Any ideas... is the syntax wrong...???? ( Web.xml) file attached

<!-- M A P P I N G s -->
  <servlet-mapping>
    <servlet-name>QuintessentialLIMS</servlet-name>
    <url-pattern>/</url-pattern>
  </servlet-mapping>

  <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
  </mime-mapping>
  <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
  </mime-mapping>
  <mime-mapping>
    <extension>htm</extension>
    <mime-type>text/html</mime-type>
  </mime-mapping>
  <mime-mapping>
    <extension>gif</extension>
    <mime-type>image/gif</mime-type>
  </mime-mapping>
  <mime-mapping>
    <extension>jpg</extension>
    <mime-type>image/jpeg</mime-type>
  </mime-mapping>
  <mime-mapping>
    <extension>jpe</extension>
    <mime-type>image/jpeg</mime-type>
  </mime-mapping>
  <mime-mapping>
    <extension>jpeg</extension>
    <mime-type>image/jpeg</mime-type>
  </mime-mapping>
  <mime-mapping>
    <extension>java</extension>
    <mime-type>text/plain</mime-type>
  </mime-mapping>
  <mime-mapping>
    <extension>class</extension>
    <mime-type>application/java</mime-type>
  </mime-mapping>
  <mime-mapping>
    <extension>sh</extension>
    <mime-type>application/x-sh</mime-type>
  </mime-mapping>
  <mime-mapping>
    <extension>zip</extension>
    <mime-type>application/zip</mime-type>
  </mime-mapping>
  <mime-mapping>
    <extension>gtar</extension>
    <mime-type>application/x-gtar</mime-type>
  </mime-mapping>
  <mime-mapping>
    <extension>tar</extension>
    <mime-type>application/x-tar</mime-type>
  </mime-mapping>
  <mime-mapping>
    <extension>pdf</extension>
    <mime-type>application/pdf</mime-type>
  </mime-mapping>
  <mime-mapping>
    <extension>rtf</extension>
    <mime-type>application/rtf</mime-type>
  </mime-mapping>
  <mime-mapping>
    <extension>gz</extension>
    <mime-type>application/x-gzip</mime-type>
  </mime-mapping>
  <mime-mapping>
    <extension>wav</extension>
    <mime-type>audio/x-wav</mime-type>
  </mime-mapping>
  <mime-mapping>
    <extension>mpeg</extension>
    <mime-type>video/mpeg</mime-type>
  </mime-mapping>
  <mime-mapping>
    <extension>mpg</extension>
    <mime-type>video/mpeg</mime-type>
  </mime-mapping>

Best Regards,

Donald Duquaine
Millennium Laboratories Inc.
(813) 925-3871 voice (813) 925-3872 fax
mailto:dduquaine@mlabs-fl.com
http://www.mlabs-fl.com

Mime
View raw message