Hi,
Although I can't specifically speak for Jonas, I know that starting RMI
automatically via RMI server activation is possible. In Java 1.2 an daemon
named rmid (in the bin dir) was added along with a java.rmi.activation
package to enable remote activation of RMI servers.
Since this is all I know, I'm not sure this is much help but maybe it can
give you a pointer. Were you able to get Jonas to work remotely? I posted a
previous thread having difficulties.(Re: How does the EJB server find the
.ser files?)
Eric
Robert Hargreaves wrote:
> Dear All
>
> I'm pretty sure its not possible, but is there any way of starting Jonas
> from a client request if its not already running.
>
> e.g. If I have the following code in the client
>
> String host = "NTServer";
> Properties env = System.getProperties();
> env.put("java.naming.factory.initial",
> "com.sun.jndi.rmi.registry.RegistryContextFactory");
> env.put("java.naming.provider.url", "rmi://"+host+":1099");
> staticContext = new InitialContext(env);
>
> and the app server is not running, then I want to be able to start it
> automatically.
>
> Is this possible even on the same PC with two seperate VM's?
>
> Regards
>
> Robert Hargreaves.
> ----
> 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".