随笔分类 -  java

javax.management.InstanceNotFoundException: org.springframework.boot:type=Admin,name=SpringApplication
摘要:在idea启动springboot 项目, 抛出异常: javax.management.InstanceNotFoundException: org.springframework.boot:type=Admin,name=SpringApplication at com.sun.jmx.inte 阅读全文

posted @ 2021-06-23 10:03 在渊 阅读(3844) 评论(0) 推荐(0)

DRDS DDL操作报错 Another DDL job
摘要:1. DRDS DDL 操作报错: Another DDL job ‘133848664’ with operation....... 解决方式,提示已经说明。 方式: 1. show ddl 查询到 锁表 <JOB_ID> 2. recover ddl <job_id> 继续执行ddl操作 3.r 阅读全文

posted @ 2021-06-03 20:24 在渊 阅读(1458) 评论(0) 推荐(0)

linux 根据Pid 查询对应启动程序文件目录
摘要:需要根据pid查看启动文件所在目录 1. ps -ef|grep [过滤的字符] 例如: ps -ef|grep java 2. 进入 /proc 目录,即可看到7262的文件目录 3.进入cd 7262 4. ls -ail ,即可找到对应为全路径文件信息 阅读全文

posted @ 2021-04-16 08:49 在渊 阅读(4107) 评论(0) 推荐(1)

too many open files
摘要:linux 环境部署的java项目,其中采用 OKhttp发出请求,response已经在finally关闭后,仍然抛出异常“oo many open files” 原因: 句柄数达到了服务器的最大值 解决方案: 1. 查看线程占句柄数: ulint -a ,结果 open files(-n) 10 阅读全文

posted @ 2021-03-09 10:04 在渊 阅读(176) 评论(0) 推荐(0)

导航