Subject Re: another Proble with Embedded Server
Author ebender1985
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:
> url to your database to the following
> "jdbc:firebirdsql:embedded:drive:/path/to/database"
> egsample: "jdbc:firebirdsql:embedded:c:/data/sexyboy.gdb"

Thanks

--- In Firebird-Java@yahoogroups.com, "ebender1985"
<jan.losinski@g...> wrote:
> In delpoymental reasons I cant Change the Databade-Dir. The
> 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,
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?
> >
> > Can you try to put database in some other directory and change
the
> > URL, to see if projekte$ will not appear somewhere. I cannot
> imagine
> > how this can happen...
> >
> > Thanks!
> > Roman