You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Simon Laws <si...@googlemail.com> on 2007/09/17 15:11:44 UTC

sample start up time?

I made a local distro from the branch and the samples seem to take ages to
get going. A really comical amount of time! It takes 25 seconds before I see
any output after running the calculator sample. Anyone else seeing that?

Simon

Re: sample start up time?

Posted by Rajini Sivaram <ra...@googlemail.com>.
Raymond,

Sorry I didn't realize that Felix gets added into the SCA manfest.jar file,
causing all samples to load Felix even when OSGi contributions are not used.


The change you made to ClassReferenceModelResolver tries to load the class
using the classloader first. For OSGi contributions, it should be the other
way round - OSGi bundle resolver should be called first, otherwise
potentially the wrong classloader could be used to load the classes. I have
added a patch for an alternative fix under TUSCANY-1757. It doesn't need to
be fixed for 1.0, but I think it should be fixed in the main branch. Could
you take a look at it? The change is in OSGiBundleModelResolver, which
doesn't start the runtime, but looks for the bundle if the runtime already
been started.

Thank you...

Regards,

Rajini

On 9/19/07, kelvin goodson <ke...@gmail.com> wrote:
>
> RC3 is much faster now,  it now runs in 2 seconds ---
>
> C:\Release\SCA\1.0\RC3\bin\tuscany-sca-1.0-incubating\samples\calculator>ant
> run
> Buildfile: build.xml
>
> run:
>     [java] 3 + 2=5.0
>     [java] 3 - 2=1.0
>     [java] 3 * 2=6.0
>     [java] 3 / 2=1.5
>
> BUILD SUCCESSFUL
> Total time: 2 seconds
> C:\Release\SCA\1.0\RC3\bin\tuscany-sca-1.0-incubating\samples\calculator>
>
>
> for me,  thanks.
>
> On 18/09/2007, Raymond Feng <en...@gmail.com> wrote:
> > Hi,
> >
> > I guess I make all of you anxious to know what's wrong :-).
> >
> > Here is the problem, the OSGi contribution modules starts the OSGi
> runtime
> > in its contribution listener/class reference resolver. But there is no
> code
> > to shutdown the OSGi runtime. As a result, there are a few felix threads
> > when the runtime is stopped and it hangs.
> >
> > I'm fixing the problem as follows:
> > 1) Make sure the OSGi runtime won't be inited until it's required
> > 2) Add a module activator for osgi-runtime to shutdown the OSGi runtime
> upon
> > the stopping of the Tuscany runtime.
> >
> > I'm running a build now and will commit the fix soon (if the maven build
> > doesn't overheat my laptop this time :-(, It took me almost one hour to
> > recover from last crash).
> >
> > Thanks,
> > Raymond
> >
> > ----- Original Message -----
> > From: "Simon Laws" <si...@googlemail.com>
> > To: <tu...@ws.apache.org>; <an...@gmail.com>
> > Sent: Monday, September 17, 2007 3:01 PM
> > Subject: Re: sample start up time?
> >
> >
> > > On 9/17/07, ant elder <an...@apache.org> wrote:
> > >>
> > >> Wonderful.
> > >>
> > >>    ...ant
> > >>
> > >> On 9/17/07, Raymond Feng <en...@gmail.com> wrote:
> > >> >
> > >> > Yes, that's what I meant.
> > >> >
> > >> > Thanks,
> > >> > Raymond
> > >> >
> > >> > ----- Original Message -----
> > >> > From: "ant elder" <an...@gmail.com>
> > >> > To: <tu...@ws.apache.org>
> > >> > Sent: Monday, September 17, 2007 1:54 PM
> > >> > Subject: Re: sample start up time?
> > >> >
> > >> >
> > >> > > Is that also going to help the shutdown hang problem?
> > >> > >
> > >> > >   ...ant
> > >> > >
> > >> > > On 9/17/07, Raymond Feng <en...@gmail.com> wrote:
> > >> > >>
> > >> > >> Hi,
> > >> > >>
> > >> > >> I found the issue and will check in a fix soon.
> > >> > >>
> > >> > >> Thanks,
> > >> > >> Raymond
> > >> > >>
> > >> > >> ----- Original Message -----
> > >> > >> From: "kelvin goodson" <ke...@gmail.com>
> > >> > >> To: <tu...@ws.apache.org>
> > >> > >> Sent: Monday, September 17, 2007 8:01 AM
> > >> > >> Subject: Re: sample start up time?
> > >> > >>
> > >> > >>
> > >> > >> > Hmm,  I just re-ran this against RC1b and the calculator
> sample
> > >> hung
> > >> > >> > after producing its results. All the output appeared pretty
> > >> quickly,
> > >> > >> > but then it failed to stop.
> > >> > >> >
> > >> > >> > C:\Release\RC1b\tuscany-sca-1.0-incubating\samples\calculator
> >ant
> > >> ru
> > >> > >> > Buildfile: build.xml
> > >> > >> >
> > >> > >> > run:
> > >> > >> >     [java] 3 + 2=5.0
> > >> > >> >     [java] 3 - 2=1.0
> > >> > >> >     [java] 3 * 2=6.0
> > >> > >> >     [java] 3 / 2=1.5
> > >> > >> >     [java] Java Result: 1
> > >> > >> >
> > >> > >> > BUILD SUCCESSFUL
> > >> > >> > Total time: 8 minutes 4 seconds
> > >> > >> > Terminate batch job (Y/N)? y
> > >> > >> >
> > >> > >> > On 17/09/2007, kelvin goodson <ke...@gmail.com> wrote:
> > >> > >> >> I can run the calculator in 4 seconds, -- time until I see
> the
> > >> "Run"
> > >> > >> >> word on the screen approx 2 secs and then a further 2 before
> I
> > >> > >> >> see
> > >> > the
> > >> > >> >> result output.
> > >> > >> >>
> > >> > >> >> Kelvin.
> > >> > >> >>
> > >> > >> >> On 17/09/2007, Simon Laws <si...@googlemail.com> wrote:
> > >> > >> >> > I made a local distro from the branch and the samples seem
> to
> > >> take
> > >> > >> ages
> > >> > >> >> > to
> > >> > >> >> > get going. A really comical amount of time! It takes 25
> seconds
> > >> > >> before
> > >> > >> >> > I see
> > >> > >> >> > any output after running the calculator sample. Anyone else
> > >> seeing
> > >> > >> >> > that?
> > >> > >> >> >
> > >> > >> >> > Simon
> > >> > >> >> >
> > >> > >> >>
> > >> > >> >
> > >> > >> >
> > >> ---------------------------------------------------------------------
> > >> > >> > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > >> > >> > For additional commands, e-mail:
> tuscany-dev-help@ws.apache.org
> > >> > >> >
> > >> > >>
> > >> > >>
> > >> > >>
> ---------------------------------------------------------------------
> > >> > >> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > >> > >> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > >> > >>
> > >> > >>
> > >> > >
> > >> >
> > >> >
> > >>
> > > That's made a big (+ve) difference. What was the problem Raymond?
> > >
> > > Simon
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>

