jenkins 启动slave,出现com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://127.

2020-11-28 11:43

阅读:557

标签:style   blog   class   code   java   color   

master: linux

slave: win7 64位系统

在配置好系统后,采用jnlp的方式启动slave节点,报错如下:

soscw.com,搜素材
com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://127.0.0.1:8080/jnlpJars/remoting.jar
    at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.downloadResource(Unknown Source)
    at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
    at com.sun.deploy.cache.ResourceProviderImpl.getResource(Unknown Source)
    at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
soscw.com,搜素材

修改办法:

到jenkins面板: http://127.0.0.1:8080, 进入Manage Jenkins ,选择Configure System, 修改Jenkins Location选项下面的Jenkins URL为master机器的http://IP:port, 然后重新生成jnlp文件发送到slvae节点,然后右键选择Launch。 

如果,不想修改Jenkins的 URL,那么用notepad++打开slave-agent.jnlp文件,将其中的127.0.0.1修改为master机器的IP或者域名,也可以。

jenkins 启动slave,出现com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://127.0.0.1:8080/jnlpJars/remoting.jar,搜素材,soscw.com

jenkins 启动slave,出现com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://127.0.0.1:8080/jnlpJars/remoting.jar

标签:style   blog   class   code   java   color   

原文地址:http://www.cnblogs.com/xiami303/p/3709481.html


评论


亲,登录后才可以留言!