Re: Using OJB with iAnywhere driver to connect to Sybase
> Hello All,
> We have a project which uses OJB to talk with DB. It was working fine with
> jconnect driver. Now we have changed our design and now we are trying
> iAnywhere driver instead of jConnect2.
> Now we are facing the problem that after some time of deployment we are
> getting exception at the backend something like "Borrow broker from pool
> Can anybody please suggest me if we need to tune some parameter of OJB to
> make it run with iAnywhere?
This error indicate that the broker pool exhaust (too many concurrent
clients access OJB, you can increase the broker pool via OJB.properties
file) or that your "new design" cause a PersistenceBroker leak
(somewhere in your code a broker.close() statement is missed).