-
Notifications
You must be signed in to change notification settings - Fork 185
Move from c3p0 to Apache Commons DBCP? #219
Comments
c3p0 is LPGL, latest release was in 2007, so might anyways be dead. So, patches welcome... :) |
So you're saying you'd like help porting to DBCP? I'll see if I can drum up some help :) DBCP is in Fedora, too, FWIW. |
Even if you get it to compile on OpenJDK (I thought I'd done so in the past..), etherpad doesn't run under OpenJDK; it crashes immediately. So, heads up on that too. |
Any more details regarding the crash? For instance, what was the OpenJDK version and was it a JVM crash or some library issue? |
Sorry, I have no details. It's easy to reproduce by compiling etherpad under Sun Java and then trying to start it using OpenJDK. Our old FAQ entries/mailing list posts mentioned this and might well have included a paste of the error message. |
It seems that c3p0 is imported in one single place in infrastructure/net.appjet.ajstdlib/sqlbase.scala: import com.mchange.v2.c3p0._; |
Here's a good discussion of c3p0, DBCP, and the alternatives: |
@pedalpoweredsoftware Thanks, that makes it clear that DBCP is still to be avoided as the plague. BoneCP from http://jolbox.com/ seems to be a drop-in replacement for c3p0 and also with much better performance: http://jolbox.com/dynamic-benchmark.html |
Also, choosing BoneCP means we need another 2 packages:
|
Hi,
Some of us are trying to get Etherpad packaged for Fedora. One of the dependencies that we're having trouble with is c3p0. It looks like c3p0 only builds against Java 1.5 and we would like to use OpenJDK which is 1.6. I tried building c3p0 with gcj (which has GNU Classpath which is at 1.5) but ran into some issues with their javax.sql compatibility.
Is there any chance of etherpad moving to use Apache Commons DBCP instead of c3p0?
http://commons.apache.org/dbcp/
Thanks,
Andrew Overholt
The text was updated successfully, but these errors were encountered: