Subject Re: [Firebird-Java] Re: Unable to complete network request to "10.2.43.33" on some Ubuntu workstations
Author mark@lawinegevaar.nl
On Mon, 27 Jun 2011 08:36:06 -0000, "mariuz" <mapopa@...> wrote:
> --- In Firebird-Java@yahoogroups.com, "gunboxeron" <gunboxeron@...>
wrote:
>>
>> Hello!
>> I'm using OpenJDK 6 Runtime with Ubuntu 10.04 LTS workstation and
JayBird
>> 2.1.6.
>> IBExpert connect to 10.2.41.33 easily, also i have other java
application
>> without sources that also use JayBird 2.1.6 work fine.
>>
>> My code:
>> Class.forName ("org.firebirdsql.jdbc.FBDriver");
>> connection =
>>
DriverManager.getConnection("jdbc:firebirdsql:10.2.41.33/3051:/home/sspadmin/redsoft/db/ncore-fssp-1.14.261.33.fdb?lc_ctype=WIN1251",
>> "SYSDBA", "masterkey");
>>
>> Second string returns error:
>> org.firebirdsql.jdbc.FBSQLException: GDS Exception. 335544721. Unable to
>> complete network request to host ip-address "10.2.41.33".
>> My developing Ubuntu 10.04 works well and also all Windows workstations
>> works well. But this error happens for some Ubuntu workstations. Any
>> ideas?
>>
>
> You are using the jdbc pure java driver , and seems that you need to use
> the native firebird protocol jdbc:firebirdsql:native:10.2.41.33/3051:,
> maybe is something related to timeout issues/changes in protocol ?
>
> This is just my guess

Why would he need to use the native driver instead of the pure-java driver?
That advice doesn't really make sense without giving actual arguments for
doing that. I do hope you are aware that the Firebird protocol has
versioning, and continues to support previous versions of the protocol.
Having said that, trying native instead of pure-jave might be a good
troubleshooting step.

Most likely the same error would occur with the native driver as this seems
to be a network transport error, which might be a result of a trigger happy
firewall, bad network cables etc. BTW: You might also want to check with
Redsoft, as I assume - based on the database location - that you are using
Red Database (based on Firebird) instead of Firebird itself.

Mark