You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Conrad Winchester <co...@hotgen.com> on 2001/11/19 12:14:25 UTC
Servlet on startup
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: <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>