Java Plug-in 1.4.0 throws an IllegalStateException: zip file closed

Cross-posting to reach a wider audience:
Java Plug-in 1.4.0 throws an IllegalStateException: zip file closed
Author: remyb Jul 23, 2002 6:36 AM
A IllegalStateException is thrown when the class loader
try to load a class from my applet JAR file.
The applet is embedded in a JSP page which use the Plug-In 1.4.0.
That JSP is hosted by Tomcat 4.0.1.
The applet JAR file is signed with a self-signed certificate.
The applet has been compiled with JDK 1.4.0.
The jar has been put in the Plug-in cache successfully.
Here is the stack trace I got in the Java Console ...
java.lang.IllegalStateException: zip file closed
at java.util.zip.ZipFile.getEntry(Unknown Source)
at java.util.jar.JarFile.getEntry(Unknown Source)
at sun.plugin.cache.CachedJarFile.getEntry(Unknown Source)
at java.util.jar.JarFile.getJarEntry(Unknown Source)
at sun.misc.URLClassPath$JarLoader.getResource(Unknown Source)
at sun.misc.URLClassPath.getResource(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
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 java.lang.ClassLoader.loadClassInternal(Unknown Source)
Please somebody help me !!
Thanks !
Re: Java Plug-in 1.4.0 throws an IllegalStateException: zip file closed
Author: mutmansky
In Reply To: Java Plug-in 1.4.0 throws an IllegalStateException: zip file closed Jul 26, 2002 6:36 AM
Reply 1 of 1
I've got a very similar error, but unfortuneatly I don't have an answer yet. The only difference is that my Applet is embedded in a standard HTML page, and loaded via Apache. Once the Applet runs, it then communicates with the servlet via Tomcat. I also exchange data with another server task via CORBA.
But everything else is the same, self-signed applet, applet compiles successfully, and jar is being put in the Plug-in Caceh successfully.
I have narrowed the problem down a bit, and maybe you can tell me if you're in a similar situation:
In my case, I need to encrypt the data that I'm sending through CORBA, so I create a Cipher object using Cipher.getInstance(). This method call seems to be the catalyst of my troubles. No matter where I move that call in my code, the next time the code tries to instantiate a class defined in my applet jar file after that "getInstance" call, I get the "zip file closed error." It's like the classloader is confused, because the Cipher.getInstance method would be accessing a different jar file or something. Are you trying to do something similar? Maybe not creating a Cipher, but creating some other object defined outside your own jar-file?
To top it off, if I disable caching in the Plugin control panel, everything works fine. But that's not really an option for me, since it slows things down a lot, and I can't make all my users go into their control panels and disable caching. But at leasts it makes me confident that there's not a problem with my code.
In my latest attempt to circumvent this problem, I even put the Cipher.getInstance() call in a static initializer. Here's the stack trace from that attempt:
java.lang.IllegalStateException: zip file closed
at java.util.zip.ZipFile.getEntry(Unknown Source)
at java.util.jar.JarFile.getEntry(Unknown Source)
at sun.plugin.cache.CachedJarFile.getEntry(Unknown Source)
at java.util.jar.JarFile.getJarEntry(Unknown Source)
at sun.misc.URLClassPath$JarLoader.getResource(Unknown Source)
at sun.misc.URLClassPath.getResource(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
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 java.lang.ClassLoader.loadClassInternal(Unknown Source)
at com.uss.wbi.client.WBIClient.<init>(WBIClient.java:404)
at com.uss.wbi.client.WBIApplet.init(WBIApplet.java:122)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
In other words, since the getInstance method is in a static initializer, the next thing to run is the applet.init(), which is what is failing now. If I move the Cipher.getInstance method into the client constructor, the next time I instantiate a new object, I'll get the error there.
Has anybody else seen anything like this? Or does anybody know how I can flush the Cache from the applet code? Or can I reset the ClassLoader in some way in the code?
Thanks,
Steve

Well, I finally came to a solution that is acceptable at least to me, if not ideal. I've started using the BouncyCastle lightweight API. This makes my code somewhat more complicated, and I had to bundle up all the BouncyCastle classes that I'm using into a jar file, and download that to my applet along with my client jar file (after signing the jar files). Using this Lightweight API bypasses the Cipher.getInstance() method all together, and is a little harder to use, but at least everything is working consistently now.
I still believe this to be a bug either in the ClassLoader or the Cipher.getInstance() method. I intend to try to write a test applet that reproduces the error in a more simple way and if I can pull that off, I'll submit a bug report to Sun.
Thanks to all who responded!!
Steve

Similar Messages

  • JSP compilation failed with java.lang.IllegalStateException: zip file close

    Hi,
    I have a web app successfully deployed on Weblogic7.0 and HP UX 11.0, which uses jdk 1.3.1_02
    In this application, when i invoke a jsp (this exception occurs on any jsp not to any specific jsp), i found the following exception trace on wl-domain.log file and server crashes: -
    java.lang.IllegalStateException: zip file closed
         at java.util.zip.ZipFile.getEntry(Unknown Source)
         at weblogic.servlet.internal.WarClassFinder.getSource(WarClassFinder.java, Compiled Code)
         at weblogic.servlet.internal.WarClassFinder.getSource(WarClassFinder.java, Compiled Code)
         at weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java, Compiled Code)
         at weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java, Compiled Code)
         at weblogic.utils.classloaders.MultiClassFinder.getClassSource(MultiClassFinder.java, Compiled Code)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.upToDate(ChangeAwareClassLoader.java, Compiled Code)
         at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java, Compiled Code)
         at weblogic.servlet.internal.ServletStubImpl.checkForReload(ServletStubImpl.java, Compiled Code)
         at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java, Compiled Code)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java, Compiled Code)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java, Compiled Code)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java, Compiled Code)
         at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java, Compiled Code)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java, Compiled Code)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java, Compiled Code)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java, Compiled Code)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java, Compiled Code)
    Can anyone help me in figuring out this problem urgently?
    thanks in advance
    manoj

    Hi Manoj.I am also getting the same problem in the weblogicserver version-6.1 SP2.It is also using the jdk 1.31.
    here is my stack trace.Help i smuch appreciated.!!
    java.lang.IllegalStateException: zip file closed
         at java.util.zip.ZipFile.getEntry(ZipFile.java:141)
         at weblogic.servlet.internal.WarClassFinder.getSource(WarClassFinder.java:197)
         at weblogic.servlet.internal.WarClassFinder.getSource(WarClassFinder.java:106)
         at weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java:53)
         at weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java:53)
         at weblogic.utils.classloaders.MultiClassFinder.getClassSource(MultiClassFinder.java:45)
         at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:265)
         at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:156)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:65)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
         at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
         at org.exolab.castor.xml.Unmarshaller.unmarshal(Unknown Source)
         at org.exolab.castor.xml.Unmarshaller.unmarshal(Unknown Source)
         at org.exolab.castor.xml.Unmarshaller.unmarshal(Unknown Source)
         at com.slfc.framework.service.ServiceMessageFactory.createServiceResult(ServiceMessageFactory.java:58)
         at sunlife.nexus.admin.SecPro.establishSupportSession(Unknown Source)
         at sunlife.nexus.admin.Page_secPro_extAppLoader.processPageRequest(Unknown Source)
         at sunlife.wis.servlets.WISServlet.redirect(WISServlet.java:63)
         at sunlife.wis.servlets.WISServlet.doExec(WISServlet.java:107)
         at sunlife.wis.servlets.WISServlet.doGet(WISServlet.java:70)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

  • Cannot extract Zip file with Winzip after zipping with java.util.zip

    Hi all,
    I write a class for zip and unzip the text files together which can be zip and unzip successfully with Java platform. However, I cannot extract the zip file with Winzip or even WinRAR after zipping with Java platform.
    Please help to comment, thanks~
    Below is the code:
    =====================================================================
    package myapp.util;
    import java.io.* ;
    import java.util.TreeMap ;
    import java.util.zip.* ;
    import myapp.exception.UserException ;
    public class CompressionUtil {
      public CompressionUtil() {
        super() ;
      public void createZip(String zipName, String fileName)
          throws ZipException, FileNotFoundException, IOException, UserException {
        FileOutputStream fos = null ;
        BufferedOutputStream bos = null ;
        ZipOutputStream zos = null ;
        File file = null ;
        try {
          file = new File(zipName) ; //new zip file
          if (file.isDirectory()) //check if it is a directory
         throw new UserException("Invalid zip file ["+zipName+"]") ;
          if (file.exists() && !file.canWrite()) //check if it is readonly
         throw new UserException("Zip file is ReadOnly ["+zipName+"]") ;
          if (file.exists()) //overwrite the existing file
         file.delete();
          file.createNewFile();
          //instantiate the ZipOutputStream
          fos = new FileOutputStream(file) ;
          bos = new BufferedOutputStream(fos) ;
          zos = new ZipOutputStream(bos) ;
          this.writeZipFileEntry(zos, fileName); //call to write the file into the zip
          zos.finish() ;
        catch (ZipException ze) {
          throw ze ;
        catch (FileNotFoundException fnfe) {
          throw fnfe ;
        catch (IOException ioe) {
          throw ioe ;
        catch (UserException ue) {
          throw ue ;
        finally {
          //close all the stream and file
          if (fos != null)
         fos.close() ;
          if (bos != null)
         bos.close();
          if (zos != null)
         zos.close();
          if (file != null)
         file = null ;
        }//end of try-catch-finally
      private void writeZipFileEntry(ZipOutputStream zos, String fileName)
          throws ZipException, FileNotFoundException, IOException, UserException {
        BufferedInputStream bis = null ;
        File file = null ;
        ZipEntry zentry = null ;
        byte[] bArray = null ;
        try {
          file = new File(fileName) ; //instantiate the file
          if (!file.exists()) //check if the file is not exist
         throw new UserException("No such file ["+fileName+"]") ;
          if (file.isDirectory()) //check if the file is a directory
         throw new UserException("Invalid file ["+fileName+"]") ;
          //instantiate the BufferedInputStream
          bis = new BufferedInputStream(new FileInputStream(file)) ;
          //Get the content of the file and put into the byte[]
          int size = (int) file.length();
          if (size == -1)
         throw new UserException("Cannot determine the file size [" +fileName + "]");
          bArray = new byte[(int) size];
          int rb = 0;
          int chunk = 0;
          while (((int) size - rb) > 0) {
         chunk = bis.read(bArray, rb, (int) size - rb);
         if (chunk == -1)
           break;
         rb += chunk;
          }//end of while (((int)size - rb) > 0)
          //instantiate the CRC32
          CRC32 crc = new CRC32() ;
          crc.update(bArray, 0, size);
          //instantiate the ZipEntry
          zentry = new ZipEntry(fileName) ;
          zentry.setMethod(ZipEntry.STORED) ;
          zentry.setSize(size);
          zentry.setCrc(crc.getValue());
          //write all the info to the ZipOutputStream
          zos.putNextEntry(zentry);
          zos.write(bArray, 0, size);
          zos.closeEntry();
        catch (ZipException ze) {
          throw ze ;
        catch (FileNotFoundException fnfe) {
          throw fnfe ;
        catch (IOException ioe) {
          throw ioe ;
        catch (UserException ue) {
          throw ue ;
        finally {
          //close all the stream and file
          if (bis != null)
         bis.close();
          if (file != null)
         file = null ;
        }//end of try-catch-finally
    }

    Tried~
    The problem is still here~ >___<
    Anyway, thanks for information sharing~
    The message is:
    Cannot open file: it does not appear to be a valid archive.
    If you downloaded this file, try downloading the file again.
    The problem may be here:
    if (fos != null)
    fos.close() ;
    if (bos != null)
    bos.close();
    if (zos != null)
    zos.close();
    if (file != null)
    file = null ;
    The fos is closed before bos so the last buffer is not
    saved.
    zos.close() is enough.

  • Updation in zip file through java program

    Hi,
    Can any buddy help me updating zip file using java programs. I dont want to delete the zip file but I want to update single file in the zip.
    Any clue ?
    Regards,
    Ashish

    I mean I want to update a zip file using java program.
    Suppose there are 4 files zipped into single zip file.
    zipped.zip contains a.txt, b.txt. c.txt. d.txt
    Now the contect of a.txt got changed and I want to update zipped.zip to with the changed a.txt.
    I have one way of creating a new file with new set of a.txt, b.txt, c.txt and then delete the earliar zipped.zip and rename the newly created zipped to zipped.zip.
    I dont want to do the same as above mentioned way. Is there any way provided in java API to remove any entry or update any entry?
    I feel now the problem has got explained in details.
    Any help ?

  • Want To create Zip file  using java,And Unzip without Java Program

    I want to create a zip text file using java, I know Using ZipOutputStream , we can create a zip file, , But i want to open that zip file without java program. suppose i use ZipOutputStream , then zip file is created But for unZip also difftrent program require. We cant open that zip file without writing diff java program.
    Actually i have one text file of big size want to create zip file using java , and unzip simply without java program.Its Possible??
    Here is one answer But I want to open that file normal way(
    For Exp. using winzip we can create a zip file and also open simply)
    http://forum.java.sun.com/thread.jspa?threadID=5182691&tstart=0

    Thanks for your Reply,
    I m creating a zip file using this program, Zip file Created successfully But when im trying to open .zip file i m getting error like "Canot open a zip file, it does not appear to be valid Archive"
    import java.io.*;
    import java.util.zip.*;
    public class ZipFileCreation
         public static void main (String argv[])
         try {
         FileOutputStream fos = new FileOutputStream ( "c:/a.zip" );
         ZipOutputStream zip = new ZipOutputStream ( fos );
         zip.setLevel( 9 );
         zip.setMethod( ZipOutputStream.DEFLATED );
    //     get the element file we are going to add, using slashes in name.
         String elementName = "c:/kalpesh/GetSigRoleInfo092702828.txt";
         File elementFile = new File ( elementName );
    //     create the entry
         ZipEntry entry = new ZipEntry( elementName );
         entry.setTime( elementFile.lastModified() );
    //     read contents of file we are going to put in the zip
         int fileLength = (int)elementFile.length();
         System.out.println("fileLength = " +fileLength);
         FileInputStream fis = new FileInputStream ( elementFile );
         byte[] wholeFile = new byte [fileLength];
         int bytesRead = fis.read( wholeFile , 0 /* offset */ , fileLength );
    //     checking bytesRead not shown.
         fis.close();
    //     no need to setCRC, or setSize as they are computed automatically.
         zip.putNextEntry( entry );
    //     write the contents into the zip element
         zip.write( wholeFile , 0, fileLength );
         zip.closeEntry(); System.out.println("Completed");
    //     close the entire zip
         catch(Exception e) {
    e.printStackTrace();
    }

  • Applets and memory not being released by Java Plug-in

    Hi.
    I am experiencing a strange memory-management behavior of the Java Plug-in with Java Applets. The Java Plug-in seems not to release memory allocated for non-static member variables of the applet-derived class upon destroy() of the applet itself.
    I have built a simple "TestMemory" applet, which allocates a 55-megabytes byte array upon init(). The byte array is a non-static member of the applet-derived class. With the standard Java Plug In configuration (64 MB of max JVM heap space), this applet executes correctly the first time, but it throws an OutOfMemoryException when pressing the "Reload / Refresh" browser button or if pressing the "Back" and then the "Forward" browser buttons. In my opionion, this is not an expected behavior. When the applet is destroyed, the non-static byte array member should be automatically invalidated and recollected. Isn't it?
    Here is the complete applet code:
    // ===================================================
    import java.awt.*;
    import javax.swing.*;
    public class TestMemory extends JApplet
      private JLabel label = null;
      private byte[] testArray = null;
      // Construct the applet
      public TestMemory()
      // Initialize the applet
      public void init()
        try
          // Initialize the applet's GUI
          guiInit();
          // Instantiate a 55 MB array
          // WARNING: with the standard Java Plug-in configuration (i.e., 64 MB of
          // max JVM heap space) the following line of code runs fine the FIRST time the
          // applet is executed. Then, if I press the "Back" button on the web browser,
          // then press "Forward", an OutOfMemoryException is thrown. The same result
          // is obtained by pressing the "Reload / Refresh" browser button.
          // NOTE: the OutOfMemoryException is not thrown if I add "testArray = null;"
          // to the destroy() applet method.
          testArray = new byte[55 * 1024 * 1024];
          // Do something on the array...
          for (int i = 0; i < testArray.length; i++)
            testArray[i] = 1;
          System.out.println("Test Array Initialized!");
        catch (Exception e)
          e.printStackTrace();
      // Component initialization
      private void guiInit() throws Exception
        setSize(new Dimension(400, 300));
        getContentPane().setLayout(new BorderLayout());
        label = new JLabel("Test Memory Applet");
        getContentPane().add(label, BorderLayout.CENTER);
      // Start the applet
      public void start()
        // Do nothing
      // Stop the applet
      public void stop()
        // Do nothing
      // Destroy the applet
      public void destroy()
        // If the line below is uncommented, the OutOfMemoryException is NOT thrown
        // testArray = null;
      //Get Applet information
      public String getAppletInfo()
        return "Test Memory Applet";
    // ===================================================Everything works fine if I set the byte array to "null" upon destroy(), but does this mean that I have to manually set to null all applet's member variables upon destroy()? I believe this should not be a requirement for non-static members...
    I am able to reproduce this problem on the following PC configurations:
    * Windows XP, both JRE v1.6.0 and JRE v1.5.0_11, both with MSIE and with Firefox
    * Linux (Sun Java Desktop), JRE v1.6.0, Mozilla browser
    * Mac OS X v10.4, JRE v1.5.0_06, Safari browser
    Your comments would be really appreciated.
    Thank you in advance for your feedback.
    Regards,
    Marco.

    Hi Marco,
    my guess as to why JPI would keep references around, if it does keep them, is that it propably is an implementation side effect. A lot of things are cached in the name of performance and it is easy to leave things laying around in your cache. Maybe the page with the associated images/applets is kept in the browser cache untill the browser needs some memory and if the browser memory manager is not co-operating with the JPI/JVM memory manager the browser is not out of memory, thus not releasing its caches but the JVM may be out of memory. Thus the browser indirectly keeps the reference that it realy does not need. This reference could be inderect through some 'applet context' or what ever the browser uses to interact with JPI, don't realy know any of these details, just imaging what must/could be going on there. Browser are amazingly complicated beast.
    This behaviour that you are observing, weather the origin is something like I speculated or not, is not nice but I would not expect it to be fixed even if you filed a bug report. I guess we are left with relleasing all significatn memory structures in destroy. A simple way to code this is not to store anything in the member fields of the applet but in a separate class; then one has to do is to null that one reference from the applet to that class in the destroy method and everything will be relased when necessary. This way it is not easy to forget to release things.
    Hey, here is a simple, imaginary, way in which the browser could cause this problem:
    The browser, of course needs a reference to the applet, call it m_Applet here. Presume the following helper function:
    Applet instantiateAndInit(Class appletClass) {
    Applet applet=appletClass.newInstance();
    applet.init();
    return applet;
    When the browser sees the applet tag it instantiates and inits the new applet as follows:
    m_Applet=instantiateAndInit(appletClass);
    As you can readily see, the second time the instantiation occurs, the m_Applet holds the reference to the old applet until after the new instance is created and initlized. This would not cause a memory leak but would require that twice the memory needed by the applet would be required to prevent OutOfMemory.I guess it is not fair to call this sort of thing a bug but it is questionable design.In real life this is propably not this blatant, but could happen You could try, if you like, by allocating less than 32 Megs in your init. If you then do not run out of memory it is an indication that there are at most two instances of your applet around and thus it could well be someting like I've speculated here.
    br Kusti

  • How to set up a Java Plug-in Download page in case of netscape?

    hai all of you,
    i have a problem regarding downloading plugin.
    i am using <object > and <embed> tags to download the plugins inorder to run the applets. but it is taking long time to download the plugin form sun.com.
    so what i have done is, i downloaded the plugin.exe file and .cab file and put it in my tomcat server mainted by other party.(y application if for internet purpose only.)
    i refered to http://java.sun.com/products/plugin/1.2/docs/intranet.html. there it is mentioned that, to download the plugin.
    for I.E i can able to change the code.
    but for NetScape it's a little bit confusing.
    i have downloaded the binary file in my own directory.
    here he is asking to set up a java plugin-in download page.
    instead of this "plugin-install.html" page what page i should create and what should be the code in this page if i have to write on my own. please let me know if anybody know about it.
    following para is from sun.com
    "To deploy Java Plug-in in intranet environments with Navigator, you need to download and store the Java Plug-in binary file on one of your web servers. Then you need to set up a Java Plug-in Download page and modify the pluginspage attribute in the EMBED tag to refer to this page. The Download page should have options to download different versions of Java Plug-in, such as for Windows and Solaris. For example, if you have set up the Java Plug-in Download page at "http://javaweb.eng/plugin/" and the page is called plugin-install.html, you can specify the pluginspage as "http://javaweb.eng/plugin/plugin-install.html". "
    thanks
    by
    sambareddy

    I have successfuly done this.
    Change the converted html as per the instructions to point to another page.
    Here is an example of the new html page you need to create:
    <html>
    <head>
    <title>Java Plugin Install Page</title>
    </head>
    <body>
    <h2><center>Java Plugin Install Page</center></h2>
    <p></p>
    <h3>Windows Version Only!!!</h3>
    Click here to Download Plugin
    <p></p>
    <p>You may or may not be asked to either save or run from current location</p>
    <p>If the run from current location is available, use that option</p>
    <p>If you can only save the file, then save it to your workstation and exit the download page and exit Netscape. Then using Windows Explorer, go to where you downloaded the file and double click on the file to run it. Accept all options during the install process and once it has finished try accessing your web page again using Netscape. You should then get to the web page or application and this page will not apppear again.
    </body>
    </html>
    If you put the file j2re-1_3_1-win.exe on a web server somewhere then you will have to prefix the file with
    http://yourwebserverdirectory/
    Hope this helps.

  • Java Plug-in / JSObject support with IE and Firefox

    Hi there,
    Basicaly, the idea behind is to write objects in Java to replace or extend functionnalities of a web page (like XMLHttpRequest object). Those objects should support event handler writen in Javascript.
    My first idea was to create JavaBeans and instantiate them through OBJECT tags in HTML (not as ActiveX objects). I don't find a way to instatiate a Javabean which was not also an applet.
    Does someone knows how to ?
    Anyway, the OBJECT tag may not work with Netscape. So, I went to use the APPLET tag with the Sun Java Plug-in.
    I've made some tests with IE and Firefox and there is at least two differences between them (both use the Sun Java Plug-in) :
    1/ Firefox / JSObject
    When you pass a Javascript object to a Java method, it seems that you
    cannot use methods like 'getMember', 'call', etc on this object.
    (invocation of the method works but returns null)
    But, if you access the same object form inside Java starting by
    JSObject.getWindows(...) and so on, it works fine.
    IE works in all cases.
    Example, with the Java applet and HTML below :
    . Java applet :
    | package JavaJS;
    |
    | import netscape.javascript.*;
    |
    | public class FirefoxApplet
    |        extends java.applet.Applet {
    |   netscape.javascript.JSObject win = null;
    |  
    |   public void init() {
    |     win = netscape.javascript.JSObject.getWindow(this);
    |   }
    |
    |   public Object getJSObjectMember( netscape.javascript.JSObject jso, String member ) {
    |     return jso.getMember(member);
    |   }
    |
    |   public netscape.javascript.JSObject getJSObjectFromPath( String jsoPath ) {
    |     String [] jsoNames = jsoPath.split("\\.");
    |     netscape.javascript.JSObject jso = win;
    |
    |     for( int i = 0; ( i < jsoNames.length ); i++ )
    |       jso = (netscape.javascript.JSObject)jso.getMember(jsoNames);
    |
    | return jso;
    | }
    |
    | public Object getJSObjectPathMember( String jsoPath, String member ) {
    | return getJSObjectMember(getJSObjectFromPath(jsoPath),member);
    | }
    | }
    [i]. HTML page :| <HTML>
    | <HEAD>
    | <TITLE>FirefoxApplet</TITLE>
    | <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    | <META http-equiv="Content-Script-Type" content="text/javascript">
    | <SCRIPT>
    | var ffxa = null;
    | var txa = null;
    |
    | var o = {
    | s : "object o, member s",
    | o : {
    | s : "object o.o, member s"
    | }
    | }
    |
    | function go() {
    | print(ffxa.getJSObjectMember(o,"s"));
    | print(ffxa.getJSObjectMember(o.o,"s"));
    | print(ffxa.getJSObjectPathMember("o","s"));
    | print(ffxa.getJSObjectPathMember("o.o","s"));
    | print(ffxa.getJSObjectMember(ffxa.getJSObjectFromPath("o"),"s"));
    | print(ffxa.getJSObjectMember(ffxa.getJSObjectFromPath("o.o"),"s"));
    | }
    |
    | function print( text ) {
    | txa.value = txa.value+text+"\n";
    | }
    |
    | function loaded() {
    | ffxa = document.getElementById("ffxa");
    | txa = document.getElementById("txa");
    |
    | }
    | </SCRIPT>
    | </HEAD>
    | <BODY onload="loaded()">
    | <APPLET id="ffxa"
    | code="JavaJS.FirefoxApplet.class"
    | width="0"
    | height="0"
    | MAYSCRIPT>
    | </APPLET><BR>
    | <INPUT type="button" onclick="go()" value="Go"><BR>
    | <TEXTAREA id="txa" rows="10" cols="40"></TEXTAREA>
    | </BODY>
    | </HTML>
    When the HTML page has loaded, a click on the Go button gives :
    . Firefox output :
    | null
    | null
    | object o, member s
    | object o.o, member s
    | null
    | null
    . IE output :
    | object o, member s
    | object o.o, member s
    | object o, member s
    | object o.o, member s
    | object o, member s
    | object o.o, member s
    2/ Internet Explorer / JSObject
    As we have seen in the previous example, passing Javascript object to
    an applet method works. Here, the problem comes when a Javascript object
    is pass to a method that's not an applet's method.
    If within the applet, you instantiate a new Java object and then
    call from Javascript a method on this object with a Javascript object as
    parameter then an Exception is raised when invoking that method.
    Firefox works fine here.
    Example, with the Java applet and HTML page below :
    . Java applet :
    | package JavaJS;
    |
    | public class IEApplet extends java.applet.Applet {
    |  
    |   public void init() {
    |   }
    |  
    |   public Object echo( Object object ) {
    |     return object;
    |   }
    |  
    |   public Object newEcho() {
    |     return new Echo();
    |   }
    | }
    . Java Echo class
    | package JavaJS;
    |
    | public class Echo {
    |  
    |   public Echo() {
    |   }
    |
    |   public Object echo(Object object) {
    |     return object;
    |   }
    | }
    . HTML page :
    | <HTML>
    |   <HEAD>
    |     <TITLE>IEApplet</TITLE>
    |     <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    |     <META http-equiv="Content-Script-Type" content="text/javascript">
    |     <SCRIPT>
    |       var iea = null;
    |       var txa = null;
    |
    |       var o = {
    |         s : "object o, member s",
    |         o : {
    |           s : "object o.o, member s"
    |         }
    |       }
    |
    |       function go() {
    |         print(iea.echo(o));
    |         print(iea.newEcho().echo(o));
    |       }
    |      
    |       function print( text ) {
    |         txa.value = txa.value+text+"\n";
    |       }
    |
    |       function loaded() {
    |         iea = document.getElementById("iea");
    |         txa = document.getElementById("txa");
    |        
    |       }
    |     </SCRIPT>
    |   </HEAD>
    |   <BODY onload="loaded()">
    |     <APPLET id="iea"
    |             code="JavaJS.IEApplet.class"
    |             width="0"
    |             height="0"
    |             MAYSCRIPT>
    |     </APPLET><BR>
    |     <INPUT type="button" onclick="go()" value="Go"><BR>
    |     <TEXTAREA id="txa" rows="10" cols="40"></TEXTAREA>
    |   </BODY>
    | </HTML>When the HTML page has loaded, a click on the Go button gives :
    . Firefox output :
    | [object Object]
    | [object Object]
    . IE output :
    | [object Object]
    with this Exception on the second method invocation :
    | java.lang.ClassCastException
    |      at sun.plugin.com.DispatchImpl.convertParams(Unknown Source)
    |      at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
    |      at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
    |      at java.security.AccessController.doPrivileged(Native Method)
    |      at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
    | java.lang.Exception: java.lang.ClassCastException
    |      at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
    |      at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
    |      at java.security.AccessController.doPrivileged(Native Method)
    |      at sun.plugin.com.DispatchImpl.invoke(Unknown Source)There is a workaround for this, it's possible to wrap the Javascript object
    in a Java object with an applet method and then use this Java object as
    parameter.
    Anyway, my questions are : regarding points 1/ and 2/ are these bugs with the Sun Java Plug-in ? or someone could explain these behaviors ?
    Thanks for your reading.
    Software infos :
    . Firefox version 1.0.7
    . Internet Explorer version 6.0.2800.1106 / JScript version 5.6
    . Plug-in Java(TM): Version 1.4.2_08
    . JSDK version 1.4.2_08
    . Windows 2000 Server version 5.00.2195 sp4

    Please test with the new Java Plug-In available in 6u10 at http://jdk6.dev.java.net/6u10ea.html. The Java/JavaScript bridge has been completely rewritten and is now more complete and portable than ever before. Longstanding issues should be fixed with this new version. Please try it and post if you continue to have problems.

  • Java Plug-In's SSV Helper 2, Start Detector - are not Verified

    I have the following Internet Explorer Add-ons relating to Java...
    I had an old version of Java, something like 1.5 or 1.15 ? - it was from 2006... then i installed the latest version of java from the official java website (where i had to say yes to installing add-ons / active-x controls even before the download begun)... my new version is Java version 6 update 10, (build 1.6.0_10-b33). i think i uninstalled the old version of java first.. it left some files in its installation directory so i manually deleted them after i had installed the new version though, it had its own folder with the version number as its name, a different folder for each version.
    These are the java plug-ins i have...
    Java(tm) Plug-In 2 SSV Helper (Not verified) Sun Microsystems, Inc. jp2ssv.dll
    Java(tm) Plug-In SSV Helper Sun Microsystems, Inc. ssv.dll
    JQSIEStartDetector Impl Class (Not verified) Sun Microsystems, Inc. jqs_plugin.dll
    i guess the SSV Helper (the first one, not 2) was the old version of java.. and the other two are the new version.
    My question, why are they not verified, is this normal, a danger/problem... considering the old java version add-on is verified.
    Also what do these add-ons do?, are they needed.
    thanks.
    I have windows xp home.sp3??? - its fully auto updated... internet explorer 7.

    Exactly .. I have way too much Java stuff in my add-ins that is NOT verified and am having problems deleting that which I may not need
    I wish we did not have to be a "developer" just to have the latest version of Java working on our systems. I realize more reading has to be done but for someone like me who has so many versions of Java and can not find out why this is so .. and how many I need in order to just prowse the web in the latest version of Java .. it is time consuming to have to go thru these Java add-ins and time consuming to have to want to remove older versions of Java.
    Sorry for the nit picking but it is valid for those of us who don't want to know all of this stuff.

  • Java Plug-in and Java Web Start Will Not Start In JDK 1.4.2_03

    I can't get the Java Plug-in or Java Web Start to start in JDK 1.4.2_03, but they did work when I first installed the JDK months ago. When I double-click either icon an hourglass displays for a second and then disappears without opening the window. I don't even get an error message.
    I've tried reinstalling the JDK three times. On the last reinstall, I followed some instructions on how to completely remove the JDK. Here's the URL of the instructions I followed:
    http://www.pcreview.co.uk/forums/thread-295773.php
    Strangely JBuilder stopped working too.
    I'm running Windows 2000.
    Help!
    Thank you!

    Hi
    Once u have got the Certificate from the Verisign there will be 3 chains in that cert(what i think)......Get the other 2 certificates from U r cert(like intermediate and Root)....and install them in the trust and Intermediate folder...
    other option is u generate the CSR keeping Sys Date 1 month ahead..( i tried like this only..it worked)
    Regards,
    Anand

  • JRE 1.7 / Java Plug-in - Long delay in retrieving the applet File(JAR) due to a request to the Domain Controller(on port 53)

    Description:
    A specific group of users/customers (using Windows7 OS with IE and FireFox web browsers) are facing problems with retrieving the applet File, after they upgraded the JRE on the system(PC) to JRE 1.7.0_25-b17 from JRE version 1.6.0_29-b11.
    With JRE 1.7.0_25-b17 it is noticed that when the Java plugin requests for the applet File; it sends a request to the Domain Controller of the user, which causes a delay of 2 to 5 minutes and sometimes hangs. The problem occurs consistently.
    The current temporary workaround for this group of users is to use JRE version 1.6.0_29-b11.
    Problem analysis:
    To investigate the problem the below steps were executed:
    1) Collected the Java console outputbelow details from the user's system. (The complete output is not posted due to lengthy content, though can be added further to this post if required.)
    (a) Works fine with JRE version 1.6.0_29-b11. Kindly refer to Java console output in the code ‘section A’ towards the end of this post.
    (b) The problem occurs with problem with JRE version 1.7.0_25-b17. Kindly refer to Java console output in the code ‘section B’ towards the end of this post. The step where the problem is observed, is indicated as(##<comment>##).
    2) The network settings in the user's browser was checked. Internet Options > Connections > LAN setting
    The configured option is 'Use automatic configuration script' and the value is http://www.userAppX.com/proxy.pac
    This configuration remains the same irrespective of the JRE version in use.
    3) The network settings in the Java Control Panel was checked.
    The used/selected option is "Use browser settings", although values for 'Use proxy server' and 'use automatic proxy configuration script' are filled-in as 'user-proxy.com' and 'http://www.userAppX.com/proxy.pac' respectively.
    This configuration remains the same irrespective of the JRE version in use.
    4) The proxy PAC file was checked and debugging was done for the request 'https://myAppletHost.com/download/...'. The FindProxyForUrl function (including the conditions defined in it, for the hostname and domain checks) returns PROXY user-proxy.com:80
    5) The user also tried the below
    a. Changed the option in the network settings in the browser to 'Proxy server' with Address 'user-proxy.com' and Port '80'
    b. Restarted the browser.
    c. Tried with Java Plug-in 1.6.0_29, JRE version 1.6.0_29-b11. There was no problem and no request to the Domain Controller of the user.
    d. Tried with Java Plug-in 10.40.2.43, JRE version 1.7.0_40-b43. The problem occurs with the delay and a request to the Domain Controller of the user is observed.
    Kindly refer to Java console output in the code ‘section C’ towards the end of this post.
    6) The user also tried setting the below property in the Java Control panel; restarted the browser, and try with JRE 1.7.0_40-b43. The problem stil persists.
    -Djava.net.preferIPv4Stack=true
    7) The Global Policy Management of the Domain Controller was verified by the user. It has GPO for proxy setting but nothing related to Java security.
    Questions:
    The problem seems be specific to a particular (user) environment setup, and the user faces the problem when using JRE 1.7.
    We would like to know if the issue is in the (user) environment setup or in JRE 1.7.
    Could you please help with information/ideas/suggestions to identify the root cause and solution for this problem?
    Section A:
    Java Plug-in 1.6.0_29
    Using JRE version 1.6.0_29-b11 Java HotSpot(TM) Client VM
    User home directory = C:\Users\userA
    basic: Plugin2ClassLoader.addURL parent called for https://myAppletHost.com/download/myApplet.jar
    network: Connecting https://myAppletHost.com/download/myApplet.jar with proxy=HTTP @ user-proxy.com/194.xxx.xx.xx:80
    network: Server https://myAppletHost.com/download/myApplet.jar requesting to set-cookie with "BCSI-CS-b1bb5056c5b0e83f=2; Path=/"
    network: Server https://myAppletHost.com/download/myApplet.jar requesting to set-cookie with "BCSI-CS-b1bb5056c5b0e83f=2; Path=/"
    security: Loading Root CA certificates from C:\Program Files (x86)\Java\jre6\lib\security\cacerts
    security: Loaded Root CA certificates from C:\Program Files (x86)\Java\jre6\lib\security\cacerts
    security: Loading SSL Root CA certificates from C:\Program Files (x86)\Java\jre6\lib\security\cacerts
    security: Loaded SSL Root CA certificates from C:\Program Files (x86)\Java\jre6\lib\security\cacerts
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Loading certificates from Internet Explorer ROOT certificate store
    security: Loaded certificates from Internet Explorer ROOT certificate store
    security: Checking if certificate is in Deployment denied certificate store
    network: Connecting https://myAppletHost.com/download/myApplet.jar with cookie "JSESSIONID=0000IK4bEMoqXH10zsl88rwvoRI:175oe9tjd; BCSI-CS-b1bb5056c5b0e83f=2"
    network: Downloading resource: https://myAppletHost.com/download/myApplet.jar
                    Content-Length: 403.293
                    Content-Encoding: null
    Dump system properties ...
    https.protocols = TLSv1,SSLv3
    java.vm.info = mixed mode, sharing
    java.vm.name = Java HotSpot(TM) Client VM
    java.vm.specification.name = Java Virtual Machine Specification
    java.vm.specification.vendor = Sun Microsystems Inc.
    java.vm.specification.version = 1.0
    java.vm.vendor = Sun Microsystems Inc.
    java.vm.version = 20.4-b02
    javaplugin.nodotversion = 160_29
    javaplugin.version = 1.6.0_29
    javaplugin.vm.options =
    os.arch = x86
    os.name = Windows 7
    os.version = 6.1
    trustProxy = true
    deployment.proxy.auto.config.url = http://www.userAppX.com/proxy.pac
    deployment.proxy.bypass.local = false
    deployment.proxy.http.host = user-proxy.com
    deployment.proxy.http.port = 80
    deployment.proxy.override.hosts =
    deployment.proxy.same = false
    deployment.proxy.type = 3
    deployment.security.SSLv2Hello = false
    deployment.security.SSLv3 = true
    deployment.security.TLSv1 = true
    deployment.security.mixcode = ENABLE
    Section B:
    Java Plug-in 10.25.2.17
    Using JRE version 1.7.0_25-b17 Java HotSpot(TM) Client VM
    User home directory = C:\Users\userA
    basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@12adac5
    basic: Plugin2ClassLoader.addURL parent called for https://myAppletHost.com/download/myApplet.jar
    network: Connecting https://myAppletHost.com/download/myApplet.jar with proxy=HTTP @ user-proxy.com/194.xxx.xx.xx:80
    network: Server https://myAppletHost.com/download/myApplet.jar requesting to set-cookie with "BCSI-CS-2d4ce94a2ae7b460=2; Path=/"
    network: Connecting http://10.x.x.xx:53/ with proxy=DIRECT
                    (##THE ABOVE REQUEST CAUSES THE DELAY OR HANGS##)
    network: Server https://myAppletHost.com/download/myApplet.jar requesting to set-cookie with "BCSI-CS-2d4ce94a2ae7b460=2; Path=/"
    security: Loading Root CA certificates from C:\Program Files (x86)\Java\jre7\lib\security\cacerts
    security: Loaded Root CA certificates from C:\Program Files (x86)\Java\jre7\lib\security\cacerts
    security: Loading SSL Root CA certificates from C:\Program Files (x86)\Java\jre7\lib\security\cacerts
    security: Loaded SSL Root CA certificates from C:\Program Files (x86)\Java\jre7\lib\security\cacerts
    security: Loading certificates from Deployment session certificate store
    security: Loaded certificates from Deployment session certificate store
    security: Loading certificates from Internet Explorer ROOT certificate store
    security: Loaded certificates from Internet Explorer ROOT certificate store
    network: Connecting https://myAppletHost.com/download/myApplet.jar with proxy=HTTP @ user-proxy.com/194.xxx.xx.xx:80
    network: Server https://myAppletHost.com/download/myApplet.jar requesting to set-cookie with "BCSI-CS-2d4ce94a2ae7b460=2; Path=/"
    network: Server https://myAppletHost.com/download/myApplet.jar requesting to set-cookie with "BCSI-CS-2d4ce94a2ae7b460=2; Path=/"
    network: Connecting https://myAppletHost.com/download/myApplet.jar with cookie "JSESSIONID=0000UQuXWY5tjxjpwcKHlfJKe_8:175oe9j45; BCSI-CS-2d4ce94a2ae7b460=2"
    network: ResponseCode for https://myAppletHost.com/download/myApplet.jar : 200
    network: Encoding for https://myAppletHost.com/download/myApplet.jar : null
    network: Server response: (length: -1, lastModified: Thu Feb xx yy:yy:yy CET 2013, downloadVersion: null, mimeType: text/plain)
    network: Downloading resource: https://myAppletHost.com/download/myApplet.jar
                    Content-Length: -1
                    Content-Encoding: null
    Section C:
    Java Plug-in 10.40.2.43
    Using JRE version 1.7.0_40-b43 Java HotSpot(TM) Client VM
    User home directory = C:\Users\userA
    basic: Plugin2ClassLoader.addURL parent called for https://myAppletHost.com/download/myApplet.jar
    network: Connecting https://myAppletHost.com/download/myApplet.jar with proxy=HTTP @ user-proxy.com/194.xxx.xx.xx:80
    network: Server https://myAppletHost.com/download/myApplet.jar requesting to set-cookie with "BCSI-CS-1d67c8b6508ca09c=2; Path=/"
    network: Connecting http://10.x.x.xx:53/ with proxy=DIRECT
                    (##THE ABOVE REQUEST CAUSES THE DELAY OR HANGS##)
    network: Checking for update at: https://javadl-esd-secure.oracle.com/update/blacklist
    network: Checking for update at: https://javadl-esd-secure.oracle.com/update/blacklisted.certs
    network: Checking for update at: https://javadl-esd-secure.oracle.com/update/baseline.version
    network: Connecting https://javadl-esd-secure.oracle.com/update/blacklist with proxy=HTTP @ user-proxy.com/194.xxx.xx.xx:80
    network: Connecting https://javadl-esd-secure.oracle.com/update/baseline.version with proxy=HTTP @ user-proxy.com/194.xxx.xx.xx:80
    network: Connecting https://javadl-esd-secure.oracle.com/update/blacklisted.certs with proxy=HTTP @ user-proxy.com/194.xxx.xx.xx:80
    security: Loading Root CA certificates from C:\Program Files (x86)\Java\jre7\lib\security\cacerts
    security: Loaded Root CA certificates from C:\Program Files (x86)\Java\jre7\lib\security\cacerts
    security: Loading SSL Root CA certificates from C:\Program Files (x86)\Java\jre7\lib\security\cacerts
    security: Loaded SSL Root CA certificates from C:\Program Files (x86)\Java\jre7\lib\security\cacerts
    Dump system properties ...
    https.protocols = TLSv1,SSLv3
    java.vm.info = mixed mode, sharing
    java.vm.name = Java HotSpot(TM) Client VM
    java.vm.specification.name = Java Virtual Machine Specification
    java.vm.specification.vendor = Oracle Corporation
    java.vm.specification.version = 1.7
    java.vm.vendor = Oracle Corporation
    java.vm.version = 24.0-b56
    javaplugin.nodotversion = 10402
    javaplugin.version = 10.40.2.43
    os.arch = x86
    os.name = Windows 7
    os.version = 6.1
    trustProxy = true
    active.deployment.proxy.auto.config.url = http://www.userAppX.com/proxy.pac
    active.deployment.proxy.bypass.local = false
    active.deployment.proxy.http.host = user-proxy.com
    active.deployment.proxy.http.port = 80
    active.deployment.proxy.same = false
    active.deployment.proxy.type = 3
    deployment.browser.path = C:\Program Files (x86)\Internet Explorer\iexplore.exe
    deployment.proxy.auto.config.url = http://www.userAppX.com/proxy.pac
    deployment.proxy.bypass.local = false
    deployment.proxy.http.host = user-proxy.com
    deployment.proxy.http.port = 80
    deployment.proxy.override.hosts =
    deployment.proxy.same = false
    deployment.proxy.type = 3                                                                                                                                                                                                                                                            
    deployment.security.SSLv2Hello = false
    deployment.security.SSLv3 = true
    deployment.security.TLSv1 = true
    deployment.security.TLSv1.1 = false
    deployment.security.TLSv1.2 = false
    deployment.security.authenticator = true
    deployment.security.disable = false
    deployment.security.level = HIGH
    deployment.security.mixcode = ENABLE
    PS:
    Since the JRE 1.7.0_25-b17 update, it is noticed that when the Java plugin requests for the applet File; it sends a request to the Domain Controller of the user, which causes a delay of 2 to 5 minutes and sometimes hangs.
    The problem occurs consistently, and also with JRE 1.7.0_45-b18.
    Java Plug-in 10.45.2.18
    Using JRE version 1.7.0_45-b18 Java HotSpot(TM) Client VM
    User home directory = C:\Users\userA
    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
    o:   trigger logging
    q:   hide console
    r:   reload policy configuration
    s:   dump system and deployment properties
    t:   dump thread list
    v:   dump thread stack
    x:   clear classloader cache
    0-5: set trace level to <n>
    cache: Initialize resource manager: com.sun.deploy.cache.ResourceProviderImpl@134a33d
    basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@1971f66
    basic: Plugin2ClassLoader.addURL parent called for https://myAppletHost.com/download/myApplet.jar
    network: Connecting https://myAppletHost.com/download/myApplet.jar with proxy=HTTP @ user-proxy.com/194.xxx.xx.xx:80
    network: Server https://myAppletHost.com/download/myApplet.jar requesting to set-cookie with "BCSI-CS-f797d4d262467220=2; Path=/"
    network: Connecting http://10.x.x.xx:53/ with proxy=DIRECT
    network: Connecting http://10.x.x.xx:53/ with proxy=DIRECT
                    (##THE ABOVE REQUEST CAUSES THE DELAY AND SOMETIMES HANGS##)

    My organization is experiencing very similar problems.  We have resolved it through several steps.
    We upgraded the client to Java 8 and we saw in the console that the hanging connection with the Domain Controller no longer occurs.  This may be all that is necessary for your environment as well. 

  • Java Plug-in not working with WinXP SP2 Registry Key Missing Error Pop-Up

    I have WinXp PRO with SP2 and the Oct 12 Security Update Patch for SP2 loaded and I went to my Control Panel and saw that the JavaRuntime Environment 1.4.2_04 icon was missing and when I went to click the Java Plugin icon to Open it, I got the following message in a Error Pop-Up window:
    The system cannot find the registry key specified:
    HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java pPlug-in\1.4.2_04\JavaHome
    I then went to Chage Access Program Controls and when I clicked on the Change box for the program, it wanted me to re-install the whole environment.
    Prior to doing this, and potentially screwing up my MS winXp environment, I went to the Sun support page for Java Plug-in and I did get the dancing elmo appear as they said I would but I noticed that my environment was MS VM, not Java and that I was out of date and a newer update was avaliable.
    The downloads page for the plug-in states clearly that it supports WinXp SP1 and NOT SP2.
    SO, my question is, do I need to re-install anything or wait till the whole SP2 issue and java with (BITS) issue gets resolved and just use the MS VM engine during my browsing time? Is there a workaround and what impact will this have on my system? I am not developing Java Apps but am a Power user in Windows who is wondering if applets and general browsing might be easier, faster and more fluid if the Java Runtime was enabled as opposed to the MS VM solution?
    Any ideas or thoughts on this very timely issue would be greatly appreciated as I see others have tried to post related issues but none that succinctly combines what I have asked for here in this post.
    Thanks from NYC -Phil

    did you know that XP SP2 has so many technical problems? try SP1 or contact the WindowsXP Vendor

  • Java Plug-in 1.5.0_06 Error JRE notinited

    Uninstalled all JRE versions. and downloaded the previous offline install packets from:
    http://java.sun.com/products/archive/
    JRE 1.5.0
    JRE 1.5.0_1
    JRE 1.5.0_2
    JRE 1.5.0_3
    JRE 1.5.0_4
    JRE 1.5.0_5
    JRE 1.5.0_6
    ,Installed them one after the other due to I read somewhere they recommend you keep all your JRE versions. Keep getting that error JRE notinited error on the brower status bar when I run the verify installation proccess at
    http://java.com/en
    JRE 1.4.1_02 an older version works if I uninstall all the newer versions and leave this version.
    None of the browser installed seem tow ork with the JRE 1.5 ect.
    I have IE 6, Netscape 7.2,. Firefox 1.5 all will not load applets and get that verify install red x for failing to load.
    Below is what I get in the Java Log.
    I
    Java Plug-in 1.5.0_06
    Using JRE version 1.5.0_06 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\Darrel Decal
    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
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    load: class jreCheck.class not found.
    java.lang.ClassNotFoundException: jreCheck.class
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at 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)
    Caused by: 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)
         ... 10 more
    Exception in thread "Thread-4" java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletException(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.lang.NullPointerException
         at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
         at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Some People claim that Norton programs might interfere, I disabled them even went as far to uninstall them which takes a long time.. to uninstall and install them back.
    I even went as far as a clean systems install of windows XP sp2 Home Edition and th en tried to update to Sun Java and still got the red X basically saying something wrong with install. But nothing every says its wrong when you run the offline installation. Just when you go back to the website to veriffy jjava is installed.
    To be able to use my subsciption I pay for on Pogo.com to play games that require applets I had to enable the MSJava in Internet Explorer and disable the box of the Sun Java applet version whatever you have installed to have Runtime Environment.
    If you don't have the MS Java on your Internet Explorer Advanced Options you can get it at this address:
    http://www.microsoft.com/mscorp/java/
    Go figure. I thought Sun Java would be more better which I had working before have no clue why it stopped working and those errors come up when trying to play games that require the use of the java applet.
    Was hoping other java users who have figured out why it stopped can tell me what to look for to alter so I can change back to sun Java.
    The Sun Java works great with other applications just not the applets.

    The same problem happened to me. When upgrading from JRE 1.5.0_5 to JRE 1.5.0_6, suddenly no applets would load, and all I could see was the little red X.
    I tried to change proxysettings (I dont use a proxy, but it is told at http://www.java.com/en/download/help/redximage.xml that it is due to wrong proxy-settings). It didn't help.
    I tried to turn off zonealarm. It didn't help.
    I tried to clear the browsers cache. It didn't help.
    I have been using both Firefox 1.5, and IE6. None would load the java-applets.
    So I uninstalled all older JRE versions and installed JRE 1.4.1_02. It worked!
    I then tried to upgrade to JRE 1.5.0. It didn't work.
    Now I am back at JRE 1.4.1_02 without knowing why I had to downgrade through 6 versions that through the last year or so has been working fine on my machine.
    I have no idea why it suddenly wouldnt work with the newer versions.
    Any ideas?
    Thank you.

  • Is there a way for java plug-in to get the browser login authentication

    I have an applet that is loaded from a password protected html page. I use java plug-in with the applet.
    When I try to read this page I get the browser window asking for password and username. So far so good.
    Then I log in successfully and starts using the applet.
    If the applet wants to access pages on the same PW protected area, I have to give the plug-in PW and UN.
    My question is then:
    Is there a way that java plug-in can get hold of the login information that the browser has obtained? (So that I wont have to give the same information twice)
    I thought the answer would be no, but then I started experimenting with https and found out that if I use the same scenario as above, except from that I give a certificate to the browser before the first login, then the plug-in will get certificate info from the browser, and it wont promt me for UN and PW either!
    When it is possible for the plug-in to obtain certificate info and login info from the browser then it should be possible just to get the login info with ordinarily http?

    bump

  • [BUG] a phantom Java Plug-in 1.6.0._07 remains installed in IE8

    a phantom Java Plug-in 1.6.0._07 remains installed in IE8 although the new version 1.6.0._19 is also installed.
    Look this screenshot: http://i40.tinypic.com/11mfhj6.png
    Windows Vista SP2
    Edited by: vistoso on Apr 9, 2010 12:04 PM

    The same thing can happen to firefox/linux depending on how you install it. However applets automatically registered with the updated vm. To update firefox to test and use the update, open ~/.mozilla/firefox/fooo.default/mimeTypes.rdf and change or remove the jnlp section.

Maybe you are looking for

  • FTP Module of PHP not installed

    So I'm trying to install Net2FTP on my server, so my friends will have an easy way to upload files without installing something on their desktop. Basically, it's running fine and dandy apart from one promblem: Clicking LOGIN brings the following erro

  • Reliably use one external drive with iTunes files with two computers?

    Hi all, I have an iMac with a 200GB external firewire drive as my main desktop. I also have a 12" Powerbook that I use around the house. I've also used the PB to stream music from my iMac to my stereo. I have the odd bit of trouble with this, music s

  • TestStand Deplyment Error- Error: Unable to locate all subVIs from saved VIs because a subVI is missing

    Hi, I am a Systems and Software Engineer based in Vancouver. I developed an automated test system using LabVIEW 2013 and TestStand 2013 with custom operator interface. I encountered 'missing VIs' problem which is kind of weird because I passed analyz

  • How do I create subheading in JTables or JXTable

    I want to create a table which has 2 columns... say column 1 and column2. Column 2 has more further divisions to create another 2 column (say A and B). Im not sure on how to express my question better so I just painted out the kind of table I wanted.

  • Confusing to EXP 2 databases

    Hi all, I am facing a big problem here. Currently I am using Oracle 10g and containing 2 databases "MYDBONE" and "MYDBTWO". Both databases were using same owner name as "MYADMIN". So every times before I patch any data, I will make a backup using the