Subject | RE: [Firebird-Java] Re: Problems with type2 driver |
---|---|
Author | Ryan Baldwin |
Post date | 2004-01-21T15:16:07Z |
Hi All,
The launcher(the .exe that invokes the JVM) needs to be in the same
directory as the root of the embedded servers directory structure. So for
instance if you where too use install4J too build and installer - and you
told it too place its launcher in the root of your app's directoryt
structure - then the root of the fb embed directory structure would also
need to be in the root of your apps directory structure. jaybird.dll also in
the root. Then this should work - this is how I set up my installers.
I will be looking into this issue in more depth soon - and trying too
figgure out how we can make things more flexible in this respect.
Thanks
Ryan
-----Original Message-----
From: Roman Rokytskyy [mailto:rrokytskyy@...]
Sent: 21 January 2004 14:16
To: Firebird-Java@yahoogroups.com
Subject: [Firebird-Java] Re: Problems with type2 driver
Hi,
application directory structure and include current dir (".") in the
path. It should work.
heavy for small data transfers, embedded engine driver accesses file
directly from Java, there's no socket overhead at all.
Type 2 driver, with the IPC URL (server and port is not present)
should give your similar performance, but it will allow shared access
to the database (embedded engine locks the database for exclusive
use). Try to download jaybird.dll from SourceForge.net, maybe I sent
you an old version of it.
Best regards,
Roman Rokytskyy
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/Firebird-Java/
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/
>> i got type 2 with embedded-server working now.Too clarify here - although it may be unecasary.
>> i need to put javaw.exe in the root directory of the
>> embedded-server, this is working for testing purposes, but not for
>> installations at our custumers.
>
>I think you have to merge embedded server directory structure and your
>application directory structure and include current dir (".") in the
>path. It should work.
The launcher(the .exe that invokes the JVM) needs to be in the same
directory as the root of the embedded servers directory structure. So for
instance if you where too use install4J too build and installer - and you
told it too place its launcher in the root of your app's directoryt
structure - then the root of the fb embed directory structure would also
need to be in the root of your apps directory structure. jaybird.dll also in
the root. Then this should work - this is how I set up my installers.
I will be looking into this issue in more depth soon - and trying too
figgure out how we can make things more flexible in this respect.
Thanks
Ryan
-----Original Message-----
From: Roman Rokytskyy [mailto:rrokytskyy@...]
Sent: 21 January 2004 14:16
To: Firebird-Java@yahoogroups.com
Subject: [Firebird-Java] Re: Problems with type2 driver
Hi,
> i got type 2 with embedded-server working now.I think you have to merge embedded server directory structure and your
> i need to put javaw.exe in the root directory of the
> embedded-server, this is working for testing purposes, but not for
> installations at our custumers.
application directory structure and include current dir (".") in the
path. It should work.
> Besides i'm really impressed by the perfomance of the type 2 driverThat's expected thing. Firebird's remote protocol seems to be too
> , it's nearly 100% faster for selects than type 4, even faster than
> interclient.
heavy for small data transfers, embedded engine driver accesses file
directly from Java, there's no socket overhead at all.
Type 2 driver, with the IPC URL (server and port is not present)
should give your similar performance, but it will allow shared access
to the database (embedded engine locks the database for exclusive
use). Try to download jaybird.dll from SourceForge.net, maybe I sent
you an old version of it.
Best regards,
Roman Rokytskyy
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/Firebird-Java/
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/