Summary: | PoolProperties.toString() causes NoClassDefFoundError exception | ||
---|---|---|---|
Product: | Tomcat Modules | Reporter: | Martin Lichtin <lichtin> |
Component: | jdbc-pool | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | All |
Description
Martin Lichtin
2013-03-13 08:39:00 UTC
The current Import-Package contains Import-Package: javax.management;version="0", javax.management.openmb ean;version="0", javax.naming;version="0", javax.sql;version="0", org .apache.juli.logging;version="[6.0.18, 7.0.0)" We need to add "javax.naming.spi" also to it Also this version range is strange because it specifies that jdbc-pool can work only with org.apache.juli.logging version 6.x. Is that correct? org.apache.juli.logging;version="[6.0.18, 7.0.0)" (In reply to comment #2) > Also this version range is strange because it specifies that jdbc-pool can > work only with org.apache.juli.logging version 6.x. Is that correct? > > org.apache.juli.logging;version="[6.0.18, 7.0.0)" Yes it seems wrong. See also bug 54684 where this is discussed. Even worse, because Juli is not packaged as an OSGi bundle (and therefore not versioned for an OSGi import), the version range causes yet another issue. Thanks for the report. Fixed in trunk and 7.0.x and will be included in 7.0.39 onwards. |