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]>

Reply via email to