# Database config problem

**URL:** <https://community.bloomreach.com/t/database-config-problem/3934>\
**Category:** Uncategorized\
**Created:** [May 24, 2023, 7:44am UTC](https://community.bloomreach.com/t/database-config-problem/3934 "2023-05-24T07:44:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![B\_A](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/b_a/32/1693_2.png) [@B\_A](https://community.bloomreach.com/u/B_A)\
**Post date:** [May 24, 2023, 7:44am UTC](https://community.bloomreach.com/t/database-config-problem/3934/1 "2023-05-24T07:44:20Z")

</div>

Good afternoon forum. I’m new and have little experience with hippo.  
Please tell me how to configure Postgres SQL on the new Hippo 15. I configure but I get an error:  
[INFO] [talledLocalContainer] java.sql.SQLException: Cannot load JDBC driver class ‘org.postgresql.Driver’

And when I manually throw the driver into the lib, it swears that:

[INFO] [talledLocalContainer] 24.05.2023 13:43:00 ERROR main [RepositoryServlet.init:249] Error while setting up JCR repository:  
[INFO] [talledLocalContainer] javax.jcr.RepositoryException: unchecked exception: java.lang.NullPointerException: null  
[INFO] [talledLocalContainer] at org.hippoecm.repository.HippoRepositoryFactory.getHippoRepository(HippoRepositoryFactory.java:161) ~[hippo-repository-connector-15.0.0.jar:15.0.0]

One more question. Previously, this db worked on Hippo 12, can I connect the same database to Hippo 15?

---

<div class="post-metadata">

**Author:** ![jasper.floor](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/jasper.floor/32/28_2.png) [@jasper.floor](https://community.bloomreach.com/u/jasper.floor)\
**Post date:** [May 24, 2023, 8:51am UTC](https://community.bloomreach.com/t/database-config-problem/3934/2 "2023-05-24T08:51:32Z")

</div>

Hi,

You may need to enable the common lib configuration for Tomcat.

[Documentation link](https://xmdocumentation.bloomreach.com/library/enterprise/installation-and-configuration/linux-installation-manual.html)

```auto
Edit conf/catalina.properties and add the tomcat-common/lib path to the common classloader:

```
