Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6521732

Intermittent class load errors when Java 1.6 methods are called from javascript


    • Type: Bug
    • Status: Resolved
    • Priority: P1
    • Resolution: Fixed
    • Affects Version/s: 6
    • Fix Version/s: 6u2
    • Component/s: deploy
    • Subcomponent:
    • Resolved In Build:
    • CPU:
      x86, sparc
    • OS:
      linux, solaris, solaris_nevada



        To reproduce the issue:

           1) unzip the attachment StarOffice.zip to somewhere available to your web browser (on the client filesystem or on a web server)

           2) Install java 1.6.0 b105 or 1.6.0_1,

           3) Create a link in the mozilla plugin directory to the correct JRE plugin:

        ROI-9399901-host-1:/usr/lib/mozilla/plugins # ln -s ../../../java/jre1.66.0/plugin/i386/ns7/libjavaplugin_oji.so .

           4) Set up deployment properties in your home directory to point to the correct JRE ~/.java/deployment/deployment.properties The attached example deployment properties works for java 1.6 b105 on JDS3 linux.

           5) Install the attached .java.policy file in your user's home directory. Replace <jre1.6.0>/lib/security/java.policy with the attached java.policy (backup the org one first)

           6) launch soffice (staroffice 8) on your client desktop and make sure it doesn't have any documents pending recovery. Close staroffice.

           7) Launch mozilla browser on client desktop. Browse to the page where the StarOffice.zip file was extracted. e.g. file:///home/user1/StarOffice/staroffice.html

           8) Hit refresh on the page a number of times. In here it is usually on the 5th refresh that the issue occurs.
            The installed PC has JDS3 with JRE 1.6
            The JavaScript error console can be seen to have the errors.

                The developers are calling a function every 100 milliseconds to check if the applet is active and this is not returning a success intermittently.

        See also the attached log file before and after refresh triggers the problem.


            Issue Links



                • Assignee:
                  dphamsunw Danielle Pham (Inactive)
                  bnitz Brian Nitz
                • Votes:
                  0 Vote for this issue
                  3 Start watching this issue


                  • Created: