RANSAC.java
RANSAC 算法 java 实现找了好久 我个人没啥用处就传吧
memcached msm tomcat 用到的jar包
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.168.1.65:11211"
failoverNodes="n1"
requestUriIgnorePattern=".*\.(ico|png|gif|jpg|css|js)$"
transcoderFactoryClass="de.javakaffee.web.msm.serializer.kryo.KryoTranscoderFactory"
/> -->
<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"
/>
</Context>
memcachedNodes 多个节点之间可以用空格分开,如n1:localhost:11211 n2:localhost:11212
我memcached的机子是安装在192.168.1.65 而且只配置一台
把下面对应的jar包复制到apache-tomcat-6.0.37\lib即可
msm要用的包有:
javolution-5.4.3.1.jar
memcached-2.5.jar
memcached-session-manager-1.3.0.jar
msm-javolution-serializer-1.3.0.jar
msm-javolution-serializer-cglib-1.3.0.jar
msm-javolution-serializer-jodatime-1.3.0.jar
tomcat 采用msm连接memcached缓存session所需要的所有jar包下载
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
百度地图 轨迹 步行路径跟踪
百度地图api android 源码 定位跟踪 轨迹回放 跟踪
百度卫星图下载
百度卫星图下载,碎片下载,瓦片下载,gis
android getpost url
android getpost url 安卓中get post的实现源码 代码 倾吐工作室
android 监听来电和去电
Android 通过开启后台的服务达到监听来电和去电 源码
二维码生成器源代码
二维码,生成器,源代码,android,安卓
苹果装机必要的将苹果系统转换成iso
苹果装机必要的将苹果系统转换成iso 万能转换工具!倾吐博客
ibatis+增删改查+存储过程及分页模拟
ibatis+增删改查+存储过程及分页模拟
js柱状图的实现
js柱状图的实现 您自己可能 通过修改里面的cs样式来 让表现出来的效果更美观
androd api文档
androd api文档 由倾听 51listening 提供 是你学习安卓开发必备的开发手册
sql语句转换成ER图形
sql语句转换成ER图形
properties乱码
解决properties乱码 j2ee只要将该文件复制到你的文件中输入要处理的的文件的路径和要输入的内容运行就可以解决中文乱码问题
html开发文档
html开发文档方便您快速的开发各性化网页!成就一才高手
css开发文档
css开发文档!方便用户使用这个文档开发属于自己的div+css网页