rabbitmq 容器方式启动
docker run -d --name rabbitmq -p 5671:5671 -p 5672:5672 -p 4369:4369 -p 25672:25672 -p 15671:15671 -p 15672:15672 rabbitmq:management
zipkin 安装
docker run -d -p 9411:9411 openzipkin/zipkin
修改容器内容
zikipin Terminating due to java.lang.OutOfMemoryError: Java heap space
Docker环境下Java应用的最大内存和堆内存的设置
docker run -d --name user-service -m 512m --env LOG_LEVEL=ERROR -e "spring.profiles.active=dev" -p 8090:8090 user-service
Docker环境下Java应用的最大内存和堆内存的设置_shenzhen_zsw的博客-CSDN博客_docker 默认最大内存Docker中设置Memory和CPU限制_独正己身的博客-CSDN博客_docker memoryDocker环境下Java应用的最大内存和堆内存的设置_shenzhen_zsw的博客-CSDN博客_docker 默认最大内存
Spring Cloud Feign 第一次调用超时(Read timed out)的解决办法
springcloud之Feign超时问题(Read timed out executing POST http://***)_Moshow郑锴的博客-CSDN博客
#hystrix的超时时间
hystrix:
command:
default:
execution:
timeout:
enabled: true
isolation:
thread:
timeoutInMilliseconds: 30000
#ribbon的超时时间
ribbon:
ReadTimeout: 30000
ConnectTimeout: 30000
内网穿透:
kubesphere 安装devops报错
创建 pvc报错
ErrorCode: InvalidDiskSize.NotSupported
解决
https://github.com/gardener/gardener-extension-provider-alicloud/issues/4dd
阿里云申请的pv云盘 最小要申请20G
打包时在WebContent/WEB-INF/文件夹下找不到web.xml文件
Maven打包时报Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.2:war解决方案_享叔的博客-CSDN博客
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.0.0</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
</plugins>
Could not initialize class com.alibaba.csp.sentinel.context.ContextUtil
本地都很正常,生产docker不行
最后是因为linux sentinel会在 /root/logs/csp/xxx保存日志,但是没权限,所以修改日志目录
/opt/gulimall/logs/csp/
nacos也存在这个问题
/opt/gulimall/logs/nacos/
三、nacos 客户端日志输出位置修改_HuntFalcon的博客-CSDN博客_nacos错误日志位置
"sh","-c","java -Dname=AuthServer -DJM.LOG.PATH=/opt/gulimall/logs/nacos -DJM.SNAPSHOT.PATH=/opt/gulimall/logs/nacos/snapshot -Dspring.profiles.active=prod -cp ./ org.springframework.boot.loader.WarLauncher"
打包admin-vue-app时候,npm run build报错 How to fix "ReferenceError: primordials is not defined" in Node.js
sass - How to fix "ReferenceError: primordials is not defined" in Node.js - Stack Overflow
package.json 新增
"scripts": { "preinstall": "npx npm-force-resolutions" }, "resolutions": { "graceful-fs": "^4.2.9" }
Mybatis中出现的Invalid bound statement (not found)问题的解决办法
xml文件没有对应mapper方法
Mybatis中出现的Invalid bound statement (not found)问题的解决办法_下里巴人丶的博客-CSDN博
客
The Bean Validation API is on the classpath but no implementation could be found
sass - How to fix "ReferenceError: primordials is not defined" in Node.js - Stack Overflow
node-sass 安装失败 “v8::String::Utf8Value
node-sass 安装失败 “v8::String::Utf8Value_『IT界码仔』的博客-CSDN博客
npm install报错:gyp verb `which` failed Error: not found: python2
npm install报错:gyp verb `which` failed Error: not found: python2_火 烈 鸟的博客-CSDN博客