锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久精品无码一区二区三区,国产婷婷成人久久Av免费高清 ,久久精品免费一区二区http://m.shnenglu.com/fengyue/category/16229.htmlzh-cnSun, 30 Sep 2012 18:18:13 GMTSun, 30 Sep 2012 18:18:13 GMT60tomcat浣跨敤jdk1.6鍚姩欏圭洰鐨勬姤閿?/title><link>http://m.shnenglu.com/fengyue/archive/2012/09/29/192440.html</link><dc:creator>椋庢?zhèn)?/dc:creator><author>椋庢?zhèn)?/author><pubDate>Sat, 29 Sep 2012 12:25:00 GMT</pubDate><guid>http://m.shnenglu.com/fengyue/archive/2012/09/29/192440.html</guid><wfw:comment>http://m.shnenglu.com/fengyue/comments/192440.html</wfw:comment><comments>http://m.shnenglu.com/fengyue/archive/2012/09/29/192440.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/fengyue/comments/commentRss/192440.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/fengyue/services/trackbacks/192440.html</trackback:ping><description><![CDATA[<p>2011-07-15 12:50 java.lang.ClassFormatError: Illegal class name "[L[Ljava/lang/String;;" in class file鏍規(guī)嵁緗戜笂璧勬枡鐪?a >http://fm928.blog.163.com/blog/static/748135201123115355946/</a></p> <p>鍦╦ava鏈嶅姟錛坱omcat錛夊惎鍔ㄦ椂 澧炲姞鍙傛暟澧炲姞鍙傛暟-Xverify:none</p> <p>catalina.bat鏈鍚?br />%_EXECJAVA% %JAVA_OPTS% %CATALINA_OPTS%  -Xverify:none    %DEBUG_OPTS% -Djava.endorsed.dirs="%JAVA_ENDORSED_DIRS%" -classpath "%CLASSPATH%" -Dcatalina.base="%CATALINA_BASE%" -Dcatalina.home="%CATALINA_HOME%" -Djava.io.tmpdir="%CATALINA_TMPDIR%" %MAINCLASS% %CMD_LINE_ARGS% %ACTION%</p> <p>灝卞ソ浜嗐傚簲涓簀dk bug<br /></p><img src ="http://m.shnenglu.com/fengyue/aggbug/192440.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/fengyue/" target="_blank">椋庢?zhèn)?/a> 2012-09-29 20:25 <a href="http://m.shnenglu.com/fengyue/archive/2012/09/29/192440.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>memcached搴旂敤闅忕瑪http://m.shnenglu.com/fengyue/archive/2011/11/24/160897.html椋庢?zhèn)?/dc:creator>椋庢?zhèn)?/author>Thu, 24 Nov 2011 06:07:00 GMThttp://m.shnenglu.com/fengyue/archive/2011/11/24/160897.htmlhttp://m.shnenglu.com/fengyue/comments/160897.htmlhttp://m.shnenglu.com/fengyue/archive/2011/11/24/160897.html#Feedback0http://m.shnenglu.com/fengyue/comments/commentRss/160897.htmlhttp://m.shnenglu.com/fengyue/services/trackbacks/160897.htmlMemcached 鏄竴涓珮鎬ц兘鐨勫垎甯冨紡鍐呭瓨瀵硅薄緙撳瓨緋葷粺錛岀敤浜庡姩鎬乄eb搴旂敤浠ュ噺杞繪暟鎹簱璐熻澆銆傜浉淇″ぇ瀹跺瀹冨茍涓嶉檶鐢燂紝涓嬮潰鎶婃垜鏈榪戝紑鍙戠殑欏圭洰涓敤鍒扮殑涓涓緥瀛愬垎浜嚭鏉ワ紝緇欏ぇ瀹朵竴璧峰涔?fàn)銆傚湪璁塊棶memcached鏃訛紝閫氳繃synchronized瀹炵幇鍚屾銆傚湪闇瑕佹搷浣渕emcached鐨勫湴鏂瑰彲浠ュ緢鏂逛究鍦伴氳繃綾籆acheFactory榪涜銆傚簾璇濆皯璇達(dá)紝鐩存帴璐翠笂浠g爜銆?
 1import org.apache.log4j.BasicConfigurator;
 2import org.apache.log4j.Logger;
 3
 4
 5import com.danga.MemCached.MemCachedClient;
 6import com.danga.MemCached.SockIOPool;
 7
 8
 9/**
10 * memcache宸ュ巶綾?br />11 * 
12 * @author fengyue
13 * @date Feb 16, 2011
14 */

15public class CacheFactory {
16private static final Logger logger = Logger.getLogger(CacheFactory.class);
17private static MemCachedClient memcache = null;
18
19
20public static MemCachedClient getCache() {
21if (memcache == null{
22synchronized (CacheFactory.class{
23if (memcache == null)
24getInstance();
25}

26}

27
28
29return memcache;
30}

31
32
33private static void getInstance() {
34try {
35BasicConfigurator.configure();
36String serverI = "10.185.23.17:13000";
37String[] servers = { serverI };
38SockIOPool pool = SockIOPool.getInstance();
39pool.setServers(servers);
40pool.setFailover(true);
41pool.setInitConn(10);
42pool.setMinConn(5);
43pool.setMaxConn(250);
44pool.setMaintSleep(30);
45pool.setNagle(false);
46pool.setSocketTO(3000);
47
48
49pool.initialize();
50memcache = new MemCachedClient();
51memcache.add("test""test1111111111111111111");
52
53
54}
 catch (Exception e) {
55logger.debug("failed to init memcache");
56e.printStackTrace();
57}

58}

59
60
61
62
63public static void main(String[] argvs) {
64//寰memcache瀛樺叆緙撳瓨鍊?/span>
65CacheFactory.getCache().set("myloginkey“, "1", new Date(3 * 60 * 60 * 1000));
66//鍙栧嚭鍊?/span>
67CacheFactory.getCache().get("myloginkey");
68//鍒犻櫎
69CacheFactory.getCache().delete("myloginkey");
70return;
71}

72}



]]>
欧美激情精品久久久久| 国产精品禁18久久久夂久 | 亚洲欧美久久久久9999| 性做久久久久久久久久久| 亚洲国产成人久久综合一区77| 亚洲人AV永久一区二区三区久久| 久久精品卫校国产小美女| 国产三级久久久精品麻豆三级| 久久高清一级毛片| 久久九九久精品国产免费直播| 99久久免费国产特黄| 亚洲&#228;v永久无码精品天堂久久| 久久这里有精品| 99热精品久久只有精品| 久久亚洲sm情趣捆绑调教 | 久久久久人妻精品一区| 久久精品成人免费观看97| 久久这里只有精品首页| 国内精品久久久久影院优| 一级女性全黄久久生活片免费| 国产亚洲欧美精品久久久| 欧美精品乱码99久久蜜桃| 久久www免费人成看国产片| 精品久久久久香蕉网| 久久国产免费直播| 久久综合狠狠综合久久97色| 久久精品国产99国产电影网| 天天爽天天狠久久久综合麻豆| 狠狠色丁香久久婷婷综合_中| 久久91这里精品国产2020| 久久精品国产亚洲综合色| 国内精品久久久久影院日本| 无码人妻精品一区二区三区久久 | 久久国产精品99国产精| 综合网日日天干夜夜久久| 久久亚洲精品无码aⅴ大香| 免费无码国产欧美久久18| 久久久黄色大片| 奇米影视7777久久精品| a高清免费毛片久久| 2021精品国产综合久久|