问答 2024-10-10 来自:开发者社区

chaosblade注入jvm、http故障报错

{"code":63063,"success":false,"error":"/bin/sh -c /opt/java/openjdk/bin/java -Xms128M -Xmx128M -Xnoclassgc -ea -Xbootclasspath/a:/opt/chaosblade/lib/sandbox/tools.jar -jar /opt/chaosblade/lib/sandbo.....

问答 2024-03-24 来自:开发者社区

麻烦看下ChaosBlade这条java应用的http故障场景,似乎call-point并没有生效?

/opt/chaosblade/blade create http throwCustomException --effect-count=100 --effect-percent=100 --timeout=905 --pid=1 --exception=java.lang.ClassNotFoundException --call-point=com.test.chaosdemo.serv.....

本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。

产品推荐

{"cardStyle":"productCardStyle","productCode":"aliyun","productCardInfo":{"productTitle":"从 HTTP 到 HTTPS 让网站更安全","productDescription":"本方案介绍如何在ECS上搭建Web应用以及在Nginx服务器上部署SSL证书开启HTTPS安全访问。","productContentLink":"https://www.aliyun.com/solution/tech-solution/ssl","isDisplayProductIcon":true,"productButton1":{"productButtonText":"方案详情","productButtonLink":"https://www.aliyun.com/solution/tech-solution/ssl"},"productButton2":{"productButtonText":"方案部署","productButtonLink":"https://help.aliyun.com/document_detail/2684684.html"},"productButton3":{"productButtonText":"查看更多技术解决方案","productButtonLink":"https://www.aliyun.com/solution/tech-solution/"},"productPromotionInfoBlock":[{"$id":"0","productPromotionGroupingTitle":"解决方案推荐","productPromotionInfoFirstText":"通过弹性公网IP确保服务迁移时公网IP不变","productPromotionInfoFirstLink":"https://www.aliyun.com/solution/tech-solution/eip_service","productPromotionInfoSecondText":"网站静态资源访问加速","productPromotionInfoSecondLink":"https://www.aliyun.com/solution/tech-solution/oss-x-cdn"}],"isOfficialLogo":false},"activityCardInfo":{"activityTitle":"","activityDescription":"","cardContentBackgroundMode":"LightMode","activityContentBackgroundImageLink":"","activityCardBottomInfoSelect":"activityPromotionInfoBlock"}}