tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Delbecq <de...@oma.be>
Subject Re: Initialize Webapplication on tomcat Startup
Date Mon, 12 Feb 2007 09:20:16 GMT


<!-- ################# Initialisation Servlet ################# -->
    <servlet>
        <display-name>System Init Servlet</display-name>
        <servlet-name>initializer</servlet-name>
        <servlet-class>be.rmi.intranet.servlet.SetupServlet</servlet-class>
        <load-on-startup>1</load-on-startup>
    </servlet>




En l'instant précis du 02/12/07 09:49, Oliver Schoenwald s'exprimait en
ces termes:
> Hello and good morning (at least from Germany),
>
> I'm running Tomcat 5.5.17 under Solaris 9 and have created a
> webapplication that
> starts some repeating background-tasks as soon as the application has
> been started
> the first time (in other words: I have a single controller-servlet and
> the init()-method
> contains some calls to classes that create background demon processes
> for some system
> analysis).
>
> Now, when I restart the tomcat engine, I have to call the URL of my
> webapplication to
> have the engine initialize my application for the first time. I
> remember that there is some
> option in the configuration of tomcat which tells the engine to
> startup certain applications
> automatically. So far I couldn't find that option in the docs.
>
> Can someone be so nice to point me to the right documentation or gives
> me an example
> how to solve my problem?
>
> Thank you in advance,
>
> Oliver
>
>
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message