Subject | Re: [Firebird-Java] Firebird - JayBird error - help please |
---|---|
Author | Rick Fincher |
Post date | 2002-11-01T23:45:03Z |
Hi George,
You line:
"jdbc:firebirdsql:127.0.0.1/3050:D:\\firebird\\examples\\Employee.gbd";
^^^
should probably read gdb instead of gbd, unless that's what you named the
file.
Also, you are using the workaround for the Microsoft JDK 1.1 bug. That's
not necessary (or desirable) unless you are writing an Applet.
Did you find the release notes file called release_notes.html?
Rick
You line:
"jdbc:firebirdsql:127.0.0.1/3050:D:\\firebird\\examples\\Employee.gbd";
^^^
should probably read gdb instead of gbd, unless that's what you named the
file.
Also, you are using the workaround for the Microsoft JDK 1.1 bug. That's
not necessary (or desirable) unless you are writing an Applet.
Did you find the release notes file called release_notes.html?
Rick
----- Original Message -----
From: "George Smith" <gsmith@...>
To: <Firebird-Java@yahoogroups.com>
Sent: Friday, November 01, 2002 4:22 PM
Subject: [Firebird-Java] Firebird - JayBird error - help please
> I am trying to get JayBird to connect to the Firebird database and am
> getting
> following error. I have double checked the paths and they are correct.
Will
> anyone help.
> thanks.
>
> ..code snippet
> Driver driver = (Driver)
> Class.forName("org.firebirdsql.jdbc.FBDriver").newInstance();
> DriverManager.registerDriver(driver);
> System.out.println("After DriverManager.registerDriver(driver)");
>
> String url =
> "jdbc:firebirdsql:127.0.0.1/3050:D:\\firebird\\examples\\Employee.gbd";
> System.out.println("Before Connection");
> System.out.println(url);
> Connection conn = DriverManager.getConnection(url,"sysdba","masterkey");
> ..code snippet end
>
> running
>
> D:\erik\firebird>java -classpath
> "build;lib\firebirdsql.jar;lib\mini-concurrent.
> jar;lib\mini-j2ee.jar;lib\log4j-core.jar;jaas.jar" firebird.TestFirebird
>
> After DriverManager.registerDriver(driver)
> Before Connection
>
> jdbc:firebirdsql:127.0.0.1/3050:D:\firebird\examples\Employee.gbd
> Error: java.lang.Exception: Error getting connection:
java.sql.SQLException:
> Pro
> blem getting connection: I/O error for file %.0s"CreateFile (open)"
>
>
> George R Smith
>
>
>
>
> To unsubscribe from this group, send an email to:
> Firebird-Java-unsubscribe@yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>