自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

baidu51

因为喜欢所以选择

  • 博客(2)
  • 资源 (18)
  • 收藏
  • 关注

转载 防痴呆设计

博客分类: Java设计 最近有点痴呆,因为解决了太多的痴呆问题, 服务框架实施面超来超广,已有50多个项目在使用, 每天都要去帮应用查问题,来来回回, 发现大部分都是配置错误,或者重复的文件或类,或者网络不通等, 所以准备在新版本中加入防痴呆设计,估且这么叫吧, 可能很简单,但对排错速度还是有点帮助, 希望能抛砖引玉,也希望大家多给力,想出更多的防范措施共享出来。

2013-10-22 15:43:39 628

转载 android与PC,C#与Java 利用protobuf 进行无障碍通讯【Socket】

protobuf 是什么?   Protocol buffers是一种编码方法构造的一种有效而可扩展的格式的数据。 谷歌使用其内部几乎RPC协议和文件格式的所有协议缓冲区。   参考文档 http://code.google.com/intl/zh-CN/apis/protocolbuffers/docs/overview.html    A

2013-10-22 08:12:28 1720

RANSAC.java

RANSAC 算法 java 实现找了好久 我个人没啥用处就传吧

2020-07-01

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

2015-06-11

tomcat 采用msm连接memcached缓存session所需要的所有jar包下载

1,在tomcat中找到文件apache-tomcat-6.0.37\conf\context.xml 加入内部 &lt;Manager className=&quot;de.javakaffee.web.msm.MemcachedBackupSessionManager&quot; memcachedNodes=&quot;n1:192.168.1.65:11211&quot; requestUriIgnorePattern=&quot;.*\.(png|gif|jpg|css|js)$&quot; sessionBackupAsync=&quot;false&quot; sessionBackupTimeout=&quot;100&quot; transcoderFactoryClass=&quot;de.javakaffee.web.msm.serializer.javolution.JavolutionTranscoderFactory&quot; copyCollectionsForSerialization=&quot;false&quot; /&gt; 加入之后的content.xml的内容为 &lt;?xml version='1.0' encoding='utf-8'?&gt; &lt;!-- 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 &quot;License&quot;); 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 &quot;AS IS&quot; 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. --&gt; &lt;!-- The contents of this file will be loaded for each web application --&gt; &lt;Context&gt; &lt;!-- Default set of monitored resources --&gt; &lt;WatchedResource&gt;WEB-INF/web.xml&lt;/WatchedResource&gt; &lt;!-- Uncomment this to disable session persistence across Tomcat restarts --&gt; &lt;!-- &lt;Manager pathname=&quot;&quot; /&gt; --&gt; &lt;!-- Uncomment this to enable Comet connection tacking (provides events on session expiration as well as webapp lifecycle) --&gt; &lt;!-- &lt;Valve className=&quot;org.apache.catalina.valves.CometConnectionManagerValve&quot; /&gt; &lt;Manager className=&quot;de.javakaffee.web.msm.MemcachedBackupSessionManager&quot; memcachedNodes=&quot;n1:192.16

2015-06-11

百度地图 轨迹 步行路径跟踪

百度地图api android 源码 定位跟踪 轨迹回放 跟踪

2013-11-27

百度卫星图下载

百度卫星图下载,碎片下载,瓦片下载,gis

2013-10-24

Iphone编程指南.

苹果机的时代,Iphone,编程指南.带新书上路,倾吐工作室,

2012-08-11

android getpost url

android getpost url 安卓中get post的实现源码 代码 倾吐工作室

2012-08-11

android 监听来电和去电

Android 通过开启后台的服务达到监听来电和去电 源码

2012-08-11

二维码生成器源代码

二维码,生成器,源代码,android,安卓

2012-08-05

苹果装机必要的将苹果系统转换成iso

苹果装机必要的将苹果系统转换成iso 万能转换工具!倾吐博客

2012-07-22

ibatis+增删改查+存储过程及分页模拟

ibatis+增删改查+存储过程及分页模拟

2012-06-24

linux命令大全

linux命令大全

2012-06-24

js柱状图的实现

js柱状图的实现 您自己可能 通过修改里面的cs样式来 让表现出来的效果更美观

2012-03-26

androd api文档

androd api文档 由倾听 51listening 提供 是你学习安卓开发必备的开发手册

2012-03-26

sql语句转换成ER图形

sql语句转换成ER图形

2011-10-23

properties乱码

解决properties乱码 j2ee只要将该文件复制到你的文件中输入要处理的的文件的路径和要输入的内容运行就可以解决中文乱码问题

2011-10-17

html开发文档

html开发文档方便您快速的开发各性化网页!成就一才高手

2011-10-14

css开发文档

css开发文档!方便用户使用这个文档开发属于自己的div+css网页

2011-10-14

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除