当前位置:网站首页>Error unable to access jarfile solution
Error unable to access jarfile solution
2022-04-22 14:25:00 【rookiesx】
stay jenkins shell When troubleshooting an error , It took a long time .
Appearance is because perform shell Script Medium java -jar xxx.jar Failed to start jar Program .
Because of the use of nohup & To start in the background jar package , therefore jenkins No errors printed journal .
Removing nohup & after , I found it was reported error unable to access jarfile It's a mistake .
Solution : Found to be call shell Script When it's not time to visit jar, By modifying the jar The absolute path solves
/home/user01/tool/traffic_broker_monitor
echo "launch monitor tool"
echo "bash /home/user01/tool/test_monitor.sh $monitor_connectors $project $region"
sshpass -p ${PWD} ssh ${USERNAME}@${IP} "bash /home/ser01/tool/test_monitor.sh $monitor_connectors $project $region"
java -jar broker_monitor.jar
--num=$1
--target_server=k8s.mypna.com
--data_source=HERE-HERE-SEA --receiver=\{\"redis_cluster_address\":\"mypna.com\",\"redis_port\":6379\}
版权声明
本文为[rookiesx]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204221421143940.html
边栏推荐
- error unable to access jarfile 解决方案
- 万元礼品奖池!玩转「Lighthouse」有奖征文来袭
- 20道25K+Android工程师面试必问面试题,网易Android面试必问
- Multithreading primary
- Deep understanding of read-write lock reentrantreadwritelock and concurrent container copyonwritearraylist
- Methods of safety testing
- Arcengine打印视图与布局视图原理解析
- 双指针快慢指针||快乐数、寻找重复数202、287、|141、142、143、234、457
- 2020 popular whole network series: This is a very suitable Android advanced - interview key and difficult data notes for collection and collection! Continuously update the high-quality interview links
- Ladder race -- l2-004 is this a binary search tree? (25 points) (recursive)
猜你喜欢

浅谈IM系统中离线消息、历史消息的最佳实践

Kubernetes详解(六)——Pod对象部署和应用

Thread pool--

interrupted()和isInterrupted()详述,百万数据分页查询的方法及其优化方式

What happens when you run the NPM install command?

In depth analysis of lock and AQS

Multithreading primary

@Resource与构造函数踩坑

spark代码 spark-submit提交yarn-cluster模式

dxg:TableView.FormatConditions 表格按条件高亮显示
随机推荐
Ladder race -- l2-004 is this a binary search tree? (25 points) (recursive)
Pratique de l'arbre binaire itération récursive de l'arbre binaire 257, 100, 222, 101, 226, 437, 563, 617, 572, 543, | 687
HashTable哈希表练习查找插入删除217、349 、202、287、290、532、205、128
Bitmap bloomfilter BitSet details
回溯 全排列 第k个排列 优美的排列 组合 组合总和 N皇后I II
dxg:TableView.FormatConditions 表格按条件高亮显示
双指针||有序数组去重 排序链表移除元素 26、27、83
Full solution of database SQL
Double pointer fast and slow pointer 𞓜 happy number, search repetition number 202, 287, | 141, 142, 143, 234, 457
浅谈IM系统中离线消息、历史消息的最佳实践
ITopologicalOperator使用说明
Leetcode (04)
ArcEngine符号相关
Arcpy development environment configuration
CRM系统改善客户体验的方法
Archengine point, line, face, text rendering
Detailed explanation of kubernetes (VI) -- pod object deployment and Application
Dynamic gauge initial solution 𞓜 maximum subsequence and longest ascending subsequence 53 and 128
Why do I like to use flying items for task management
String inversion exercises 344, 541, 557, 151