Subject Re: [Firebird-Java] Re: Can't connect to DB
Author Rick Fincher
Hi William,
 
That's like the Interbase format, firebird is different:
 
Interbase:    jdbc:interbase://server.name/path/to/db.gdb
Yours:        jdbc:firebirdsql://server.name/3050:/path/to/db.gdb
Firebird SQL: jdbc:firebirdsql:server.name/3050:/path/to/db.gdb
 
This is in the release notes under "Deployment in a Non managed environment".
In place of server.name you can use localhost if it resolves through DNS or lookup table and Firebird is on the same server as the app.
 
I usually fully specify the name to avoid confusion (server.domain.com), but then you have to change the setup if you move to a different server.
 
Rick
----- Original Message -----
Sent: Tuesday, July 16, 2002 8:17 PM
Subject: Re: [Firebird-Java] Re: Can't connect to DB

On Tue, 2002-07-16 at 16:08, William L. Thomson Jr. wrote:

Thank you guys for the additional logging. Now I have something that we
can work with. :)

When I attempt to use the JDBC driver I get the following in
firebirdsql.log file. I have removed my server name just for security
reasons and will use server.name instead.

[FBManagedConnectionFactory,INFO] Could not get a db connection!
org.firebirdsql.gds.GDSException: Bad server string: '/' at beginning or
end of: //server.name/3050335544323

Now the entire url I am using is
jdbc:firebirdsql://server.name/3050:/parth/to/db.gdb

Of course I have also changed my db and path, for security purposes.

But you should be able to get the idea. Now I use the exact same url
format in my client java GUI that works fine so? But the server
obviously does not like it.

So what am I doing wrong?

--
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