What I meant is that the start() method does a lof of stuff including this
InetAddress.getLocalHost().getCanonicalHostName(). I'll try to make it lazy.
Thanks,
Raymond
----- Original Message -----
From: "Simon Laws" <[EMAIL PROTECTED]>
To: <[email protected]>; <[EMAIL PROTECTED]>
Sent: Tuesday, September 18, 2007 8:20 AM
Subject: Re: [VOTE] Release Tuscany Java SCA 1.0-incubating
On 9/18/07, Simon Laws <[EMAIL PROTECTED]> wrote:
On 9/18/07, Simon Laws <[EMAIL PROTECTED]> wrote:
>
>
>
> On 9/18/07, kelvin goodson < [EMAIL PROTECTED]> wrote:
> >
> > I'm now seeing a couple of issues with the samples. One is that I
> > have to run "ant compile" before "ant run" in all cases I have tried
> > so far. The other is that I now see samples such as "calculator"
> > executing and completing, but taking 18 seconds to complete rather
> > than the 4 I reported yesterday.
> >
> > Kelvin.
> >
> > On 18/09/2007, ant elder < [EMAIL PROTECTED]> wrote:
> > > Please review and vote on the 1.0 release artifacts of Tuscany SCA
> > for Java.
> > >
> > > The SVN tag for the release is:
> > >
> > https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/1.0-RC2/
> > >
> > > The artifacts are available for review at:
> > > http://people.apache.org/~antelder/tuscany/1.0-RC2/
> > <http://people.apache.org/%7Eantelder/tuscany/1.0-RC2/>
> > >
> > > This includes the signed binary and source distributions, the RAT
> > reports,
> > > and
> > > the Maven staging repository.
> > >
> > > Many thanks,
> > >
> > > ...ant
> > >
> > > (Note, the artifacts are still uploading so if it looks like
> > something's
> > > missing please just wait a bit,
> > > You can use the tag to verify things in the meantime)
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> > Yes, I've just run the calculator sample and it's taking 18 seconds
> again.
>
> Simon
>
This would seem to be the delay this time...
FINE:
org.apache.tuscany.sca.binding.notification.NotificationBindingModuleActivatoris
started in 11359 ms.
everything else comes up in a few 10s of ms. Don't know why yet.
Simon
Well the problem is line 171 in NotificationBindingModuleActivator
localHost = InetAddress.getLocalHost().getCanonicalHostName();
It's trying to resolve a host name from an IP address and it's failing
and/or timing out. I'm working at home on a VPN. Don't know if that's
significant (I know Kelvin is also today). I'm also on the IBM JDK.
Anyone else seeing this?
Simon
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]