I am running compare to find what I did to fix it. I am listing down changes done to different files
1) web-inf\applicationContext-spring-security-jdbc.xml
<bean id="dataSource"
class="org.springframework.jdbc.datasource.DriverManagerDataSource">
<property name="driverClassName" value="org.h2.Driver" />
<property name="url"
value="jdbc:h2:./saikuData/data/saiku;MODE=MySQL"/>
<property name="username" value="sa" />
<property name="password" value="XXXXX" />
</bean>
2) web-inf\saiku-beans.xml
<bean id="repositoryDsManager" class="org.saiku.service.datasource.RepositoryDatasourceManager" init-method="load" destroy-method="unload">
<property name="userService" ref="userServiceBean"/>
<property name="configurationpath" value="./saikuData/repository/configuration.xml"/>
<property name="datadir" value="./saikuData/repository/data"/>
<property name="foodmartdir" value="./saikuData/data"/>
<property name="foodmartschema" value="./saikuData/data/FoodMart4.xml"/>
<property name="foodmarturl" value="jdbc:h2:./saikuData/data/foodmart;"/>
</bean>
3) web-inf\web.xml
<context-param>
<param-name>db.url</param-name>
<param-value>jdbc:h2:./saikuData/data/saiku;MODE=MySQL</param-value>
</context-param>
<context-param>
<param-name>foodmart.url</param-name>
<param-value>jdbc:h2:./saikuData/data/foodmart;MODE=MySQL</param-value>
</context-param>
<!--This probably may not be required as I was trying to embed saiku in my application-->
<filter>
<filter-name>cors</filter-name>
<filter-class>com.denave.rest.filters.CORSFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>cors</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
4) web-inf\classes\mondrian.properties
mondrian.rolap.ignoreInvalidMembers=true
mondrian.rolap.generate.formatted.sql=true
mondrian.rolap.ignoreInvalidMembersDuringQuery=true
This is all what I could find from text campare from the zip downloaded from community website to webapp, which is working in my local setup.