Subject | Re: [Firebird-Java] Problems with org.firebirdsql.gds.impl.wire.AbstractJavaGDSImpl.connect |
---|---|
Author | Roman Rokytskyy |
Post date | 2008-07-22T20:04:15Z |
Hi,
anymore. If I understand things correctly, it was used to prevent some
hosts from connecting to server. But one has to check the Firebird sources.
connection string?
forgotten?
Thanks!
Roman
> Some implementation details causes an error like "Unable to completeThe user_id, AFAIK, must be specified, but I doubt that it is used
> network request to host "localhost""
>
> To build "user_id" the following expression is used:
> "InetAddress.getLocalHost().getHostName()".
> This expression throws an exception if there is no appropriate
> information about local host name in /etc/hosts.
anymore. If I understand things correctly, it was used to prevent some
hosts from connecting to server. But one has to check the Firebird sources.
> The problem is quite confusing because "isql" utility successfullyVia TCP or via local protocol? In other words, do you use 'localhost' in
> connects to a database.
connection string?
> I think that the thrown exception can be ignored or more informativeCan you please create a bug report for this problem, so it won't be
> error message should be used.
forgotten?
> From the other point of view there is another problem with the same code.And for this one a bug report, please :)
> For example, I can use Cyrillic host name (or user name). I have not a
> clear understanding of how "user_id" is used, but
> at any case String.length() can not be used to allocate enough space
> for a byte array.
Thanks!
Roman