![](https://img-blog.csdnimg.cn/20190927151043371.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
踩坑日记
踩坑记录
叶巨岩
自律是成功的必要因素
展开
-
tomcat部署发生Perm Gen
在catalina.bat中设置JAVA_OPTSset JAVA_OPTS=-Xms512m -Xmx1024m正确的使用姿势:详细的环境配置参数【1----生产机器8G内存】Tomcat7 catalina.sh(只运行一个Tomcat)# 8G内存JAVA_OPTS="-Dfile.encoding=UTF-8-server-Djava.awt.hea...原创 2019-08-21 15:48:33 · 270 阅读 · 0 评论 -
工作笔记0001-严重: An incompatible version 1.1.30 of the APR based Apache Tomcat Native library is install
新工作,刚到公司,按照老板的指示把代码从git上clone下来,导入到eclipse,准备先跑一跑,tomcat启动时报如下错误: 严重: An incompatible version 1.1.30 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.32...原创 2018-08-15 22:58:47 · 925 阅读 · 0 评论 -
.jdbcjobstore.LockException: Failure obtaining db row lock: Table '*.QRTZ_LOCKS' doesn't exist
springboot集成qrtz碰到上述问题:.jdbcjobstore.LockException: Failure obtaining db row lock: Table '*.QRTZ_LOCKS' doesn't exist解决方法:第1种方法:执行下边sql,删除三个表的数据;delete from qrtz_cron_triggers; delete from q...原创 2019-09-19 14:45:11 · 3710 阅读 · 0 评论 -
web项目访问慢排查
唉没查出来1.服务器运行情况,cpu,磁盘,内存 --正常2.数据库与服务器之间宽带访问速度 --正常3.web容器配置 --正常原创 2019-08-22 22:35:02 · 1659 阅读 · 0 评论 -
Hikari数据库连接池:The last packet sent successfully to the server was 0 milliseconds ago
在使用mysql数据库时,由于MYSQL和APP部署在不通的机器上导致app连接mysql会断开,抛出以下错误:The last packet sent successfully to the server was 0 milliseconds ago经过实验有以下两种解决方式:1. 更换数据库连接池将数据库连接池由Hikari更改为2.修改配置1.修改mysql配置(win系统修改my.ini ,linux系统修改/etc/my.cnf):[mysqld]wait_ti原创 2020-12-16 11:41:21 · 2720 阅读 · 0 评论 -
解决java.sql.SQLException: Incorrect string value: '\xAC\xED\x00\x05sr…' 错误
解决方式:1.仔细对比传入的参数的类型,名称和用来接收的对象的类型名称是否对应比如下边,title传入数字,后台要接受的是字符串前端参数:{ "author": "张三", "content": "从水电费身无分文额", "title":123456,}对象:Article article ;private String author;private ...原创 2019-10-18 09:50:54 · 14048 阅读 · 0 评论