JDK-6479097 : Java Plugin tries to talk to network even when applet is cached
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2006-10-06
  • Updated: 2011-02-16
  • Resolved: 2006-10-06
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
build 1.6.0-rc-b100

ADDITIONAL OS VERSION INFORMATION :
Windows XP

A DESCRIPTION OF THE PROBLEM :
Bug 4978699 is marked as fixed in Java SE 6, build 32

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4978699

However, I still get this problem when I run with rc b100 in Firefox.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
I run an applet, disconnect from network, it shows up in the applet cache, but when I try to run offline I get the following an IOException saying "host unknown."  It would be very nice indeed if the plugin could just use the cached applet jar files if the network is down.

This is important as it enables a very simple way to run an applet offline in disconnected mode.  Using Java Web Start is not a viable workaround because the applet I am running is "headless" - it provides a non-visual API to JavaScript code.


EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Applet runs once it's cached even when offline
ACTUAL -
Get IOException

REPRODUCIBILITY :
This bug can be reproduced always.