我在安装Bamboo远程代理时遇到问题。我正在运行以下命令:
java -jar ./atlassian-bamboo-agent-installer-4.1.2.jar http://my-domain/agentServer/
我收到以下错误:
ERROR | wrapper | 2014/05/22 14:13:58 | JVM exited while starting the application.
INFO | jvm 5 | 2014/05/22 14:13:58 | Exiting due to fatal exception.
INFO | jvm 5 | 2014/05/22 14:13:58 | com.atlassian.bamboo.agent.bootstrap.RemoteAgentHttpException: HTTP status code 404 received in response to fingerprint request.
但是,我注意到安装程序指向的URL不正确。
http://my-domain.com:8085/bamboo/agentServer/GetFingerprint.action?hostName=209.97.200.176&version=3&agentUuid=fb0de79e-a87b-44d3-8a08-5e1fe1278a36
那里有一个额外的目录,不应该是(/bamboo
),并且看起来我的命令行参数不会影响它。我相信这是我的404错误的来源。
我正在运行Bamboo 4.2.1;防火墙端口已打开,并且已建立网络连接。我从服务器上下载了JAR。我已经看到有关config.xml配置更改的建议,但尚未创建,因为远程代理安装尚未完成。
有没有人遇到过这个问题?谢谢。
愚蠢的我,我在本周开始时遇到了这个问题,现在才弄明白了。我试图使用“agentServer”,事实证明,没有config.xml - 但是存在一个“wrapper.conf”文件,其中存储了URL。我想这是第一次运行命令时写的文件;如果命令失败,则忽略命令参数以支持文件配置。
bash-3.2$ grep -R 'agentServer' ./*
./bamboo-agent-home/atlassian-bamboo-agent.log:INFO | jvm 1 | 2014/05/15 08:10:46 | 2014-05-15 08:10:46,374 INFO [WrapperSimpleAppMain] [AgentBootstrap] Agent bootstrap using baseUrl: http://my-domain:8085/bamboo/agentServer/
./bamboo-agent-home/atlassian-bamboo-agent.log:INFO | jvm 5 | 2014/05/22 14:13:58 | 2014-05-22 14:13:58,252 INFO [WrapperSimpleAppMain] [AgentBootstrap] Agent bootstrap using baseUrl: http://my-domain:8085/bamboo/agentServer/
...
./bamboo-agent-home/conf/wrapper.conf:wrapper.app.parameter.2=http://my-domain:8085/bamboo/agentServer/
更改wrapper.conf中的违规行是修复。问题是由于在首次运行安装期间使用了错误的URL引起的。
希望这有助于某人。
我有这个问题,终于意识到Atlassian documentation建议的URL对我的安装不正确。我最终执行了这个命令(注意缺少/bamboo
路径段):
java -jar atlassian-bamboo-agent-installer-5.10.3.jar http://bamboo.mydomain.com:8085/agentServer/