tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conrad Winchester <con...@hotgen.com>
Subject Servlet on startup
Date Mon, 19 Nov 2001 11:14:25 GMT
Hi all,

The following XML snippet has been used to initialize our application for
about the past 8 months.


  <servlet>
    <servlet-name>Init</servlet-name>
    <servlet-class>com.hotgen.website.init.Init</servlet-class>
    <load-on-startup>1</load-on-startup>
  </servlet>

It has worked faultlessly with tomcat 3.2.3 but fails to startup with tomcat
4.0.1. 4.0.1 seems to know about the context - the following is in
server.xml

        <Context path="/nis" docBase="../../../NisWebApplication/nis"
debug="0" reloadable="true">
          <Logger className="org.apache.catalina.logger.FileLogger"
prefix="nis_tomcat_log." suffix=".txt" timestamp="true"/>
        </Context>

and web.xml is in ../../../NisWebApplication/nis/WEB-INF. Is there anything
wrong with this?

Any help will be appreciated

Conrad Winchester

BTW the ..'s are the only way I could get it to load the application without
a file io exception!!

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message