Subject | Re: [Firebird-Java] Can't connect to DB |
---|---|
Author | Rick Fincher |
Post date | 2002-07-15T23:23:07Z |
Hi William,
This is very strange. When I switched to the
FB SQL driver (on both Windows and Solaris) I just put in the new jar,
changed the driver name to FBDriver, changed the url appropriately, and it
worked.
You might try putting in a bad db filename
that you know should fail and see if you get the same error. If so it
would indicate something wrong with the filename (case, underscore
problem, etc).
I didn't see your earlier posts so I don't know the
specifics of the problem. Can you check to see if the driver is loading
(non null) and see if you are getting a live connection (get.connection() not
null).
You may also want to use FBWrapping data source
instead of FBDriver and get connection pooling in the bargain. I can give
you the specifics on this if you like. It's pretty easy and it may work
around your problem.
Sorry if you have gone through this drill, like I
say I didn't see your earlier posts.
Rick
----- Original Message -----From: William L. Thomson Jr.To: Firebird-JavaSent: Monday, July 15, 2002 6:36 PMSubject: Re: [Firebird-Java] Can't connect to DBOk, I got the cvs snapshot, made a new firebirdsql.jar file using ant,
and still no go. Same damn error.
I am starting to loose hair now, as I pull it outone hair at a time. :)
What the hell is going on, why can't I get the Firebird JDBC driver to
connect? Ahhh. :(
LOL, although I do not know why I am.
I hate this exception, and it is the only one I get.
java.sql.SQLException: Problem getting connection: could not get a db
connection!
No sh@#. :)
Even after the making and using the new driver, I still get this same
error, no new errors or info. :(
Why oh why o, did I ever leave Ohio. :(
Actually never been there.
Looks like at least for the time being I am stuck with InterClient :(.
--
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
To unsubscribe from this group, send an email to:
Firebird-Java-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.