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.

jconnect tds class gets a java.lang.VerifyError

7 posts in JDBC Connect (product renamed to JConnect) Last posting was on 1997-08-21 20:19:15.0Z
Vanessa L. Sikkema Posted on 1997-08-19 18:25:05.0Z
Message-ID: <33F9E501.2B6C78FA@bsr.com>
Date: Tue, 19 Aug 1997 14:25:05 -0400
From: "Vanessa L. Sikkema" <sikkema@bsr.com>
Reply-To: sikkema@bsr.com
Organization: BSR
X-Mailer: Mozilla 4.01 [en] (WinNT; I)
MIME-Version: 1.0
Subject: jconnect tds class gets a java.lang.VerifyError
X-Priority: 3 (Normal)
Content-Type: multipart/alternative; boundary="------------6E83E1DF7CFCF4506ED84CA8"
Newsgroups: sybase.public.jdbcconnect
Lines: 49
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:363
Article PK: 252115

I am trying to deploy an applet which uses jconnect.  In the PowerJ documentation it informs us that the syb102.zip file must be added manually.  Once that is done I get a java.lang.VerifyError on the jdbc.sybase.tds.Tds class.  According to the definition of VerifyError, "Thrown when the "verifier" detects that a class file, though well formed, contains some sort of internal inconsistency or security problem."  So what is wrong with this class and when will it be fixed?  Perhaps nothing is wrong with the file and we're doing something wrong?  It seems to be the only obstacle holding us back from deploying our applet.  Can someone help us?  If it helps, we got our version of jconnect from Build 184 of PowerJ.
-Vanessa L. Sikkema
-sikkema@bsr.com


David Clegg Posted on 1997-08-21 00:10:56.0Z
Message-ID: <33FB8790.1204BD24@sybase.com>
Date: Wed, 20 Aug 1997 17:10:56 -0700
From: David Clegg <davec@sybase.com>
X-Mailer: Mozilla 3.01 (X11; I; Linux 1.2.13 i586)
MIME-Version: 1.0
To: sikkema@bsr.com
Subject: Re: jconnect tds class gets a java.lang.VerifyError
References: <33F9E501.2B6C78FA@bsr.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: sybase.public.jdbcconnect
Lines: 32
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:359
Article PK: 252110

First thing to try is to download the latest trial version of
jConnect from www.sybase.com and see if the problem just goes
away.

If not, please post back exactly what version of browser you
are using to run the applet. If you also have some version of
a JDK around you can use the 'javap' command to see if that
utility agrees that the Tds.class file is bad:

% javap -verify jdbc.sybase.tds.Tds
Class jdbc.sybase.tds.Tds succeeds

dave

>
> I am trying to deploy an applet which uses jconnect. In the PowerJ
> documentation it informs us that the syb102.zip file must be added
> manually. Once that is done I get a java.lang.VerifyError on the
> jdbc.sybase.tds.Tds class. According to the definition of
> VerifyError, "Thrown when the "verifier" detects that a class file,
> though well formed, contains some sort of internal inconsistency or
> security problem." So what is wrong with this class and when will it
> be fixed? Perhaps nothing is wrong with the file and we're doing
> something wrong? It seems to be the only obstacle holding us back
> from deploying our applet. Can someone help us? If it helps, we got
> our version of jconnect from Build 184 of PowerJ.
> -Vanessa L. Sikkema
> -sikkema@bsr.com


Vanessa L. Sikkema Posted on 1997-08-21 15:37:43.0Z
Message-ID: <33FC60C7.C626DCE4@bsr.com>
Date: Thu, 21 Aug 1997 11:37:43 -0400
From: "Vanessa L. Sikkema" <sikkema@bsr.com>
Reply-To: sikkema@bsr.com
Organization: BSR
X-Mailer: Mozilla 4.01 [en] (WinNT; I)
MIME-Version: 1.0
To: David Clegg <davec@sybase.com>
Subject: Re: jconnect tds class gets a java.lang.VerifyError
X-Priority: 3 (Normal)
References: <33F9E501.2B6C78FA@bsr.com> <33FB8790.1204BD24@sybase.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: sybase.public.jdbcconnect
Lines: 3
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:357
Article PK: 252109

Oops. I forgot to say what version of Netscape I am using. It is
Communicator 4.01a
-Vanessa


Hans Schukkink Posted on 1997-08-21 17:22:57.0Z
Message-ID: <33FC7971.2366D629@sybase.com>
Date: Thu, 21 Aug 1997 19:22:57 +0200
From: Hans Schukkink <schuk@sybase.com>
Organization: Sybase
X-Mailer: Mozilla 4.01 [en] (WinNT; I)
MIME-Version: 1.0
To: sikkema@bsr.com
Subject: Re: jconnect tds class gets a java.lang.VerifyError
X-Priority: 3 (Normal)
References: <33F9E501.2B6C78FA@bsr.com> <33FB8790.1204BD24@sybase.com> <33FC60C7.C626DCE4@bsr.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: sybase.public.jdbcconnect
Lines: 16
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:356
Article PK: 252107


Vanessa L. Sikkema wrote:
>
> Oops. I forgot to say what version of Netscape I am using. It is
> Communicator 4.01a
> -Vanessa

Please remove the classpath from your environment before starting
Communicator. Then try again:
c:\>set CLASSPATH =
c:\>start netscape

