# Tomcat default install references dbcp but install dbcp2

**URL:** <https://forums.suse.com/t/tomcat-default-install-references-dbcp-but-install-dbcp2/34705>\
**Category:** SLES Configure-Administer\
**Created:** [January 17, 2020, 5:42pm UTC](https://forums.suse.com/t/tomcat-default-install-references-dbcp-but-install-dbcp2/34705 "2020-01-17T17:42:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![boblmartens](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@boblmartens](https://forums.suse.com/u/boblmartens)\
**Post date:** [January 17, 2020, 5:42pm UTC](https://forums.suse.com/t/tomcat-default-install-references-dbcp-but-install-dbcp2/34705/1 "2020-01-17T17:42:19Z")

</div>

I have a colleague working on an install of Orbeon Forms using SLES 15.1 and we ran into an oddity with the default Tomcat install.

This declaration is in the default /etc/tomcat/tomcat.conf:

```auto
JAVA_OPTS="-Djavax.sql.DataSource.Factory=org.apache.commons.dbcp.BasicDataSourceFactory"
```

However, by default, the dbcp installed is version 2, even though the package is named apache-commons-dbcp when installing. There is a apache-commons-dbcp1 package that can be installed, but it is not installed by default.

I am wondering if this is a packaging error that needs to be corrected, or something else. Thanks!
