Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Pending Closed
-
2.3
-
None
-
All
Description
BaseGenericObjectPool uses Class.forName to load an EvictionPolicy with the thread context ClassLoader. This does not work in OSGi environments. If the class load fails with the thread context ClassLoader, the code should attempt to load using the BaseGenericObjectPool class's ClassLoader as well.
Attachments
Attachments
Issue Links
- is duplicated by
-
POOL-292 ClassNotFoundException: org.apache.commons.pool2.impl.DefaultEvictionPolicy
- Closed