Re: sample start up time?

Posted by kelvin goodson <ke...@gmail.com>.
RC3 is much faster now,  it now runs in 2 seconds ---

C:\Release\SCA\1.0\RC3\bin\tuscany-sca-1.0-incubating\samples\calculator>ant run
Buildfile: build.xml

run:
     [java] 3 + 2=5.0
     [java] 3 - 2=1.0
     [java] 3 * 2=6.0
     [java] 3 / 2=1.5

BUILD SUCCESSFUL
Total time: 2 seconds
C:\Release\SCA\1.0\RC3\bin\tuscany-sca-1.0-incubating\samples\calculator>


for me,  thanks.

On 18/09/2007, Raymond Feng <en...@gmail.com> wrote:
> Hi,
>
> I guess I make all of you anxious to know what's wrong :-).
>
> Here is the problem, the OSGi contribution modules starts the OSGi runtime
> in its contribution listener/class reference resolver. But there is no code
> to shutdown the OSGi runtime. As a result, there are a few felix threads
> when the runtime is stopped and it hangs.
>
> I'm fixing the problem as follows:
> 1) Make sure the OSGi runtime won't be inited until it's required
> 2) Add a module activator for osgi-runtime to shutdown the OSGi runtime upon
> the stopping of the Tuscany runtime.
>
> I'm running a build now and will commit the fix soon (if the maven build
> doesn't overheat my laptop this time :-(, It took me almost one hour to
> recover from last crash).
>
> Thanks,
> Raymond
>
> ----- Original Message -----
> From: "Simon Laws" <si...@googlemail.com>
> To: <tu...@ws.apache.org>; <an...@gmail.com>
> Sent: Monday, September 17, 2007 3:01 PM
> Subject: Re: sample start up time?
>
>
> > On 9/17/07, ant elder <an...@apache.org> wrote:
> >>
> >> Wonderful.
> >>
> >>    ...ant
> >>
> >> On 9/17/07, Raymond Feng <en...@gmail.com> wrote:
> >> >
> >> > Yes, that's what I meant.
> >> >
> >> > Thanks,
> >> > Raymond
> >> >
> >> > ----- Original Message -----
> >> > From: "ant elder" <an...@gmail.com>
> >> > To: <tu...@ws.apache.org>
> >> > Sent: Monday, September 17, 2007 1:54 PM
> >> > Subject: Re: sample start up time?
> >> >
> >> >
> >> > > Is that also going to help the shutdown hang problem?
> >> > >
> >> > >   ...ant
> >> > >
> >> > > On 9/17/07, Raymond Feng <en...@gmail.com> wrote:
> >> > >>
> >> > >> Hi,
> >> > >>
> >> > >> I found the issue and will check in a fix soon.
> >> > >>
> >> > >> Thanks,
> >> > >> Raymond
> >> > >>
> >> > >> ----- Original Message -----
> >> > >> From: "kelvin goodson" <ke...@gmail.com>
> >> > >> To: <tu...@ws.apache.org>
> >> > >> Sent: Monday, September 17, 2007 8:01 AM
> >> > >> Subject: Re: sample start up time?
> >> > >>
> >> > >>
> >> > >> > Hmm,  I just re-ran this against RC1b and the calculator sample
> >> hung
> >> > >> > after producing its results. All the output appeared pretty
> >> quickly,
> >> > >> > but then it failed to stop.
> >> > >> >
> >> > >> > C:\Release\RC1b\tuscany-sca-1.0-incubating\samples\calculator>ant
> >> ru
> >> > >> > Buildfile: build.xml
> >> > >> >
> >> > >> > run:
> >> > >> >     [java] 3 + 2=5.0
> >> > >> >     [java] 3 - 2=1.0
> >> > >> >     [java] 3 * 2=6.0
> >> > >> >     [java] 3 / 2=1.5
> >> > >> >     [java] Java Result: 1
> >> > >> >
> >> > >> > BUILD SUCCESSFUL
> >> > >> > Total time: 8 minutes 4 seconds
> >> > >> > Terminate batch job (Y/N)? y
> >> > >> >
> >> > >> > On 17/09/2007, kelvin goodson <ke...@gmail.com> wrote:
> >> > >> >> I can run the calculator in 4 seconds, -- time until I see the
> >> "Run"
> >> > >> >> word on the screen approx 2 secs and then a further 2 before I
> >> > >> >> see
> >> > the
> >> > >> >> result output.
> >> > >> >>
> >> > >> >> Kelvin.
> >> > >> >>
> >> > >> >> On 17/09/2007, Simon Laws <si...@googlemail.com> wrote:
> >> > >> >> > I made a local distro from the branch and the samples seem to
> >> take
> >> > >> ages
> >> > >> >> > to
> >> > >> >> > get going. A really comical amount of time! It takes 25 seconds
> >> > >> before
> >> > >> >> > I see
> >> > >> >> > any output after running the calculator sample. Anyone else
> >> seeing
> >> > >> >> > that?
> >> > >> >> >
> >> > >> >> > Simon
> >> > >> >> >
> >> > >> >>
> >> > >> >
> >> > >> >
> >> ---------------------------------------------------------------------
> >> > >> > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> >> > >> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> >> > >> >
> >> > >>
> >> > >>
> >> > >> ---------------------------------------------------------------------
> >> > >> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> >> > >> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> >> > >>
> >> > >>
> >> > >
> >> >
> >> >
> >>
> > That's made a big (+ve) difference. What was the problem Raymond?
> >
> > Simon
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: sample start up time?

