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.

Connecting to a remote DB

2 posts in General Discussion Last posting was on 2003-05-27 15:44:07.0Z
Riccardo Posted on 2003-05-27 15:37:23.0Z
From: Riccardo
Date: Tue, 27 May 2003 11:37:23 -0400
Newsgroups: ianywhere.public.general
Subject: Connecting to a remote DB
Message-ID: <19103441F1B3BB7F0055D23485256D33.0055D24A85256D33@webforums>
Lines: 21
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Path: forums-1-dub!forums-master.sybase.com!webforums.sybase.com!news
Xref: forums-1-dub ianywhere.public.general:1083
Article PK: 3026

Hi all,

I'm a Sybase beginner!I'm developing a java application that connects via
jdbc to a remote DB (ASA 6.0) and performs some operations such as INSERT
and SELECT; the jdbc url is:

jdbc:sybase:Tds:172.14.5.6:2638?SERVICENAME=SI

where SI is the DB filename.

I've created a network service on the remote machine through Sybase Central
(I've used the default values for service configuration parameters). When I
access the remote database my java application throws the following
exception:

DBCP borrowObject failed: java.sql.SQLException: JZ006: Caught IOException:
java.net.ConnectException: Connection timed out: connect

Is it a misconfiguration problem?Can you help me?
Thank you very much!
Riccardo!


Chris Keating (iAnywhere Solutions) Posted on 2003-05-27 15:44:07.0Z
From: "Chris Keating \(iAnywhere Solutions\)" <keating@iAnywhere.com>
References: <19103441F1B3BB7F0055D23485256D33.0055D24A85256D33@webforums>
Subject: Re: Connecting to a remote DB
Date: Tue, 27 May 2003 11:44:07 -0400
Lines: 45
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Message-ID: <uTMw8eGJDHA.218@forums-2-dub>
Newsgroups: ianywhere.public.general
NNTP-Posting-Host: keating-xp.sybase.com 172.31.140.19
Path: forums-1-dub!forums-master.sybase.com!forums-2-dub.sybase.com
Xref: forums-1-dub ianywhere.public.general:1084
Article PK: 3366

What is the OS for both the client and the server? Win2k? WinXP?
What is the version of ASA6 specifically (include the maintenace and build
number)?

--

Chris Keating
Sybase Adaptive Server Anywhere Professional Version 8
iAnywhere Solutions http://www.iAnywhere.com

** Please only post to the newsgroup

** Whitepapers can be found at http://www.iAnywhere.com/developer
** EBFs can be found at http://downloads.sybase.com/swx/sdmain.stm
** Use CaseXpress to report bugs http://casexpress.sybase.com

<Riccardo> wrote in message
news:19103441F1B3BB7F0055D23485256D33.0055D24A85256D33@webforums...
> Hi all,
>
> I'm a Sybase beginner!I'm developing a java application that connects via
> jdbc to a remote DB (ASA 6.0) and performs some operations such as INSERT
> and SELECT; the jdbc url is:
>
> jdbc:sybase:Tds:172.14.5.6:2638?SERVICENAME=SI
>
> where SI is the DB filename.
>
> I've created a network service on the remote machine through Sybase
Central
> (I've used the default values for service configuration parameters). When
I
> access the remote database my java application throws the following
> exception:
>
> DBCP borrowObject failed: java.sql.SQLException: JZ006: Caught
IOException:
> java.net.ConnectException: Connection timed out: connect
>
> Is it a misconfiguration problem?Can you help me?
> Thank you very much!
> Riccardo!
>