摘要: 1. 安装ES 官方文档: 下载: https://www.elastic.co/cn/downloads/elasticsearch 安装:https://www.elastic.co/guide/en/elasticsearch/reference/7.14/rpm.html#rpm-repo 阅读全文
posted @ 2021-09-22 14:58 软件匠工 阅读(58) 评论(0) 推荐(0)
摘要: 1. Enable** 系列注解工作原理 2. springboot 自动装配原理 3. springboot starter是什么? 4. spring 事件工作原理 5. spring 的BeanFactory后置处理器 6.BeanFactory和FactoryBean分别是什么? 适用场景是 阅读全文
posted @ 2021-09-10 16:38 软件匠工 阅读(79) 评论(0) 推荐(0)
摘要: 1. 热更新代码 # 反编译$ jad --source-only com.example.demo.arthas.user.UserController > /tmp/UserController.java# 修改文件$ vim /tmp/UserController.java# 查找加载的 Cl 阅读全文
posted @ 2021-05-12 16:20 软件匠工 阅读(53) 评论(0) 推荐(0)
摘要: 1. 下载压缩包: https://github.com/jvm-profiling-tools/async-profiler 2. 配置探针: java -agentpath:/root/build/libasyncProfiler.so=start,svg,file=profile.svg -j 阅读全文
posted @ 2021-01-17 22:23 软件匠工 阅读(126) 评论(0) 推荐(0)
摘要: 官方: https://blogs.oracle.com/poonam/understanding-g1-gc-logs redhat : 原文: https://www.redhat.com/en/blog/collecting-and-reading-g1-garbage-collector-l 阅读全文
posted @ 2020-10-14 13:47 软件匠工 阅读(167) 评论(0) 推荐(0)
摘要: -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintGCApplicationConcurrentTime -XX:+PrintGCApplicationStoppedTime -Xloggc:/home/appSes/ses/oper/gc.l 阅读全文
posted @ 2020-09-30 14:00 软件匠工 阅读(249) 评论(0) 推荐(0)
摘要: java访问https的url时,报了如下错误,找不到证书。 Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCert 阅读全文
posted @ 2020-09-28 18:05 软件匠工 阅读(952) 评论(0) 推荐(0)
摘要: 2020-09-14T15:02:14.773+0800: 262550.148: [GC (Allocation Failure) 2020-09-14T15:02:14.773+0800: 262550.148: [ParNew: 292225K->5384K(306688K), 0.00808 阅读全文
posted @ 2020-09-15 18:35 软件匠工 阅读(2197) 评论(0) 推荐(0)
摘要: 在springboot(1.5.11) 整合jsp过程,碰到了打包问题。具体就是用IDEA能正常运行,JSP页面能正常访问。但打包后,访问jsp报404错误,进入到jar包中,发现jsp没有打进包里。 后面查阅资料,发现springboot 1.5.X打包有问题。打包时需指定springboot的插 阅读全文
posted @ 2020-08-25 17:34 软件匠工 阅读(417) 评论(0) 推荐(0)
摘要: 当项目依赖其他jar包的时候,打出的jar包执行出错,抛出这个异常。 原因:因为依赖jar包中的META-INF中有多余的.SF文件与当前jar包冲突, 在打完的jar包执行 zip -d your.jar 'META-INF/.SF' 'META-INF/.RSA' 'META-INF/*SF' 阅读全文
posted @ 2020-07-31 18:59 软件匠工 阅读(2386) 评论(0) 推荐(0)