Posted by Raymond Feng <en...@gmail.com>.
Hi,

I guess I make all of you anxious to know what's wrong :-).

Here is the problem, the OSGi contribution modules starts the OSGi runtime 
in its contribution listener/class reference resolver. But there is no code 
to shutdown the OSGi runtime. As a result, there are a few felix threads 
when the runtime is stopped and it hangs.

I'm fixing the problem as follows:
1) Make sure the OSGi runtime won't be inited until it's required
2) Add a module activator for osgi-runtime to shutdown the OSGi runtime upon 
the stopping of the Tuscany runtime.

I'm running a build now and will commit the fix soon (if the maven build 
doesn't overheat my laptop this time :-(, It took me almost one hour to 
recover from last crash).

Thanks,
Raymond

----- Original Message ----- 
From: "Simon Laws" <si...@googlemail.com>
To: <tu...@ws.apache.org>; <an...@gmail.com>
Sent: Monday, September 17, 2007 3:01 PM
Subject: Re: sample start up time?


> On 9/17/07, ant elder <an...@apache.org> wrote:
>>
>> Wonderful.
>>
>>    ...ant
>>
>> On 9/17/07, Raymond Feng <en...@gmail.com> wrote:
>> >
>> > Yes, that's what I meant.
>> >
>> > Thanks,
>> > Raymond
>> >
>> > ----- Original Message -----
>> > From: "ant elder" <an...@gmail.com>
>> > To: <tu...@ws.apache.org>
>> > Sent: Monday, September 17, 2007 1:54 PM
>> > Subject: Re: sample start up time?
>> >
>> >
>> > > Is that also going to help the shutdown hang problem?
>> > >
>> > >   ...ant
>> > >
>> > > On 9/17/07, Raymond Feng <en...@gmail.com> wrote:
>> > >>
>> > >> Hi,
>> > >>
>> > >> I found the issue and will check in a fix soon.
>> > >>
>> > >> Thanks,
>> > >> Raymond
>> > >>
>> > >> ----- Original Message -----
>> > >> From: "kelvin goodson" <ke...@gmail.com>
>> > >> To: <tu...@ws.apache.org>
>> > >> Sent: Monday, September 17, 2007 8:01 AM
>> > >> Subject: Re: sample start up time?
>> > >>
>> > >>
>> > >> > Hmm,  I just re-ran this against RC1b and the calculator sample
>> hung
>> > >> > after producing its results. All the output appeared pretty
>> quickly,
>> > >> > but then it failed to stop.
>> > >> >
>> > >> > C:\Release\RC1b\tuscany-sca-1.0-incubating\samples\calculator>ant
>> ru
>> > >> > Buildfile: build.xml
>> > >> >
>> > >> > run:
>> > >> >     [java] 3 + 2=5.0
>> > >> >     [java] 3 - 2=1.0
>> > >> >     [java] 3 * 2=6.0
>> > >> >     [java] 3 / 2=1.5
>> > >> >     [java] Java Result: 1
>> > >> >
>> > >> > BUILD SUCCESSFUL
>> > >> > Total time: 8 minutes 4 seconds
>> > >> > Terminate batch job (Y/N)? y
>> > >> >
>> > >> > On 17/09/2007, kelvin goodson <ke...@gmail.com> wrote:
>> > >> >> I can run the calculator in 4 seconds, -- time until I see the
>> "Run"
>> > >> >> word on the screen approx 2 secs and then a further 2 before I 
>> > >> >> see
>> > the
>> > >> >> result output.
>> > >> >>
>> > >> >> Kelvin.
>> > >> >>
>> > >> >> On 17/09/2007, Simon Laws <si...@googlemail.com> wrote:
>> > >> >> > I made a local distro from the branch and the samples seem to
>> take
>> > >> ages
>> > >> >> > to
>> > >> >> > get going. A really comical amount of time! It takes 25 seconds
>> > >> before
>> > >> >> > I see
>> > >> >> > any output after running the calculator sample. Anyone else
>> seeing
>> > >> >> > that?
>> > >> >> >
>> > >> >> > Simon
>> > >> >> >
>> > >> >>
>> > >> >
>> > >> >
>> ---------------------------------------------------------------------
>> > >> > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
>> > >> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>> > >> >
>> > >>
>> > >>
>> > >> ---------------------------------------------------------------------
>> > >> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
>> > >> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>> > >>
>> > >>
>> > >
>> >
>> >
>>
> That's made a big (+ve) difference. What was the problem Raymond?
>
> Simon
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: sample start up time?

