Skip to content

Instantly share code, notes, and snippets.

@blueberrystream
Created May 13, 2013 07:32
Show Gist options
  • Save blueberrystream/5566706 to your computer and use it in GitHub Desktop.
Save blueberrystream/5566706 to your computer and use it in GitHub Desktop.
memvache組み込んだときのweb.xml QuotaDetail画像 // Master/Slave datastoreの警告出てるぞっていう野暮なツッコミは受け付けておりません before: http://img.ly/images/7326644/full after: http://img.ly/images/7326646/full
<?xml version="1.0" encoding="utf-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee" version="2.5">
<context-param>
<param-name>slim3.rootPackage</param-name>
<param-value>com.appspot.haratter</param-value>
</context-param>
<context-param>
<param-name>javax.servlet.jsp.jstl.fmt.localizationContext</param-name>
<param-value>application</param-value>
</context-param>
<context-param>
<param-name>javax.servlet.jsp.jstl.fmt.request.charset</param-name>
<param-value>UTF-8</param-value>
</context-param>
<context-param>
<param-name>enableGetPutCacheStrategy</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>enableQueryKeysOnlyStrategy</param-name>
<param-value>true</param-value>
</context-param>
<filter>
<filter-name>HotReloadingFilter</filter-name>
<filter-class>org.slim3.controller.HotReloadingFilter</filter-class>
</filter>
<filter>
<filter-name>DatastoreFilter</filter-name>
<filter-class>org.slim3.datastore.DatastoreFilter</filter-class>
</filter>
<filter>
<filter-name>FrontController</filter-name>
<filter-class>org.slim3.controller.FrontController</filter-class>
</filter>
<filter>
<filter-name>memvache</filter-name>
<filter-class>net.vvakame.memvache.MemvacheFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>HotReloadingFilter</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
<filter-mapping>
<filter-name>DatastoreFilter</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
<filter-mapping>
<filter-name>FrontController</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
<dispatcher>ERROR</dispatcher>
</filter-mapping>
<filter-mapping>
<filter-name>memvache</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>GlobalTransactionServlet</servlet-name>
<servlet-class>org.slim3.datastore.GlobalTransactionServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>GlobalTransactionServlet</servlet-name>
<url-pattern>/slim3/gtx</url-pattern>
</servlet-mapping>
<security-constraint>
...
</security-constraint>
</web-app>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment