Netscape 's inconsistency in the loading of applets/classes

Please I will appreciate any help.
I am using Netscape version 4.75 on a Windows NT platform to launch my application.
My application is a collection of java classes and applet classes and a gif file all zipped
into an archive ( zip -o ). These classes are written in the old java version 1.0.2
(unfortunately).The problem is that when it is launched from a netscape browser,
sometimes all the classes get loaded but other times the loading fails. The zip file is not compressed since we realized that it was failing more often with a compressed zip file.
SO we removed the zip file... This is how we are launching the application now but this,
too, creates a problem because there are incidents of partial or incomplete loading of
the classes. This application has been in use for over 3 years now, what can I do?
Please help!
Ike Eke

Thanks for you quick response.
I have not tried a jar. Can I jar these classes that were written in java 1.0.2?
I have recommended that the application be upgraded to 1.1.x but they say there is
no money to do that, The customer would not fund it.
This problem does not occur on IE but we do not support IE any way. We run on HP,SUN,
and Windows NT platforms but this problem occurs only on NT. This is a production problem
so it occurs very where there is an NT machine ( over 200 NT users out there).
This is the version of Netscape that was chosen by the customer and yes it occurs on other netscape versions as well. I thought that jar files came with the emergence of java 1.1.x.
If it is possible to jar this outdated version of java classes, then I am willing to try it but
what is required to do this?
Thanks again
Ike