Posted by Simon Laws <si...@googlemail.com>.
On 9/17/07, ant elder <an...@apache.org> wrote:
>
> Wonderful.
>
>    ...ant
>
> On 9/17/07, Raymond Feng <en...@gmail.com> wrote:
> >
> > Yes, that's what I meant.
> >
> > Thanks,
> > Raymond
> >
> > ----- Original Message -----
> > From: "ant elder" <an...@gmail.com>
> > To: <tu...@ws.apache.org>
> > Sent: Monday, September 17, 2007 1:54 PM
> > Subject: Re: sample start up time?
> >
> >
> > > Is that also going to help the shutdown hang problem?
> > >
> > >   ...ant
> > >
> > > On 9/17/07, Raymond Feng <en...@gmail.com> wrote:
> > >>
> > >> Hi,
> > >>
> > >> I found the issue and will check in a fix soon.
> > >>
> > >> Thanks,
> > >> Raymond
> > >>
> > >> ----- Original Message -----
> > >> From: "kelvin goodson" <ke...@gmail.com>
> > >> To: <tu...@ws.apache.org>
> > >> Sent: Monday, September 17, 2007 8:01 AM
> > >> Subject: Re: sample start up time?
> > >>
> > >>
> > >> > Hmm,  I just re-ran this against RC1b and the calculator sample
> hung
> > >> > after producing its results. All the output appeared pretty
> quickly,
> > >> > but then it failed to stop.
> > >> >
> > >> > C:\Release\RC1b\tuscany-sca-1.0-incubating\samples\calculator>ant
> ru
> > >> > Buildfile: build.xml
> > >> >
> > >> > run:
> > >> >     [java] 3 + 2=5.0
> > >> >     [java] 3 - 2=1.0
> > >> >     [java] 3 * 2=6.0
> > >> >     [java] 3 / 2=1.5
> > >> >     [java] Java Result: 1
> > >> >
> > >> > BUILD SUCCESSFUL
> > >> > Total time: 8 minutes 4 seconds
> > >> > Terminate batch job (Y/N)? y
> > >> >
> > >> > On 17/09/2007, kelvin goodson <ke...@gmail.com> wrote:
> > >> >> I can run the calculator in 4 seconds, -- time until I see the
> "Run"
> > >> >> word on the screen approx 2 secs and then a further 2 before I see
> > the
> > >> >> result output.
> > >> >>
> > >> >> Kelvin.
> > >> >>
> > >> >> On 17/09/2007, Simon Laws <si...@googlemail.com> wrote:
> > >> >> > I made a local distro from the branch and the samples seem to
> take
> > >> ages
> > >> >> > to
> > >> >> > get going. A really comical amount of time! It takes 25 seconds
> > >> before
> > >> >> > I see
> > >> >> > any output after running the calculator sample. Anyone else
> seeing
> > >> >> > that?
> > >> >> >
> > >> >> > Simon
> > >> >> >
> > >> >>
> > >> >
> > >> >
> ---------------------------------------------------------------------
> > >> > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > >> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > >> >
> > >>
> > >>
> > >> ---------------------------------------------------------------------
> > >> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > >> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > >>
> > >>
> > >
> >
> >
>
That's made a big (+ve) difference. What was the problem Raymond?

Simon

Re: sample start up time?

Posted by ant elder <an...@apache.org>.
Wonderful.

   ...ant

On 9/17/07, Raymond Feng <en...@gmail.com> wrote:
>
> Yes, that's what I meant.
>
> Thanks,
> Raymond
>
> ----- Original Message -----
> From: "ant elder" <an...@gmail.com>
> To: <tu...@ws.apache.org>
> Sent: Monday, September 17, 2007 1:54 PM
> Subject: Re: sample start up time?
>
>
> > Is that also going to help the shutdown hang problem?
> >
> >   ...ant
> >
> > On 9/17/07, Raymond Feng <en...@gmail.com> wrote:
> >>
> >> Hi,
> >>
> >> I found the issue and will check in a fix soon.
> >>
> >> Thanks,
> >> Raymond
> >>
> >> ----- Original Message -----
> >> From: "kelvin goodson" <ke...@gmail.com>
> >> To: <tu...@ws.apache.org>
> >> Sent: Monday, September 17, 2007 8:01 AM
> >> Subject: Re: sample start up time?
> >>
> >>
> >> > Hmm,  I just re-ran this against RC1b and the calculator sample hung
> >> > after producing its results. All the output appeared pretty quickly,
> >> > but then it failed to stop.
> >> >
> >> > C:\Release\RC1b\tuscany-sca-1.0-incubating\samples\calculator>ant ru
> >> > Buildfile: build.xml
> >> >
> >> > run:
> >> >     [java] 3 + 2=5.0
> >> >     [java] 3 - 2=1.0
> >> >     [java] 3 * 2=6.0
> >> >     [java] 3 / 2=1.5
> >> >     [java] Java Result: 1
> >> >
> >> > BUILD SUCCESSFUL
> >> > Total time: 8 minutes 4 seconds
> >> > Terminate batch job (Y/N)? y
> >> >
> >> > On 17/09/2007, kelvin goodson <ke...@gmail.com> wrote:
> >> >> I can run the calculator in 4 seconds, -- time until I see the "Run"
> >> >> word on the screen approx 2 secs and then a further 2 before I see
> the
> >> >> result output.
> >> >>
> >> >> Kelvin.
> >> >>
> >> >> On 17/09/2007, Simon Laws <si...@googlemail.com> wrote:
> >> >> > I made a local distro from the branch and the samples seem to take
> >> ages
> >> >> > to
> >> >> > get going. A really comical amount of time! It takes 25 seconds
> >> before
> >> >> > I see
> >> >> > any output after running the calculator sample. Anyone else seeing
> >> >> > that?
> >> >> >
> >> >> > Simon
> >> >> >
> >> >>
> >> >
> >> > ---------------------------------------------------------------------
> >> > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> >> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> >> >
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> >> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> >>
> >>
> >
>
>

