Subject | Can't connect to DB |
---|---|
Author | William L. Thomson Jr. |
Post date | 2002-07-15T02:56:46Z |
I am experiencing some weirdness I can't find an explanation for.
I have two machines, one my laptop, and the other a development server.
I can connect from my laptop to the DB's using the JCA-JDBC driver, as a
plain JDBC driver via the firebirdsql.jar.
When I attempt the same from my development server I cannot?
I do get the following error
java.sql.SQLException: Problem getting connection: could not get a db
connection!
Which is pretty obvious but not specific. I have verified the
classpath's and everything on the two machines to be the same.
The only difference is on my laptop I am using the JDBC driver as part
of a Java GUI. On the development server I am using the JDBC driver in a
servlet running on Tomcat. Although that really does not explain the
problem I am having.
I do not believe it to be a problem with the servlet since it worked
fine with InterClient. Outside of some strange errors from InterClient
when I switched to Firebird from InterBase.
Both machines run RedHat Linux, and both machines are aware of the
service that runs on port 3050 via the /etc/services file. The db runs
on a dedicated RedHat Linux machine, so both have the same access to it.
So I am sort of stuck for an explanation. Why one works fine and the
other no go? I can't see it being a Tomcat issue, but I guess it could
be?
--
Sincerely,
William L. Thomson Jr.
Support Group
Obsidian-Studios Inc.
439 Amber Way
Petaluma, Ca. 94952
Phone 707.766.9509
Fax 707.766.8989
http://www.obsidian-studios.com
I have two machines, one my laptop, and the other a development server.
I can connect from my laptop to the DB's using the JCA-JDBC driver, as a
plain JDBC driver via the firebirdsql.jar.
When I attempt the same from my development server I cannot?
I do get the following error
java.sql.SQLException: Problem getting connection: could not get a db
connection!
Which is pretty obvious but not specific. I have verified the
classpath's and everything on the two machines to be the same.
The only difference is on my laptop I am using the JDBC driver as part
of a Java GUI. On the development server I am using the JDBC driver in a
servlet running on Tomcat. Although that really does not explain the
problem I am having.
I do not believe it to be a problem with the servlet since it worked
fine with InterClient. Outside of some strange errors from InterClient
when I switched to Firebird from InterBase.
Both machines run RedHat Linux, and both machines are aware of the
service that runs on port 3050 via the /etc/services file. The db runs
on a dedicated RedHat Linux machine, so both have the same access to it.
So I am sort of stuck for an explanation. Why one works fine and the
other no go? I can't see it being a Tomcat issue, but I guess it could
be?
--
Sincerely,
William L. Thomson Jr.
Support Group
Obsidian-Studios Inc.
439 Amber Way
Petaluma, Ca. 94952
Phone 707.766.9509
Fax 707.766.8989
http://www.obsidian-studios.com