|
I downloaded the latest version of Hudson (v1.326) and set up a simple project for testing my installation. However, the build fails because installation of JDK fails. I'm using Windows XP SP3.
I also have v1.320 running on Linux, and haven't had any issues with JDK installation. Hudson was started with java -jar hudson.war. What could be wrong? Started by user anonymous Updating http://svn.apache.org/repos/asf/commons/proper/net/trunk At revision 819907 no change for http://svn.apache.org/repos/asf/commons/proper/net/trunk since the previous build Choosing the download bundle Downloading http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/jdk-6u15-windows-i586.exe?BundledLineItemUUID=.tVIBe.lrXkAAAEk07YQnQXP&OrderID=cIJIBe.lWAwAAAEkxbYQnQXP&ProductID=2g5IBe.pHX8AAAEiJ10TvmcF&FileName=/jdk-6u15-windows-i586.exe Installing C:\Documents and Settings\torput\.hudson\tools\6u15\jdk.exe [6u15] $ "C:\Documents and Settings\torput\.hudson\tools\6u15\jdk.exe" /s '/v/qn REBOOT=Suppress INSTALLDIR=\"C:\Documents and Settings\torput\.hudson\tools\6u15\" /L \"C:\Documents and Settings\torput\.hudson\tools\6u15\jdk.exe.install.log\"' ERROR: Failed to parse POMs java.io.IOException: Unable to delete C:\Documents and Settings\torput\.hudson\tools\6u15\jdk.exe at hudson.Util.deleteFile(Util.java:252) at hudson.FilePath$14.invoke(FilePath.java:908) at hudson.FilePath$14.invoke(FilePath.java:906) at hudson.FilePath.act(FilePath.java:676) at hudson.FilePath.act(FilePath.java:660) at hudson.FilePath.delete(FilePath.java:906) at hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:124) at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61) at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:99) at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:155) at hudson.model.JDK.forNode(JDK.java:121) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:558) at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:128) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:383) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:354) at hudson.model.Run.run(Run.java:1120) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:303) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:123) Finished: FAILURE |
|
Is it possible that the jdk Hudson was started with is the same as the one it is trying to replace? Try using a specific jre path:
C:/path_to_my_jre/bin/java -jar hudson.war -----Original Message----- From: torput [mailto:[hidden email]] Sent: Tuesday, September 29, 2009 7:59 AM To: [hidden email] Subject: JDK install fails on Windows I downloaded the latest version of Hudson (v1.326) and set up a simple project for testing my installation. However, the build fails because installation of JDK fails. I'm using Windows XP SP3. I also have v1.320 running on Linux, and haven't had any issues with JDK installation. Hudson was started with java -jar hudson.war. What could be wrong? Started by user anonymous Updating http://svn.apache.org/repos/asf/commons/proper/net/trunk At revision 819907 no change for http://svn.apache.org/repos/asf/commons/proper/net/trunk since the previous build Choosing the download bundle Downloading http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/jdk-6u15-windows-i586.exe?BundledLineItemUUID=.tVIBe.lrXkAAAEk07YQnQXP&OrderID=cIJIBe.lWAwAAAEkxbYQnQXP&ProductID=2g5IBe.pHX8AAAEiJ10TvmcF&FileName=/jdk-6u15-windows-i586.exe Installing C:\Documents and Settings\torput\.hudson\tools\6u15\jdk.exe [6u15] $ "C:\Documents and Settings\torput\.hudson\tools\6u15\jdk.exe" /s '/v/qn REBOOT=Suppress INSTALLDIR=\"C:\Documents and Settings\torput\.hudson\tools\6u15\" /L \"C:\Documents and Settings\torput\.hudson\tools\6u15\jdk.exe.install.log\"' ERROR: Failed to parse POMs java.io.IOException: Unable to delete C:\Documents and Settings\torput\.hudson\tools\6u15\jdk.exe at hudson.Util.deleteFile(Util.java:252) at hudson.FilePath$14.invoke(FilePath.java:908) at hudson.FilePath$14.invoke(FilePath.java:906) at hudson.FilePath.act(FilePath.java:676) at hudson.FilePath.act(FilePath.java:660) at hudson.FilePath.delete(FilePath.java:906) at hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:124) at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61) at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:99) at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:155) at hudson.model.JDK.forNode(JDK.java:121) at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:558) at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:128) at hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:383) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:354) at hudson.model.Run.run(Run.java:1120) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:303) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:123) Finished: FAILURE -- View this message in context: http://www.nabble.com/JDK-install-fails-on-Windows-tp25662599p25662599.html Sent from the Hudson users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] -------------------------------------------------------------------------- This e-mail and any attachments may contain confidential material for the sole use of the intended recipient. If you are not the intended recipient, please be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please contact the sender and delete all copies. Thank you for your cooperation. --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
|
I don't think so, because my JAVA_HOME points to:
C:\Program Files\Java\JDK I tried to install both 1.6u15 and u16, but both failed same way. Furthermore, because Hudson installs JDK's in its own directory I don't see how I could start Hudson from there accidentally.
|
|
Is the "C:\Documents and Settings\torput\.hudson\tools\6u15\jdk.exe"
file still there? To me it sounds like the JDK installation file, how big is the file? Did it install the JDK properly in that folder? Anything that looks wrong in the "C:\Documents and Settings\torput\.hudson\tools\6u15\jdk.exe.install.log" say? My guess is that the file couldnt be deleted because Windows was still using it, perhaps because the JDK had just finished and Hudson is a little eager.... //Erik On Wed, Sep 30, 2009 at 10:14, torput <[hidden email]> wrote: > > I don't think so, because my JAVA_HOME points to: > C:\Program Files\Java\JDK > > I tried to install both 1.6u15 and u16, but both failed same way. > > Furthermore, because Hudson installs JDK's in its own directory I don't see > how I could start Hudson from there accidentally. > > > Hubbard, Bobby wrote: >> >> Is it possible that the jdk Hudson was started with is the same as the one >> it is trying to replace? Try using a specific jre path: >> >> C:/path_to_my_jre/bin/java -jar hudson.war >> >> >> -----Original Message----- >> From: torput [mailto:[hidden email]] >> Sent: Tuesday, September 29, 2009 7:59 AM >> To: [hidden email] >> Subject: JDK install fails on Windows >> >> >> I downloaded the latest version of Hudson (v1.326) and set up a simple >> project for testing my installation. However, the build fails because >> installation of JDK fails. I'm using Windows XP SP3. >> >> I also have v1.320 running on Linux, and haven't had any issues with JDK >> installation. >> >> Hudson was started with java -jar hudson.war. >> >> What could be wrong? >> >> Started by user anonymous >> Updating http://svn.apache.org/repos/asf/commons/proper/net/trunk >> At revision 819907 >> no change for http://svn.apache.org/repos/asf/commons/proper/net/trunk >> since >> the previous build >> Choosing the download bundle >> Downloading >> http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/jdk-6u15-windows-i586.exe?BundledLineItemUUID=.tVIBe.lrXkAAAEk07YQnQXP&OrderID=cIJIBe.lWAwAAAEkxbYQnQXP&ProductID=2g5IBe.pHX8AAAEiJ10TvmcF&FileName=/jdk-6u15-windows-i586.exe >> Installing C:\Documents and Settings\torput\.hudson\tools\6u15\jdk.exe >> [6u15] $ "C:\Documents and Settings\torput\.hudson\tools\6u15\jdk.exe" /s >> '/v/qn REBOOT=Suppress INSTALLDIR=\"C:\Documents and >> Settings\torput\.hudson\tools\6u15\" /L \"C:\Documents and >> Settings\torput\.hudson\tools\6u15\jdk.exe.install.log\"' >> ERROR: Failed to parse POMs >> java.io.IOException: Unable to delete C:\Documents and >> Settings\torput\.hudson\tools\6u15\jdk.exe >> at hudson.Util.deleteFile(Util.java:252) >> at hudson.FilePath$14.invoke(FilePath.java:908) >> at hudson.FilePath$14.invoke(FilePath.java:906) >> at hudson.FilePath.act(FilePath.java:676) >> at hudson.FilePath.act(FilePath.java:660) >> at hudson.FilePath.delete(FilePath.java:906) >> at >> hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:124) >> at >> hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61) >> at >> hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:99) >> at >> hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:155) >> at hudson.model.JDK.forNode(JDK.java:121) >> at >> hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:558) >> at >> hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:128) >> at >> hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:383) >> at >> hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:354) >> at hudson.model.Run.run(Run.java:1120) >> at >> hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:303) >> at >> hudson.model.ResourceController.execute(ResourceController.java:88) >> at hudson.model.Executor.run(Executor.java:123) >> Finished: FAILURE >> >> >> -- >> View this message in context: >> http://www.nabble.com/JDK-install-fails-on-Windows-tp25662599p25662599.html >> Sent from the Hudson users mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [hidden email] >> For additional commands, e-mail: [hidden email] >> >> >> -------------------------------------------------------------------------- >> This e-mail and any attachments may contain confidential material for the >> sole use of the intended recipient. If you are not the intended recipient, >> please be aware that any disclosure, copying, distribution or use of this >> e-mail or any attachment is prohibited. If you have received this e-mail >> in error, please contact the sender and delete all copies. >> Thank you for your cooperation. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [hidden email] >> For additional commands, e-mail: [hidden email] >> >> >> > > -- > View this message in context: http://www.nabble.com/JDK-install-fails-on-Windows-tp25662599p25676750.html > Sent from the Hudson users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
|
Yes, jdk.exe is still there, and seems to be working. Also it seems it was extracted ok, as the JDK files exist also in the directory. Log file is missing though. If I try to execute jdk.exe, a dialog box pops up asking if I want to reinstall jdk, as it has already been installed.
I deleted 6u15 and tried to install 6u16. Now the log file was created, containing: MSI (s) (3C:20) [11:53:15:528]: Product: Java(TM) SE Development Kit 6 Update 16 -- Error 1311.Source file not found(cabinet): C:\Documents and Settings\torput\Application Data\Sun\Java\jdk1.6.0_16\ss160160.cab. Verify that the file exists and that you can access it. Error 1311.Source file not found(cabinet): C:\Documents and Settings\torput\Application Data\Sun\Java\jdk1.6.0_16\ss160160.cab. Verify that the file exists and that you can access it. Why isn't that directory pointing to .hudson? Is there a way to use existing JDK (ie installed separately) with Hudson?
|
|
On Wed, Sep 30, 2009 at 10:56, torput <[hidden email]> wrote:
> > Yes, jdk.exe is still there, and seems to be working. Also it seems it was > extracted ok, as the JDK files exist also in the directory. Log file is > missing though. If I try to execute jdk.exe, a dialog box pops up asking if > I want to reinstall jdk, as it has already been installed. Ok, the jdk.exe is the installation file that is downloaded from java.com, so it should be removed when the installation is completed. Could you perhaps add an issue to the issue tracker about this problem, where it did try to remove the jdk.exe but apparently was still in use? > I deleted 6u15 and tried to install 6u16. Now the log file was created, > containing: > > MSI (s) (3C:20) [11:53:15:528]: Product: Java(TM) SE Development Kit 6 > Update 16 -- Error 1311.Source file not found(cabinet): C:\Documents and > Settings\torput\Application Data\Sun\Java\jdk1.6.0_16\ss160160.cab. Verify > that the file exists and that you can access it. > Error 1311.Source file not found(cabinet): C:\Documents and > Settings\torput\Application Data\Sun\Java\jdk1.6.0_16\ss160160.cab. Verify > that the file exists and that you can access it. > > Why isn't that directory pointing to .hudson? Im not sure, perhaps Kohsuke knows why. > Is there a way to use existing JDK (ie installed separately) with Hudson? If you do not specify any JDK in the Manage->System, then the jobs will use the one that is specified on the path. The auto installation feature is nice, when setting up slaves as it will automaticly install everything needed for jobs. But if you already have a JDK installed on the master and will not do any cross JDK compilation you do not really need to setup a JDK (as long as the JDK is in the path). If you have several JDKs specified in the Manage->Systems, you can choose which one to use in each job. In the job configuration you can also choose "default", which means that it will use any JDK that is specified in the path. Note, that Hudson will not show this job configuration option if you have none or one jdk configured. Regards //Erik > > > > Erik Ramfelt wrote: >> >> Is the "C:\Documents and Settings\torput\.hudson\tools\6u15\jdk.exe" >> file still there? To me it sounds like the JDK installation file, how >> big is the file? >> Did it install the JDK properly in that folder? >> Anything that looks wrong in the "C:\Documents and >> Settings\torput\.hudson\tools\6u15\jdk.exe.install.log" say? >> >> My guess is that the file couldnt be deleted because Windows was still >> using it, perhaps because the JDK had just finished and Hudson is a >> little eager.... >> >> //Erik >> >> On Wed, Sep 30, 2009 at 10:14, torput <[hidden email]> wrote: >>> >>> I don't think so, because my JAVA_HOME points to: >>> C:\Program Files\Java\JDK >>> >>> I tried to install both 1.6u15 and u16, but both failed same way. >>> >>> Furthermore, because Hudson installs JDK's in its own directory I don't >>> see >>> how I could start Hudson from there accidentally. >>> >>> >>> Hubbard, Bobby wrote: >>>> >>>> Is it possible that the jdk Hudson was started with is the same as the >>>> one >>>> it is trying to replace? Try using a specific jre path: >>>> >>>> C:/path_to_my_jre/bin/java -jar hudson.war >>>> >>>> >>>> -----Original Message----- >>>> From: torput [mailto:[hidden email]] >>>> Sent: Tuesday, September 29, 2009 7:59 AM >>>> To: [hidden email] >>>> Subject: JDK install fails on Windows >>>> >>>> >>>> I downloaded the latest version of Hudson (v1.326) and set up a simple >>>> project for testing my installation. However, the build fails because >>>> installation of JDK fails. I'm using Windows XP SP3. >>>> >>>> I also have v1.320 running on Linux, and haven't had any issues with JDK >>>> installation. >>>> >>>> Hudson was started with java -jar hudson.war. >>>> >>>> What could be wrong? >>>> >>>> Started by user anonymous >>>> Updating http://svn.apache.org/repos/asf/commons/proper/net/trunk >>>> At revision 819907 >>>> no change for http://svn.apache.org/repos/asf/commons/proper/net/trunk >>>> since >>>> the previous build >>>> Choosing the download bundle >>>> Downloading >>>> http://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/VerifyItem-Start/jdk-6u15-windows-i586.exe?BundledLineItemUUID=.tVIBe.lrXkAAAEk07YQnQXP&OrderID=cIJIBe.lWAwAAAEkxbYQnQXP&ProductID=2g5IBe.pHX8AAAEiJ10TvmcF&FileName=/jdk-6u15-windows-i586.exe >>>> Installing C:\Documents and Settings\torput\.hudson\tools\6u15\jdk.exe >>>> [6u15] $ "C:\Documents and Settings\torput\.hudson\tools\6u15\jdk.exe" >>>> /s >>>> '/v/qn REBOOT=Suppress INSTALLDIR=\"C:\Documents and >>>> Settings\torput\.hudson\tools\6u15\" /L \"C:\Documents and >>>> Settings\torput\.hudson\tools\6u15\jdk.exe.install.log\"' >>>> ERROR: Failed to parse POMs >>>> java.io.IOException: Unable to delete C:\Documents and >>>> Settings\torput\.hudson\tools\6u15\jdk.exe >>>> at hudson.Util.deleteFile(Util.java:252) >>>> at hudson.FilePath$14.invoke(FilePath.java:908) >>>> at hudson.FilePath$14.invoke(FilePath.java:906) >>>> at hudson.FilePath.act(FilePath.java:676) >>>> at hudson.FilePath.act(FilePath.java:660) >>>> at hudson.FilePath.delete(FilePath.java:906) >>>> at >>>> hudson.tools.JDKInstaller.performInstallation(JDKInstaller.java:124) >>>> at >>>> hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61) >>>> at >>>> hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:99) >>>> at >>>> hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:155) >>>> at hudson.model.JDK.forNode(JDK.java:121) >>>> at >>>> hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:558) >>>> at >>>> hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:128) >>>> at >>>> hudson.maven.MavenModuleSetBuild$RunnerImpl.doRun(MavenModuleSetBuild.java:383) >>>> at >>>> hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:354) >>>> at hudson.model.Run.run(Run.java:1120) >>>> at >>>> hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:303) >>>> at >>>> hudson.model.ResourceController.execute(ResourceController.java:88) >>>> at hudson.model.Executor.run(Executor.java:123) >>>> Finished: FAILURE >>>> >>>> >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/JDK-install-fails-on-Windows-tp25662599p25662599.html >>>> Sent from the Hudson users mailing list archive at Nabble.com. >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [hidden email] >>>> For additional commands, e-mail: [hidden email] >>>> >>>> >>>> -------------------------------------------------------------------------- >>>> This e-mail and any attachments may contain confidential material for >>>> the >>>> sole use of the intended recipient. If you are not the intended >>>> recipient, >>>> please be aware that any disclosure, copying, distribution or use of >>>> this >>>> e-mail or any attachment is prohibited. If you have received this e-mail >>>> in error, please contact the sender and delete all copies. >>>> Thank you for your cooperation. >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: [hidden email] >>>> For additional commands, e-mail: [hidden email] >>>> >>>> >>>> >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/JDK-install-fails-on-Windows-tp25662599p25676750.html >>> Sent from the Hudson users mailing list archive at Nabble.com. >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [hidden email] >>> For additional commands, e-mail: [hidden email] >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [hidden email] >> For additional commands, e-mail: [hidden email] >> >> >> > > -- > View this message in context: http://www.nabble.com/JDK-install-fails-on-Windows-tp25662599p25677298.html > Sent from the Hudson users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [hidden email] > For additional commands, e-mail: [hidden email] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email] |
| Powered by Nabble | Edit this page |
