# Jcr tables not getting created when running bloomreach in a container

**URL:** <https://community.bloomreach.com/t/jcr-tables-not-getting-created-when-running-bloomreach-in-a-container/1204>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [June 26, 2019, 1:18pm UTC](https://community.bloomreach.com/t/jcr-tables-not-getting-created-when-running-bloomreach-in-a-container/1204 "2019-06-26T13:18:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![skonka](https://avatars.discourse-cdn.com/v4/letter/s/8797f3/32.png) [@skonka](https://community.bloomreach.com/u/skonka)\
**Post date:** [June 26, 2019, 1:18pm UTC](https://community.bloomreach.com/t/jcr-tables-not-getting-created-when-running-bloomreach-in-a-container/1204/1 "2019-06-26T13:18:54Z")

</div>

Hi, I am trying to run brxp in a container. I built single distribution, extracted it on a local tomcat and it started without any errors and was able to create database tables and indices. But when I run the brxp inside a container and try to connect to db on localhost, it is not creating the required tables. I do not see any errors in the stdout (like IO or SQL Exceptions). Tomcat was able to create the required db pool (validated by enabling verbose:class). I even installed mysql client inside the running container and was able to connect to db from command line without any issues. I am using mysql db. Is there any way I can check if the required ddl’s are loading & executing during startup?

---

<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:** [June 26, 2019, 1:33pm UTC](https://community.bloomreach.com/t/jcr-tables-not-getting-created-when-running-bloomreach-in-a-container/1204/2 "2019-06-26T13:33:27Z")

</div>

Check the log files on the tomcat instance. If you are building a dist it is not likely that you are logging to stdout. I would guess you aren’t connecting to the db.
