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.

URGENT: jConnect help

2 posts in JDBC Connect (product renamed to JConnect) Last posting was on 1997-06-16 12:22:09.0Z
Khoa Nguyen Posted on 1997-06-15 07:49:34.0Z
Message-ID: <33A39E8E.14FE@actracorp.com>
Date: Sun, 15 Jun 1997 00:49:34 -0700
From: Khoa Nguyen <khoa@actracorp.com>
Organization: Actra Business Systems
X-Mailer: Mozilla 3.01Gold (Win95; I)
MIME-Version: 1.0
Subject: URGENT: jConnect help
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: sybase.public.jdbcconnect
Lines: 57
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:682
Article PK: 252435

I have a urgent demo to give to a customer and need to get this working
soon. I've been trying for days but no luck.

I get the error below when trying to run Open Server Gateway to connect
to Sql AnyWhere via jConnect.

My sample database (demodb) is running OK. I've verified this in
SQL Central. Everything is running on Windows 95.

- Khoa

output of 'start dbos50 demodb'

=======================================================================

Sybase SQL Anywhere Open Server Gateway Version 5.5.02 Build #1495
Copyright by Sybase, Inc., and its subsidiaries, 1988, 1997.
All rights reserved. Sybase is a trademark of Sybase, Inc.

Sybase Open Server Runtime Components:
libsrv/10.0.3/P/PC Intel/Windows NT 3.1/1/OPT/Aug 1 1995 23:42:55
Log Filename: demodb.wos
Fri Jun 13 23:45:13 1997 Open Server Gateway Started
Gateway failed to initialize. List of common problems:
(1) An Open Server Gateway of this Name/Address is already started.
(2) Network problems (or machine not found).
(3) Sybase Open Server Components are installed incorrectly.
(4) Server name 'Master' entry in the interfaces File is:
(a) not found (can be case sensitive); please create one.
(b) incorrect; please verify format and information.
(c) in use by another service; please choose unique address.
Run SQLEDIT and select 'Help on SQLEDIT' from the 'Help' menu.
Contact your Network Administrator.
Error Code #16240, Severity 10 CS error : Net-Library routine
net_accept() failed in srv__conservice()
Network error: status = 25 - Protocol driver call to accept an incoming
connection request failed

OS error : Operating system error: -1 - Error while accepting new
connection - Error is 120

Fri Jun 13 23:45:14 1997 Open Server Gateway Stopped

=======================================================================
contents of libtcl.cfg
[DRIVERS]
NLWNSCK=NLWNSCK Winsock TCP/IP Net-Lib driver
NLMSNMP=NLMSNMP Named Pipe Net-Lib driver

=======================================================================
contents of sql.ini
[demodb]
os2_master=nlwnsck,khoa.mcom.com,8001
os2_query=nlwnsck,khoa.mcom.com,8001
win3_query=nlwnsck,khoa.mcom.com,8001
dos_query=nlftptcp,khoa.mcom.com,8001


Lance Andersen Posted on 1997-06-16 12:22:09.0Z
Message-ID: <33A52FF1.3327@sybase.com>
Date: Mon, 16 Jun 1997 08:22:09 -0400
From: Lance Andersen <lancea@sybase.com>
X-Mailer: Mozilla 3.01Gold (X11; I; SunOS 5.5.1 sun4m)
MIME-Version: 1.0
To: Khoa Nguyen <khoa@actracorp.com>
Subject: Re: URGENT: jConnect help
References: <33A39E8E.14FE@actracorp.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: sybase.public.jdbcconnect
Lines: 73
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:677
Article PK: 252429

Remove the os2_, win3_'

My entries in my sql.ini file are:
[foo]
query=NLWNSCK,lancea,9000
master=NLWNSCK,lancea,9000

Khoa Nguyen wrote:
>
> I have a urgent demo to give to a customer and need to get this working
> soon. I've been trying for days but no luck.
>
> I get the error below when trying to run Open Server Gateway to connect
> to Sql AnyWhere via jConnect.
>
> My sample database (demodb) is running OK. I've verified this in
> SQL Central. Everything is running on Windows 95.
>
> - Khoa
>
> output of 'start dbos50 demodb'
>
> =======================================================================
>
> Sybase SQL Anywhere Open Server Gateway Version 5.5.02 Build #1495
> Copyright by Sybase, Inc., and its subsidiaries, 1988, 1997.
> All rights reserved. Sybase is a trademark of Sybase, Inc.
>
> Sybase Open Server Runtime Components:
> libsrv/10.0.3/P/PC Intel/Windows NT 3.1/1/OPT/Aug 1 1995 23:42:55
> Log Filename: demodb.wos
> Fri Jun 13 23:45:13 1997 Open Server Gateway Started
> Gateway failed to initialize. List of common problems:
> (1) An Open Server Gateway of this Name/Address is already started.
> (2) Network problems (or machine not found).
> (3) Sybase Open Server Components are installed incorrectly.
> (4) Server name 'Master' entry in the interfaces File is:
> (a) not found (can be case sensitive); please create one.
> (b) incorrect; please verify format and information.
> (c) in use by another service; please choose unique address.
> Run SQLEDIT and select 'Help on SQLEDIT' from the 'Help' menu.
> Contact your Network Administrator.
> Error Code #16240, Severity 10 CS error : Net-Library routine
> net_accept() failed in srv__conservice()
> Network error: status = 25 - Protocol driver call to accept an incoming
> connection request failed
>
> OS error : Operating system error: -1 - Error while accepting new
> connection - Error is 120
>
> Fri Jun 13 23:45:14 1997 Open Server Gateway Stopped
>
> =======================================================================
> contents of libtcl.cfg
> [DRIVERS]
> NLWNSCK=NLWNSCK Winsock TCP/IP Net-Lib driver
> NLMSNMP=NLMSNMP Named Pipe Net-Lib driver
>
> =======================================================================
> contents of sql.ini
> [demodb]
> os2_master=nlwnsck,khoa.mcom.com,8001
> os2_quwin3_query=nlwnsck,khoa.mcom.com,8001
> dos_query=nlftptcp,khoa.mcom.com,8001

--
===============================================================================
Lance J. Andersen Email: lancea@sybase.com
Sybase Technical Support Phone:(617) 564-6336
77 South Bedford Street Fax: (617) 564-6148
Burlington, MA 01803

The Dark Knight Returns!!! Let's Go Penguins!!!
===============================================================================