In your orion-application.xml just add something like:

<client-module path="init/Initializer.jar" auto-start="true" user="bob">
        <arguments>
            <argument value="somedirectory/init-script.xml"/>
        </arguments>
</client-module>

This will let cause Orion to autostart the jar.  Note that you must have the
jar contain the proper manifest information so it is runnable (you must
specify the Main-Class: in the manifest).

-jason


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Randahl Fink
Isaksen
Sent: Thursday, May 17, 2001 8:01 AM
To: Orion-Interest
Subject: RE: Running a Class at Server Startup


Well, Magnus, that is a constructive suggestion, but what if he wanted to do
something which a servlet is restricted from doing? Is there a way to simply
startup a regular java application allong with Orion?


Randahl
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Magnus Rydin
Sent: 17. maj 2001 11:07
To: Orion-Interest
Subject: SV: Running a Class at Server Startup


You could autostart a Servlet that kicks another class?
> -----Ursprungligt meddelande-----
> Fr�n: S.Badrinarayanan [mailto:[EMAIL PROTECTED]]
> Skickat: den 17 maj 2001 00:59
> Till: Orion-Interest
> �mne: Running a Class at Server Startup
>
>
> Hi
>
> Is it possible to run a class when the orion server initially
> starts up?
>
> I am looking for something like the following using Weblogic:
> weblogic.system.startupClass.initialise=<class-name>
> weblogic.system.startupArgs.initialise=<arguments>
>
> thx
> sb
>
>
> Chequemail.com - a free web based e-mail service that also pays!!!
> http://www.chequemail.com
>


Reply via email to