Similar Messages

  • Force the loading of a class from disk

    Is it possible to force the loading of a class from disk ? The assumption here is that the class we want to load will be continuously updated so we want the latest version of the class(on disk) rather than the one already in memory.
    Thank you.

    You have to implement a custom loader.
    public class MyLoader extends URLClassLoader
      public (URL[] urls)
        super(urls);
      public synchronized loadClass(String className) throws ClassNotFoundException
        // first check built in JDK 1.2 class cache
        Class clazz = findLoadedClass(className);
        if (null == clazz)
          // Didn't find it in cache, so check our custom
          // URL[] classpath, added at the constructor.
          clazz = findClass(className);
          if (null == clazz)
            // Didn't find it in our classpath, so either
            // throw a ClassNotFoundException, or call to
            // the parent if we want to go that way.
            throw new ClassNotFoundException();
        return clazz;
    }In the above, you can do all sort of things. We don't delegate to the parent at all, so if the class being looked for is NOT in any of the URL[] objects passed in when created, then a ClassNotFoundException is thrown. The normal delegation checks cache, then the parent loader, then the findClass(). We simply remove the check to the parent, and try the findClass() right away. Because URLClassLoader implements findClass() to look for a .class in ALL of the URL[] objects passed to it, we don't need to bother with that at all.
    Does that help? Ask away if you have more questions.

  • How to read file in JAR file (the one containing applet class)

    my applet needs to read a file (font file) that will be bundled in the jar file. how do i read that file?
    i tried using
    URL u = new URL("file:///myfont.ttf");
    u.openStream();i got AccessControlException. is there anyway for the applet to load file in the JAR file? i see applet can load image in the jar file so figured that it should be able to do so with some other type of file
    thanks

    The reason you're getting access violation is the way you code your URL -- it's pointing to a file on the user's local disk. If my.ttf is in the jar, try:
          URL url=myApplet.class.getClassLoader().getResource("myfont.ttf");Where myApplet is the name of your applet and the font file is assumedly kept in the same directory level in the jar file as the class file for your applet.
    ;o)
    V.V.

  • I can load an Applet .class file with an OBJECT tag...

    How can I load a .jar file? I foolishly believed I could replace "myclass.class" with "myjar.jar" in the <PARAM> tag associated with an <OBJECT> tag, and if I had created my manifest file correctly, the Main-Class in my .jar would have its init() method called upon IE load of the web-page. But alas, it is not that simple.
    Is there an incantation of the <OBJECT> tag that is appropriate for .jar files?
    Thanks in advance for any help you can provide in this area.

    Please ignore the duplication. My browser burped, and I can't seem to figure out how to delete a thread.
    See answer posted in other thread.

  • 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

  • Load: class oracle.forms.engine.Main not found Stuck at loading Java Applet

    Hi there
    I have recently installed App Server 10.1.2.0 on a new machine.
    Copied all my forms to an appropriate directory. Set up formsweb.cfg to allow them to run and have attempted to run them.
    Unfortunately I get stuck at the Loading Java Applet screen, and in the status bar at the bottom it says :
    load: class oracle.forms.engine.Main not found
    I have taken a look at the Java Console, and the 2 things that jump out at me are that it appears to be looking for a forms90 directory, which seems odd since I am using App Server 10.1.2.0.2 and Forms Builder 10.1.2.0.2 meaning it should be looking in a forms directory not forms90 directory shouldnt it ?
    And also, it mentions class with no proxy, so on looking around the forums it has been suggested that put the proxy details into jinitiator, which I have done, but this has made no difference either.
    Can anyone suggest anything else please ?
    Java Console log follows.
    Thanks a lot
    Scott
    Oracle JInitiator: Version 1.3.1.9
    Using JRE version 1.3.1.9 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\hilliers
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache
    0-5: set trace level to <n>
    Unregistered modality listener
    Removed trace listener: sun.plugin.ocx.ActiveXAppletViewer[oracle.forms.engine.Main,0,0,914x613,layout=java.awt.BorderLayout]
    Sending events to applet. STOP
    Sending events to applet. DESTROY
    Sending events to applet. DISPOSE
    Sending events to applet. QUIT
    Finding information...
    Releasing classloader: sun.plugin.ClassLoaderInfo@d9850, refcount=0
    Caching classloader: sun.plugin.ClassLoaderInfo@d9850
    Current classloader cache size: 1
    Done...
    Registered modality listener
    Referencing classloader: sun.plugin.ClassLoaderInfo@d9850, refcount=1
    Added trace listener: sun.plugin.ocx.ActiveXAppletViewer[oracle.forms.engine.Main,0,0,914x613,invalid,layout=java.awt.BorderLayout]
    Sending events to applet. LOAD
    Sending events to applet. INIT
    Sending events to applet. START
    Determine if the applet requests to install any HTML page
    HTML Installation finished.
    Opening http://appserver008/forms90/java/oracle/forms/engine/Main.class
    Connecting http://appserver008/forms90/java/oracle/forms/engine/Main.class with no proxy
    Opening http://appserver008/forms90/java/oracle/forms/engine/Main.class
    Connecting http://appserver008/forms90/java/oracle/forms/engine/Main.class with no proxy
    load: class oracle.forms.engine.Main not found.
    java.lang.ClassNotFoundException: java.io.IOException: open HTTP connection failed.
         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 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)

    You're a star, thanks.
    In my haste I had cut too much out of my old formsweb.cfg file and not realised I'd done it.
    Thanks Francois.

  • How to know the size of the EEPROM after loading any Applet

    How can I know the size of the EEPROM after loading any applet..
    Any comments on this is appreciated
    Thank you in advance

    kishansaralaya wrote:
    Thanks for your suggestion.
    But when I try to use
    short memRemaining = JCSystem.getAvailableMemory(JCSystem.MEMORY_TYPE_PERSISTENT);
    it always shows 32767. Even after loading some applet.
    And I am using 72K Java card then how it can show only 32Kbyte as the remaining memory value.This is because a short isn't big enough to display a number above 32767. One way around this is to use a byte[] to fill up some of the space with your temporary applet.
    byte[] memoryFiller = new byte[32767];
    short memRemaining = JCSystem.getAvailableMemory(JCSystem.MEMORY_TYPE_PERSISTENT);The value of memRemaining + 32767 is the amount of persistent memory left on the card. If memRemaining is still 32767, you can add another byte[] starting with small values and increase the size until you get a meaning ful result (less than 32K).

  • Problem Installing the loaded applet in Samsung java card (S3CC9P9).

    Hi all,
    Am trying to install the applets already loaded into the Samsung java card(S3CC9P9), because am unable to select the applet which are loaded into the card. I got to know that the applets are only loaded, they are not installed in the card, without installing the applet ,we cannot select the applet. Am using gpj(version 20120310 ) to install the applets into the card.
    When i execute : java -jar gpj.jar -list
    i get the list of applets in the card as :
    AID: A0 00 00 00 03 00 00 00 |........| ISD LC: 1 PR: 0x1A
    AID: A0 00 00 00 03 10 |......| Exe LC: 1 PR: 0x00
    AID: D4 10 65 09 90 00 10 00 |..e.....| Exe LC: 1 PR: 0x00
    AID: 31 50 41 59 2E |1PAY.| Exe LC: 1 PR: 0x00
    AID: D4 10 65 09 90 00 30 00 |..e...0.| Exe LC: 1 PR: 0x00
    AID: D4 10 65 09 90 00 20 00 |..e... .| Exe LC: 1 PR: 0x00
    Here am able to select only the first applet i.e., A0 00 00 00 03 00 00 00
    SO, when i try to install the other applets, for example A0 00 00 00 03 10, its fails.
    When i execute : java -jar gpj.jar -install -applet A00000000310
    i get :
    Found terminals: [PC/SC terminal ACS ACR38U 00 00]
    Found card in terminal: ACS ACR38U 00 00
    ATR: 3B 69 00 00 80 63 31 46 DF 83 FF 90 00
    DEBUG: Command APDU: 00 A4 04 00 07 A0 00 00 01 51 00 00
    DEBUG: Response APDU: 6A 82
    Failed to select Security Domain GP211 A0 00 00 01 51 00 00 , SW: 6A 82
    DEBUG: Command APDU: 00 A4 04 00 08 A0 00 00 00 18 43 4D 00
    DEBUG: Response APDU: 6A 82
    Failed to select Security Domain GemaltoXpressPro A0 00 00 00 18 43 4D 00 , SW: 6A 82
    DEBUG: Command APDU: 00 A4 04 00 08 A0 00 00 00 03 00 00 00
    DEBUG: Response APDU: 6F 19 84 08 A0 00 00 00 03 00 00 00 A5 0D 9F 6E 06 10 01 76 DE 00 05 9F 65 01 7F 90 00
    Successfully selected Security Domain OP201a A0 00 00 00 03 00 00 00
    DEBUG: Command APDU: 80 50 00 00 08 AE 2A B8 CE 3A BB E0 B0
    DEBUG: Response APDU: 00 00 61 41 01 09 38 2F 09 5A FF 01 3F D9 93 D9 FE 9A FA 3B E4 B7 21 89 6A 34 AB 18 90 00
    DEBUG: Command APDU: 84 82 00 00 10 A2 63 07 96 0B D8 A3 A9 93 A2 5C 7C 6D B7 E0 54
    DEBUG: Response APDU: 90 00
    DEBUG: Command APDU: 84 82 00 00 08 A2 63 07 96 0B D8 A3 A9
    DEBUG: Response APDU: 90 00
    java.lang.NullPointerException
         at net.sourceforge.gpj.cardservices.GlobalPlatformService.installAndMakeSelecatable(Unknown Source)
         at net.sourceforge.gpj.cardservices.GlobalPlatformService.main(Unknown Source)
    Can anyone please tell me where am wrong and how to make the applets selectable.
    Thanks in advance

    hy
    1. do you have a reader with a serial (com1) connection?
    if so, the reader has to be connected before starting windows. so windows recognizes it.
    2. have a look to the control panel. is there a tool - installed during driver installation - to test and configure the reader?
    if so try it.
    if all that works, the jcop tools communicate with the reader over the installed driver.
    snoopy

  • 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)

  • How to load an Applet application for 1000cards?

    Hi Friends..
    I want to know How to load an Applet application for 1000cards?..
    Assume that, i have an Applet application that need to loaded into 1000cards..
    So, how to solve this?
    Do i must to load an application manually for each card?
    Is there any another way?
    Thanks in advance..

    for 1000 cards you can use a "small" printer like an evolis "dualis" or something like that
    we've produced thousands of cards with this method in my company.
    the pro is that you can also print the cards in the same time.
    they usually have simple APIS like get_new_card_from_loader(), put_card_on_contacts(), eject_card()
    you can connect any reader on the printer , the raw card contacts are available on a connector.
    some printers also have contactless couplers.
    but remember that deploying cards in the field is not just loading an applet.
    it's also a cryptographic challenge, you need to change the card keys or anyone will be able to play with your cards, adding and removing applets as they want.
    typically this is achieved by using an ultra secret mother key and whatever derivation algorithm you like using data from INIT UPDATE as diversifier. example, you can TDES cipher part of the INIT UPDATE data using the mother key as TDES key, or use something involving SHA1, using a HSM if you are serious, etc.
    for your entertainment here is a high volume card personnalization machine. That's amazing.
    http://www.youtube.com/watch?v=6ZBF_yKRF5w

  • 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

  • Dynamic class loading in Applets

    Fully loaded applet in some browser, depending upon some user action, has to perform following things :
    (1) has to establish an network connection with some other system or server( other than Web Browser Server ) and get named( file name is known to applet ) JAR file from that system to client system( system where the applet is loaded ).
    (2) From the JAR file, the applet has to extract named( class file is known to applet ) class file and load the same to applet
    Pl. provide some information and sample java programs for the above mentiond problem .............

    You need to go through signed applets in Java.

  • Can't load java applet? help please?

    I am trying to load a java applet after an upgrade - but security settings are blocking it - please help

    Java is no longer supported on Mac OS X 10.6.    The security of Java has been found to be so bad, you are lucky to get any Apps that work wtih it.    You need a minimum of Mac OS X 10.7.3 to run the latest Java applets and that using Java from http://www.java.com/  See the user tip here to optimize Java under 10.6.8
    https://discussions.apple.com/docs/DOC-5532

  • 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());
    }

  • How can i load a applet in a jsp page

    hi ,
    i am chiranjit , i am working in a jsp project . i want to load a applet in a jsp page.previously i had tried this one through <jsp:plugin> but when it goes in cross platform this page unable to load the applet from the serverside.
    if have any solution then pls send the solution in forum.
    thank you.
    chiranjit

    I never tried this... but doesn't the normal html <applet> tag work?

Maybe you are looking for