Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

Timing out objects

4 posts in General Discussion (old) Last posting was on 2000-03-08 03:03:02.0Z
Adam Simmonds Posted on 2000-03-08 00:24:28.0Z
Newsgroups: sybase.public.easerver
Date: Wed, 08 Mar 2000 11:24:28 +1100
From: Adam Simmonds <asimmond@mail.usyd.edu.au>
Organization: University of Syndey
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Timing out objects
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 8
NNTP-Posting-Host: pc-70.sis.usyd.edu.au 129.78.248.198
Message-ID: <347_38C59DBC.FCFC330@mail.usyd.edu.au>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26923
Article PK: 157878

Hi All
If I want objects to time out due the user pressing the stop button on
the browser during server side processing do I need to set all the
inheritance levels as well.

I have set my timeouts on the actual components, but they dont seem to
be reclaimed after the specified time.

Rgds
Adam


Dave Wolf [Sybase] Posted on 2000-03-08 01:51:15.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: Timing out objects
Date: Tue, 7 Mar 2000 20:51:15 -0500
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: PPPa26-City-2R7207.saturn.bbn.com 4.54.158.151
Message-ID: <347_bJOXeFKi$GA.251@forums.sybase.com>
References: <347_38C59DBC.FCFC330@mail.usyd.edu.au>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26920
Article PK: 157875

Timeouts work when there are n seconds of idle time between method calls.
If the component is busy in a method, we will never interrupt it.

Dave Wolf
Internet Applications Division

"Adam Simmonds" <asimmond@mail.usyd.edu.au> wrote in message
news:38C59DBC.FCFC330@mail.usyd.edu.au...
> Hi All
> If I want objects to time out due the user pressing the stop button on
> the browser during server side processing do I need to set all the
> inheritance levels as well.
>
> I have set my timeouts on the actual components, but they dont seem to
> be reclaimed after the specified time.
>
> Rgds
> Adam
>


Adam Simmonds Posted on 2000-03-08 02:42:08.0Z
Newsgroups: sybase.public.easerver
Date: Wed, 08 Mar 2000 13:42:08 +1100
From: Adam Simmonds <asimmond@mail.usyd.edu.au>
Organization: University of Syndey
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Re: Timing out objects
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 26
NNTP-Posting-Host: pc-70.sis.usyd.edu.au 129.78.248.198
Message-ID: <347_38C5BE00.FD96A126@mail.usyd.edu.au>
References: <347_38C59DBC.FCFC330@mail.usyd.edu.au> <347_bJOXeFKi$GA.251@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26916
Article PK: 157872

Dave
the component is stateless but the timeout never kicks in.
If the user presses stop on the browser does the method call stop and then
the timeout counting starts?
I just cant get it to work for some reason and I thought it may have been the
inheritance and the fact I havent set the timeout on the ancestor objects
Adam

"Dave Wolf [Sybase]" wrote:

> Timeouts work when there are n seconds of idle time between method calls.
> If the component is busy in a method, we will never interrupt it.
>
> Dave Wolf
> Internet Applications Division
>
> "Adam Simmonds" <asimmond@mail.usyd.edu.au> wrote in message
> news:38C59DBC.FCFC330@mail.usyd.edu.au...
> > Hi All
> > If I want objects to time out due the user pressing the stop button on
> > the browser during server side processing do I need to set all the
> > inheritance levels as well.
> >
> > I have set my timeouts on the actual components, but they dont seem to
> > be reclaimed after the specified time.
> >
> > Rgds
> > Adam
> >


Dave Wolf [Sybase] Posted on 2000-03-08 03:03:02.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: Timing out objects
Date: Tue, 7 Mar 2000 22:03:02 -0500
Lines: 48
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: PPPa26-City-2R7207.saturn.bbn.com 4.54.158.151
Message-ID: <347_w7xtktKi$GA.201@forums.sybase.com>
References: <347_38C59DBC.FCFC330@mail.usyd.edu.au> <347_bJOXeFKi$GA.251@forums.sybase.com> <347_38C5BE00.FD96A126@mail.usyd.edu.au>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:26915
Article PK: 157869

Timeouts and stateless objects are mutually exclusive. Again timeouts occur
BETWEEN method calls. If the objects method is called but it takes a long
time, a timeout wont help.

Now that said, someone has reported that PD can hang when its working and
the browser hits stop.

There's no way to stop a method which is executing.

Dave Wolf
Internet Applications Division

"Adam Simmonds" <asimmond@mail.usyd.edu.au> wrote in message
news:38C5BE00.FD96A126@mail.usyd.edu.au...
> Dave
> the component is stateless but the timeout never kicks in.
> If the user presses stop on the browser does the method call stop and then
> the timeout counting starts?
> I just cant get it to work for some reason and I thought it may have been
the
> inheritance and the fact I havent set the timeout on the ancestor objects
> Adam
>
> "Dave Wolf [Sybase]" wrote:
>
> > Timeouts work when there are n seconds of idle time between method
calls.
> > If the component is busy in a method, we will never interrupt it.
> >
> > Dave Wolf
> > Internet Applications Division
> >
> > "Adam Simmonds" <asimmond@mail.usyd.edu.au> wrote in message
> > news:38C59DBC.FCFC330@mail.usyd.edu.au...
> > > Hi All
> > > If I want objects to time out due the user pressing the stop button on
> > > the browser during server side processing do I need to set all the
> > > inheritance levels as well.
> > >
> > > I have set my timeouts on the actual components, but they dont seem to
> > > be reclaimed after the specified time.
> > >
> > > Rgds
> > > Adam
> > >
>