-
Notifications
You must be signed in to change notification settings - Fork 165
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
WOInstaller crash #911
Comments
Hm. What kids of system and OS are you trying this on? I created a new AWS instance (Ubuntu Server 18.04 LTS) and ran it and got a different error.
|
It was on Ubuntu 16.04. I couldn't run WOInstaller downloaded from https://jenkins.wocommunity.org/job/WOInstaller/lastSuccessfulBuild/artifact/Utilities/WOInstall/WOInstaller.jar. Then I downloaded it from https://jenkins.wocommunity.org/job/WOInstaller/lastStableBuild/artifact/Utilities/WOInstall/WOInstaller.jar, and installation was almost completed. Only at the end of installation I got an error that installer couldn't delete some empty folder. |
Hm. And I downloaded the WOInstaller.jar on my Mac and ran it and it finished with no errors. Perhaps something got fixed? Some magic happened? @andreipokotskiy What are you seeing? |
For what it's worth, I can reproduce the This is going to need someone that cares about WOInstaller to adopt it. |
The installer fails for me too, but the following step taken from https://wiki.wocommunity.org/display/WEB/Project+Wonder+Installation did the trick:
|
@timoteoponce 's solution fixes the first problem. The second problem only occurs on Linux and Windows. I have fixed it with #997 |
I ran into this same issue and had to build the WOInstaller.jar utility myself to get @timcu's fix:
|
wget https://jenkins.wocommunity.org/job/WOInstaller/lastSuccessfulBuild/artifact/Utilities/WOInstall/WOInstaller.jar
java -jar WOInstaller.jar 5.4.3 /opt
WebObjects License Agreement extract:
Subject to the terms and conditions of this License, you may incorporate the
WebObjects Software included in the Developer Software into application
programs (both client and server) that you develop on an Apple-branded
computer. You may also reproduce and distribute the WebObjects Software
unmodified, in binary form only, on any platform but solely as incorporated
into such application programs and only for use by end-users under terms that
are at least as restrictive of those set forth in this License (including,
without limitation, Sections 2, 6 and 7 of this License).
For avoidance of doubt, you may not distribute the WebObjects Software on a
stand-alone basis, and you may not develop application programs using the
WebObjects Software (or any portion thereof) on any non-Apple branded
computer.
Exception in thread "main" java.io.IOException: Expected magic '070707' but got '���' (next = ���������������������������������).
at er.woinstaller.archiver.CPIO.extractTo(Unknown Source)
at er.woinstaller.WebObjectsInstaller.installToFolder(Unknown Source)
at er.woinstaller.Main.main(Unknown Source)
And for lastStableBuild
java -jar WOInstaller.jar 5.4.3 /opt
WebObjects License Agreement extract:
Subject to the terms and conditions of this License, you may incorporate the
WebObjects Software included in the Developer Software into application
programs (both client and server) that you develop on an Apple-branded
computer. You may also reproduce and distribute the WebObjects Software
unmodified, in binary form only, on any platform but solely as incorporated
into such application programs and only for use by end-users under terms that
are at least as restrictive of those set forth in this License (including,
without limitation, Sections 2, 6 and 7 of this License).
For avoidance of doubt, you may not distribute the WebObjects Software on a
stand-alone basis, and you may not develop application programs using the
WebObjects Software (or any portion thereof) on any non-Apple branded
computer.
Extracting WebObjects ...: Done
Exception in thread "main" java.io.IOException: Failed to delete '/opt.
at er.woinstaller.WebObjectsInstallation.renameFolders(Unknown Source)
at er.woinstaller.WebObjectsInstallation.(Unknown Source)
at er.woinstaller.WebObjectsInstaller.installToFolder(Unknown Source)
at er.woinstaller.Main.main(Unknown Source)
The text was updated successfully, but these errors were encountered: