Commit 10aa59e3 authored by Matija Obreza's avatar Matija Obreza
Browse files

Servlet 3.0 + Hib 2nd cachename fix

parent 15bb2fa5
......@@ -16,6 +16,7 @@
package org.genesys2.server.model;
import java.io.IOException;
import java.util.Date;
import javax.persistence.Column;
......
......@@ -61,7 +61,7 @@
<prop key="hibernate.cache.use_query_cache">true</prop>
<prop key="hibernate.cache.use_minimal_puts">true</prop>
<prop key="hibernate.cache.region.factory_class">com.hazelcast.hibernate.HazelcastLocalCacheRegionFactory</prop>
<prop key="hibernate.cache.hazelcast.instance_name">genesys</prop>
<prop key="hibernate.cache.hazelcast.instance_name">genesys-hib</prop>
</props>
</property>
<property name="packagesToScan">
......
......@@ -15,11 +15,11 @@
limitations under the License.
-->
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5">
<web-app
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0">
<context-param>
<param-name>contextConfigLocation</param-name>
......@@ -135,6 +135,7 @@
</error-page>
<session-config>
<session-timeout>30</session-timeout>
<tracking-mode>COOKIE</tracking-mode>
</session-config>
<jsp-config>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment