Subject | Re: [Firebird-Java] Re: GDSError |
---|---|
Author | Thomas Viohl |
Post date | 2002-06-20T18:36:11Z |
We use Firebird SuperServer for Solaris (Sparc)
<http://firebird.sourceforge.net/download/snapshot_builds/solaris_sparc/FirebirdSS-1.0.0.796-64IO-Solaris-Sparc.tar.gz>
(64 Bit I/O) on Solaris 2.8.
also the FirebirdSQL JDBC Driver, integrated in Apache-Tomcat
4.0.3.(also on Solaris)
After debugging the java code we have following result:
Directly after the
sqlst = sqlcon.createStatement();
we get our message: GDSException: org.firebirdsql.gds.GDSException:
message length error (encountered 88, expected ).
It do not matter what sql statement. (All statements work in IBConsole).
Its seems that we do not get this errors in Windows 2000 (same
configuration).
BTW: We made a change in the firebirdSQL.jar file. We changed the
parameter for log4j from DEBUG to ERROR.
Any Ideas?
Thomas
Blas Rodriguez Somoza wrote:
Thomas Viohl
oraise GmbH
Am Wall 149/150
D-28195 Bremen (Germany)
------------------------
eMail: t.viohl@...
Fon:++49+421-335533
Fax:++49+421-3355355
------------------------
<http://firebird.sourceforge.net/download/snapshot_builds/solaris_sparc/FirebirdSS-1.0.0.796-64IO-Solaris-Sparc.tar.gz>
(64 Bit I/O) on Solaris 2.8.
also the FirebirdSQL JDBC Driver, integrated in Apache-Tomcat
4.0.3.(also on Solaris)
After debugging the java code we have following result:
Directly after the
sqlst = sqlcon.createStatement();
we get our message: GDSException: org.firebirdsql.gds.GDSException:
message length error (encountered 88, expected ).
It do not matter what sql statement. (All statements work in IBConsole).
Its seems that we do not get this errors in Windows 2000 (same
configuration).
BTW: We made a change in the firebirdSQL.jar file. We changed the
parameter for log4j from DEBUG to ERROR.
Any Ideas?
Thomas
Blas Rodriguez Somoza wrote:
>Hello--
>
> Please, include FB version and platform and Driver version, it will be easier to identify the bug if it exists.
>
> The message you mention comes from FB through the status vector. The message is FB isc_port_len (335544358). You can see in the
>Language Reference pdf.
>
> Why the message appears is another question.
>
> Apparently the message can be produced by
>
> - jrd/jrd.c -- GDS_TRANSACT_REQUEST
> - jrd/exe.c -- EXE_receive
> - jrd/exe.c -- EXE_send
>
> Are you using autocommit or explicit transaction control?.
>
> If you are using Autocommit change to explicit transaction management. This way the problem can be identified as transaction
>related or not.
>
>Regards
>Blas Rodriguez Somoza.
>
>----- Original Message -----
>From: "rrokytskyy" <rrokytskyy@...>
>To: <Firebird-Java@yahoogroups.com>
>Sent: Thursday, June 20, 2002 10:57 AM
>Subject: [Firebird-Java] Re: GDSError
>
>
>
>
>>>After successfully executing a statement with the Firebirdsql
>>>driver, we always get an exception:
>>>...
>>>GDSException: org.firebirdsql.gds.GDSException: message length
>>>error (encountered 64, expected )
>>>...
>>>
>>>What does this mean, and where can I get a list of possible error
>>>codes?
>>>
>>>
>>GDSException is an exception thrown by database server. There are two
>>possible reasons: bug in driver and/or InterBase problem. I suspect
>>latter :)
>>
>>Check your interbase.log, you might have same message there.
>>
>>Also, is this exception reproducable? Can you try it on another
>>InterBase installation?
>>
>>Best regards,
>>Roman Rokytskyy
>>
>>
>>
>>To unsubscribe from this group, send an email to:
>>Firebird-Java-unsubscribe@yahoogroups.com
>>
>>
>>
>>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>>
>>
>>
>>
>>
>
>
>
>To unsubscribe from this group, send an email to:
>Firebird-Java-unsubscribe@yahoogroups.com
>
>
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>
Thomas Viohl
oraise GmbH
Am Wall 149/150
D-28195 Bremen (Germany)
------------------------
eMail: t.viohl@...
Fon:++49+421-335533
Fax:++49+421-3355355
------------------------