Re: sample start up time?

Posted by Raymond Feng <en...@gmail.com>.
Yes, that's what I meant.

Thanks,
Raymond

----- Original Message ----- 
From: "ant elder" <an...@gmail.com>
To: <tu...@ws.apache.org>
Sent: Monday, September 17, 2007 1:54 PM
Subject: Re: sample start up time?


> Is that also going to help the shutdown hang problem?
>
>   ...ant
>
> On 9/17/07, Raymond Feng <en...@gmail.com> wrote:
>>
>> Hi,
>>
>> I found the issue and will check in a fix soon.
>>
>> Thanks,
>> Raymond
>>
>> ----- Original Message -----
>> From: "kelvin goodson" <ke...@gmail.com>
>> To: <tu...@ws.apache.org>
>> Sent: Monday, September 17, 2007 8:01 AM
>> Subject: Re: sample start up time?
>>
>>
>> > Hmm,  I just re-ran this against RC1b and the calculator sample hung
>> > after producing its results. All the output appeared pretty quickly,
>> > but then it failed to stop.
>> >
>> > C:\Release\RC1b\tuscany-sca-1.0-incubating\samples\calculator>ant ru
>> > Buildfile: build.xml
>> >
>> > run:
>> >     [java] 3 + 2=5.0
>> >     [java] 3 - 2=1.0
>> >     [java] 3 * 2=6.0
>> >     [java] 3 / 2=1.5
>> >     [java] Java Result: 1
>> >
>> > BUILD SUCCESSFUL
>> > Total time: 8 minutes 4 seconds
>> > Terminate batch job (Y/N)? y
>> >
>> > On 17/09/2007, kelvin goodson <ke...@gmail.com> wrote:
>> >> I can run the calculator in 4 seconds, -- time until I see the "Run"
>> >> word on the screen approx 2 secs and then a further 2 before I see the
>> >> result output.
>> >>
>> >> Kelvin.
>> >>
>> >> On 17/09/2007, Simon Laws <si...@googlemail.com> wrote:
>> >> > I made a local distro from the branch and the samples seem to take
>> ages
>> >> > to
>> >> > get going. A really comical amount of time! It takes 25 seconds
>> before
>> >> > I see
>> >> > any output after running the calculator sample. Anyone else seeing
>> >> > that?
>> >> >
>> >> > Simon
>> >> >
>> >>
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
>> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>> >
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
>> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>>
>>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: sample start up time?

