Subject | Java <-> Firebird connection problems |
---|---|
Author | batzee_33 |
Post date | 2005-02-08T15:54:11Z |
Hello Group!
I have just spent about 4 hours trying to connect to Firebird from
Java before I finally made it. I am using the following setup:
- Gentoo Linux with Kernel 2.6.10 and glibc 2.3.4
- Firebird 1.5.1 built as Classic (inetd) server
- JayBird 1.5.5 as Java JDBC driver
- Tomcat 5.0. as webserver / app container
All of this is running on the same gentoo linux box.
Installing Firebird was easy, apart from the fact that the SuperServer
did not work, so I installed the classic server (USR="inetd" for
gentooers).
Installing Java and Tomcat was also easy, but trying to connect to
Firebird from my java app was a very big problem. I tried out 100s of
variants in connecting and it finally turned out that it works only
with the class 2 "native" driver, using libjaybird.so.
With the "pure java" class 4 driver --- no way as it seems. I always
got the same error message during my tests - could not complete
network request to host "..."
Does anyone have an idea why this doesn't work?
Is the class 2 driver better or faster anyway?
Thanks for your answers
Batz33
I have just spent about 4 hours trying to connect to Firebird from
Java before I finally made it. I am using the following setup:
- Gentoo Linux with Kernel 2.6.10 and glibc 2.3.4
- Firebird 1.5.1 built as Classic (inetd) server
- JayBird 1.5.5 as Java JDBC driver
- Tomcat 5.0. as webserver / app container
All of this is running on the same gentoo linux box.
Installing Firebird was easy, apart from the fact that the SuperServer
did not work, so I installed the classic server (USR="inetd" for
gentooers).
Installing Java and Tomcat was also easy, but trying to connect to
Firebird from my java app was a very big problem. I tried out 100s of
variants in connecting and it finally turned out that it works only
with the class 2 "native" driver, using libjaybird.so.
With the "pure java" class 4 driver --- no way as it seems. I always
got the same error message during my tests - could not complete
network request to host "..."
Does anyone have an idea why this doesn't work?
Is the class 2 driver better or faster anyway?
Thanks for your answers
Batz33