Hi Ben,

I'm using the dbpersistence manager made by Anthony OGIER and it works fine.
See the post just below for more info:

Hi list,

Finally, after seeing a lot of errors on different posts of that mailing list and others, we decided to create our own PersistanceManager for jackrabbit. This persistance manager will retreive the connection needed (one connection each time the driver is called for a load / store or exists method) from a DataSource (which has been retreive by a JNDI call) definition, and close it at the end of the call. So if you use a Tomcat datasource definition, (with an appropriate <Resource type="javax.sql.DataSource" ...>...</Resource> in the appropriate conf/Catalina/localhost/<webapp>.xml), our DataSourcePersistanceManager will use the connection pooling of Tomcat. We have tested our driver in production with a MySQL database, and we no more have the "Broken Pipe" error (and no more user authentication fails, or strange pages lost). Here is the compiled classes & sources into a jar : http://www.iorga.com/downloads/DataSourcePersistenceManager.jar . We have called this version 0.9 as it lacks an Oracle efficient part (if somebody wants to add the feature, don't hesitate ! ;-) .

And don't hesitate to feed back ! ;-)

Cheers,
  Anthony

PS : thanks to Richard Zeng for his original idea for that driver and his original "MyDbPersistanceManager.java" source !

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------



----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to