上一页 1 2 3 4 5 6 7 8 9 10 ··· 30 下一页
摘要: 加上下面的一句就好了[TestCleanup] public void cleanup() { CallContext.FreeNamedDataSlot("log4net.Util.LogicalThreadContextProperties"); }Ref:https://stackoverflow.com/questions/23661372/... 阅读全文
posted @ 2018-01-13 11:17 张保维 阅读(679) 评论(0) 推荐(0) 编辑
摘要: From: https://my.oschina.net/topeagle/blog/591451?fromerr=mzOr2qzZCENTOS安装ElasticSearchElasticSearch 概述ElasticSearch是一个高可扩展的开源的全文搜索分析引擎。 它允许你快速的存储、搜索和分析大量数据。ElasticSearch通常作为后端程序,为需要复杂查询的应用提供服务。Elast... 阅读全文
posted @ 2017-09-25 15:54 张保维 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 网络配置: http://blog.51yip.com/linux/1120.html 网络配置为自动获取 vi命令参考: http://c.biancheng.net/cpp/html/2735.html Vim 安装 http://yjph83.iteye.com/blog/2282259 secureCRT 乱码问题 http://riching.iteye.com/blog/34975... 阅读全文
posted @ 2017-07-24 17:00 张保维 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 1,JConsole 位于 [JDK] bin 下, 2,代码查看当前进程堆内存long maxMemory = Runtime.getRuntime().maxMemory();long totalMemory = Runtime.getRuntime().totalMemory();long freeMemory = Runtime.getRuntime().freeMemory... 阅读全文
posted @ 2017-03-17 17:56 张保维 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 查了诸多的地方看到的都是这样一句话,我也Copy过来。 按照官方的说法:“Java 虚拟机具有一个堆,堆是运行时数据区域,所有类实例和数组的内存均从此处分配。堆是在 Java 虚拟机启动时创建的。”“在JVM中堆之外的内存称为非堆内存(Non-heap memory)”。 下面转一篇:JVM组成结构 (转自:http://blog.csdn.net/lzm1340458776/artic... 阅读全文
posted @ 2017-03-17 10:45 张保维 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 127.0.0.44 www.baidu.com127.0.0.44 cpro.baidu.com127.0.0.44 hm.baidu.com127.0.0.44 bdimg.share.baidu.com127.0.0.44 eclick.baidu.com127.0.0.44 pos.baidu.com127.0.0.44 wn.pos.baidu.com127.0.0.44 cpro.ba... 阅读全文
posted @ 2017-03-17 08:53 张保维 阅读(824) 评论(0) 推荐(0) 编辑
摘要: 一、Propagation : key属性确定代理应该给哪个方法增加事务行为。这样的属性最重要的部份是传播行为。有以下选项可供使用: PROPAGATION_REQUIRED--支持当前事务,如果当前没有事务,就新建一个事务。这是最常见的选择。PROPAGATION_SUPPORTS--支持当前事务,如果当前没有事务,就以非事务方式执行。PROPAGATION_MANDATORY--支持当前事务,... 阅读全文
posted @ 2017-03-14 16:15 张保维 阅读(282) 评论(0) 推荐(0) 编辑
摘要: @Repositorypublic class MyDaoImpl extends JdbcDaoSupport implements MyDao { @Autowired private DataSource dataSource; @PostConstruct private void initialize() { setDataSource(dataS... 阅读全文
posted @ 2017-03-10 13:59 张保维 阅读(1447) 评论(0) 推荐(0) 编辑
摘要: 安装跟以往都不一样了 漫长的等待 完成安装 阅读全文
posted @ 2017-03-08 12:24 张保维 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 1:将本地jar包导入到自己的Maven仓库 mvn install:install-file -Dfile=D:\\kaptcha-2.3.2.jar -DgroupId=com.google -DartifactId=kaptcha -Dversion=2.3.2 -Dpackaging=jar 2: 上传Maven包到私服 mvn deploy:deploy-file -... 阅读全文
posted @ 2017-02-24 17:23 张保维 阅读(4912) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 30 下一页