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.

Trouble connecting to sybase

2 posts in JDBC Connect (product renamed to JConnect) Last posting was on 1997-10-28 14:55:05.0Z
Stephen Juth Posted on 1997-10-27 21:59:07.0Z
Message-ID: <34550EAB.41C67EA6@caip.rutgers.edu>
Date: Mon, 27 Oct 1997 16:59:07 -0500
From: Stephen Juth <juth@caip.rutgers.edu>
X-Mailer: Mozilla 3.0 (X11; I; SunOS 4.1.3_U1 sun4m)
MIME-Version: 1.0
Subject: Trouble connecting to sybase
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: sybase.public.jdbcconnect
Lines: 19
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:140
Article PK: 251891

I made a simple program based on the code from the examples
given in the documentation. I get the following exception:

java.lang.NoClassDefFoundError: sun/io/ByteToCharConverter
at com.sybase.tds.Tds.setCharConvert(Tds.java)
at com.sybase.tds.Tds.login(Tds.java)
at com.sybase.jdbc.SybConnection.<init>(SybConnection.java)
at com.sybase.jdbc.SybDriver.connect(SybDriver.java)
at java.sql.DriverManager.getConnection(DriverManager.java:90)
at java.sql.DriverManager.getConnection(DriverManager.java:132)
at SelectApp.main(SelectApp.java:24)

Where is this ByteToCharConverter class? I don't see it in
the JDK. Can someone please help.

Thanks,
Steve Juth
juth@caip.rutgers.edu


Lance Andersen Posted on 1997-10-28 14:55:05.0Z
Message-ID: <3455FCC9.7B8D@sybase.com>
Date: Tue, 28 Oct 1997 09:55:05 -0500
From: Lance Andersen <lancea@sybase.com>
X-Mailer: Mozilla 3.01Gold (X11; I; SunOS 5.5.1 sun4m)
MIME-Version: 1.0
To: Stephen Juth <juth@caip.rutgers.edu>
CC: davec
Subject: Re: Trouble connecting to sybase
References: <34550EAB.41C67EA6@caip.rutgers.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: sybase.public.jdbcconnect
Lines: 36
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:139
Article PK: 251892


Stephen Juth wrote:
>
> I made a simple program based on the code from the examples
> given in the documentation. I get the following exception:
>
> java.lang.NoClassDefFoundError: sun/io/ByteToCharConverter
> at com.sybase.tds.Tds.setCharConvert(Tds.java)
> at com.sybase.tds.Tds.login(Tds.java)
> at com.sybase.jdbc.SybConnection.<init>(SybConnection.java)
> at com.sybase.jdbc.SybDriver.connect(SybDriver.java)
> at java.sql.DriverManager.getConnection(DriverManager.java:90)
> at java.sql.DriverManager.getConnection(DriverManager.java:132)
> at SelectApp.main(SelectApp.java:24)
>
> Where is this ByteToCharConverter class? I don't see it in
> the JDK. Can someone please help.
>
> Thanks,
> Steve Juth
> juth@caip.rutgers.edu

what version of jConnect are you using and which VM? This is in
sun.io.* but is supposed to be part of the JDK1.1. I suspect
that you are using jConnect 3.0 .

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