Posted by ant elder <an...@gmail.com>.
Is that also going to help the shutdown hang problem?

   ...ant

On 9/17/07, Raymond Feng <en...@gmail.com> wrote:
>
> Hi,
>
> I found the issue and will check in a fix soon.
>
> Thanks,
> Raymond
>
> ----- Original Message -----
> From: "kelvin goodson" <ke...@gmail.com>
> To: <tu...@ws.apache.org>
> Sent: Monday, September 17, 2007 8:01 AM
> Subject: Re: sample start up time?
>
>
> > Hmm,  I just re-ran this against RC1b and the calculator sample hung
> > after producing its results. All the output appeared pretty quickly,
> > but then it failed to stop.
> >
> > C:\Release\RC1b\tuscany-sca-1.0-incubating\samples\calculator>ant ru
> > Buildfile: build.xml
> >
> > run:
> >     [java] 3 + 2=5.0
> >     [java] 3 - 2=1.0
> >     [java] 3 * 2=6.0
> >     [java] 3 / 2=1.5
> >     [java] Java Result: 1
> >
> > BUILD SUCCESSFUL
> > Total time: 8 minutes 4 seconds
> > Terminate batch job (Y/N)? y
> >
> > On 17/09/2007, kelvin goodson <ke...@gmail.com> wrote:
> >> I can run the calculator in 4 seconds, -- time until I see the "Run"
> >> word on the screen approx 2 secs and then a further 2 before I see the
> >> result output.
> >>
> >> Kelvin.
> >>
> >> On 17/09/2007, Simon Laws <si...@googlemail.com> wrote:
> >> > I made a local distro from the branch and the samples seem to take
> ages
> >> > to
> >> > get going. A really comical amount of time! It takes 25 seconds
> before
> >> > I see
> >> > any output after running the calculator sample. Anyone else seeing
> >> > that?
> >> >
> >> > Simon
> >> >
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>