Be sure to load the applet from a (local) webserver and not from the
filesystem. You can also test using the appletviewer, to see if that
makes a difference.


--
--------------------------------------------------
. Hans Schukkink Sybase Europe Product Support .
--------------------------------------------------


Hans Schukkink Posted on 1997-08-21 17:56:27.0Z
Message-ID: <33FC814B.93F54777@sybase.com>
Date: Thu, 21 Aug 1997 19:56:27 +0200
From: Hans Schukkink <schuk@sybase.com>
Organization: Sybase
X-Mailer: Mozilla 4.01 [en] (WinNT; I)
MIME-Version: 1.0
To: Hans Schukkink <schuk@sybase.com>, Vanessa sikkema <sikkema@bsr.com>
Subject: Re: jconnect tds class gets a java.lang.VerifyError
X-Priority: 3 (Normal)
References: <33F9E501.2B6C78FA@bsr.com> <33FB8790.1204BD24@sybase.com> <33FC60C7.C626DCE4@bsr.com> <33FC7971.2366D629@sybase.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: sybase.public.jdbcconnect
Lines: 27
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:354
Article PK: 252104

Hi Vanessa,

Assuming you're on NT:
I made a typo:
remove the space between CLASSPATH and "="

Hans

Hans Schukkink wrote:
>
> Vanessa L. Sikkema wrote:
> >
> > Oops. I forgot to say what version of Netscape I am using. It is
> > Communicator 4.01a
> > -Vanessa
>
> Please remove the classpath from your environment before starting
> Communicator. Then try again:
> c:\>set CLASSPATH =
> c:\>start netscape
>
> Be sure to load the applet from a (local) webserver and not from the
> filesystem. You can also test using the appletviewer, to see if that
> makes a difference.
>
> --
> --------------------------------------------------
> . Hans Schukkink Sybase Europe Product Support .
> --------------------------------------------------

--
--------------------------------------------------
. Hans Schukkink Sybase Europe Product Support .
. schuk@sybase.com +31 346 558529 .
. PSE Wired Connectivity Audix: 245-4529 .
--------------------------------------------------


David Lance Wolf Posted on 1997-08-21 20:19:15.0Z
Message-ID: <33FCA2C2.273C0816@sybase.com>
Date: Thu, 21 Aug 1997 13:19:15 -0700
From: David Lance Wolf <dwolf@sybase.com>
Organization: Sybase Professional Services
X-Mailer: Mozilla 4.01 [en] (Win95; U)
MIME-Version: 1.0
Subject: Re: jconnect tds class gets a java.lang.VerifyError
X-Priority: 3 (Normal)
References: <33F9E501.2B6C78FA@bsr.com> <33FB8790.1204BD24@sybase.com> <33FC60C7.C626DCE4@bsr.com> <33FC7971.2366D629@sybase.com>
Content-Type: multipart/mixed; boundary="------------8E58367691E6C377E8780531"
Newsgroups: sybase.public.jdbcconnect
Lines: 44
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:355
Article PK: 252106

Vanessa-

Communicator 4 has this nasty little habit of checking the local
CLASSPATH over the CODEBASE. Try this by resetting the CLASSPATH to
null

Dave Wolf
Sybase Professional Services

Hans Schukkink wrote:

> Vanessa L. Sikkema wrote:
> >
> > Oops. I forgot to say what version of Netscape I am using. It is
> > Communicator 4.01a
> > -Vanessa
>
> Please remove the classpath from your environment before starting
> Communicator. Then try again:
> c:\>set CLASSPATH =
> c:\>start netscape
>
> Be sure to load the applet from a (local) webserver and not from the
> filesystem. You can also test using the appletviewer, to see if that
> makes a difference.
>
> --
> --------------------------------------------------
> . Hans Schukkink Sybase Europe Product Support .
> --------------------------------------------------


Download VCard vcard.vcf


Vanessa L. Sikkema Posted on 1997-08-21 10:48:59.0Z
Message-ID: <33FC1D1A.DBA7CA3C@bsr.com>
Date: Thu, 21 Aug 1997 06:48:59 -0400
From: "Vanessa L. Sikkema" <sikkema@bsr.com>
Reply-To: sikkema@bsr.com
Organization: BSR
X-Mailer: Mozilla 4.01 [en] (WinNT; I)
MIME-Version: 1.0
To: David Clegg <davec@sybase.com>
Subject: Re: jconnect tds class gets a java.lang.VerifyError
X-Priority: 3 (Normal)
References: <33F9E501.2B6C78FA@bsr.com> <33FB8790.1204BD24@sybase.com>
Content-Type: multipart/alternative; boundary="------------C879FDE512E8A27172909580"
Newsgroups: sybase.public.jdbcconnect
Lines: 42
Path: forums-1-dub!forums-master.sybase.com!forums.powersoft.com
Xref: forums-1-dub sybase.public.jdbcconnect:358
Article PK: 252111

Thank you for responding.  I just got the new version of jconnect yesterday and still got the VerifyError.  I have noticed also that sometimes it gives me the VerifyError and at other times I get a NoClassDefFoundError instead, even though I can see that the class is there. Both errors are regarding the tds.Tds class.  I cannot figure out what the difference in circumstances is between the two errors either.
I just now tried the javap verification on that class and it came back successful.  Now what do I do?  We need to deploy this applet ASAP.  Thanks in advance for your help.
-Vanessa L. Sikkema
-Business Systems Resources, Inc.