Hello Stephan,
no problem, use a servlet that start on initial phase.
Add in your zone servlet properties file
servlets=background
servlet.background.code=<mypackage>.background
servlet.background.initArgs=start
Peter Ro�bach
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
The WebApp Framework http://www.webapp.de/
jo! small&smart 2.1 servletengine
Persistence objectrelational mapping
Java Server & Servlets The German servlet book
---
Address: Holzstra�e 176, 44869 Bochum, Germany
Phone: (49) 2327 / 73788
E-Mail: [EMAIL PROTECTED]
Scheiderer, Stephan schrieb:
>
> Hi,
>
> I�m using Apache 1.3.6 on NT 4.0... How do I assure that a background thread
> that checks something is started when the server is started? Do I have to
> make a servlet that implements Runnable or is there another possibility
> except for starting a main() function with java.exe when the server is
> started? Or can I specify other exes to be launched at startup of the
> server?
>
> MfG Stephan Scheiderer - debis Systemhaus GEI
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html