Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Web Start Delay on Mac



Greg Guerin wrote:

Naden Franciscus wrote:

We are deploying a Java Web Start app to a very large number of Mac users
and are getting quite a few problems on a certain portion of them. What
happens is that when the JNLP file is downloaded and opened, it takes about
3 minutes before downloading the JAR files and opening the app. On other
machines, there is no such delay. We can't seem to figure it out


Does anyone know of any causes for causing a Web Start app to delay before
opening ?

I don't know of any cause specific to JNLP or JWS, so it could be anything.


I think you'll have to collect specific information about the machines
where the problem is occurring, and correlate the results looking for a
pattern. At the very least, I suggest getting Mac OS X version, Java
version, architecture (ppc or Intel), total RAM size, and network
connection info. It would also help to see the JNLP file's contents, and
to know the sizes of the jars being downloaded, but I assume you already
know those and can tell us without collecting any client data.


I'm unclear on exactly where the 3-minute delay occurs. Are you saying
that after the JNLP file has been received, yet before any jars begin to be
downloaded, there is a delay of 3 minutes? If so, can you find out what
the machine is doing during that time (see below)?

I'd think networking issues would be a prime suspect here. Back in the OS 9
days I'd see the whole Mac freeze for 2 minutes if the DNS address was bad
(it was waiting for a DNS request to timeout). You could try using curl from
a Terminal window to access each resource from the codebase on an affected
Mac, and see if that incurs the same delays. This fetches the headers:
curl -I 'http://MyServer/MyCodebase/MyJar.jar'


This will fetch the whole JAR (better pipe output somewhere):
    curl 'http://MyServer/MyCodebase/MyJar.jar' > /dev/null

WebStart will do something similar to get size and mod time data before it
downloads any resources. Are you using versioned download? If so, that may
change the way your server responds to WebStart's queries, and could cause
some delays. Versioned download uses different URLs to fetch resources.


     -DCZ

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.