digdeep

凡是过去,皆是序幕。Read the fucking manual and source code.

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 36 下一页

2016年4月12日

摘要: 原理就是 指定 默认的 Log level 为 ERROR,然后指定我们要输入的日志的 包 的log level 为 DEBUG, 这样就能实现输入我们指定包的 DEBUG 基本的 log 和 其它所有代码的 ERROR 级别的 log. 方便调试。 阅读全文
posted @ 2016-04-12 15:13 digdeep 阅读(3815) 评论(1) 推荐(0) 编辑

该文被密码保护。 阅读全文
posted @ 2016-04-12 13:35 digdeep 阅读(1) 评论(0) 推荐(0) 编辑

摘要: 使用 proxy-target-class="true" 强制配置了 cglib 代理,于是包上面的错误,加入了 asm.jar 报也一样报错。 错误原因是,lib 中有两个cglib的jar包: cglib-nodep-2.2.jar 和 cglib-2.2.jar,删除 后面的就行了。 阅读全文
posted @ 2016-04-12 13:25 digdeep 阅读(345) 评论(0) 推荐(0) 编辑

2016年4月9日

摘要: 1. 在 META-INF 下建立文件: context.xml 然后 在 hibernate就可以引用: 这样就可以 根据 jndi 找到 context.xml 中配置的 数据库连接信息。其实起到了一个 间接 的 隔离 的效果。 2. 在Tomcat的server.xml 文件中 <Host> 阅读全文
posted @ 2016-04-09 11:12 digdeep 阅读(14738) 评论(0) 推荐(0) 编辑

摘要: 1. restore database KLJY_juncsoft from disk= 'D:\\kljy_2012_12_28.bak' with recovery 注意在还原时,进度一直显示0%,但是实际上确实是在还原中的。有点让人以为还原运行不正常的。 2. 无法删除数据库 "juncsof 阅读全文
posted @ 2016-04-09 00:32 digdeep 阅读(382) 评论(0) 推荐(0) 编辑

2016年4月8日

摘要: 解决方法: http://stackoverflow.com/questions/860187/access-restriction-on-class-due-to-restriction-on-required-library-rt-jar This works because you have 阅读全文
posted @ 2016-04-08 09:13 digdeep 阅读(284) 评论(0) 推荐(0) 编辑

2016年3月31日

摘要: 自己项目中使用到了 结果在不同的windows 操作系统中,程序的运行不一致,在windows server 2008上可以很好的运行,但是到了windows7上去卡死了!!!!!!!!!!!!!!!!!!!!!! p.waitFor() 卡死了或者报错: 如果改为: 则直接卡死了。如果将 p.wa 阅读全文
posted @ 2016-03-31 23:31 digdeep 阅读(1043) 评论(0) 推荐(1) 编辑

2016年3月25日

摘要: Tomcat启动报错: 25-Mar-2016 10:40:43.478 SEVERE [main] org.apache.catalina.startup.Catalina.stopServer Could not contact localhost:8015. Tomcat may not be 阅读全文
posted @ 2016-03-25 15:53 digdeep 阅读(4896) 评论(0) 推荐(0) 编辑

2016年3月24日

摘要: 最近因为一个监控相关的项目,深入研究了一下 windows 的 远程桌面的相关知识。 1. 如何让关闭了远程桌面连接的用户,对应的 session 立即退出 windows server。 大家使用 mstsc.exe 远程桌面登录windows server时,退出时,99.99%的人会直接关闭 阅读全文
posted @ 2016-03-24 18:37 digdeep 阅读(1351) 评论(0) 推荐(0) 编辑

2016年3月23日

摘要: 使用 JNA 调用 dll 库,因为 dll 库是32 位的,而 jvm 是 64位的,所以发生的错误: java.lang.UnsatisfiedLinkError: Unable to load library 'xxx': Native library (win32-x86-64/ID_Fpr 阅读全文
posted @ 2016-03-23 22:49 digdeep 阅读(13895) 评论(0) 推荐(0) 编辑

上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 36 下一页
不懂数据库和Web安全的架构师不是一个好的程序员。