Subject Re: [IB-Java] FireBird RC1 / InterClient 2.00
Author Massimo Ferrari
Your stack trace tells that you are probably using InterClient 2.0
downloaded from the borland web site with jdk1.3.
That IC was compiled with jdk1.2 and cannot be used with jdk1.3.
(http://groups.google.ch/groups?q=interclient+verifyerror&hl=de&rnum=1&selm=
3ac9f294%241_1%40dnews)

Download the InterClient at
http://sourceforge.net/project/showfiles.php?group_id=9028 to correct the
problem.

Regards
MAssimo



----- Original Message -----
From: "ala" <aallende@...>
To: <IB-Java@yahoogroups.com>
Sent: Monday, December 03, 2001 6:51 PM
Subject: [IB-Java] FireBird RC1 / InterClient 2.00


Hello all!
I'm trying to use FireBird RC1 / InterClient 2.00 from a servlet (in
tomcat 4.0 standalone).
The IC sends extrange exceptions, but only from the servlet, and not from
a standalone test class with very similar code (except the servlet
stuff).
There is somebody using FB/IC?
Thanks!

Adrián Allende

Here is the core of (familiar) code

Class.forName ("interbase.interclient.Driver");
d = java.sql.DriverManager.getDriver (databaseURL);
out.println ("InterClient version " <br>");
c = java.sql.DriverManager.getConnection (databaseURL, user, password);
out.println ("Connection established.<br>");
c.setAutoCommit (false);
out.println ("Auto-commit is disabled.<br>");
s = c.createStatement ();
rs = s.executeQuery ("select full_name from employee where salary <
50000<br>");

the last line sends these output on a browser

java.lang.VerifyError: (class: interbase/interclient/ErrorKey, method:
_$372 signature: (Ljava/lang/String;Ljava/lang/String;I)V) Expecting to
find unitialized object on stack
at interbase.interclient.SQLException.(SQLException.java:96)
at
interbase.interclient.RecvMessage.createSQLException(RecvMessage.java:69
4)
at
interbase.interclient.RecvMessage.makeSQLException(RecvMessage.java:593)
at
interbase.interclient.RecvMessage.get_EXCEPTIONS(RecvMessage.java:554)
at
interbase.interclient.Statement.remote_EXECUTE_QUERY_STATEMENT(Statement
.java:175)
at
interbase.interclient.Statement.executeQuery(Statement.java:154)
at HelloWorldExample.doGet(HelloWorldExample.java:39)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)



To unsubscribe from this group, send an email to:
IB-Java-unsubscribe@egroups.com



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/