- 博客(5)
- 资源 (14)
- 收藏
- 关注
转载 Spring+quartz实现集群任务调度
Spring+quartz实现集群任务调度关键点:quartz中的主要实现类:JobStoreTX通过数据库锁(行锁)来实现多个节点的访问顺寻控制。例如mysql:select * from QRTZ_LOCKS t where t.lock_name='TRIGGER_ACCESS' for update锁定当前行(t.lock_name为主键,具
2016-02-25 13:47:53 688
原创 ClassNotLoadedException(NullPointerException)
try {System.out.println( arr[(Integer) null]);} catch (Exception e) {// TODO Auto-generated catch blocke.printStackTrace();}这种方式使用数组会跑Nullpointer异常那个,因为数组中无null位置的元素。并且查看具体异常的跟踪信息(stackT
2016-02-24 09:37:40 2661
原创 一些有用的数据
机场经纬度数据:http://www.vaocs.net/info/vaapt.php?id1=ZSHC&sele=VYMD&search=经纬度距离计算:http://www.storyday.com/wp-content/uploads/2008/09/latlung_dis.html《to be continue》
2016-02-23 11:08:55 373
原创 通过Junit和Spring-Test测试SpringMVC的web应用
通过Junit和Spring-Test测试SpringMVC的web应用1、通过Spring-Test测试web应用可以避免多次启动web 容器带来的烦恼,每次执行特定的测试方法。再也不用通过web容器(如tomcat,jetty等)启动整个web应用,尤其是当项目复杂,比较庞大时,能够节省很多时间。2、maven依赖maven依赖除了需要用到的junit和spring
2016-02-16 15:26:15 4585 1
原创 画蛇添足导致的mysql问题
出现了 : MySQL 服务无法启动大致的安装过程如下连接: http://blog.csdn.net/mmm333zzz/article/details/20364213只是我画蛇添足的自己增加了一个data目录,其实通过mysqld --initialize 命令可以自动生成。所以删掉之后,重新mysqld --initializenet start mysql
2016-02-15 15:05:16 360
solr-cloud-5.3.0 window7伪集群搭建
2018-09-11
Apache Solr High Performance.pdf&Solr;+In+Action+2013.pdf英文版
2018-06-25
jd-core-java
2017-03-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人