tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henrik Vendelbo" <hvende...@bluprints.com>
Subject web.xml validator
Date Sun, 28 Sep 2003 22:19:01 GMT
Do someone know a URL for a site that will validate a web.xml file against
the webapp DTD ?

Apparently there is an error in this webapp block, but damned if I can find
it :(

<web-app>
    <display-name>dspc Management</display-name>
    <description>
      SOAP interface to dspc Management on the originating server. Also
supports a simple availability html servlet.
    </description>

 <servlet>
  <servlet-name>SystemHealthServlet</servlet-name>
  <display-name>System Health servlet for dspc monitor</display-name>
  <servlet-class>net.dspc.server.SystemHealthServlet</servlet-class>
 </servlet>

    <servlet>
        <servlet-name>DspcAxisServlet</servlet-name>
        <display-name>Apache-Axis Servlet for dspc</display-name>
        <servlet-class>net.dspc.server.AxisServletPlus</servlet-class>
        <load-on-startup>50</load-on-startup>
<!--
        <init-param>
             <param-name>axis.ServerConfigFile</param-name>

<param-value>c:/dev/dspc/dspcservice/WEB-INF/server-config.wsdd</param-value
>
        </init-param>
        <init-param>
             <param-name>log4j-init-file</param-name>

<param-value>c:/dev/dspc/dspcservice/WEB-INF/log4j.properties</param-value>
        </init-param>
-->
    </servlet>

    <servlet>
         <servlet-name>AdminServlet</servlet-name>
         <display-name>Axis Admin Servlet</display-name>

<servlet-class>org.apache.axis.transport.http.AdminServlet</servlet-class>
         <load-on-startup>100</load-on-startup>
    </servlet>

    <servlet>
        <servlet-name>SOAPMonitorService</servlet-name>
        <display-name>SOAPMonitorService</display-name>

<servlet-class>org.apache.axis.monitor.SOAPMonitorService</servlet-class>
        <init-param>
            <param-name>SOAPMonitorPort</param-name>
            <param-value>8071</param-value>
        </init-param>
        <load-on-startup>100</load-on-startup>
    </servlet>


   <servlet-mapping>
     <servlet-name>SystemHealthServlet</servlet-name>
     <url-pattern>/health</url-pattern>
   </servlet-mapping>

   <servlet-mapping>
     <servlet-name>DspcAxisServlet</servlet-name>
     <url-pattern>/servlet/AxisServlet</url-pattern>
   </servlet-mapping>

   <servlet-mapping>
     <servlet-name>DspcAxisServlet</servlet-name>
     <url-pattern>*.jws</url-pattern>
   </servlet-mapping>

   <servlet-mapping>
     <servlet-name>DspcAxisServlet</servlet-name>
     <url-pattern>/services/*</url-pattern>
   </servlet-mapping>

   <servlet-mapping>
     <servlet-name>SOAPMonitorService</servlet-name>
     <url-pattern>/SOAPMonitor</url-pattern>
   </servlet-mapping>

  <servlet-mapping>
     <servlet-name>AdminServlet</servlet-name>
     <url-pattern>/servlet/AdminServlet</url-pattern>
   </servlet-mapping>

    <!-- currently the W3C havent settled on a media type for WSDL;
    http://www.w3.org/TR/2003/WD-wsdl12-20030303/#ietf-draft
    for now we go with the basic 'it's XML' response -->
  <mime-mapping>
    <extension>wsdl</extension>
     <mime-type>text/xml</mime-type>
  </mime-mapping>


  <mime-mapping>
    <extension>xsd</extension>
    <mime-type>text/xml</mime-type>
  </mime-mapping>

    <session-config>
        <session-timeout>30</session-timeout>
    </session-config>
    <welcome-file-list>
        <welcome-file>index.jsp</welcome-file>
        <welcome-file>index.html</welcome-file>
        <welcome-file>index.htm</welcome-file>
    </welcome-file-list>
</web-app>



Mime
View raw message