Subject Re: [firebird-support] Re: Evaluating FB 1.5 questions
Author Dimitry Sibiryakov
On 17 Jun 2004 at 11:15, rfsoft wrote:

>I don't think you have check the problem at all.

You think wrong. I not just know this kind of problems but
successfully solved them in the past.

> There is NO DBA at
>all. The application is a standalone application for everyone (the
>mass) like a Shareware tool.

In this case your application can't use FB because FB is an SQL
server and, despite of common opinion, _requires_ DBA, though FB DBA
is easier to train that Oracle one.

> In the most cases it will run on a single
>pc and not inside a company structure with a DBA. The users have no
>idea about DBMS and only want to use the application without any
>technical DBMS problems.

Then you must not use DBMS in your application. :-) Contradiction?
No. Just make it three-tier and allow end-user choose between middle-
tier server working with desktop DB engine or with SQL server.
Or develop and implement data-abstraction layer that could allow
your application be compiled in different variants in order to use
different data storages.

>I can read relase notes but they do not say how it must be done. It
>says only that it is possible with 1.5 but not how!

By editing configuration file.

>Simply seting an other port number doesn't work. There must be much
>more to be done.

Not much. You must tell fbserver not to create internal window.

>How must a second instance be setup in the registry?

It must not. I can't remember actual configuration-finding path but
if priority of registry settings are higher than working directory
and executable path, you can use FB 1.5.1 with environment variable.
It is tested variant.

>information can be found in the release notes! You can believe me that
>I'm trying to run two instances since more than a week but with no
>success. I have read the Release notes more than one time and I have
>searched the net for any informations but with no success!

The net is one of the worst places to find non-trivial solutions...

>You can't start the second instance because it says a server is
>already running. There must be more than only an other port number
>which prevents it to run.

Did you try to get sources and find out origin of the error message
you got? It took me less than five minutes to find out that the
message appears if server has found a window. If you read
configuration file beforehand, you have to remember
CreateInternalWindow parameter at once.
Is this too complex for you?

>diffrent one I can start two instances. But I have no Idea what
>sideffects this will have and even for what this name is used at all.
>Is there eventually a undocumented config file switch for this like
>the IpcName?

I don't know whether command-line swithes are documented or not,
but having provided one or more protocol-enabling swithes you disable
all others protocols. This indeed is not documented but as I stated
above has no relations with your task.
"Use appropriate tools for appropriate tasks." You are going to
break this rule. In Russian, I'd say that you are spiteful goblin to
yourself.

SY, Dimitry Sibiryakov.