Large Jars -Slow loading of Applets

I have a large jar file as a result of which My Applet takes a long time to load in the browser .Any suggestions to rectify this problem .
GUI is primarily Swing and Browser- Netscape

Use more than one jar. Then when one changes it takes less time to download.
Or just ignore the problem. You are more likely to see this problem in developement (or testing) than in production. In production they only need to download it once.

Similar Messages

  • Large file slow loading

    For a large project that takes a long time to load from the
    Internet, is there a way to configure or set things up so that the
    movie starts playing while the balance is loaded?

    Thanks Rick,
    The connectpreloader, didn't do anything different, but when
    I tried the 'defualtpreloader' it did what I wanted, it started the
    movie at 60% loaded... Cool.
    My first checking on this problem was to look in your Tips
    book that I bought a couple of weeks ago, since you do cover so
    much that isn't in the documentation... next time you update it,
    you should add this, as I'm sure that many people are frustrated by
    how long it takes their movies to load and this mitigates that
    concern. BTW, your Tips book is great and well worth the money.
    Who do I email at Adobe, if you know who would be
    appropriate, to try and get them to have someone like you write
    their documentation for Captivate. I've been in the Software
    Publishing business for about 30 years and I've never run across
    such pitiful documentation as Captivates. MOST of the features and
    options in the program aren't even referenced. As an example, this
    preloader capability isn't discussed anywhere.
    They are lucky that you monitor this forum and provide such
    GREAT help for people.
    Cary

  • ITunes 7 & large library - slow loading

    After upgrading to iTunes 7 it takes for ever to launch iTunes and now I get a progress bar that says loading iTunes Library that I didn't get under iTunes 6, I have about 30,000 songs in my library so I imagine it is only a issue with large libraries doe any one else have this issue?...

    I also have a rather large library. iTunes 7 definitely takes longer to load. In addition I am now having a problem opening my music folder in my home directory using the Finder to view the files in the folder. If I right-click on the folder I get the spinning beachball for approximately 1 minute (on a dual 2GHz Power Mac G5 w/ 2GB of RAM). When I am finally able to select "Get Info" I get the spinning beachball again for quite a while (at least several minutes!) When the Finder finally reports back it says there is NOTHING in the folder! Aside from my iTunes library I have numerous other tracks in my Music folder that have not been added to my iTunes library. Since iTunes 7 can "see" my iTunes library and play the tracks in there in there I'll assume that my other tracks are still there. The permissions appear to be ok for the folder. I can't believe that Apple has rushed out such a flawed "upgrade" to iTunes! The new features are desirable but it seems that there are way too many glitches with iTunes 7.
    Dual 2GHz Power Mac G5   Mac OS X (10.4.7)   2GB DDR RAM

  • Loading External JAR librarys in an applet

    HI all,
    I have an application that I would like to add an excell extention to. The extension is in the form of a JAR file, and I only want my applet to load this jar file when a menu item has ben clicked. I do not want the jar file to be loaded together with the rest of the application, because it is large, and unessisary for normal applet operation. Anyone have an idea how to do this?
    Thanks in advance.
    -percious

    I don't think this is exactly what I am looking for.
    I want something that only downloads the .jar file if
    the user chooses an option in a menu. That way
    normal users will not have to download unessesary
    items. I believe indexing will select appropriate
    classes from a jar file the first time the applet is
    initialized.
    -perciousOn the contrary, I believe it is what you want. This is from the first google hit on "jar indexing":
    JAR indexing
    If an application or applet is bundled into multiple JAR files, the class loader uses a simple linear search algorithm to search each element of the class path, which may entail the class loader downloading and opening many JAR files until the class or resource is found. If the class loader tries to find a nonexistent resource, all the JAR files within the application or applet will have to be downloaded. For large network applications and applets this could result in slow start up, sluggish response, and wasted network bandwidth.
    [Since JDK 1.3, the JAR file format has supported indexing to optimize the process of searching for classes in network applications, especially applets. The JarIndex mechanism collects the contents of all the JAR files defined in an applet or application and stores the information in an index file in the first JAR file. [b]After the first JAR file is downloaded, the applet class loader will use the collected content information for efficient downloading of JAR files. This directory information is stored in a simple text file named INDEX.LIST in the META-INF directory of the root JAR file.
    http://www-106.ibm.com/developerworks/library/j-jar/

  • Applet freezes while Jar is loading

    Hi everyone,
    I have a fundamental question concerning the loading mechanism of an applets resources.
    The problem is as follows:
    I have two jars, the first containing all *.class files, the second (size: 10MB) containing only graphics and sounds.
    I start the applet with this code:
    <APPLET ARCHIVE="init.jar,resources.jar" HEIGHT="100" [...]>Of course the point is to have the small init.jar loaded fast an display a loading animation while the big file is beeing loaded in the background. Up to here everything works as expected. When i start the applet, the init.jar is loaded and displays a loading animation as long as i try to get a resource from the resource.jar.
    When I do that, my applet freezes while the big resource.jar file is beeing downloaded.
    This is how i access the resource in the resource.jar
    public void run() {
         while(/*some condition*/) {
              // this is the line which blocks until whole jar is downloaded
              java.io.InputStream input = this.getClass().getClassLoader().getResourceAsStream(/*resource String*/);
              // use input to load resource
    }The freeze happens only upon the first time the while-loop runs, after that the resource.jar is chached and access is almost instant.
    Now the concrete problem is, that the applet freezed in all its threads while the jar is beeing downloaded. I NEED to display an idle animation while this is done.
    Has anyone any suggestion how i can avoid the complete freeze?
    I have already concidered to load the resources without specifing the jar in the HTML-ARCHIVE-Tag, this works becouse of the codebase i can load the ressources from, but the problem is, that these resources have a large overhead from the server to the client until i can use them in the program.
    Also it is no option to load them all on startup in another backgound thread (which would slove the freeze problem, i tried it), becouse i have to dynamically load and unload these resources to avoid OutOfMemory-Errors. Reloading them brings the overhead-Problem up again.
    Only when i specify the 2nd jar in the ARCHIEVE-Tag i have direct access to the browsers chache without wasting memory when holding references to all resources.
    After all every loading and stuff works, there are no errors in the programm only this strange behaviour. I Also tried it with different VMs, on different OS, and different Browser, all the same.
    I would be glad if someone could give me a hint on this, i've been searching for days now, even tried to analyse the Classoader sources but ended up in sun's native calls...
    Thank you in advance
    - Loddi

    I've been encountering the same problem and I think I've figured out the reason behind it and how to solve it.
    It appears that the class loader can only ever load one resource at a time. Once you've forced it to start downloading resources.jar, it can't load any classes until that download has finished, not even classes that are part of the Java API. In your case I believe the solution would be to display one loop of your idle animation before you start loading resources.jar, to make sure that everything the idle animation needs has already been loaded by the class loader.

  • How to load an applet jar file?

    Hello everyone,
    I have an applet that uses my own jar file and approximately 6 third party jar files. I set up jar indexing (jar -i) which will download the jar files when they are needed. All seems to work well, but now I want to manually load the jar files which I cannot get working.
    When the applet starts, about 1/2 of the jar files are downloaded (because they are needed at startup). I then want to load the additional jar files in the background, after the gui is initialized. I have tried this using the below thread which is executed from within the applet's start method:
    // Try to load additional jar files in background by loading a class from each jar file.
    Thread loadClass = new Thread() {
      public void run() {
        System.out.println("Loading classes...");
        try {
          // Tried loading classes this way, doesn't work.
          getClass().getClassLoader().loadClass("pkg1.Class1");
          getClass().getClassLoader().loadClass("pkg2.Class2");
          getClass().getClassLoader().loadClass("pkg3.Class4");
          getClass().getClassLoader().loadClass("pkg4.Class4");
          /* Loading classes this way doesn't work either.
          Class.forName("pkg1.Class1");
          Class.forName("pkg2.Class2");
          Class.forName("pkg3.Class3");
          Class.forName("pkg4.Class4");
        catch(ClassNotFoundException e) {
          // First attempt to load a class (pkg1.Class1) throws exception.
          System.out.println("Can't find class: " + e.getMessage());
    loadClass.start();As you can see from above I am trying to load a class from each of the jar files so that the jar files would load into memory/cache. Unfortunately, it cannot find the classes. These are the errors from the java console:
    Loading classes...
    Loading: pkg1.Class1
    Connecting http://my.server.com/my_dir/pkg1/Class1.class with no proxy
    Connecting http://my.server.com/my_dir/pkg1/Class1.class with cookie "JSESSIONID=some_big_long_char_list"
    Can't find class: pkg1.Class1
    So it appears the jar file is not being downloaded. When I take away the dynamic jar loading (removing the "jar -i" & adding them all to the applet archive list) the thread executes correctly. So I know the class names, etc, are correct. How does one load an applet jar file?
    Any help/suggestions are appreciated.

    The above error I posted was because I forgot to index the jar files. That is why it couldn't find the jar file. I thought I was getting farther along with my problem, but I apparently just forgot to index the jars. I am now getting the problem that I got yesterday...
    The applet freezes/hangs when it hits the thread. The GUI never opens (even though I'm running this thread right after the gui shows). The java console quits responding and the applet just stays the grey screen. I also tried the invoke later that you suggested.
    public void start() {
      // ...initialize gui...
      // Applet freezes and remains grey, also the java console freezes.
      javax.swing.SwingUtilities.invokeLater(new Runnable() {
        public void run() {
          System.out.println("Loading classes...");
          try {
            // When I comment out the below forName calls, the thread will still run evidenced through the done print statement.
            Class.forName("pkg1.Class1");
         Class.forName("pkg2.Class2");
         Class.forName("pkg3.Class3");
         Class.forName("pkg4.Class4");
            System.out.println("...Done loading classes");
          catch(Exception e)     {
            System.out.println("Can't find class: " + e.getMessage());
    }

  • AME CS6 painfully slow loading large quantities of clips.

    I'm using AME CS6 to transcode clips to prepare clips for delivery to a client that will only accept OP1a MXF's.  I have hundreds of clips to transcode and AME CS6 is unbearably slow loading them.  Usually I set up a watch folder but in this case I have two batches to run, one with about 750 individual clips and one with about 450.  Using watch folders just completely brought AME to it's knees trying to transcode a file while updating the queue.  I've just spent two hours loading the clips into AME by dragging/dropping them into the queue (that time includes time spent waiting while AME hangs while trying to change the codec/output setting).
    Earlier versions of AME were no where near as slow as this.  Even just scrolling up/down the queue that used to be fluid is now a click, wait, update..click, wait update process.  I could have copied the files from drive to drive in less time than this took to load/index.  Is there anything that can be done to speed up this process? 
    FYI
    Supermicro workstation
    Win7/64
    Dual Xeon X5650
    48Gb RAM
    nVidia Quadro 4000
    2x nVidia GTX 580
    Red Rocket
    SSD (OS)
    RAID-0 (media-internal)
    RAID-0 (render-external)

    lasvideo, thanks but that's not the same problem I am having. Appreciate you chiming in though!
    Stephen, thanks for writing. It's a pretty massive project and because clips often criss-cross between segments I have been working everything inside the same edit. I also wanted to see just how hard I could push Premiere (I've been using Premiere for 7 years now). Mind you once everything loads it still does just fine. Edits like a champ. Just was a bit frustrating with the load time.
    On #1, I don't have time machine set-up anymore as I ate up all my space.
    On #2 this is an interesting suggestion. I'm letting project manager analyze my project right now. I've never used project manager to break off individual edits so this should be interesting. Yes, just me on one machine. I'm shooting and editing at the same time and also doing graphics so I reckon by December. I have two full backups of all footage and edit files and save to a new edit file every couple of days (plus I have auto-save rolling).
    And for whatever reason, today when I opened a different project and then went back to the large project, suddenly the problem dissappeared. Weird but there it is. All 20,000 clips now load again under 4 minutes.
    Thanks for the assistance.
    Best, Dare

  • Slow Loading - can I speed it up??

    Hi:
    I've got an applet that includes about 10 classes (100 to 1000 lines of code ea.) in the jar.
    There are also 2 other database jars that it uses.
    The jars are also signed.
    Even if the browser has already downloaded the jars, the applet loads into the browser real slow. It takes about 20 to 30 seconds to load the applet (when it asks if I want to allow it to run).
    From there it's not too bad.

    whats the purpose of this applet? what does it do? its very hard to comment on a hypothetical question

  • Plugin reloading too slow of multiple applets per page

    Hi,
    I want to share a problem with this community and try to shed some light on this.
    We all know that an applet loads slow when the JVM loads for the first time or when an applets JAR gets loaded. Fine and not the problem here.
    However, applets load too slow when loaded again during the same browser session. Why is this important? Well, in an AJAX-like intranet application you may use multiple applets per page which are loaded again and again as you navigate. The applets could enrich the user experience much the way AJAX does -- if only the applets would not slow down loading of pages.
    For example: we have pages with about 10 applets which take about 4 seconds to reload, or 400 ms per applet. This is disappointingly slow because there is no technical excuse for this -- everything is up and running on the Java side and Flash prooves that loading ActiveX can be fast, too. Moreover, it became slower and slower from 1.1 to 1.5.
    Nobody at Sun or elsewhere seems to care about this. And therefore, the plugin has now became problematic in Ajax-like intranet scenarios.
    This is a pitty and we would very much welcome any kind of activity to improve this.
    Anybody knows why this is slow and what is planned to improve this?

    There is one known optimization (which may be useful for the readers of this topic):
    One may try to keep at least ONE applet with the given EXACT (IDENTICAL archive string) classpath active, e.g., in a frame. This keeps the classloader referenced all the time and avoids reconstruction of the class loader.
    However, we already apply this technique and the question is how to get reloading of applets with a ready classloader as fast as FLASH...

  • How to include another .jar package in an applet jar package

    Hi, I'm using Eclipse to write an applet which needs some other .jar packages to support it. I add them as external jar package in project properties. In eclipse, everything works fine when I compile and run. But I when export the applet to .jar and try to run in browser, it doesnt work.
    I think probably because I didnt export the packages that the applet requires to run. However I cant find a way to export these packages together with the applet to a final .jar file.
    Anyone knows how to solve this ? plz help. thx you in advance

    Hi, I'm using Eclipse to write an applet which needs
    some other .jar packages to support it. I add them as
    external jar package in project properties. In
    eclipse, everything works fine when I compile and
    run. But I when export the applet to .jar and try to
    run in browser, it doesn't work.
    I think probably because I didn't export the packages
    that the applet requires to run. However I cant find
    a way to export these packages together with the
    applet to a final .jar file.
    Anyone knows how to solve this ? plz help. thx you in
    advanceHi all,
    I have been having the same problems too but came to realize that it is quite difficult getting your applet to work in most cases when using external jars. I found out thet you will have to create the directory hierarchy with the necessary imported classes used by your applet. and then create a new jar file that you will use in the codebase tag.
    For example:
    /* Java code snippet */
    import org.apache.XmlRpcClient;
    public MyApplet extends JApplet {
    //..... Rest of your code ......
    }/* End of snippet */
    You would then have to create a the directory structure:
    org
    _apache
    ___xmlrpc
    Then place all the required classes imported from within (Sometimes it is easier to just add all the classes to save time but lose space i.e. larger jar files).
    Execute the jar command (please adjust as needed to your requirements):
    jar cvf any_name.jar *.class org/
    After signing the applet it may solve your problem. Since I'm working with XmlRpc I still have a lot of problems. If anyone has any advice or tips, please share.
    Thank you

  • ClassFormatError when attempting to load an applet from within a JSP

    Greetings everyone.
    I have a problem that i seem unable to solve.
    I've created a web application. I'm using Java 1.4.2_05 and Tomcat. Right now i'm trying to load an applet from a JSP and i'm getting an error that, try as i might, i can't understand why it happens.
    Here is some detailed info:
    The applet's code:
    package smpb.myapp.controllers;
    import java.applet.Applet;
    import java.awt.Graphics;
    public class GUIApplet extends Applet
         public void init()
         public void stop()
         public void paint(Graphics g)
                  g.drawString("Hey hey hey",20,20);
               g.drawString("Hellooo World",20,40);
    The JSP's code:
    <%@ page language="java"
                   import="java.util.*"
                   session="true" %>
    <%
         String name = (String) request.getSession().getAttribute("userName");
    %>
    <html>
         <head>
              <title>Login</title>
         </head>
         <body>
              <h1><p align="center">Application</p></h1>
              <br>
              Welcome <%= name %>! Thank you for logging in!
              <br><br><br>
              <applet align="middle" code="smpb.myapp.controllers.GUIApplet.class" codebase="./" archive="MyApp_applets.jar">
                   Your browser does not support this feature.
              </applet>
              <br><br>
              <a href='<%=request.getContextPath() + "/LogOut"%>'>Log Out</a><br>
         </body>
    </html>-------------------------------------------
    When i reach this JSP the applet fails to load and i get the following error message at the java console:
    Loading applet ...
    Initializing applet ...
    Starting applet ...
    Connecting http://127.0.0.1/MyApp/MyApp_applets.jar with no proxy
    Connecting http://127.0.0.1/MyApp/MyApp_applets.jar with cookie "JSESSIONID=A8EECE5E39458739C760D8907762C507"
    Last modified time and/or expiration value is not available.  Jar file will not be cached.
    Connecting http://127.0.0.1/MyApp/MyApp_applets.jar with no proxy
    Connecting http://127.0.0.1/MyApp/MyApp_applets.jar with cookie "JSESSIONID=A8EECE5E39458739C760D8907762C507"
    Connecting http://127.0.0.1/MyApp/smpb/myapp/controllers/GUIApplet.class with no proxy
    Connecting http://127.0.0.1/MyApp/smpb/myapp/controllers/GUIApplet.class with cookie "JSESSIONID=A8EECE5E39458739C760D8907762C507"
    Last modified time and/or expiration value is not available.  Jar file will not be cached.
    Connecting http://127.0.0.1/MyApp/smpb/myapp/controllers/GUIApplet.class with no proxy
    Connecting http://127.0.0.1/MyApp/smpb/myapp/controllers/GUIApplet.class with cookie "JSESSIONID=A8EECE5E39458739C760D8907762C507"
    java.lang.ClassFormatError: smpb/myapp/controllers/GUIApplet (Bad magic number)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
         at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:157)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
         at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:123)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:561)
         at sun.applet.AppletPanel.createApplet(AppletPanel.java:617)
         at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1856)
         at sun.applet.AppletPanel.runLoader(AppletPanel.java:546)
         at sun.applet.AppletPanel.run(AppletPanel.java:298)
         at java.lang.Thread.run(Thread.java:534)
    Exception: java.lang.ClassFormatError: smpb/myapp/controllers/GUIApplet (Bad magic number)-------------------------------------------
    The JSP is in the root directory of the web application's path right along with the jar file. The jar file itself has the following structure:
    Archive:  HelpDesk_applets.jar
      Length     Date   Time    Name
            0  05-17-06 12:17   META-INF/
          106  05-17-06 12:17   META-INF/MANIFEST.MF
            0  05-10-06 17:14   smpb/
            0  05-10-06 17:14   smpb/myapp/
            0  05-12-06 16:50   smpb/myapp/controllers/
          794  05-12-06 17:15   smpb/myapp/controllers/GUIApplet.class
          900                   6 filesNow, i've tried loading the very same jar file that i use in the JSP through a static HTML which is virtually identical to the JSP i presented and everything works just fine. I've checked and rechecked to see if all the permissions to access the jar file were accurate, i checked to see if Tomcat had it's MIME settings correctly configured so that there was no chance that the files were being corrupted during the load (as that is a usual cause for the problem, or so i've gathered) but to no avail. I've searched the web, including these forums, and found similar problems but no conclusive solution. I can't seem to figure out, at all, what could possibly be wrong. Does anyone have any ideas? I've tried to be as thorough as i could from the start, so, any help would be deeply appreciated.

    Hi mshah101,
    This can happen if the applet is compiled using an higher version of java and the browser is pointing to an older version (even if minor version number is higher)

  • Error when loading an applet

    When I loading an applet in a website, the brower hangs, and there is a JVM error log generated. am posting the content of the error log below. Could anybody here encounter the same problem? Previous the VM in my notebook is 1.4.2_06, and the problem occurs. Thought it was a problem of the VM, so I upgraded it to 1.5.0_06-b05, the problem is still there.
    Following is the content of the error log:
    ======================================
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d0c5783, pid=3528, tid=1636
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode, sharing)
    # Problematic frame:
    # C [awt.dll+0xc5783]
    --------------- T H R E A D ---------------
    Current thread (0x09ac59d8): JavaThread "AWT-Windows" daemon [_thread_in_native, id=1636]
    siginfo: ExceptionCode=0xc0000005, reading address 0x458b0000
    Registers:
    EAX=0x458b0000, EBX=0x77e7d142, ECX=0x00003b2c, EDX=0x00ad3704
    ESP=0x0ff7fa14, EBP=0x00000111, ESI=0x09b2ce00, EDI=0x00003b2c
    EIP=0x6d0c5783, EFLAGS=0x00010206
    Top of Stack: (sp=0x0ff7fa14)
    0x0ff7fa14: 6d0c1ea8 00003b2c 00000000 00000000
    0x0ff7fa24: 0ff7fb00 0005052a 0ff7fa8c 00000000
    0x0ff7fa34: 00000001 00000000 09ac5a98 09ac5a98
    0x0ff7fa44: 6d6b161f 0ff7fa80 77d7390a 77d99b08
    0x0ff7fa54: 0ff7fa80 6d0f3348 00000000 6d0c0948
    0x0ff7fa64: 00000111 00003b2c 00000000 0ff7fb00
    0x0ff7fa74: 6d0c08f0 00000000 0ff7fa70 0ff7fb10
    0x0ff7fa84: 6d0f3330 00000000 0ff7fab8 77d43a50
    Instructions: (pc=0x6d0c5783)
    0x6d0c5773: b9 ef 01 00 85 c0 75 08 b8 02 00 00 00 c2 0c 00
    0x6d0c5783: 8b 10 8b c8 ff 52 04 b8 02 00 00 00 c2 0c 00 50
    Stack: [0x0fe80000,0x0ff80000), sp=0x0ff7fa14, free space=1022k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [awt.dll+0xc5783]
    [error occurred during error reporting, step 120, id 0xc0000005]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j sun.awt.windows.WToolkit.eventLoop()V+0
    j sun.awt.windows.WToolkit.run()V+69
    j java.lang.Thread.run()V+11
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x09b2c1e8 JavaThread "AWT-EventQueue-2" [_thread_blocked, id=3032]
    0x09ac5558 JavaThread "Keep-Alive-Timer" daemon [_thread_blocked, id=3856]
    0x09b30008 JavaThread "Thread-5" [_thread_blocked, id=2780]
    0x09a73010 JavaThread "thread applet-DBSlogin2" [_thread_in_native, id=1748]
    0x09ae0dc0 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=3448]
    0x09b2b5f8 JavaThread "AWT-Shutdown" [_thread_blocked, id=3172]
    0x09acb230 JavaThread "traceMsgQueueThread" daemon [_thread_blocked, id=2232]
    =>0x09ac59d8 JavaThread "AWT-Windows" daemon [_thread_in_native, id=1636]
    0x09ac44c0 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3280]
    0x00ae5d00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3208]
    0x00ae4948 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3684]
    0x00ad17b0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3792]
    0x00aeafb0 JavaThread "Finalizer" daemon [_thread_blocked, id=3252]
    0x00b691e8 JavaThread "Reference Handler" daemon [_thread_blocked, id=2736]
    0x00aee308 JavaThread "main" [_thread_in_native, id=2412]
    Other Threads:
    0x00aada30 VMThread [id=3760]
    0x00ae8f40 WatcherThread [id=2348]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 576K, used 296K [0x20ad0000, 0x20b70000, 0x21230000)
    eden space 512K, 45% used [0x20ad0000, 0x20b0a2e8, 0x20b50000)
    from space 64K, 99% used [0x20b50000, 0x20b5ffe0, 0x20b60000)
    to space 64K, 0% used [0x20b60000, 0x20b60000, 0x20b70000)
    tenured generation total 3208K, used 2006K [0x21230000, 0x21552000, 0x26ad0000)
    the space 3208K, 62% used [0x21230000, 0x21425800, 0x21425800, 0x21552000)
    compacting perm gen total 8192K, used 2272K [0x26ad0000, 0x272d0000, 0x2aad0000)
    the space 8192K, 27% used [0x26ad0000, 0x26d083b0, 0x26d08400, 0x272d0000)
    ro space 8192K, 63% used [0x2aad0000, 0x2afdb178, 0x2afdb200, 0x2b2d0000)
    rw space 12288K, 46% used [0x2b2d0000, 0x2b869fa8, 0x2b86a000, 0x2bed0000)
    Dynamic libraries:
    0x00400000 - 0x00419000      C:\Program Files\Internet Explorer\iexplore.exe
    0x77f50000 - 0x77ff7000      C:\WINDOWS\System32\ntdll.dll
    0x77e60000 - 0x77f46000      C:\WINDOWS\system32\kernel32.dll
    0x77c10000 - 0x77c63000      C:\WINDOWS\system32\msvcrt.dll
    0x77d40000 - 0x77dcc000      C:\WINDOWS\system32\USER32.dll
    0x7e090000 - 0x7e0d1000      C:\WINDOWS\system32\GDI32.dll
    0x77dd0000 - 0x77e5d000      C:\WINDOWS\system32\ADVAPI32.dll
    0x78000000 - 0x78086000      C:\WINDOWS\system32\RPCRT4.dll
    0x70a70000 - 0x70ad5000      C:\WINDOWS\system32\SHLWAPI.dll
    0x71700000 - 0x71849000      C:\WINDOWS\System32\SHDOCVW.dll
    0x76390000 - 0x763ac000      C:\WINDOWS\System32\IMM32.DLL
    0x629c0000 - 0x629c8000      C:\WINDOWS\System32\LPK.DLL
    0x72fa0000 - 0x72ffa000      C:\WINDOWS\System32\USP10.dll
    0x71950000 - 0x71a34000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.10.0_x-ww_f7fb5805\comctl32.dll
    0x37000000 - 0x37013000      C:\WINDOWS\System32\EntApi.dll
    0x76bf0000 - 0x76bfb000      C:\WINDOWS\System32\PSAPI.DLL
    0x71c20000 - 0x71c6e000      C:\WINDOWS\System32\NETAPI32.dll
    0x71ab0000 - 0x71ac5000      C:\WINDOWS\System32\WS2_32.dll
    0x71aa0000 - 0x71aa8000      C:\WINDOWS\System32\WS2HELP.dll
    0x63000000 - 0x63096000      C:\WINDOWS\system32\WININET.dll
    0x762c0000 - 0x76348000      C:\WINDOWS\system32\CRYPT32.dll
    0x762a0000 - 0x762b0000      C:\WINDOWS\system32\MSASN1.dll
    0x77120000 - 0x771ab000      C:\WINDOWS\system32\OLEAUT32.dll
    0x771b0000 - 0x772d1000      C:\WINDOWS\system32\OLE32.DLL
    0x773d0000 - 0x77bc2000      C:\WINDOWS\system32\SHELL32.dll
    0x77340000 - 0x773cb000      C:\WINDOWS\system32\comctl32.dll
    0x5ad70000 - 0x5ada4000      C:\WINDOWS\System32\uxtheme.dll
    0x53000000 - 0x53013000      C:\PROGRA~1\3721\helper.dll
    0x77c00000 - 0x77c07000      C:\WINDOWS\system32\VERSION.dll
    0x10000000 - 0x10009000      C:\PROGRA~1\3721\scrblock.dll
    0x003d0000 - 0x003d7000      C:\PROGRA~1\3721\alrex.dll
    0x37210000 - 0x37283000      C:\WINDOWS\DOWNLO~1\CnsMin.dll
    0x76c90000 - 0x76cb2000      C:\WINDOWS\system32\imagehlp.dll
    0x00ba0000 - 0x00bcb000      C:\WINDOWS\DOWNLO~1\CnsHint.dll
    0x71500000 - 0x715fd000      C:\WINDOWS\System32\BROWSEUI.dll
    0x72430000 - 0x72442000      C:\WINDOWS\System32\browselc.dll
    0x00c10000 - 0x00c35000      C:\PROGRA~1\3721\autolive.dll
    0x1a400000 - 0x1a47a000      C:\WINDOWS\system32\urlmon.dll
    0x76670000 - 0x76757000      C:\WINDOWS\System32\SETUPAPI.dll
    0x00c50000 - 0x00c7d000      C:\PROGRA~1\3721\alLiveEx.dll
    0x75f40000 - 0x75f5f000      C:\WINDOWS\system32\appHelp.dll
    0x76fd0000 - 0x77048000      C:\WINDOWS\System32\CLBCATQ.DLL
    0x77050000 - 0x77115000      C:\WINDOWS\System32\COMRes.dll
    0x00ce0000 - 0x00d0b000      C:\WINDOWS\System32\msctfime.ime
    0x746f0000 - 0x74716000      C:\WINDOWS\System32\Msimtf.dll
    0x74720000 - 0x74764000      C:\WINDOWS\System32\MSCTF.dll
    0x00da0000 - 0x00dad000      C:\WINDOWS\DOWNLO~1\cnsplus.dll
    0x76f90000 - 0x76fa0000      C:\WINDOWS\System32\Secur32.dll
    0x76620000 - 0x7666e000      C:\WINDOWS\System32\cscui.dll
    0x76600000 - 0x7661b000      C:\WINDOWS\System32\CSCDLL.dll
    0x76170000 - 0x761f8000      C:\WINDOWS\System32\shdoclc.dll
    0x74770000 - 0x747ff000      C:\WINDOWS\System32\mlang.dll
    0x71ad0000 - 0x71ad8000      C:\WINDOWS\System32\wsock32.dll
    0x75a70000 - 0x75b15000      C:\WINDOWS\system32\userenv.dll
    0x76c30000 - 0x76c5b000      C:\WINDOWS\System32\wintrust.dll
    0x767f0000 - 0x76814000      C:\WINDOWS\System32\schannel.dll
    0x71a50000 - 0x71a8b000      C:\WINDOWS\system32\mswsock.dll
    0x71a90000 - 0x71a98000      C:\WINDOWS\System32\wshtcpip.dll
    0x76ee0000 - 0x76f17000      C:\WINDOWS\System32\RASAPI32.DLL
    0x76e90000 - 0x76ea1000      C:\WINDOWS\System32\rasman.dll
    0x76eb0000 - 0x76edb000      C:\WINDOWS\System32\TAPI32.dll
    0x76e80000 - 0x76e8d000      C:\WINDOWS\System32\rtutils.dll
    0x76b40000 - 0x76b6c000      C:\WINDOWS\System32\WINMM.dll
    0x722b0000 - 0x722b5000      C:\WINDOWS\System32\sensapi.dll
    0x02230000 - 0x02431000      C:\WINDOWS\System32\msi.dll
    0x75e90000 - 0x75f37000      C:\WINDOWS\System32\SXS.DLL
    0x0ffd0000 - 0x0fff3000      C:\WINDOWS\System32\rsaenh.dll
    0x76fc0000 - 0x76fc5000      C:\WINDOWS\System32\rasadhlp.dll
    0x76f20000 - 0x76f45000      C:\WINDOWS\System32\DNSAPI.dll
    0x76fb0000 - 0x76fb7000      C:\WINDOWS\System32\winrnr.dll
    0x76f60000 - 0x76f8c000      C:\WINDOWS\system32\WLDAP32.dll
    0x65af0000 - 0x65af7000      C:\WINDOWS\system32\jsproxy.dll
    0x18030000 - 0x1803b000      C:\Program Files\Network Associates\VirusScan\scriptproxy.dll
    0x12400000 - 0x12466000      C:\Program Files\Network Associates\VirusScan\mytilus.dll
    0x12580000 - 0x12585000      C:\Program Files\Network Associates\VirusScan\Res09\McShield.dll
    0x12000000 - 0x121e0000      C:\Program Files\Common Files\Network Associates\Engine\mcscan32.dll
    0x6b700000 - 0x6b790000      C:\WINDOWS\System32\JScript.dll
    0x73300000 - 0x73375000      C:\WINDOWS\System32\VBScript.dll
    0x63580000 - 0x63830000      C:\WINDOWS\System32\mshtml.dll
    0x325c0000 - 0x325d2000      C:\Program Files\Microsoft Office\OFFICE11\msohev.dll
    0x746c0000 - 0x746e7000      C:\WINDOWS\System32\MSLS31.DLL
    0x66880000 - 0x6688a000      C:\WINDOWS\System32\imgutil.dll
    0x72d20000 - 0x72d29000      C:\WINDOWS\System32\wdmaud.drv
    0x72d10000 - 0x72d18000      C:\WINDOWS\System32\msacm32.drv
    0x77be0000 - 0x77bf4000      C:\WINDOWS\System32\MSACM32.dll
    0x77bd0000 - 0x77bd7000      C:\WINDOWS\System32\midimap.dll
    0x0ffa0000 - 0x0ffc1000      C:\WINDOWS\System32\dssenh.dll
    0x73d50000 - 0x73d60000      C:\WINDOWS\System32\cryptnet.dll
    0x75150000 - 0x75163000      C:\WINDOWS\System32\Cabinet.dll
    0x05160000 - 0x05172000      C:\WINDOWS\DOWNLO~1\CnsHook.dll
    0x74cb0000 - 0x74d1f000      C:\WINDOWS\System32\mshtmled.dll
    0x71d40000 - 0x71d5b000      C:\WINDOWS\System32\actxprxy.dll
    0x30000000 - 0x30222000      C:\WINDOWS\System32\Macromed\Flash\Flash8.ocx
    0x763b0000 - 0x763f5000      C:\WINDOWS\system32\comdlg32.dll
    0x65000000 - 0x65009000      C:\WINDOWS\System32\ddrawex.dll
    0x51000000 - 0x51050000      C:\WINDOWS\System32\DDRAW.dll
    0x73bc0000 - 0x73bc6000      C:\WINDOWS\System32\DCIMAN32.dll
    0x6d590000 - 0x6d5a2000      C:\Program Files\Java\jre1.5.0_06\bin\npjpi150_06.dll
    0x5edd0000 - 0x5edea000      C:\WINDOWS\System32\OLEPRO32.DLL
    0x6d400000 - 0x6d417000      C:\Program Files\Java\jre1.5.0_06\bin\jpiexp32.dll
    0x6d450000 - 0x6d468000      C:\Program Files\Java\jre1.5.0_06\bin\jpishare.dll
    0x6d670000 - 0x6d804000      C:\PROGRA~1\Java\JRE15~1.0_0\bin\client\jvm.dll
    0x6d280000 - 0x6d288000      C:\PROGRA~1\Java\JRE15~1.0_0\bin\hpi.dll
    0x6d640000 - 0x6d64c000      C:\PROGRA~1\Java\JRE15~1.0_0\bin\verify.dll
    0x6d300000 - 0x6d31d000      C:\PROGRA~1\Java\JRE15~1.0_0\bin\java.dll
    0x6d660000 - 0x6d66f000      C:\PROGRA~1\Java\JRE15~1.0_0\bin\zip.dll
    0x6d000000 - 0x6d167000      C:\Program Files\Java\jre1.5.0_06\bin\awt.dll
    0x73000000 - 0x73023000      C:\WINDOWS\System32\WINSPOOL.DRV
    0x5c000000 - 0x5c0c8000      C:\WINDOWS\System32\D3DIM700.DLL
    0x6d240000 - 0x6d27d000      C:\Program Files\Java\jre1.5.0_06\bin\fontmanager.dll
    0x6d1f0000 - 0x6d203000      C:\Program Files\Java\jre1.5.0_06\bin\deploy.dll
    0x6d5d0000 - 0x6d5ef000      C:\Program Files\Java\jre1.5.0_06\bin\RegUtils.dll
    0x6d3e0000 - 0x6d3f5000      C:\Program Files\Java\jre1.5.0_06\bin\jpicom32.dll
    0x6d4c0000 - 0x6d4d3000      C:\Program Files\Java\jre1.5.0_06\bin\net.dll
    0x6d1c0000 - 0x6d1e3000      C:\Program Files\Java\jre1.5.0_06\bin\dcpr.dll
    VM Arguments:
    jvm_args: -Xbootclasspath/a:C:\PROGRA~1\Java\JRE15~1.0_0\lib\deploy.jar;C:\PROGRA~1\Java\JRE15~1.0_0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.5.0_06 -Djavaplugin.nodotversion=150_06 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\Java\JRE15~1.0_0 -Djava.protocol.handler.pkgs=sun.plugin.net.protocol -Djavaplugin.vm.options=-Djava.class.path=C:\PROGRA~1\Java\JRE15~1.0_0\classes -Xbootclasspath/a:C:\PROGRA~1\Java\JRE15~1.0_0\lib\deploy.jar;C:\PROGRA~1\Java\JRE15~1.0_0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.5.0_06 -Djavaplugin.nodotversion=150_06 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\Java\JRE15~1.0_0 -Djava.protocol.handler.pkgs=sun.plugin.net.protocol vfprintf
    java_command: <unknown>
    Launcher Type: generic
    Environment Variables:
    CLASSPATH=C:\Program Files\Agent Software\lib\jack.jar;.
    PATH=C:\PROGRA~1\Java\JRE15~1.0_0\bin;C:\texmf\miktex\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel;C:\MATLAB701\bin\win32;C:\PROGRA~1\COMMON~1\SONICS~1\;C:\Program Files\Internet Explorer;;.
    USERNAME=ahtan
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 9 Stepping 5, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 1
    CPU:total 1 family 6, cmov, cx8, fxsr, mmx, sse, sse2
    Memory: 4k page, physical 523248k(135244k free), swap 1279140k(917836k free)
    vm_info: Java HotSpot(TM) Client VM (1.5.0_06-b05) for windows-x86, built on Nov 10 2005 11:12:14 by "java_re" with MS VC++ 6.0
    ======================================

    Hi
    My applet suffered from the same Exception, using J2SE1.4.2_01 and J2SE1.4.2_02. My Applet consists of three Jars:
    1. The Applet (which uses JCE API / signed with my cert)
    2. JCE Provider (reduced to the necessary classes / signed by provider)
    3. Unsigned classes
    I was able to solve the problem by adding a second signature to the second JAR File (JCE Provider).
    My humble conclusion:
    Allways sign all classes which need to be signed with your own certificate, even sign those classes wich are allready signed by the JCE Provider.
    Hope this helps!
    Regards,
    Ramon Keller

  • Problem while loading the applet across SSL in IE 5.0 & NS 6.0

    Hi
    Can any one of u guys solve my problem????
    I m trying to load an applet thru https protocol in both the browsers( IE 5.0 and Netscape 6.0). I am having a jar file which contains the applet class files and some helper files for the applet.When i m accessing the image URL (in the html file for the applet) thru https protocol itz working fine on both the browsers. But when i try to access codebase thru https i m getting different errors on both the browsers. Errors r as follows.
    Exception in IE 5.0
    java.net.ConnectException: HTTPS response=404
    at
    sun.plugin.protocol.https.BrowserHttpsInputStream.openStream(Native
    Method)
    at
    sun.plugin.protocol.https.BrowserHttpsInputStream.<init>(Unknown
    Source)
    at
    sun.plugin.protocol.https.BrowserHttpsURLConnection.getInputStream(Unknown
    Source)
    at sun.plugin.cachescheme.PluginURLConnection.downLoadFile(Unknown
    Source)
    at
    sun.plugin.cachescheme.PluginJarCacheHandler.downloadJarFileToCache(Unknown
    Source)
    at
    sun.plugin.cachescheme.PluginJarCacheHandler.cacheHandler(Unknown
    Source)
    at
    sun.plugin.cachescheme.PluginJarCacheHandler.getJarFilesPath(Unknown
    Source)
    at sun.plugin.AppletViewer.loadJarFiles(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Exception in Netscape 6.0
    java.lang.ClassFormatError: package1/package2/package3/TiffViewer (Bad
    magic number)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at sun.plugin.security.PluginClassLoader.access$201(Unknown
    Source)
    at sun.plugin.security.PluginClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.plugin.security.PluginClassLoader.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 sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Plz help me out if any one of u guys have came across such type of problem. Its very very urgent as well as critical. Any help / suggestion will highly be appreciated
    tks in advance
    Soniya

    Hi..
    I m also facing the same problem as described above. I have checked up the path for the class files mentioned in the "code" param in the html file.I also tested with the sample program but could not succed in getting the result.Both the browsers give different error messages as mentioned in the query posted by soniya1.I would be thankful if u can kindly throw some light on this
    if u have some sample code u may kindly drop it to the following mail id
    [email protected]
    hope to hear from u soon
    tx in advance
    R.Lakshmi

  • Loading Java Applet....again

    Hi,
    I've done a search on this topic and have not been able to resolve the problem.
    The problem being that after trying to "Run a Form on the Web" using test.fmx, The loading java applet message stays in the browser indefinitely.
    Some have suggested turning on the JInitiator Console to get a better understanding of the problem.
    My problem is that when I click the "Show Java Console" and then "apply" in the JInitiator Control Panal nothing happens. I'm completely new to all of this, is there anything else I have to do to display the Java console?
    Java consoles aside, any suggestions as what else I can do? When I first run the form I get an "applet loading" message in the browser status bar for a split second, followed by "exception:http://<servername.domain>/forms60java/f60web.jar"
    I'm using IE 5.00 and jinitiator 1.1.7.27
    Thanks for any help.
    Darren

    Anyone knows what's the classid of Jinitiator 1.1.7.31?
    Thanks a heap for any replies
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Dhananjay Jawale ([email protected]):
    Hi,
    Please make sure what Shay has suggested about the correct class id . For Jinitiator 1.1.7.27 it is 093501ce-d290-11d3-a3d6-00c04fa32518
    Check your toolbar if you can see a application icon with java cup. If you can get it, maximize it .
    This is a known problem with OS like Windows 95.
    In my application support, i get calls regarding not able to find the login screen and i help them in same way.
    Try it and let us know
    Thanks,
    Dhananjay<HR></BLOCKQUOTE>
    null

  • Loading an applet in tomcat 4.x

    Hi,
    I have been reading the forums for a while trying to find an explanation to the problem I am having with no success.
    The problem is that I have an applet that has a dynamic number of parameters. The number of parameters is determined by the contents of an application bean which is part of the environment.
    The problem is that I can't get the applet to work using the <applet> tag. It seems that no matter what I set the codebase parameter to, I always get the dreaded "ClassDefNotFound Exception: FacilityApplet" in IE 6.0 or "ClassFormatError: Bad Major Version Number" exception in Netscape 4.79.
    I am using JDK 1.4_0_01 and Tomcat 4.1.12 and my application (oam), context is organized as follows:
    webapps/
    oam
    WEB-INF
    classes
    lib
    applets
    facility
    jsp
    html
    index.html
    I have jarred the applet into a file called FacilityApplet.jar and stored it into the oam/applets/facility directory. The contents of the jar file follows:
    META-INF/
    META-INF/MANIFEST.MF
    FacilityApplet.class
    common/DataEvent.class
    common/Facility.class
    common/Link.class
    DialogBox/
    DialogBox/DialogBox$CloseDialog.class
    DialogBox/DialogBox$CloseWindow.class
    DialogBox/DialogBox.class
    The following is the contents of my jsp page that attempts to load the applet.
    <html>
    <head>
    <!-- Ensure the HTTP Server Does Not Save this Page in Cache -->
    <meta HTTP-EQUIV=Pragma CONTENT=no-cache >
    <title> Status Page </title>
    </head>
    <%@ page import="javaBeans.SettingsBean" %>
    <jsp:useBean id="settings" class="SettingsBean" scope="application" />
    <body BGCOLOR="honeydew" LINK="Blue" TEXT="black" VLINK="Red">
    <h1>
    Application Status
    </h1>
    <%
    // Make sure we have a good bean to work with
    if (settings.getTotalFacilities() != 0) {
    %>
    <applet
    archive="FacilityApplet.jar"
    codebase="http://localhost:8080/oam/applets/facility"
    code="FacilityApplet.class"
    width="300" height="150" >
    <param name="PORT" value="8939" >
    <%
    for (int i = 0;i < settings.getTotalFacilities();i++) {
    %>
    <param name="FAC_<%= i %>" value="<%= settings.getFacilityName(i) %>">
    <param name="STATE_<%= i %>"
    value="<%= settings.getFacility(i).getState() %>">
    <% } %>
    </applet>
    <% }
    else {
    %>
    <h2 align="center"> No Facilities to Display </h2>
    <% } %>
    </body>
    </html>
    Here are the values for codebase that I have tried so far:
    codebase="<%= request.getContextPath() %>/applets/facility"
    codebase="http:localhost:8080/oam/applets/facility"
    codebase="../applets/facility"
    I also expanded the jar file under the applets/facility directory with the same results. I also copied all the class files in the same directory as my jsp file, codebase="facility", with the same results.
    Now, if I use the <jsp:plugin> tag the applet loads with no problems using codebase="<%= request.getContextPath() %>/applets/facility", but that does not allow me to set my applet parameters dynamically. It works fine if I hardcode my parameters inside the <jsp:param> tag. However, I can explain this since it will require the JSP compiler to do multiple passes over the source code, and I don't think it does that.
    My PC has the latest version of the JRE plugin 1.4.X.
    Any help will be greatly appreciated.
    Maizo

    Folks,
    I hate to follow up my own posting but I figured out the problem. My browser was using its own JVM, which of course was an old one.
    Sorry to waste these resources
    Maizo

Maybe you are looking for