会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
☆♂安♀★
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
5
6
7
8
9
10
11
12
13
···
22
下一页
2021年9月1日
nginx 日志按日期分隔
摘要: #user nobody; user root; worker_processes 1; error_log /spdblogs/nginx/logs/error.log; error_log /spdblogs/nginx/logs/notice.log notice; error_log /sp
阅读全文
posted @ 2021-09-01 15:57 ☆♂安♀★
阅读(537)
评论(0)
推荐(0)
2021年8月27日
SimpleMongoDbFactory类已经失效,被SimpleMongoClientDbFactory替代
摘要: 老版本的mongodbtemplate连接池的用法 spring: data: mongodb: address: 127.0.0.1:37017 replica-set: database: xxx username: xxx password: xxxx # Configure spring.d
阅读全文
posted @ 2021-08-27 17:23 ☆♂安♀★
阅读(6408)
评论(0)
推荐(0)
2021年8月25日
HTTPS请求不被信用
摘要: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid
阅读全文
posted @ 2021-08-25 15:59 ☆♂安♀★
阅读(58)
评论(0)
推荐(0)
2021年8月16日
logback-spring 集成 ELK、kafka的配置
摘要: pom.xml <dependency> <groupId>com.github.danielwegener</groupId> <artifactId>logback-kafka-appender</artifactId> <version>0.2.0-RC2</version> </depend
阅读全文
posted @ 2021-08-16 18:32 ☆♂安♀★
阅读(620)
评论(0)
推荐(0)
2021年8月15日
java geteway 手机返回数据
摘要: import lombok.extern.slf4j.Slf4j; import org.reactivestreams.Publisher; import org.springframework.cloud.gateway.filter.GatewayFilterChain; import org
阅读全文
posted @ 2021-08-15 15:46 ☆♂安♀★
阅读(66)
评论(0)
推荐(0)
java getway springcloud 记录请求数据
摘要: java getway springcloud 记录请求数据,兼容post请求无参数和response返回无参数 方式1 import com.icar.web.icarutils.util.ClientUtil; import com.icar.web.icarutils.util.IdWorke
阅读全文
posted @ 2021-08-15 15:45 ☆♂安♀★
阅读(308)
评论(0)
推荐(0)
2021年8月11日
nginx服务器配置传递给下一层的信息的一些参数-设置哪些跨域的域名可访问
摘要: http { server_tokens off; #隐藏nginx版本 proxy_headers_hash_max_size 51200; proxy_headers_hash_bucket_size 6400 server { listen 80; server_name localhost
阅读全文
posted @ 2021-08-11 17:49 ☆♂安♀★
阅读(209)
评论(0)
推荐(0)
2021年7月31日
e.printStackTrace() 原理的分析
摘要: e.printStackTrace(); 先查看下源码 如图片中1所示,使用的是 PrintStreamOrWriter public void printStackTrace() { printStackTrace(System.err); } /** * Prints this throwabl
阅读全文
posted @ 2021-07-31 19:49 ☆♂安♀★
阅读(860)
评论(0)
推荐(0)
2021年7月28日
关于性能测试组出现的问题查询和优化
摘要: 刚开始压测说总体性能慢达不到指标 我用arthas,这个在压测的时候查询问题,或者线上查找问题真的很重要,像之前去平安银行的测试组(开发岗位)面试也问了这个问题(2021年初),那时候他们也刚开始研究,还问了一些测试数据如何在网页前端大批量实时展示的解决方案,但自己真的很弱arthas真的没听过,不
阅读全文
posted @ 2021-07-28 19:19 ☆♂安♀★
阅读(492)
评论(0)
推荐(0)
2021年7月23日
springboot connecting to :mongodb://127.0..0.1:27017/test authentication failed
摘要: 账号的权限不够,可能是insert进去的脚本的角色有问题 use admin db.createUser({user:'账号',pwd:'密码',roles:[{role:'userAdminAnyDatabase',db:'admin'},{role:'userAdmin',db:'admin'}
阅读全文
posted @ 2021-07-23 17:03 ☆♂安♀★
阅读(452)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
11
12
13
···
22
下一页
公告