Re: Slow RMI Host start up

2009-10-06 Thread ant elder
On Mon, Oct 5, 2009 at 4:54 PM, Raymond Feng enjoyj...@gmail.com wrote: Any idea that can be used to detect the existence of the RMI registry will be welcome. What about if it tries to create a new registry without first checking if one already exists? If there's already an existing one

Re: Slow RMI Host start up

2009-10-06 Thread Raymond Feng
I'll give a try. Thanks, Raymond -- From: ant elder antel...@apache.org Sent: Tuesday, October 06, 2009 1:21 AM To: dev@tuscany.apache.org Subject: Re: Slow RMI Host start up On Mon, Oct 5, 2009 at 4:54 PM, Raymond Feng enjoyj...@gmail.com wrote

Slow RMI Host start up

2009-10-05 Thread ant elder
The caclulator-rmi sample keeps failing on the hudson build as the client runs before the service has finished starting up. I've stepped through the code to try to find why its so slow and it turns out to be this.factory = SocketFactory.getDefault(); in the constructor of

Re: Slow RMI Host start up

2009-10-05 Thread Simon Laws
Is there any security configured? I.e. is it doing some kind of security handshakes? You quote a plain SocketFactory so I wouldn't expect it to be firing up SSL but I don't know the innards well enough I'm afraid. Simon

Re: Slow RMI Host start up

2009-10-05 Thread ant elder
On Mon, Oct 5, 2009 at 9:03 AM, ant elder ant.el...@gmail.com wrote: The caclulator-rmi sample keeps failing on the hudson build as the client runs before the service has finished starting up. I've stepped through the code to try to find why its so slow and it turns out to be this.factory =

Re: Slow RMI Host start up

2009-10-05 Thread Simon Laws
It does ring a bell but it's working OK for me at the moment. Simon