AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

problem with firebird JDBC connection

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and Databases
View previous topic :: View next topic  
Author Message
Roberto Moriconi
Guest





PostPosted: Mon Nov 15, 2004 4:31 pm    Post subject: problem with firebird JDBC connection Reply with quote



Hello, I have a problem with firebird JDBC connection.
I installed firebird on Linux suse 9.1, DB works but when I try to connect
with JDBC con jayBird (url jdbc:firebirdsql:192.168.1.2/3050:file_path_fdb)
I get the following error:

org.firebirdsql.jdbc.FBSQLException: Resource Exception. Unable to complete
network request to host "192.168.1.2".
Reason: Unable to complete network request to host "192.168.1.2".
        at org.firebirdsql.jdbc.FBDataSource.getConnection(FBDataSource.java:112)
        at org.firebirdsql.jdbc.FBDriver.connect(FBDriver.java:189)
        at java.sql.DriverManager.getConnection(DriverManager.java:512)
        at java.sql.DriverManager.getConnection(DriverManager.java:140)
        at
com.onseven.dbvis.wrapper.DriverManagerImpl.getConnection(DriverManagerImpl.java:40)
        at com.onseven.dbvis.sql.Database.doConnect(Unknown Source)
        at com.onseven.dbvis.sql.Database.access$000(Unknown Source)
        at com.onseven.dbvis.sql.Database$ConnectionCommand.execute(Unknown Source)
        at se.pureit.util.ThreadCommand.runExecute(ThreadCommand.java:163)
        at se.pureit.util.ThreadCommand.run(ThreadCommand.java:143)
        at java.lang.Thread.run(Thread.java:534)

I have to say that the ping 192.168.1.2 works properly.
I used DBVisualizer, but I have the same problem even if I try to connect
with my test application.
Thanks  in advance for any advice
Back to top
Joe Weinstein
Guest





PostPosted: Mon Nov 15, 2004 5:05 pm    Post subject: Re: problem with firebird JDBC connection Reply with quote





Roberto Moriconi wrote:

Quote:
Hello, I have a problem with firebird JDBC connection.
I installed firebird on Linux suse 9.1, DB works but when I try to connect
with JDBC con jayBird (url jdbc:firebirdsql:192.168.1.2/3050:file_path_fdb)
I get the following error:

org.firebirdsql.jdbc.FBSQLException: Resource Exception. Unable to complete
network request to host "192.168.1.2".
Reason: Unable to complete network request to host "192.168.1.2".

Hi Roberto. The issue isn't that the machine at 192.168.1.2 isn't running,
it is probably that the DBMS on that machine is probably not listening for
JDBC connection requests on the port number that the driver is trying to
open a socket to. Either you have the wrong port number or the DBMS needs to
be configured to listen on a port for TCP connections...
Joe Weinstein at BEA

Quote:
at org.firebirdsql.jdbc.FBDataSource.getConnection(FBDataSource.java:112)
at org.firebirdsql.jdbc.FBDriver.connect(FBDriver.java:189)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:140)
at
com.onseven.dbvis.wrapper.DriverManagerImpl.getConnection(DriverManagerImpl.java:40)
at com.onseven.dbvis.sql.Database.doConnect(Unknown Source)
at com.onseven.dbvis.sql.Database.access$000(Unknown Source)
at com.onseven.dbvis.sql.Database$ConnectionCommand.execute(Unknown Source)
at se.pureit.util.ThreadCommand.runExecute(ThreadCommand.java:163)
at se.pureit.util.ThreadCommand.run(ThreadCommand.java:143)
at java.lang.Thread.run(Thread.java:534)

I have to say that the ping 192.168.1.2 works properly.
I used DBVisualizer, but I have the same problem even if I try to connect
with my test application.
Thanks in advance for any advice


Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java and Databases All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.