Subject | Resource Exception. I/O error during "CreateFile (open)" operation for file |
---|---|
Author | lnd@hnit.is |
Post date | 2004-01-11T16:41:57Z |
I'm puzzled by an error while executing JSP:
DriverManager.getConnection("jdbc:firebirdsql:localhost/3050:C:\\MyProj\\Fire
bird103\\examples\\EMPLOYEE.GDB", ...);
Environment: Tomcat 5, JDK 1.4.2_03 from Sun, FireBird 1.03, JDBC driver:
FirebirdSQL-1.0.1
All files pathes seems to be correct, I can connect to the database using
IBAccess and other FB tools.
SQL Exception:
Resource Exception. I/O error during "CreateFile (open)" operation for file
"C:\MyProj\Firebird103\examples\EMPLOYEE.GDB" Error while trying to open file
null Reason: I/O error during "CreateFile (open)" operation for file
"C:\MyProj\Firebird103\examples\EMPLOYEE.GDB" Error while trying to open file
null
StackTrace:
org.firebirdsql.jdbc.FBSQLException: Resource Exception. I/O error during
"CreateFile (open)" operation for file
"C:\MyProj\Firebird103\examples\EMPLOYEE.GDB" Error while trying to open file
null Reason: I/O error during "CreateFile (open)" operation for file
"C:\MyProj\Firebird103\examples\EMPLOYEE.GDB" Error while trying to open file
null at
org.firebirdsql.jdbc.FBDataSource.getConnection(FBDataSource.java:107) at
org.firebirdsql.jdbc.FBDriver.connect(FBDriver.java:275) at
java.sql.DriverManager.getConnection(DriverManager.java:512) at
java.sql.DriverManager.getConnection(DriverManager.java:171)
Any help is appreciated, thank you in advance, Laimis
DriverManager.getConnection("jdbc:firebirdsql:localhost/3050:C:\\MyProj\\Fire
bird103\\examples\\EMPLOYEE.GDB", ...);
Environment: Tomcat 5, JDK 1.4.2_03 from Sun, FireBird 1.03, JDBC driver:
FirebirdSQL-1.0.1
All files pathes seems to be correct, I can connect to the database using
IBAccess and other FB tools.
SQL Exception:
Resource Exception. I/O error during "CreateFile (open)" operation for file
"C:\MyProj\Firebird103\examples\EMPLOYEE.GDB" Error while trying to open file
null Reason: I/O error during "CreateFile (open)" operation for file
"C:\MyProj\Firebird103\examples\EMPLOYEE.GDB" Error while trying to open file
null
StackTrace:
org.firebirdsql.jdbc.FBSQLException: Resource Exception. I/O error during
"CreateFile (open)" operation for file
"C:\MyProj\Firebird103\examples\EMPLOYEE.GDB" Error while trying to open file
null Reason: I/O error during "CreateFile (open)" operation for file
"C:\MyProj\Firebird103\examples\EMPLOYEE.GDB" Error while trying to open file
null at
org.firebirdsql.jdbc.FBDataSource.getConnection(FBDataSource.java:107) at
org.firebirdsql.jdbc.FBDriver.connect(FBDriver.java:275) at
java.sql.DriverManager.getConnection(DriverManager.java:512) at
java.sql.DriverManager.getConnection(DriverManager.java:171)
Any help is appreciated, thank you in advance, Laimis