Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: NoClassDefFoundError when multiple arex-agent are started on the same server #572

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

llkkk
Copy link
Contributor

@llkkk llkkk commented Oct 8, 2024

修改前,释放的 arex-agent-bootstrap.jar 目录为全局 /tmp/arex/bootstrap/arex-agent-bootstrap.jar 目录,同一服务器部署多个arex-agent.jar 时,后启动的 agent 释放的 arex-agent-bootstrap.jar 文件将前一个文件覆盖,导致前面的 agent 运行时出现 NoClassDefFoundError :
5aa429ce30c60d2057e5b91792393c2

修改后释放的 arex-agent-bootstrap.jar 目录为 arex-agent.jar 所在目录为父目录,可有效避免全局目录导致的文件冲突问题。

@mr3
Copy link
Collaborator

mr3 commented Nov 4, 2024

@YongwuHe PTAL

Copy link

sonarqubecloud bot commented Nov 4, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants