Subject Re: [Firebird-Java] Re: Java App with embedded server deployment (Linux)
Author Niki Ivanchev
I have converted, tested and used our application in Linux enviroment
Although I do not use jdbc:firebirdsql:embedded but I open
pool with one connection only and use only one connection in our
applications
they pass all tests that we currently run. We have 8 applications that
use firebird embedded
and all they run on Linux.
Niki

Roman Rokytskyy wrote:

>>Now I am trying to port it onto Linux.
>>Now, I installed FB server, I can connect to the database via port
>>3050 on localhost and also by "firebirdsql:embedded:..." connection
>>string using libjaybird.so and it works.
>>
>>
>
>It should not :)
>
>
>
>>So, there is just last step and I am not sure of it. I have to make
>>deployment package so user can install my app on Linux without
>>installing Firebird. On Win32 it is very simple. I just need gdb
>>file and a few dll and config files - I put them on the same dir as
>>an app exe and it works. It would be optimal if I could do something
>>like this on Linux. But after I tried to check things by removing
>>/opt/firebird dir from my installation, embedded connection stopped
>>working ("cannot connect to firebird client" or sth like this).
>>
>>So I have general question. What I need to deploy as an app with FB
>>embedded version on Linux? I could not find anything in accessible
>>docs...
>>
>>
>
>If you read release notes of RC2 carefully, you will see that you
>should not use it on Linux: "Embedded version of the server cannot be
>used on POSIX systems in multi-threaded applications.". Problem is
>that libfbembed.so is based on ClassicServer version of the server
>(Windows version is based on SuperServer version) and is compiled
>without thread support. This means that it is not clear how it will
>behave when loaded by JVM, it might work, might crash, might corrupt
>the database. Currently it is still possible to load libfbembed.so
>from JayBird, but most likely we will remove this feature from the
>release.
>
>You can trythis on your own risk. Also try to contact Nickolay
>Samofatov, he developed embedded version of Firebird for Linux. And
>wait for Vulcan release, which will solve this issue.
>
>Roman
>
>
>
>
>
>Yahoo! Groups Links
>
>
>
>
>
>
>
>
>