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.

JAG_CM_WAIT?

5 posts in General Discussion (old) Last posting was on 2000-02-28 17:55:56.0Z
Adam Simmonds Posted on 2000-02-28 06:53:19.0Z
Newsgroups: sybase.public.easerver
Date: Mon, 28 Feb 2000 17:53:19 +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: JAG_CM_WAIT?
Content-Type: multipart/mixed; boundary="------------A7EC7128AC229EC39CF8D01C"
Lines: 22
NNTP-Posting-Host: pc-70.sis.usyd.edu.au 129.78.248.198
Message-ID: <347_38BA1B5F.F6CCF803@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:27694
Article PK: 159058

Hi all
This is probably a silly question, but how long is the wait, when a free
connection cache can not be found and how can I tell if it has timed
out?

Rgds
Adam


Download VCard asimmond.vcf


Dave Wolf [Sybase] Posted on 2000-02-28 08:45:20.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: JAG_CM_WAIT?
Date: Mon, 28 Feb 2000 03:45:20 -0500
Lines: 17
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: 158.159.8.19
Message-ID: <347_75Rauicg$GA.201@forums.sybase.com>
References: <347_38BA1B5F.F6CCF803@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:27692
Article PK: 159055

It will wait forever.

Dave Wolf
Internet Applications Division

"Adam Simmonds" <asimmond@mail.usyd.edu.au> wrote in message
news:38BA1B5F.F6CCF803@mail.usyd.edu.au...
> Hi all
> This is probably a silly question, but how long is the wait, when a free
> connection cache can not be found and how can I tell if it has timed
> out?
>
> Rgds
> Adam
>


Adam Simmonds Posted on 2000-02-28 09:14:00.0Z
Newsgroups: sybase.public.easerver
Date: Mon, 28 Feb 2000 20:14:00 +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: JAG_CM_WAIT?
Content-Type: multipart/mixed; boundary="------------7DB710F5AD1164CF50607DEE"
Lines: 30
NNTP-Posting-Host: pc-70.sis.usyd.edu.au 129.78.248.198
Message-ID: <347_38BA3C58.F2D37E65@mail.usyd.edu.au>
References: <347_38BA1B5F.F6CCF803@mail.usyd.edu.au> <347_75Rauicg$GA.201@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:27687
Article PK: 154572

Thats what I was scared of
So will the component timeout kickin in this case?
Adam

"Dave Wolf [Sybase]" wrote:

> It will wait forever.
>
> Dave Wolf
> Internet Applications Division
>
> "Adam Simmonds" <asimmond@mail.usyd.edu.au> wrote in message
> news:38BA1B5F.F6CCF803@mail.usyd.edu.au...
> > Hi all
> > This is probably a silly question, but how long is the wait, when a free
> > connection cache can not be found and how can I tell if it has timed
> > out?
> >
> > Rgds
> > Adam
> >


Download VCard asimmond.vcf


Dave Wolf [Sybase] Posted on 2000-02-28 17:55:56.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: JAG_CM_WAIT?
Date: Mon, 28 Feb 2000 12:55:56 -0500
Lines: 36
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: dwolf-nt.sybase.com 157.133.43.179
Message-ID: <347_lAKNZWhg$GA.297@forums.sybase.com>
References: <347_38BA1B5F.F6CCF803@mail.usyd.edu.au> <347_75Rauicg$GA.201@forums.sybase.com> <347_38BA3C58.F2D37E65@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:27650
Article PK: 159018

Nope. You could code this yourself though. If you did some logic like loop
N times passing JCM_NOWAIT. JCM_NOWAIT will catch en Exception if there is
no connection. You could then loop N times catching the exception and
sleeping a few ticks in between. After N loops just return an error, or
JCM_FORCE one open.

Dave Wolf
Internet Applications Division

"Adam Simmonds" <asimmond@mail.usyd.edu.au> wrote in message
news:38BA3C58.F2D37E65@mail.usyd.edu.au...
> Thats what I was scared of
> So will the component timeout kickin in this case?
> Adam
>
> "Dave Wolf [Sybase]" wrote:
>
> > It will wait forever.
> >
> > Dave Wolf
> > Internet Applications Division
> >
> > "Adam Simmonds" <asimmond@mail.usyd.edu.au> wrote in message
> > news:38BA1B5F.F6CCF803@mail.usyd.edu.au...
> > > Hi all
> > > This is probably a silly question, but how long is the wait, when a
free
> > > connection cache can not be found and how can I tell if it has timed
> > > out?
> > >
> > > Rgds
> > > Adam
> > >
>


Jim O'Neil [Sybase] Posted on 2000-02-28 14:23:32.0Z
Newsgroups: sybase.public.easerver
Date: Mon, 28 Feb 2000 09:23:32 -0500
From: "Jim O'Neil [Sybase]" <joneil@sybase.com>
Organization: Sybase, Inc.
X-Mailer: Mozilla 4.7 [en]C-CCK-MCD (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
Subject: Re: JAG_CM_WAIT?
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 26
NNTP-Posting-Host: joneil-nt.sybase.com 204.167.42.111
Message-ID: <347_38BA84E3.9FFA913E@sybase.com>
References: <347_38BA1B5F.F6CCF803@mail.usyd.edu.au> <347_75Rauicg$GA.201@forums.sybase.com> <347_38BA3C58.F2D37E65@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:27669
Article PK: 159037


Adam Simmonds wrote:

> Thats what I was scared of
> So will the component timeout kickin in this case?
> Adam
>
> "Dave Wolf [Sybase]" wrote:
>
> > It will wait forever.
> >
> > Dave Wolf
> > Internet Applications Division
> >
> > "Adam Simmonds" <asimmond@mail.usyd.edu.au> wrote in message
> > news:38BA1B5F.F6CCF803@mail.usyd.edu.au...
> > > Hi all
> > > This is probably a silly question, but how long is the wait, when a free
> > > connection cache can not be found and how can I tell if it has timed
> > > out?
> > >
> > > Rgds
> > > Adam
> > >

I can't say I've tried it, but I would say no. The wait would basically block
on the connect call, and the timeout will not kick in in the midst of a method
call (e.g., the method that contained the connection request for which you are
waiting). In essence the timeout timer resets whenever a method call completes
and is suspended when the next method call begins.

--
Jim O'Neil
Senior Technical Support Engineer
Sybase, Inc