|
From: Alex V. <ale...@ap...> - 2004-02-17 23:23:43
|
Gerardo,
Here is an (untested) idea: Have your wrapper listener create and export =
an
RMI registry fromm within the JVM:
public Integer start(String[] args)
{
try
{
java.rmi.LocateRegistry.createRegistry(4500)
}
catch (Throwable t)
{
t.printStacktrace();
Return new Integer(1);
}
=20
System.out.println("Registry started on port 4500");
return null;
}
}
Rgrds, Alex.
PS: If it works, I'd be interested to know about it.
_______________________
Alexandre Vauthey
Director of Server Technology
Application Networks
444, Ramona Street
Palo Alto, CA 94301
Tel: 1 (650) 462-7224
www.application-networks.com
_______________________
-----Original Message-----
From: wra...@li...
[mailto:wra...@li...] On Behalf Of Gerardo =
Rojas
Sent: Tuesday, February 17, 2004 11:07 AM
To: wra...@li...
Subject: [Wrapper-user] Running Java's rmiregistry as a service
All,=20
I have been trying unsuccesfully to run Java's builting "rmiregistry" as =
a
service. I have tried several diff combinations but nothing seems to =
work.
I have downloaded the Wrapper and made all changes. I believe this is =
not
working because the rmiregistry is an executable. Any feedback or HELP
would be appreciated.
--=20
Gerardo S. Rojas=20
mailto: gr...@st...=20
|