Re: sample start up time?

Posted by Raymond Feng <en...@gmail.com>.
Hi,

I found the issue and will check in a fix soon.

Thanks,
Raymond

----- Original Message ----- 
From: "kelvin goodson" <ke...@gmail.com>
To: <tu...@ws.apache.org>
Sent: Monday, September 17, 2007 8:01 AM
Subject: Re: sample start up time?


> Hmm,  I just re-ran this against RC1b and the calculator sample hung
> after producing its results. All the output appeared pretty quickly,
> but then it failed to stop.
>
> C:\Release\RC1b\tuscany-sca-1.0-incubating\samples\calculator>ant ru
> Buildfile: build.xml
>
> run:
>     [java] 3 + 2=5.0
>     [java] 3 - 2=1.0
>     [java] 3 * 2=6.0
>     [java] 3 / 2=1.5
>     [java] Java Result: 1
>
> BUILD SUCCESSFUL
> Total time: 8 minutes 4 seconds
> Terminate batch job (Y/N)? y
>
> On 17/09/2007, kelvin goodson <ke...@gmail.com> wrote:
>> I can run the calculator in 4 seconds, -- time until I see the "Run"
>> word on the screen approx 2 secs and then a further 2 before I see the
>> result output.
>>
>> Kelvin.
>>
>> On 17/09/2007, Simon Laws <si...@googlemail.com> wrote:
>> > I made a local distro from the branch and the samples seem to take ages 
>> > to
>> > get going. A really comical amount of time! It takes 25 seconds before 
>> > I see
>> > any output after running the calculator sample. Anyone else seeing 
>> > that?
>> >
>> > Simon
>> >
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: sample start up time?

Posted by kelvin goodson <ke...@gmail.com>.
Hmm,  I just re-ran this against RC1b and the calculator sample hung
after producing its results. All the output appeared pretty quickly,
but then it failed to stop.

C:\Release\RC1b\tuscany-sca-1.0-incubating\samples\calculator>ant ru
Buildfile: build.xml

run:
     [java] 3 + 2=5.0
     [java] 3 - 2=1.0
     [java] 3 * 2=6.0
     [java] 3 / 2=1.5
     [java] Java Result: 1

BUILD SUCCESSFUL
Total time: 8 minutes 4 seconds
Terminate batch job (Y/N)? y

On 17/09/2007, kelvin goodson <ke...@gmail.com> wrote:
> I can run the calculator in 4 seconds, -- time until I see the "Run"
> word on the screen approx 2 secs and then a further 2 before I see the
> result output.
>
> Kelvin.
>
> On 17/09/2007, Simon Laws <si...@googlemail.com> wrote:
> > I made a local distro from the branch and the samples seem to take ages to
> > get going. A really comical amount of time! It takes 25 seconds before I see
> > any output after running the calculator sample. Anyone else seeing that?
> >
> > Simon
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: sample start up time?

Posted by kelvin goodson <ke...@gmail.com>.
I can run the calculator in 4 seconds, -- time until I see the "Run"
word on the screen approx 2 secs and then a further 2 before I see the
result output.

Kelvin.

On 17/09/2007, Simon Laws <si...@googlemail.com> wrote:
> I made a local distro from the branch and the samples seem to take ages to
> get going. A really comical amount of time! It takes 25 seconds before I see
> any output after running the calculator sample. Anyone else seeing that?
>
> Simon
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org