Can't install agents via webstart

In previous versions of TC I've used java webstart to install the
agents. Beginning with build 1529, I get an error when launching the
webstart installer on both of my machines. Here's some partial stack
traces taken from the error dialog. The titles correspond to the tabs
in the dialog:

Wrapped Exception
==================
java.io.FileNotFoundException:
http://itpool5a:8080/teamcity-1529/update/agentInstaller.jar
at sun.reflect.GeneratedConstructorAccessor4.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

Exception
==================
com.sun.deploy.net.FailedDownloadException:
Unable to load resource: http://itpool5a:8080/teamcity-1529/update/agentInstaller.jar
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)

Launch File
==================
Build Agent Installer Jetbrains, s.r.o Build Agent Installer for TeamCity]]> <!<icon href="images/icon.gif"/>>
http://itpool5a:8080/teamcity-1529/update/ ]]>


Anyone else having trouble installing agents using webstart with build 1529?

--
-- Steve

3 comments
Comment actions Permalink

Hello Steve,

Thank you for the report. The problem will be resolved to the next EAP.
You may fix the problem with JavaWebStart locally. Please copy
agentInstaller.jar from agent lib directory to server's update directory.

--
Eugene Petrenko
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

SA> In previous versions of TC I've used java webstart to install the
SA> agents. Beginning with build 1529, I get an error when launching
SA> the webstart installer on both of my machines. Here's some partial
SA> stack traces taken from the error dialog. The titles correspond to
SA> the tabs in the dialog:
SA>
SA> Wrapped Exception
SA> ==================
SA> java.io.FileNotFoundException:
SA> http://itpool5a:8080/teamcity-1529/update/agentInstaller.jar
SA> at sun.reflect.GeneratedConstructorAccessor4.newInstance(Unknown
SA> Source)
SA> at
SA> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
SA> Source)
SA> at java.lang.reflect.Constructor.newInstance(Unknown Source)
SA> at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown
SA> Source)
SA> at java.security.AccessController.doPrivileged(Native Method)
SA> at
SA> sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unkn
SA> own Source)
SA> at
SA> sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
SA> Source)
SA> Exception
SA> ==================
SA> com.sun.deploy.net.FailedDownloadException:
SA> Unable to load resource:
SA> http://itpool5a:8080/teamcity-1529/update/agentInstaller.jar
SA> at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
SA> at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
SA> at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown
SA> Source)
SA> at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown
SA> Source)
SA> at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
SA> at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
SA> at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
SA> Launch File
SA> ==================
SA> codebase="http://itpool5a:8080/teamcity-1529/update/"> SA> SA> Build Agent Installer Jetbrains, SA> s.r.o Build Agent Installer for SA> TeamCity]]> <!<icon href="images/icon.gif"/>>
SA> href="agentInstaller.jar"/> SA> main-> SA> http://itpool5a:8080/teamcity-1529/update/ SA> SA> SA> Anyone else having trouble installing agents using webstart with SA> build 1529? SA>]]>


0
Comment actions Permalink

I am having the same problem with build 1529. Once I copy the agentInstaller.jar file, I receive an error saying that an unsigned application is requesting unrestricted access to system.

(If I install via Windows installer it installs but my problem is that once I upgraded to build 1529 my agent is not seen as available in TeamCity.)

0
Comment actions Permalink

Correction, the Windows installer did work once I configured the agent properly.

0

Please sign in to leave a comment.