Hi Corey,

the Client/Server stuff is the special subject of Thomas - I'm not
familiar with that stuff (delegate if possible ;-)). But I think you
have located the error.
Nevertheless it would be a great thing to have a 'Multiple database'
documentation patch ;-)

regards,
Armin

> That should repositoryPostgreSQL_user.xml in the last post...
>
> After looking at the server source, it seems the server only handles
one
> repository. Is this correct, i.e. only one database can be used in
> client/server mode?
>
> In order to support this functionality, it looks like you could add a
> repository property to request and overload getFreeBrokerId() and in
> RequestProcessor make the following change:
>
>   ...
>         PersistenceBroker broker = null;
>         if (needBroker)
>         {
>             if (brokerId == -1) {
>     String repository = request.getRepository();
>                 brokerId = brokerpool.getFreeBrokerId(repository);
> }
>             broker = brokerpool.getBrokerById(brokerId);
>         }
>   ...
>
> Of course, you would have to allow for multiple repository files on
the
> server side. Or, am I missing something? If not, I would be happy to
make
> these changes and submit a patch.
>
> Corey
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to