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: trouble with Java in Safari



I got a little more time to look at the problem. I tried with a different applet that
I wrote myself a long time ago: http://bblfish.net/java/fractalLab/FractalLab.html


This time I saw that the files are correctly being downloaded from the web server and being placed in

/Users/hjs/Library/Caches/Java Applets/cache/javapi/v1.0/file/

But I still get the following error in the Java Console

java.lang.UnsatisfiedLinkError: notifyLoaded
at sun.plugin.viewer.WebKitPluginObject.notifyLoaded(Native Method)
at sun.plugin.viewer.WebKitPluginObject.appletStateChanged(WebKitPluginObje ct.java:718)
at sun.applet.AppletEventMulticaster.appletStateChanged(AppletEventMulticas ter.java:32)
at sun.applet.AppletPanel.dispatchAppletEvent(AppletPanel.java:238)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:582)
at sun.applet.AppletPanel.run(AppletPanel.java:298)
at java.lang.Thread.run(Thread.java:552)


I tried with and without cache enabled for java applets, but it has exactly the
same effect.


I suppose the only thing I can do is re-install the OS.

((Perhaps this has something to do with me downloading at some point a Safari plugin
improvement that I found on the dev site some time ago...)) Anyway, it looks like nobody
else has this problem.


Henry


On 24 Mar 2005, at 21:55, Greg Guerin wrote:
Henry Story <email@hidden> wrote:

Looking at the output of tcp dump, it looks like the calls from safari
for the
java classes makes requests for the class but with the an
If-Modified-Since header
and so don't receive the class in return

That sounds like Safari believes the resource is in its cache. If a
browser doesn't have some kind of cached resource or local copy already,
then If-Modified-Since is senseless.



If-Modified-Since: Fri, 12 Dec 2003 22:05:07 GMT

That's a pretty old date for the cached resource. It might be a clue.

It would likely be the mod-date on the locally cached file, i.e. when the
resource was last delivered to the client and stored in local cache.


Try sending some new resources from the server to the client, letting
Safari cache them, and then find out exactly where it cached them.  The
cache you think Safari is using might not be what it's really using, so
your earlier "clear Safari cache" may not have had the intended effect.

-- GG

_______________________________________________ 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
References: 
 >Re: trouble with Java in Safari (From: Greg Guerin <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.