Subject Re: [Firebird-Java] FB 1.5.3 localhost error on JBoss 4.0.4 CR 2
Author Helen Borrie
At 08:42 PM 8/05/2006, you wrote:
>hi all,
>my application works fine on windows with same configuration but
>when i deploy it to linux with same configuration, i get this error:
>2006-05-07 16:03:06,605 WARN
>Throwable while attempting to get a new connection: null
>org.firebirdsql.jca.FBResourceException: Unable to complete network
>request to host "localhost"., error code: HY000
>Reason: Unable to complete network request to host "localhost".
>i saw the similar problem posted but couldn't find the solution.
>can anyone please help me out here? i am really stuck? i have to
>deploy the application asap.

Check the /etc/hosts file. It needs the entry localhost

(Many linuxen have either a dummy or no localhost defined).