this has been asked a few times before (last time only a few days ago, see
list archive). Basically you will need to handle this in a servlet which has
load-on-startup configured. If you really need you services to start when
the server is started, you will have to configure the same for the web-app
the servlet lives in.
As for failover, I guess you will have to take care of that yourself.
-----Original Message-----
From: Andrej Gabara <[EMAIL PROTECTED]>
To: Orion-Interest <[EMAIL PROTECTED]>
Date: Samstag, 28. Oktober 2000 15:14
Subject: startup classes?
>
>Hi,
>
>our server needs to run some services internally. Those services are
>implemented as threads and should be started when the server is started.
>How do you do this in Orion? Weblogic allows you to define some classes
>to run in its properties file.
>
>How does this affect load-balancing and fail-over? Say server1 that runs
>the services crashes. How to make server2 (or another server) pick up
>those services?
>
>Thank's in advance,
>Andrej
>
>---------------------------------------------------------------------------
-
> Andrej Gabara [EMAIL PROTECTED] (408) 543-4452
> Kintana, Inc. http://www.kintana.com (408) 752-8460 FAX
>---------------------------------------------------------------------------
-
>