# Cost/EMF installation error

**URL:** <https://forum.cmascenter.org/t/cost-emf-installation-error/3653>\
**Category:** COST/EMF\
**Tags:** admin, python, emissions\
**Created:** [October 22, 2022, 11:19am UTC](https://forum.cmascenter.org/t/cost-emf-installation-error/3653 "2022-10-22T11:19:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ABAYAYE](https://avatars.discourse-cdn.com/v4/letter/a/f6c823/32.png) [@ABAYAYE](https://forum.cmascenter.org/u/ABAYAYE)\
**Post date:** [October 22, 2022, 11:19am UTC](https://forum.cmascenter.org/t/cost-emf-installation-error/3653/1 "2022-10-22T11:19:49Z")

</div>

Good Evening team.  
I m trying to install CosT Software but at the last stage its showing error  
java.lang.ExceptionInInitializerError  
Can someone help me please.  
Thanks sincerly

 ![Capture d’écran 2022-10-22 115016](https://canada1.discourse-cdn.com/flex027/uploads/cmas/original/2X/9/9b57e280deaf3d4018d824c2871c35cb53406c62.jpeg)

---

<div class="post-metadata">

**Author:** ![cseppan](https://avatars.discourse-cdn.com/v4/letter/c/6de8d8/32.png) [@cseppan](https://forum.cmascenter.org/u/cseppan)\
**Post date:** [October 25, 2022, 4:36pm UTC](https://forum.cmascenter.org/t/cost-emf-installation-error/3653/2 "2022-10-25T16:36:19Z")

</div>

For troubleshooting the server component of the EMF, you’ll need to locate the logs that get written to the Apache Tomcat installation directory, which is C:\Program Files\Apache Software Foundation\Tomcat 8.5\logs\ by default. In this directory, the catalina.log file would have relevant records to starting up the EMF server application.

---

<div class="post-metadata">

**Author:** ![cseppan](https://avatars.discourse-cdn.com/v4/letter/c/6de8d8/32.png) [@cseppan](https://forum.cmascenter.org/u/cseppan)\
**Post date:** [October 25, 2022, 6:07pm UTC](https://forum.cmascenter.org/t/cost-emf-installation-error/3653/3 "2022-10-25T18:07:01Z")

</div>

Doing some testing, I get the same client error if there is a problem with the database connection that the EMF server uses. Possible problems:

- the Postgres service isn’t running
- issues with the credentials used to access the EMF database
- the EMF database didn’t get initialized properly during the installation process

If you make any changes to the database side of things, make sure to stop and restart the Apache Tomcat service so the EMF server application reconnects to the database.
