1.4.2_01 and 1.4.1_01 jar cache doesn't seem to be working

I am having a hard time getting the .jar cache to work with the 1.4.2_01 and 1.4.1_01 plugins.
Here is my applet:
====================================================================
import java.applet.Applet;
import java.awt.*;
public class TestApplet extends Applet {
     public void init() {
setLayout(new BorderLayout());
          setForeground(Color.blue);
          setBackground(Color.white);
     Label label = new Label();
String resourcePath = "/" + this.getClass().getName().replace('.','/') + ".class";
String source =this.getClass().getResource(resourcePath).toString();
System.out.println(source);
label.setText(source);
          add(label,BorderLayout.CENTER);
====================================================================
You will need to compile this class and put it in a TestApplet.jar file in the same directory that the html file is in. Delete TestApplet.class just for good measure.
And here is the html that loads it up:
====================================================================
<HTML>
<BODY>
<APPLET CODE="TestApplet" NAME="TestApplet" WIDTH="750" HEIGHT="50" CODEBASE="." >
<PARAM NAME="cache_archive" VALUE="TestApplet.jar">
<PARAM NAME="cache_version" VALUE="1.1.1.2">
<PARAM NAME="cache_option" VALUE="Plugin">
</APPLET>
</BODY>
</HTML>
====================================================================
Now, I hope that I'm missing something really stupid here, but when I run this with the 1.3 plugin, the applet clearly states that the class file is loaded from the cached .jar file. For example, it prints out that the class file was loaded from:
jar:file:/C:/WINNT/Profiles/xxxx/java_plugin_AppletStore/1.3.1_09/jar/TestApplet.jar19890069901.1.1.22036068943678200358.jar!/TestApplet.class
But when I run this code with the 1.4.2_01 or 1.4.1_01 plugin I get this:
jar:http://localhost/TestApplet.jar!/TestApplet.class
and my access log files show this file getting loaded over and over and over again. Using the cached_archive_ex param doesn't help either.
This is a over simplified example of a problem that is forcing my huge applet to run at 1/3 to 1/4 the speed that it should because of class loader thrashing due to excessing jar file loading.
Have I missed something obvious?
Thanks
Andy

Hi,
i don't know but i encountered the same caching problems when plugin version 1.4.2_01 is used.
Facts:
-> jar Size: 1MB
-> Added Parameters:
<PARAM NAME="cache_archive" VALUE="xxxx">
<PARAM NAME="cache_version" VALUE="4.1.1.266">
<PARAM NAME="cache_option" VALUE="Plugin">
-> Cache is set to unlimited
No matter if jar-File is already stored in the cache the parameter "Cache-Control: no-cache" is set in the HTTP-Header.
I have not found anything preventing this yet.
Cheers
Thomas

Similar Messages

  • The image came up on my screen saying that I need to connect my iPod to iTunes, but I have a passcode, so it won't allow me to. And I want to try and turn it off, but my touch screen doesn't seem to be working either. HELP!

    The image came up on my screen saying that I need to connect my iPod to iTunes, but I have a passcode, so it won't allow me to. And I want to try and turn it off, but my touch screen doesn't seem to be working either, so I can't even turn it off since you need to "slide to power off." HELP! I'm leaving on Thursday morning for six and a half weeks, and I absolutely need my iPod with me. I was just at the Apple store today for problems I was having with ANOTHER product, and I don't really want to drive all the way out to where my nearest store is (which is not very near) if I can figure this out at home. My iPod was working totally fine earlier today and last night, so I don't know what happened! Please, please, PLEASE HELP!

    Now it's allowing me to reboot (hold down power button and home button and restart), but every time it just comes up to the same thing: the connect to iTunes page. Which is not possible. And I refuse to restore my iPod. PLEASE HELP.

  • TS1363 i have a new iphone 5 and although I had a little trouble downloading all my apps and music, i did this successfully but now when I connect to my itunes, itunes doesn't see it and also bluetooth doesn't seem to be working.Can  Anyone help

    I have a new iphone 5 and although I had a little trouble downloading all my apps and music, I did this successfully but now when I connect to my itunes, itunes doesn't see it and also bluetooth doesn't seem to be working.Can  Anyone help?

    Hey leafxxx,
    Thanks for the question, and welcome to Apple Support Communities.
    The following resource provides troubleshooting steps if your iPhone is not displayed in iTunes when connected:
    Apple - Support - iPhone - iTunes Troubleshooting Assistant
    http://www.apple.com/support/iphone/assistant/itunes/
    For more detailed instructions, see this article:
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    Enjoy your new iPhone 5!
    Matt M.

  • After copying a movie to the harddisk of my MacBook I wanted to also copy it to my iPad, but for this you first have to copy it to the library in iTunes, but this doesn't seem to be working. So how can I get this movie to the library ? And to the iPad ?

    After copying a movie to the harddisk of my MacBook I wanted to also copy it to my iPad, but for this you first have to copy it to the library in iTunes, but this doesn't seem to be working. So how can I get this movie to the library ? And to the iPad ?

    How is it not working?  And how are you doing it?  Drag the movie onto the iTunes icon on the Dock...  what happens?

  • We tried the window.ResizeTo and window.MoveTo methods using the javascript. It doesn't seem to be working in the version 9.0.1. Please suggest any alternative .

    Hi,
    We tried the window.ResizeTo and window.MoveTo methods using the javascript. It doesn't seem to be working in the version 9.0.1. Please suggest any alternative .
    Thanks,
    Avinash

    This is no longer allowed for security reasons (bug 565541).<br>
    See https://support.mozilla.org/nl/questions/880032<br>
    https://developer.mozilla.org/en/DOM/window.moveTo<br>

  • I recently bought a iPhone and iMessage just doesn't seem to be working. It won't let me send messages to my friends with emails. Help? Haha

    I Recentl. Bought an iPhone and iMessage just doesn't seem to be working. It won't let me send a message to my friends with emails? Or iPods I don't know

    Read these:
    Using iMessage
    http://support.apple.com/kb/HT3529
    Troubleshooting iMessage activation:
    http://support.apple.com/kb/TS4268

  • The iTunes "buy" button doesn't seem to be working. I click it and nothing happens. Anyone know why? Thanks.

    The iTunes "buy" button doesn't seem to be working. I click it and nothing happens. Anyone know why? Thanks.

    Apple made some sort of programming change on 12.26.12 to their iTunes system that suddenly made the Buy button non-functional specifically in the directly-out-of-the-box Snow Leopard (10.6.3). [I had Leopard, same as you, 10.5.8, and that was still working then. I installed Snow Leopard a couple of days ago to my MacBook, and discovered the Buy Button didn't work.
    First step: Pull down "Software Update" from the Apple menu (that annoying thing we always ignore.) If you're using Snow Leopard 10.6.3, it'll upgrade you for free to 10.6.8, and that should solve your iTunes problem. (I don't know if there are any upgrades for 10.5.8, but unlike the other ungodly system upgrades, Snow Leopard is only $20. Because Apple is growing increasingly stupid, you can't buy it online--you have to call customer care.)
    Hope this helps. Let me know if it does.

  • Dropped my iphone and now home button doesnt work and will not charge.lower third of it seems not to work.i assume it's had it.what will i lose off it?

    dropped my iphone and now home button doesnt work and will not charge.lower third of it seems not to work.i assume it's had it.what will i lose off it?

    rbrook0113 wrote:
    I know any device could malfucntion but if it costs $40,000 to buy you could at least warn someone of the possible malfuctions. It makes the company look bad when a large amount of your devices act up and you "cant help them" if they dont pay extra. Im just saying.
    Sorry but that makes no sense at all.  How can they possible know what things will possible malfunction on your device?  Anything that they think is highly likely to malfunction they would have addressed in desiging and manufacturing the device in the first place, during development.  They've made and sold many millions of iPhones, and many of them have lasted years without any problems (I know, I've owned such iPhones personally).  So how could they possible know if yours was any more likely to develop any issues than any of those other trouble free ones?
    It's hardware - stuff sometimes breaks randomly.  No amout of money ever guarantees or even reduces the likelyhood of random product failures.
    Take it in to Apple and see about getting it fixed.

  • I have an iPod touch and it doesn't seem to be working right it is rather slow I get booted from sites I have deleted history cache cookies still have 22.1 available space what can I do to solve the problem do I need an antivirus

    I have an iPod touch that does not seem to be working properly I have deleted history cache cookies I gave 22.1 available I get booted off sites for no reason do I need an antivirus if so where can I find a good free one

    There are no antivirus apps for any iDevice
    - Try the standard fixes:
    - Reset. nothing is lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup
    - Restore to factory defaults/new iPod.

  • Soft and hard reset for time machine doesn't seem to work does anyone have suggestions?

    I have tried to use a soft reset according to the language on the apple site by using a pin to push the button for a second even up to a minute but it doesn't seem to work.   Does anyone have any suggestions for either a hard or soft reset?  I did get a new  router Netgear wireless extreme thus I'm only using the time capsule portion instead of the wireless router. 

    Tell us what happens when you press in the reset.. you should feel the switch click.. but don't press too hard or you will break the plastic lever arm.
    Connect the TC directly to the Mac by ethernet and open airport utility.
    Can it find the TC.. if so you can do a factory reset from the utility instead. If it cannot find it.. try again with the reset.. you need to hold in reset for about 10-15 sec. The front led will begin to flash rapidly. Release it at that point.

  • My new iPad 3 doesn't seem to charge well. If it's plugged in and I'm using it, it doesn't seem to charge. It only charges well when it's plugged in and turned off.

    My iPad 3 bettery life is very poor, and it doesn't chrage when it's plugged in and I'm using it, only when it's plugged in and turned off. I'm beginning to be sorry I bought this iPad and that I should have stuck with the iPad 2.

    The quickest way (and really the only way) to charge your iPad is with the included 10W USB Power Adapter. iPad will also charge, although more slowly, when attached to a computer with a high-power USB port (many recent Mac computers) or with an iPhone Power Adapter (5W). When attached to a computer via a standard USB port (most PCs or older Mac computers) iPad will charge very slowly (but iPad indicates not charging). Make sure your computer is on while charging iPad via USB. If iPad is connected to a computer that’s turned off or is in sleep or standby mode, the iPad battery will continue to drain.
    Apple recommends that once a month you let the iPad fully discharge & then recharge to 100%.
    At this link http://www.tomshardware.com/reviews/galaxy-tab-android-tablet,3014-11.html , tests show that the iPad 2 battery (25 watt-hours) will charge to 90% in 3 hours 1 minute. It will charge to 100% in 4 hours 2 minutes. The new iPad has a larger capacity battery (42 watt-hours), so using the 10W charger will obviously take longer. If you are using your iPad while charging, it will take even longer. It's best to turn your new iPad OFF and charge over night. Also look at The iPad's charging challenge explained http://www.macworld.com/article/1150356/ipadcharging.html
    Also, if you have a 3rd generation iPad, look at
    Apple: iPad Battery Nothing to Get Charged Up About
    http://allthingsd.com/20120327/apple-ipad-battery-nothing-to-get-charged-up-abou t/
    Apple Explains New iPad's Continued Charging Beyond 100% Battery Level
    http://www.macrumors.com/2012/03/27/apple-explains-new-ipads-continued-charging- beyond-100-battery-level/
    New iPad Takes Much Longer to Charge Than iPad 2
    http://www.iphonehacks.com/2012/03/new-ipad-takes-much-longer-to-charge-than-ipa d-2.html
     Cheers, Tom

  • I've just got the new iPad mini and I set it up and few days ago. I've just tried to connect it to my laptop but it doesn't seem to be working, what can I do?:)

    I really don't know what to do, haha.

    Hello Badger1
    Try the steps in the article below to restore your iPhone and then try the restore again.
    iOS: Unable to update or restore
    http://support.apple.com/kb/HT1808
    Regards,
    -Norm G.

  • I was prompted to submit a crash report, but the link didn't work and I keep being asked to reload the page, which doesn't seem to be working, either

    I think the sentence above summarizes things quite well. I don't know how to go back to recreate the situation, which I'm SURE is going to keep right on occurring, and then get right back here to let you know the EXACT details. I don't know if something serious has occurred that demands immediate attention, or what. Please and thank-you in advance for any assistance y'allcan provide me with.

    If the phone was jailbroken, there is nothing we can do for you. It may be permanently bricked due to damage done by the jailbreak.
    You can try putting it in DFU mode and restoring. If that doesn't fix it, then it's most likely scrap now.
    http://www.iclarified.com/entry/index.php?enid=1034

  • I have v1.2 on my nexus 4, and the update function doesn't seem to be working. What is the app.update.url I should point my phone to?

    I select 'check for updates' and it will not display anything other than 'checking for updates...' below the button. I do not see any internet traffic in the status bar as it does this. Also, I have left it to 'check for updates' all night, to no avail. Any definitive answers would be great. 'https://update.boot2gecko.org/beta/update.xml' doesn't work and neither does 'https://aus3.mozilla.org/update/3/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/update.xml'
    I have searched extensively to find where the update channels are located and those, and variants like them, proffer no changes in my situation.
    I am starting to wonder if it is the program responsible for checking for updates, or if it is the build for nexus-4 that is having the issue.
    Another question that would help in my search to resolve this issue is, does anyone know what program is responsible for checking for these updates?
    All help is appreciated, and thank you in advance.

    I have since changed my build to master, but this time without using mozilla-central as my gecko path. I have had no issues so far with the stability of the master branch, as I did in the past with mozilla-central as the gecko path.
    After having done this, and restoring my /data/local and /data/b2g directories, I am now recieving updates. At least, it updated my marketplace after booting for the first time. Also, I am no longer getting the check now stuck at 'checking for updates...'.
    So, I am going to call this solved with changing to master, without using my .userconfig. Further, using Michelle's input, I will periodically git pull, repo update, and reconfigure, build, and flash the master branch.
    Thank you all for the help.

  • I'm trying to upload videos from my Sony HDR-CX550 camera and the files that contain the video (.cpi or .mts) are all grayed out on iMovie. I've been able to upload footage before onto Apple computers but now it doesn't seem to be working. Suggestions?

    I've tried many different options including calling Apple Customer Support and talking to them for over an hour troubleshooting the issue. They couldn't do anything. I also called Sony who failed as well. Somebody please help me out. Thanks!

    Hello whatif95,
    Sorry to hear that you are having trouble importing video from your Sony HDR-CX550.  I found an article that provides some information specific to your camera and iMovie '09:
    iMovie: Importing both HD and SD content with Sony HDR series cameras
    http://support.apple.com/kb/HT1793
    For versions previous to iMovie ’11 v9.0.1, including iMovie ’08, ’09, and ’11 (v9.0 only):
    To import the AVCHD content from the camera when MPEG-2 content has also been recorded, you must first import and erase the MPEG-2 content from the camera. You should then be able to import the AVCHD content.
    I hope this helps!
    Best,
    Sheila M.

Maybe you are looking for

  • Javascript con forms. NotAllowedError.

    Buenas, tengo hecho un formulario que va creando dinamicamente unos txtbox con un botón. El tema es que quiero insertar este pdf, dentro de otro pdf. Cunado lo hago, no me funciona la funcionalidad de generar dinamicamente los txtbox... me dá el erro

  • EVENTS IN ALV OOPS

    HI GUYS,        CAN ANYONE PLS HELP ME OUT HANDLING EVENTS IN ALV(OOPS)....iS THERE ANY CLASS TO BE DEFINED ?????? PLS HELP IF ANYONE HAS THE CODE FOR THAT...........

  • Populate enddate after change in user status in OIM 11g ?

    Hello experts, We have a requirement whenever a user is getting 'Disabled' end-date needs to be set to the current system date and When the user is enabled end-date need to be reset to some predefined date We are planning to go with custom adapter fo

  • My iBook will fail to mount when I try to download .dmg?

    I bought an iBook G4 used that arrived yesterday, and the first thing that went wrong was Safari kept closing when I went to Google and Youtube. I figured it was an old browser, so when I tried to download a version of Firefox that worked with my sys

  • Adding photos to MobileMe galleries

    If I create a MobileMe gallery from one of my albums, will the MM published gallery update whenever I add photos to the original album? Or do I add photos to the MM gallery directly?