Just looked at the headers the app sends: HTTP/1.1 200 OK X-TraceUrl: /appstats/details?time=1369478620521&type=json Cache-Control: no-cache, no-store, max-age=0, must-revalidate Pragma: no-cache Expires: Fri, 01 Jan 1990 00:00:00 GMT content-disposition: attachment; filename="BlocksEditor.jar" Content-Type: text/plain; charset=utf-8 Content-Length: 1475708 Server: Development/1.0 Date: Sat, 25 May 2013 10:43:40 GMT
and the content type is clearly wrong. So maybe it's a problem with AppInventor after all. - Mathias On Saturday, 25 May 2013 12:42:13 UTC+2, Mathias Kegelmann wrote: > > I ran some more experiments to narrow down the problem: > > - I made a tiny test webstart project with a self signed JAR and that > works fine with 1.7u21. > - If I start the program from saved files - JNLP file on the local disk, > JAR on the disk and the JNLP adapted so it uses the local JAR - everything > also works fine. > - JNLP on disk and JAR from the server does NOT work. > - JNLP on disk and JAR served by another server (I used "python -m > SimpleHTTPServer) it DOES work. > > So, as far as I can tell, webstart checks for some meta information In the > HTTP response to decide if it saves the file. > > It also looks more and more like a bug in 1.7u21: The error message is not > helpful, since the problem seems to occur earlier when javaws decides not > to store the JAR in the cache. > > - Mathias > > On Thursday, 23 May 2013 15:01:51 UTC+2, Mathias Kegelmann wrote: >> >> I'm not sure this helps, but here's what I observed: >> >> - Looking at the stacktrace and >> com.sun.javaws.security.JNLPSignedResourcesHelper, >> com.sun.deploy.cache.ResourceProviderImpl.getCachedResourceFilePath >> and com.sun.deploy.cache.Cache.getCachedResourceFilePath I think that >> javaws is looking for the cached BlocksEditor.jar >> - When I run the JRE 6 javaws I get an entry in the cache containing the >> JAR file >> - Using the JRE 7 javaws there is no such file >> - Adding <offline-allowed/> to the JNLP file has no effect. (Just tried >> to be sure.). >> >> The only other detail I noticed is that "jarsigner -verify" and also the >> ant task signing the JAR report the following warning: "This jar contains >> entries whose signer certificate will expire within six months.". >> >> I wonder if that might trigger the behavior. >> >> - Mathias >> >> >> On Monday, 29 April 2013 12:37:36 UTC+2, Gary Frederick wrote: >>> >>> Many of us are unable to get our apps to run with the dev_appserver when >>> we update to Java 1.7.0_21. It works again if we go back to 1.7.0_17 or >>> Java 6. >>> >>> The error >>> >>> java.io.IOException: Cannot find cached resource for URL: >>> http://localhost:8888/ode2/webstartfile/v132-16-g0025b7e_d824h4eddfpc0kipeldr4iva1k9hgrc4x1ozk7q86g0hjtqzv82hheizrfaervtvr05omhmta51gkm9qasqckx8vr61zt1nzb2e52wp365oj0q69kjkdikxo0e8nc7b80takai1o3n/BlocksEditor.jar >>> at com.sun.deploy.cache.Cache.getCachedResourceFilePath(Unknown >>> Source) >>> at >>> com.sun.deploy.cache.ResourceProviderImpl.getCachedResourceFilePath(Unknown >>> Source) >>> at >>> com.sun.javaws.security.JNLPSignedResourcesHelper.getSignedJNLPBits(Unknown >>> Source) >>> at >>> com.sun.javaws.security.JNLPSignedResourcesHelper.getSignedJNLPFile(Unknown >>> Source) >>> at >>> com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedLaunchDescHelper(Unknown >>> >>> Source) >>> at >>> com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedLaunchDesc(Unknown >>> >>> Source) >>> at >>> com.sun.javaws.security.JNLPSignedResourcesHelper.checkSignedLaunchDesc(Unknown >>> >>> Source) >>> at com.sun.javaws.Launcher.prepareResources(Unknown Source) >>> at com.sun.javaws.Launcher.prepareAllResources(Unknown Source) >>> at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source) >>> at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source) >>> at com.sun.javaws.Launcher.launch(Unknown Source) >>> at com.sun.javaws.Main.launchApp(Unknown Source) >>> at com.sun.javaws.Main.continueInSecureThread(Unknown Source) >>> at com.sun.javaws.Main.access$000(Unknown Source) >>> at com.sun.javaws.Main$1.run(Unknown Source) >>> at java.lang.Thread.run(Unknown Source) >>> >>> any ideas what to do to get it to work? >>> >>> Gary >>> >> -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
