This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Applets and the fly likes sun. plugin. cache. DownloadException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "sun. plugin. cache. DownloadException" Watch "sun. plugin. cache. DownloadException" New topic
Author

sun. plugin. cache. DownloadException

Rakesh Ray
Ranch Hand

Joined: Jul 25, 2001
Posts: 51
Hi, I have an applet that uses OBJECT tag and I do have sun java plug in installed on MY PC ( ver 1.4.2_07) and I am seeing this message in my java console while opening applet. More specific, while trying to cache jar files...
Amazingly this only happens with https URL. If I use http I do not see these message..



sun.plugin.cache.DownloadException

at sun.plugin.cache.CachedFileLoader.load(Unknown Source)

at sun.plugin.cache.FileCache.get(Unknown Source)

at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connectWithCache(Unknown Source)

at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown Source)

at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)

at java.net.HttpURLConnection.getResponseCode(Unknown Source)

at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)

at sun.applet.AppletClassLoader.getBytes(Unknown Source)

at sun.applet.AppletClassLoader.access$100(Unknown Source)

at sun.applet.AppletClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at sun.applet.AppletClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClassInternal(Unknown Source)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Unknown Source)

at com.f1j.View.<clinit>([DashoPro-V2.1-070100])

at com.dcx.international.ipf.frcst.worksheet.applet.FViewManager.<init>(FViewManager.java:28)

at com.dcx.international.ipf.frcst.worksheet.applet.FViewLayout2.<init>(FViewLayout2.java:20)

at com.dcx.international.ipf.frcst.worksheet.applet.WkshtImpl.init(WkshtImpl.java:122)

at com.dcx.international.ipf.frcst.worksheet.applet.WkshtApplet.init(WkshtApplet.java:43)

at sun.applet.AppletPanel.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)
Rakesh Ray
Ranch Hand

Joined: Jul 25, 2001
Posts: 51
Any expert advise?
Norm Radder
Ranch Hand

Joined: Aug 10, 2005
Posts: 685
What is the difference at the server when it receives an HTTPS vs an HTTP request? What is returned to the browser for each case?
Are there differences in the request and response headers? The data returned?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: sun. plugin. cache. DownloadException
 
Similar Threads
Applet not getting initialized
java.util.zip.ZipException: invalid entry crc-32
Unable to run Applet from browser.
Problem loading applet from servlet - load: xxx.class not found
Applet only works with one Java version