This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
When developing a Java EE Web application and adding Hibernate support, the Hibernate 4.x library that comes with Netbeans is missing the mchange-commons-java jar. This causes exceptions when trying to enable c3p0 pooling where c3p0 is unable to locate the default fallback logging class. Since c3p0 version is c3p0-0.9.2.1.jar, adding mchange.commons-java-0.2.3.4.jar to the library solves the issue. The missing jar is part of the c3p0 download. Why is it not included by default ?
initially, it wasn't intended to bundle all possible jars to work with hibernate, but as c2p0 is bundled, it may have sense to add this file too http://hg.netbeans.org/web-main/rev/03a319181879
Integrated into 'main-silver', will be available in build *201407040001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/03a319181879 User: Sergey B. Petrov <sj-nb@netbeans.org> Log: #243666 one more jar to bundled