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.

Stranding open sessions!!??

3 posts in General Discussion (old) Last posting was on 2000-03-24 21:02:43.0Z
Karl Werner Posted on 2000-03-24 16:48:04.0Z
Newsgroups: sybase.public.easerver
From: "Karl Werner" <wernerk@nospam.jcdc.jobcorps.org>
Organization: 207.43.246.2
X-Newsreader: AspNNTP 1.41 (Advent 2000, Inc.)
Subject: Stranding open sessions!!??
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Date: Fri, 24 Mar 2000 11:48:04 -0500
Lines: 22
NNTP-Posting-Host: 207.156.232.4
Message-ID: <347_3y0V5Cbl$GA.298@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25743
Article PK: 155792

I've determined that from a PB client connected to Jaguar, the session does NOT
get dropped until the application is closed!!! -- even if you perform a
diconnectserver() and destroy the application object.

Furthermore, if the client abnormally terminates (i.e. null object ref), the
session is STRANDED out there in Jaguar and NEVER goes away (that I know of).
This is particularly annoying with the development version as it limits the
number of iiop sessions open at a time.

Is there a way to clean up sessions? Or have them time out or something? Right
now, we have to shutdown and restart Jaguar to clear them. It seems to me that
over time, we're liable to have many stranded sessions out there.

Any ideas?

Karl Werner
---== Posted via the PFCGuide Web Newsreader ==---
http://www.pfcguide.com/_newsgroups/group_list.asp


Alex Whitney Posted on 2000-03-24 21:02:43.0Z
Newsgroups: sybase.public.easerver
From: "Alex Whitney" <awhitney@dyn-data.com>
Subject: Re: Stranding open sessions!!??
Date: Fri, 24 Mar 2000 15:02:43 -0600
Lines: 42
Organization: Dynamic Data Solutions
X-Newsreader: Microsoft Outlook Express 4.72.3612.1700
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700
NNTP-Posting-Host: 207.127.151.128
Message-ID: <347_7o2IiUdl$GA.285@forums.sybase.com>
References: <347_3y0V5Cbl$GA.298@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25725
Article PK: 154333

You can specify that the connection is not to be reused at all or only for a
limited time before a new conneciton os used. Look at the
"ORBsocketReuseLimit" option for the connection object.

ALex

--
_________________________________________________________

Alex Whitney
CPD Professional
Dynamic Data Solutions, Inc.
Enterprise Application Studio 3.0 Consulting and Training
http://www.dyn-data.com

Karl Werner wrote in message <3y0V5Cbl$GA.298@forums.sybase.com>...
>I've determined that from a PB client connected to Jaguar, the session does
NOT
>get dropped until the application is closed!!! -- even if you perform a
>diconnectserver() and destroy the application object.
>
>Furthermore, if the client abnormally terminates (i.e. null object ref),
the
>session is STRANDED out there in Jaguar and NEVER goes away (that I know
of).
>This is particularly annoying with the development version as it limits the
>number of iiop sessions open at a time.
>
>Is there a way to clean up sessions? Or have them time out or something?
Right
>now, we have to shutdown and restart Jaguar to clear them. It seems to me
that
>over time, we're liable to have many stranded sessions out there.
>
>Any ideas?
>
>Karl Werner
>---== Posted via the PFCGuide Web Newsreader ==---
>http://www.pfcguide.com/_newsgroups/group_list.asp


Mark Maslow Posted on 2000-03-24 17:26:07.0Z
Newsgroups: sybase.public.easerver
From: "Mark Maslow" <mark.maslow@sierraclub.org>
Subject: Re: Stranding open sessions!!??
Date: Fri, 24 Mar 2000 09:26:07 -0800
Lines: 34
Organization: Sierra Club
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: machine001.sierraclub.org 207.90.163.1
Message-ID: <347_50mqFcbl$GA.201@forums.sybase.com>
References: <347_3y0V5Cbl$GA.298@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:25741
Article PK: 155788

Stateful components will never deactivate until either they call
SetComplete, or SetAbort, or time out. If your components must be stateful,
you have to take care of deactivating them via one of the above methods.

Mark Maslow

Karl Werner <wernerk@nospam.jcdc.jobcorps.org> wrote in message
news:3y0V5Cbl$GA.298@forums.sybase.com...
> I've determined that from a PB client connected to Jaguar, the session
does NOT
> get dropped until the application is closed!!! -- even if you perform a
> diconnectserver() and destroy the application object.
>
> Furthermore, if the client abnormally terminates (i.e. null object ref),
the
> session is STRANDED out there in Jaguar and NEVER goes away (that I know
of).
> This is particularly annoying with the development version as it limits
the
> number of iiop sessions open at a time.
>
> Is there a way to clean up sessions? Or have them time out or something?
Right
> now, we have to shutdown and restart Jaguar to clear them. It seems to me
that
> over time, we're liable to have many stranded sessions out there.
>
> Any ideas?
>
> Karl Werner
> ---== Posted via the PFCGuide Web Newsreader ==---
> http://www.pfcguide.com/_newsgroups/group_list.asp