# Error deploying ODKAggregate,war file in apache tomcat

**URL:** <https://forum.getodk.org/t/error-deploying-odkaggregate-war-file-in-apache-tomcat/18196>\
**Category:** Support\
**Created:** [February 28, 2019, 8:03pm UTC](https://forum.getodk.org/t/error-deploying-odkaggregate-war-file-in-apache-tomcat/18196 "2019-02-28T20:03:39Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![gt3o0o](https://getodk.b-cdn.net/letter_avatar_proxy/v4/letter/g/bc8723/32.png) [@gt3o0o](https://forum.getodk.org/u/gt3o0o)\
**Post date:** [March 2, 2019, 1:31am UTC](https://forum.getodk.org/t/error-deploying-odkaggregate-war-file-in-apache-tomcat/18196/5 "2019-03-02T01:31:47Z")

</div>

Did you check your Catalina.out log file? It should be in /opt/tomcat/logs/ somewhere.

I posted about a bug in version 2.0 yesterday, if you are getting the same error in the logs then we probably have a common problem:

Feb 28, 2019 1:44:50 PM org.springframework.web.context.ContextLoader initWebApplicationContext  
SEVERE: Context initialization failed  
org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'dataSource' defined in class path resource [odk-settings.xml]: Could not resolve placeholder 'jdbc.driverClassName' in string value "${jdbc.driverClassName}"; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'jdbc.driverClassName' in string value "${jdbc.driverClassName}"  
at org.springframework.beans.factory.config.PlaceholderConfigurerSupport.doProcessProperties(PlaceholderConfigurerSupport.java:223)

- I am using Postgres as opposed to MySQL though.

- Although I was able to get past this issue and have Aggregate load up in my browser, more bugs appeared and this time it was complaining something about XSRF Tokens in the tomcat logs, or Cross Site Scripting Attack, which would cause the browser to keep refreshing, or prevent the ability to save any changes, enable or disable forms, add users, change passwords etc... I put detailed instructions on my other post.

- I was trying to go from v1.7.0 to v2.0.0 following the guide and installing each release at a time so v1.7.1 v2.0.0 beta etc...

- Finally got fed up and decided to stick with v1.7.1 as v2.0.0 has lots of bugs its not ready yet, there had been major changes in the code base

Let me know if you are getting a similar error in Catalina.out

---

_[View the full topic](https://forum.getodk.org/t/error-deploying-odkaggregate-war-file-in-apache-tomcat/18196)._
