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.

Confused by this error message:

3 posts in JDBC Connect (product renamed to JConnect) Last posting was on 1997-07-17 12:49:05.0Z
Brian Claus Posted on 1997-07-16 15:41:40.0Z
Message-ID: <33CCEBB4.90557FEC@theglobeandmail.com>
Date: Wed, 16 Jul 1997 11:41:40 -0400
From: Brian Claus <bclaus@theglobeandmail.com>
X-Mailer: Mozilla 4.0 [en] (Win95; I)
MIME-Version: 1.0
Subject: Confused by this error message:
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: sybase.public.jdbcconnect
Lines: 28
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:536
Article PK: 252287

I am a little confused by what this error message means.
I am trying to establish a connection to an oracle database.
I am using the JDK1.1 with the most recent version of jconnect.
The following information is being used:

stock_data = new DataSource(
"com.sybase.jdbc.SybDriver",
"jdbc:sybase:Tds:journal:1521",
users
);

(DataSource is simply a wrapper class that does all the creation and
connecting to the database, users is a properties object with the user
name and password)

I receive the following exception when I attempt to run the java
application:

java.sql.SQLException: : Invalid SybDriverKey for this jConnect driver
at com.sybase.jdbc.ErrorMessage.raiseError(ErrorMessage.java)
at com.sybase.jdbc.SybDriver.setKey(SybDriver.java)
at com.sybase.jdbc.SybDriver.connect(SybDriver.java)
...
...

Can anyone give me some kind of indication of what I am doing wrong?

Thanks,
Brian Claus
Webmaster,
The Globe and Mail
.


Lance Andersen Posted on 1997-07-17 12:49:05.0Z
Message-ID: <33CE14C1.245F@sybase.com>
Date: Thu, 17 Jul 1997 08:49:05 -0400
From: Lance Andersen <lancea@sybase.com>
X-Mailer: Mozilla 3.01Gold (X11; I; SunOS 5.5.1 sun4m)
MIME-Version: 1.0
To: Brian Claus <bclaus@theglobeandmail.com>
Subject: Re: Confused by this error message:
References: <33CCEBB4.90557FEC@theglobeandmail.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: sybase.public.jdbcconnect
Lines: 45
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:522
Article PK: 252274

Brian,

we just pushed a fix out to the website for this problem..

please try again...



-lance

Brian Claus wrote:
>
> I am a little confused by what this error message means.
> I am trying to establish a connection to an oracle database.
> I am using the JDK1.1 with the most recent version of jconnect.
> The following information is being used:
>
> stock_data = new DataSource(
> "com.sybase.jdbc.SybDriver",
> "jdbc:sybase:Tds:journal:1521",
> users
> );
>
> (DataSource is simply a wrapper class that does all the creation and
> connecting to the database, users is a properties object with the user
> name and password)
>
> I receive the following exception when I attempt to run the java
> application:
>
> java.sql.SQLException: : Invalid SybDriverKey for this jConnect driver
> at com.sybase.jdbc.ErrorMessage.raiseError(ErrorMessage.java)
> at com.sybase.jdbc.SybDriver.setKey(SybDriver.java)
> at com.sybase.jdbc.SybDriver.connect(SybDriver.java)
> ...
> ...
>
> Can anyone give me some kind of indication of what I am doing wrong?
>
> Thanks,
> Brian Claus
> Webmaster,
> The Globe and Mail
> .

--
===============================================================================
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!!!
===============================================================================


Lance Andersen Posted on 1997-07-17 12:46:25.0Z
Message-ID: <33CE1421.1F20@sybase.com>
Date: Thu, 17 Jul 1997 08:46:25 -0400
From: Lance Andersen <lancea@sybase.com>
X-Mailer: Mozilla 3.01Gold (X11; I; SunOS 5.5.1 sun4m)
MIME-Version: 1.0
To: Brian Claus <bclaus@theglobeandmail.com>
Subject: Re: Confused by this error message:
References: <33CCEBB4.90557FEC@theglobeandmail.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: sybase.public.jdbcconnect
Lines: 44
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:524
Article PK: 252277

You are encountering a bug that we will have a fix for
shortly.

-lance

Brian Claus wrote:
>
> I am a little confused by what this error message means.
> I am trying to establish a connection to an oracle database.
> I am using the JDK1.1 with the most recent version of jconnect.
> The following information is being used:
>
> stock_data = new DataSource(
> "com.sybase.jdbc.SybDriver",
> "jdbc:sybase:Tds:journal:1521",
> users
> );
>
> (DataSource is simply a wrapper class that does all the creation and
> connecting to the database, users is a properties object with the user
> name and password)
>
> I receive the following exception when I attempt to run the java
> application:
>
> java.sql.SQLException: : Invalid SybDriverKey for this jConnect driver
> at com.sybase.jdbc.ErrorMessage.raiseError(ErrorMessage.java)
> at com.sybase.jdbc.SybDriver.setKey(SybDriver.java)
> at com.sybase.jdbc.SybDriver.connect(SybDriver.java)
> ...
> ...
>
> Can anyone give me some kind of indication of what I am doing wrong?
>
> Thanks,
> Brian Claus
> Webmaster,
> The Globe and Mail
> .

--
===============================================================================
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!!!
===============================================================================