Hi,
We have a simple workaround for this issue, we have implemented an
additional class with its own main method, this method loads classes and
initialize other components for our application and then calls the main
method of jonas.
It should be something like:
public class Foo{
//Do something: init classes threads etc.
try{
org.objectweb.jonas.server.Server.main(args);
}
catch (Exception e) {System.err.println(e);}
}
}
Do not forget to use all the -D parameters as they appear in EJBServer.bat
file.
Erez
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED]
Sent: Thursday, September 13, 2001 9:53 AM
To: [EMAIL PROTECTED]
Subject: Load a startup class when JONAS starts
HI everybody?
Is it possible to define startup classes to load
when Jonas starts?
TIA
Martin Kuhn
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".