Subject | Re: [Firebird-Java] Eclipse I cant connect |
---|---|
Author | Fidel Viegas |
Post date | 2008-04-19T23:59:49Z |
On Sat, Apr 19, 2008 at 11:29 PM, mario_lacunza <mario_lacunza@...> wrote:
connection string you are using? Are you able to connec to your server
using isql? If yes, then your problem is in your connection string.
Fidel.
>Hum... that looks like you have a bad connection string. What is the
> Hello,
>
> I receipt this error when I try to connect:
>
> org.firebirdsql.jdbc.FBSQLException: GDS Exception. 335544721. Unable
> to complete network request to host "localhost".
> Reason: Unable to complete network request to host "localhost".
> at org.firebirdsql.jdbc.FBDataSource.getConnection(FBDataSource.java:122)
> at org.firebirdsql.jdbc.FBDriver.connect(FBDriver.java:131)
> at
>
> org.eclipse.datatools.connectivity.db.generic.JDBCConnection.createConnection(JDBCConnection.java:87)
> at
>
> org.eclipse.datatools.connectivity.DriverConnectionBase.internalCreateConnection(DriverConnectionBase.java:104)
> at
>
> org.eclipse.datatools.connectivity.DriverConnectionBase.open(DriverConnectionBase.java:53)
> at
>
> org.eclipse.datatools.connectivity.db.generic.JDBCConnectionFactory.createConnection(JDBCConnectionFactory.java:52)
> at
>
> org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.java:77)
> at
>
> org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:354)
> at org.eclipse.datatools.connectivity.ui.PingJob.run(PingJob.java:57)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> at org.firebirdsql.gds.GDSException: Unable to complete network
> request to host "localhost".
> at
>
> org.firebirdsql.gds.impl.wire.AbstractJavaGDSImpl.connect(AbstractJavaGDSImpl.java:1967)
> at
>
> org.firebirdsql.gds.impl.wire.AbstractJavaGDSImpl.internalAttachDatabase(AbstractJavaGDSImpl.java:391)
> at
>
> org.firebirdsql.gds.impl.wire.AbstractJavaGDSImpl.iscAttachDatabase(AbstractJavaGDSImpl.java:367)
> at
> org.firebirdsql.jca.FBManagedConnection.<init>(FBManagedConnection.java:86)
> at
>
> org.firebirdsql.jca.FBManagedConnectionFactory.createManagedConnection(FBManagedConnectionFactory.java:477)
> at
>
> org.firebirdsql.jca.FBStandAloneConnectionManager.allocateConnection(FBStandAloneConnectionManager.java:69)
> at org.firebirdsql.jdbc.FBDataSource.getConnection(FBDataSource.java:119)
> at org.firebirdsql.jdbc.FBDriver.connect(FBDriver.java:131)
> at
>
> org.eclipse.datatools.connectivity.db.generic.JDBCConnection.createConnection(JDBCConnection.java:87)
> at
>
> org.eclipse.datatools.connectivity.DriverConnectionBase.internalCreateConnection(DriverConnectionBase.java:104)
> at
>
> org.eclipse.datatools.connectivity.DriverConnectionBase.open(DriverConnectionBase.java:53)
> at
>
> org.eclipse.datatools.connectivity.db.generic.JDBCConnectionFactory.createConnection(JDBCConnectionFactory.java:52)
> at
>
> org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.java:77)
> at
>
> org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:354)
> at org.eclipse.datatools.connectivity.ui.PingJob.run(PingJob.java:57)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
> My config: Ubuntu 7.10, Firebird 2.0.x Eclipse 3.3
>
> Thanks
connection string you are using? Are you able to connec to your server
using isql? If yes, then your problem is in your connection string.
Fidel.