Subject | Re: another Proble with Embedded Server |
---|---|
Author | ebender1985 |
Post date | 2004-04-25T16:02:42Z |
I have Fixed it, but I don't know why it is so:
I have changed the URL from
jdbc:firebirdsql:embedded:\projekte$\FIREBIRD\DATABASES\WINDBERG_MANA
GER.GDB
to
jdbc:firebirdsql:embedded:localhost:C:\\FIREBIRD\\DATABASES\\WINDBERG
_MANAGER.GDB
and id runs.
Why I must set localhost?
The explanation from nagypapi was:
--- In Firebird-Java@yahoogroups.com, "ebender1985"
<jan.losinski@g...> wrote:
I have changed the URL from
jdbc:firebirdsql:embedded:\projekte$\FIREBIRD\DATABASES\WINDBERG_MANA
GER.GDB
to
jdbc:firebirdsql:embedded:localhost:C:\\FIREBIRD\\DATABASES\\WINDBERG
_MANAGER.GDB
and id runs.
Why I must set localhost?
The explanation from nagypapi was:
> url to your database to the followingThanks
> "jdbc:firebirdsql:embedded:drive:/path/to/database"
> egsample: "jdbc:firebirdsql:embedded:c:/data/sexyboy.gdb"
--- In Firebird-Java@yahoogroups.com, "ebender1985"
<jan.losinski@g...> wrote:
> In delpoymental reasons I cant Change the Databade-Dir. Thebut
> Application is running from an Net-Drive which is names projekte$
> (projekte$\WindbergManager\).
>
> --- In Firebird-Java@yahoogroups.com, "Roman Rokytskyy"
> <rrokytskyy@a...> wrote:
> > --- In Firebird-Java@yahoogroups.com, "ebender1985"
> > <jan.losinski@g...> wrote:
> > > 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
> > > ....
> > > General It seems as an simple File-Not-Found error or else,
> myjdbc:firebirdsql:embedded:C:/Firebird/Databases/WINDBERG_MANAGER.GDB
> > > Firebird-URL is:
> > >
>
> > > and NOTjdbc:firebirdsql:embedded:\projekte$\FIREBIRD\DATABASES\WINDBERG_MANA
> > >
>
> > > GER.GDBthe
> > >
> > > what can the reason be?
> >
> > Can you try to put database in some other directory and change
> > URL, to see if projekte$ will not appear somewhere. I cannot
> imagine
> > how this can happen...
> >
> > Thanks!
> > Roman