Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Apache Commons DBCP issue

tanvirmpSep 8 2009 — edited Sep 8 2009
Hi,

I am using commons-dbcp.1.2.jar file in my web application. but whenever I start the soa suite, I get the following exception.

java.lang.NoSuchMethodError: org.apache.commons.dbcp.BasicDataSource.setInitialSize(I)V

After researching some, I saw two different versions of dbcp jar files in soa suite installation and orabpel.jar also contains all the classes from commons dbcp.

Can some body tell me which version of dbcp it uses because it does not contain the above method.

I tried changing the shared libraries in the server.xml and include the new jar file but I guess it is loading the orabpel.jar before any thing else.

How do I use newer version of dbcp?

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 6 2009
Added on Sep 8 2009
3 comments
867 views