• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WOInstaller.jar crashes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOInstaller.jar crashes


  • Subject: Re: WOInstaller.jar crashes
  • From: Markus Ruggiero <email@hidden>
  • Date: Mon, 02 Mar 2015 14:21:53 +0100

Thanks, that'd be great

---markus---

On 02.03.2015, at 13:45, Bogdan Zlatanov <email@hidden> wrote:

Hi Markus,

Never used the WOInstaller, but I built it from Wonder-6.1.1 source on my machine, ran it and it deployed WO 5.4.3 without any issues.

Judging by the error that you get I'd say the DMG got messed up during download. Could be network issues, bad memory...

I can send you the WOInstaller.jar that I built in a separate e-mail if you think that might be of any help.

Regards, Bogdan


On 02/03/2015 11:12, Markus Ruggiero wrote:
Anyone there who can help me? I am currently under extrem pressure timewise and do not have any time to debug this. But I do need a functioning installer by Thursday. I did try to compile the installer source from the Wonder source distribution. It does work, it does download something, but then it crashes with a GZIP exception (and I have never seen the installer issue that license text. So there must be difference between what is in Wonder Source and what can be downloaded from http://wocommunity.org/tools/WOInstaller.jar)

ruggiero@gugus_$ pwd
/Developer/SourceDistributions/WonderSource/Utilities/WOInstall
ruggiero@gugus_$ ant
Buildfile: /Developer/SourceDistributions/WonderSource/Utilities/WOInstall/build.xml

init:
      [jar] Building jar: /Developer/SourceDistributions/WonderSource/Utilities/WOInstall/WOInstaller.jar

build-project:
     [echo] WOInstall: /Developer/SourceDistributions/WonderSource/Utilities/WOInstall/build.xml
    [javac] /Developer/SourceDistributions/WonderSource/Utilities/WOInstall/build.xml:30: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

build:

BUILD SUCCESSFUL
Total time: 0 seconds
ruggiero@gugus_$ java ls -l WOInstaller.jar
-rw-r--r--  1 ruggiero  staff    58K  2 Mär 11:04:46 2015 WOInstaller.jar
ruggiero@gugus_$ java -jar WOInstaller.jar 5.4.3 /tmp
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.util.zip.ZipException: Not in GZIP format
at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:164)
at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:78)
at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:90)
at er.woinstaller.WebObjectsInstaller.getInputStream(WebObjectsInstaller.java:133)
at er.woinstaller.WebObjectsInstaller.installToFolder(WebObjectsInstaller.java:105)
at er.woinstaller.Main.main(Main.java:14)
ruggiero@gugus_$ 



On 28.02.2015, at 18:19, Markus Ruggiero <email@hidden> wrote:

It gets worse... 

The same installer worked mid December. That's when I started a new class and had the students install the development environment. 
Today I started with a new group of students (20 people start to learn WO!!!!) and all of a sudden the installer crashed everywhere. It crashed on Windows and it crashed on OSX, it crashed independently of the Java version. It did not crash however when downloading WO 5.3.3!!! I had to improvise and fortunately time was running out, so I could postpone installation to next week. But you can imagine I was starting to fret in front of a class. "Hey folks, look how great our tools are...."

Anyway checking my copy of WonderSource I found the following:

In WonderSource/Utilities/WOInstall/Sources/er/woinstaller/WebObjectsInstaller.javaWebObjectsInstaller.java there is that line

WO543_URI = new URI("http://supportdownload.apple.com/download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/Mac_OS_X/downloads/061-4634.20080915.3ijd0/WebObjects543.dmg");

copy/paste the link into Safari and it happily downloads WebObjects543.dmg

So the build on wocommunity.org must somehow have changed or the wonder source has been adapted to the new download location but the installer was not updated or whatever. 

Installation is a mess anyway. I do have ideas how this can be solved and will try to discuss things at WOWODC.

BTW how would I build the installer from the source? ant -projecthelp does not give a clue. Well, building target deployment.tools was the obvious one but it did not build the installer.

---markus---

On 28.02.2015, at 16:46, Theodore Petrosky <email@hidden> wrote:

I googled "download webobjects 5.4.3” and found a link to download 5.4.3. clicking the link brings up a blank page and no download. 

https://support.apple.com/Mac_OS_X/061-4634.20080915.3ijd0/WebObjects543.dmg

I think the link in the WOInstaller which is:

http://download.info.apple.com/Mac_OS_X/061-4634.20080915.3ijd0/WebObjects543.dmg

just doesn’t work.

Are they trying to tell us something?



On Feb 28, 2015, at 10:03 AM, Markus Ruggiero <email@hidden> wrote:

Anyone has an idea? Happens on Mac and on Windows. 5.3.3 works, 5.4.3 doe not. Did Apple move the Installer dmg? When I look into the Wondersource, the source for woinstaller is there.  Copy /paste of the download url into Safari does download the 5.4.3 version?????

ruggiero@gugus_$ cd /tmp
ruggiero@gugus_$ curl -O http://wocommunity.org/tools/WOInstaller.jar
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  175k  100  175k    0     0   187k      0 --:--:-- --:--:-- --:--:--  187k
ruggiero@gugus_$ java -jar WOInstaller.jar 5.4.3 /tmp
Downloading WebObjects: Done
Exception in thread "main" java.util.NoSuchElementException
at java.util.LinkedList.getFirst(LinkedList.java:242)
at java.util.LinkedList.element(LinkedList.java:661)
at com.mdimension.woinstaller.MultiBlockInputStream.getNextDelegate(MultiBlockInputStream.java:65)
at com.mdimension.woinstaller.MultiBlockInputStream.read(MultiBlockInputStream.java:44)
at com.mdimension.archiver.XarFile.readFully(XarFile.java:323)
at com.mdimension.archiver.XarFile.readUint32(XarFile.java:340)
at com.mdimension.archiver.XarFile.access$0(XarFile.java:339)
at com.mdimension.archiver.XarFile$XarHeader.<init>(XarFile.java:58)
at com.mdimension.archiver.XarFile.setInputStream(XarFile.java:218)
at com.mdimension.archiver.XarFile.<init>(XarFile.java:213)
at com.mdimension.woinstaller.Main.main(Main.java:110)


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: WOInstaller.jar crashes (From: Markus Ruggiero <email@hidden>)
 >Re: WOInstaller.jar crashes (From: Bogdan Zlatanov <email@hidden>)

  • Prev by Date: Re: WOInstaller.jar crashes
  • Next by Date: order of INSERTs
  • Previous by thread: Re: WOInstaller.jar crashes
  • Next by thread: The JDBC driver does not show columns of some tables
  • Index(es):
    • Date
    • Thread