Subject | another Proble with Embedded Server |
---|---|
Author | ebender1985 |
Post date | 2004-04-25T15:30:02Z |
Hello
I have a Problem with my Embedded Server.
I get the following Exception:
org.firebirdsql.jdbc.FBSQLException: Resource Exception. I/O error
during "CreateFile (open)" operation for
file "\projekte$\FIREBIRD\DATABASES\WINDBERG_MANAGER.GDB"
Error while trying to open file
null
Reason: I/O error during "CreateFile (open)" operation for
file "\projekte$\FIREBIRD\DATABASES\WINDBERG_MANAGER.GDB"
Error while trying to open file
null
at org.firebirdsql.jdbc.FBDataSource.getConnection
(FBDataSource.java:106)
at org.firebirdsql.jdbc.FBDriver.connect(FBDriver.java:218)
at java.sql.DriverManager.getConnection
(DriverManager.java:512)
at java.sql.DriverManager.getConnection
(DriverManager.java:171)
at windbergmanager.DbConnector.testConnect
(DbConnector.java:80)
at
windbergmanager.options.FBDataBase.jButton2_actionPerformed
(FBDataBase.java:192)
at windbergmanager.options.FBDataBase$2.actionPerformed
(FBDataBase.java:88)
at javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1786)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed
(AbstractButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased
(BasicButtonListener.java:245)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent
(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent
(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run
(EventDispatchThread.java:100)
at org.firebirdsql.gds.GDSException: I/O error during "CreateFile
(open)" operation for
file "\projekte$\FIREBIRD\DATABASES\WINDBERG_MANAGER.GDB"
Error while trying to open file
null
at org.firebirdsql.ngds.GDS_Impl.native_isc_attach_database
(Native Method)
at org.firebirdsql.ngds.GDS_Impl.isc_attach_database
(GDS_Impl.java:235)
at
org.firebirdsql.jca.FBManagedConnectionFactory.createDbHandle
(FBManagedConnectionFactory.java:540)
at org.firebirdsql.jca.FBManagedConnection.<init>
(FBManagedConnection.java:88)
at
org.firebirdsql.jca.FBManagedConnectionFactory.createManagedConnectio
n(FBManagedConnectionFactory.java:366)
at
org.firebirdsql.jca.FBStandAloneConnectionManager.allocateConnection
(FBStandAloneConnectionManager.java:60)
at org.firebirdsql.jdbc.FBDataSource.getConnection
(FBDataSource.java:103)
at org.firebirdsql.jdbc.FBDriver.connect(FBDriver.java:218)
at java.sql.DriverManager.getConnection
(DriverManager.java:512)
at java.sql.DriverManager.getConnection
(DriverManager.java:171)
at windbergmanager.DbConnector.testConnect
(DbConnector.java:80)
at
windbergmanager.options.FBDataBase.jButton2_actionPerformed
(FBDataBase.java:192)
at windbergmanager.options.FBDataBase$2.actionPerformed
(FBDataBase.java:88)
at javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1786)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed
(AbstractButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased
(BasicButtonListener.java:245)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent
(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent
(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run
(EventDispatchThread.java:100)
General It seems as an simple File-Not-Found error or else, but my
Firebird-URL is:
jdbc:firebirdsql:embedded:C:/Firebird/Databases/WINDBERG_MANAGER.GDB
and NOT
jdbc:firebirdsql:embedded:\projekte$\FIREBIRD\DATABASES\WINDBERG_MANA
GER.GDB
what can the reason be?
I have a Problem with my Embedded Server.
I get the following Exception:
org.firebirdsql.jdbc.FBSQLException: Resource Exception. I/O error
during "CreateFile (open)" operation for
file "\projekte$\FIREBIRD\DATABASES\WINDBERG_MANAGER.GDB"
Error while trying to open file
null
Reason: I/O error during "CreateFile (open)" operation for
file "\projekte$\FIREBIRD\DATABASES\WINDBERG_MANAGER.GDB"
Error while trying to open file
null
at org.firebirdsql.jdbc.FBDataSource.getConnection
(FBDataSource.java:106)
at org.firebirdsql.jdbc.FBDriver.connect(FBDriver.java:218)
at java.sql.DriverManager.getConnection
(DriverManager.java:512)
at java.sql.DriverManager.getConnection
(DriverManager.java:171)
at windbergmanager.DbConnector.testConnect
(DbConnector.java:80)
at
windbergmanager.options.FBDataBase.jButton2_actionPerformed
(FBDataBase.java:192)
at windbergmanager.options.FBDataBase$2.actionPerformed
(FBDataBase.java:88)
at javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1786)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed
(AbstractButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased
(BasicButtonListener.java:245)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent
(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent
(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run
(EventDispatchThread.java:100)
at org.firebirdsql.gds.GDSException: I/O error during "CreateFile
(open)" operation for
file "\projekte$\FIREBIRD\DATABASES\WINDBERG_MANAGER.GDB"
Error while trying to open file
null
at org.firebirdsql.ngds.GDS_Impl.native_isc_attach_database
(Native Method)
at org.firebirdsql.ngds.GDS_Impl.isc_attach_database
(GDS_Impl.java:235)
at
org.firebirdsql.jca.FBManagedConnectionFactory.createDbHandle
(FBManagedConnectionFactory.java:540)
at org.firebirdsql.jca.FBManagedConnection.<init>
(FBManagedConnection.java:88)
at
org.firebirdsql.jca.FBManagedConnectionFactory.createManagedConnectio
n(FBManagedConnectionFactory.java:366)
at
org.firebirdsql.jca.FBStandAloneConnectionManager.allocateConnection
(FBStandAloneConnectionManager.java:60)
at org.firebirdsql.jdbc.FBDataSource.getConnection
(FBDataSource.java:103)
at org.firebirdsql.jdbc.FBDriver.connect(FBDriver.java:218)
at java.sql.DriverManager.getConnection
(DriverManager.java:512)
at java.sql.DriverManager.getConnection
(DriverManager.java:171)
at windbergmanager.DbConnector.testConnect
(DbConnector.java:80)
at
windbergmanager.options.FBDataBase.jButton2_actionPerformed
(FBDataBase.java:192)
at windbergmanager.options.FBDataBase$2.actionPerformed
(FBDataBase.java:88)
at javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1786)
at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed
(AbstractButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased
(BasicButtonListener.java:245)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent
(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent
(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run
(EventDispatchThread.java:100)
General It seems as an simple File-Not-Found error or else, but my
Firebird-URL is:
jdbc:firebirdsql:embedded:C:/Firebird/Databases/WINDBERG_MANAGER.GDB
and NOT
jdbc:firebirdsql:embedded:\projekte$\FIREBIRD\DATABASES\WINDBERG_MANA
GER.GDB
what can the reason be?