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

Can't connect to the web site while using JRE1.2.2 and 1.3

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.2.2_007
    • 1.2.2, 1.3.0
    • deploy
    • 007
    • x86
    • windows_98, windows_nt

        The customer has a java web based application running under IIS4.0.
        The application was developed under JDK1.1.6. The clients were
        able to connect to this application without problems when they
        were using JRE1.1.1 with IE 4 and IE 5.

        Recently the customer upgraded to JDK1.2.2. The clients were also
        upgraded to JRE1.2.2. Now the number of users who can connect seem
        limited. When the N+1 users tries to connect he gets the following message :
        "The page cannot be displayed
        The page you are looking for is currently unavailable.
        The Web site might be experiencing technical difficulties,
        or you may need to adjust your browser settings."

        Below is an example containing 2 java files & 1 html, demonstrating the problem.
        When running under JRE 1.1.1 we can, as expected, open as many connections with the server as we want.
        We then switched to JRE1.2.2. now when trying to connect from different clients to the sever the N+1 user (usually around the 30th one) we get the message quoted above.

        The html (testApplet.html):
        ================================
        <HTML>

        <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
        STANDBY="AM1 in now loading!" TITLE="AM1.5" WIDTH=250 HEIGHT=50 BORDER=5>
        <PARAM NAME= CODE VALUE="Amdocs.TestApplet">
        <PARAM NAME= CODEBASE VALUE="classes">
        <PARAM NAME="type" VALUE="application/x-java-applet;version=1.1.1">

        </OBJECT>

        </HTML>
        ================================

        The applet (TestApplet.java)
        =====================================

        package Amdocs;

        public class TestApplet extends java.applet.Applet
        {
            private java.awt.Button b1 = null;

          public void init()
        {
        AMRepository.m_repository = null;
        b1 = new java.awt.Button(" TEST APPLET ");
        b1.setBackground(new java.awt.Color(30,73,159));
        b1.setForeground(new java.awt.Color(232,232,166));
        add(b1);
        }
        }
        ================================================

        The second class (AMRepository.java)
        ===============================================
        package Amdocs;

        public class AMRepository
        {public static AMRepository m_repository = null;}
        ===================================================


        To recreate the problem you'll have to launch many seesion at the time
        from at least 4 PC's.

              duke J. Duke
              mhmccart Mary Mccarthy
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: