资源简介
1,在tomcat中找到文件apache-tomcat-6.0.37\conf\context.xml 加入内部
<Manager className="de.javakaffee.web.msm.MemcachedBackupSessionManager"
memcachedNodes="n1:192.168.1.65:11211"
requestUriIgnorePattern=".*\.(png|gif|jpg|css|js)$"
sessionBackupAsync="false"
sessionBackupTimeout="100"
transcoderFactoryClass="de.javakaffee.web.msm.serializer.javolution.JavolutionTranscoderFactory"
copyCollectionsForSerialization="false"
/>
加入之后的content.xml的内容为
<?xml version='1.0' encoding='utf-8'?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- The contents of this file will be loaded for each web application -->
<Context>
<!-- Default set of monitored resources -->
<WatchedResource>WEB-INF/web.xml</WatchedResource>
<!-- Uncomment this to disable session persistence across Tomcat restarts -->
<!--
<Manager pathname="" />
-->
<!-- Uncomment this to enable Comet connection tacking (provides events
on session expiration as well as webapp lifecycle) -->
<!--
<Valve className="org.apache.catalina.valves.CometConnectionManagerValve" />
<Manager className="de.javakaffee.web.msm.MemcachedBackupSessionManager"
memcachedNodes="n1:192.16
代码片段和文件信息
- 上一篇:xm
l转Json的jar包 - 下一篇:charles 4.1.3破解替换文件
相关资源
- jira6.3汉化包
- Eclipse+Tomcat开发web应用
- tomcat+nginx反向代理集群配置.zip
- xp安装 JDK+TOMCAT+MYSQL+jsp论坛
- tomcat 8.5.31
- apache-tomcat-7.0.63-windows-x64.zip
- redis-tomcat8以上集群所需要的jar :tomc
- JSP+Servlet+Tomcat个人博客系统
- jsf2.0 完整(含所有jar包)
- jsp大作业-在线学习平台MyEclipse+Mysql
- JSP+Mysql教师教学质量测评系统论文
- apache-tomcat-6.0.32
- tomcat6.0.26绿色版
- linux版本libevent和memcached(附带安装教
- OpenBlog---tomcat 的个人博客网站
- tomcat基于Web的JSP+Servlet学生信息管理系
- 企业人事工资管理系统219562
- tomcat常用jar包
- tomcat-redis-session-manager 所需jar包 共
- apache-tomcat-8.5.20.tar.gz
- apache-tomcat-8.5.16
- 网上花店销售系统jsp
- web 项目servlet+jsp+tomcat+jdbc
- JavaWeb网上书店系统实践篇.zip
- Tomcat+MySQL为自己的APP打造服务器4完结
- tomcat-5.5.26
- tomcat6-X64位
- 网上购物系统jsp+mysql+tomcat
- apache-tomcat-6.0.43.rar
- Tomcat7.0压缩包
评论
共有 条评论