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

REGRESSION:When call getOutputStream, JVM seems to continuously attempt to connect to the applet

XMLWordPrintable

      Problem:
       
      The issue is that the JVM 1.4.2_10 or JVM 1.4.2_11 seems to continuously attempt to connect to the applet download location.
      This happens when calling:

          OutputStream aOutputStream = aUrlConnection.getOutputStream();

      The only thing that has changed between the 2 environments below is the JVM upgrade from 1.4.2_08 to 1.4.2_10. Everything else is the same, and there is no reason that this should stop working. Thus we feel that this is an issue with these patches of the plug-in.
       
      We use SSL and LiveConnect in our environment. The UrlConnection is for applet <==> servlet communication and we POST data from the applet to the servlet.
       
      Expected Behaviour:
       
      Looking in the Java Console using JVM 1.4.2_08 the proper output is below:
       

          Java(TM) Plug-in: Version 1.4.2_08
          Using JRE version 1.4.2_08 Java HotSpot(TM) Client VM
          User home directory = C:\Documents and Settings\Administrator
          ----------------------------------------------------
          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 properties
          t: dump thread list
          v: dump thread stack
          x: clear classloader cache
          0-5: set trace level to <n>
          ----------------------------------------------------
          Trace level set to 2: basic, net ... completed.
          Registered modality listener
          Referencing classloader: sun.plugin.ClassLoaderInfo@1c79dfc, refcount=1
          Loading applet ...
          Initializing applet ...
          Starting applet ...
          [EntrustTruePassApplet/7.0] [DEBUG] CharacterEncoding=UTF8
          [EntrustTruePassApplet/7.0] [DEBUG] ForceKeyUpdate=0
          [EntrustTruePassApplet/7.0] [DEBUG] KeyRolloverPercentage=0
          [EntrustTruePassApplet/7.0] [DEBUG] PreserveClientApiFrame=OFF
          [EntrustTruePassApplet/7.0] [INFORMATIONAL] Initialized
          [EntrustTruePassApplet/7.0] [INFORMATIONAL] Roaming EPF applet started
          [EntrustTruePassApplet/7.0] [INFORMATIONAL] Authenticate User
          [EntrustTruePassApplet/7.0] [DEBUG] Receiving profile (unauthenticated)...
          Connecting https://was51derek.entrust.com/TruePassSampleApp/servlets/AuthenticationProfileAccessServlet with no proxy
          Connecting https://was51derek.entrust.com/TruePassSampleApp/servlets/AuthenticationProfileAccessServlet with cookie "EntrustTruePassLastUserName="Bob%20Walker5"; EntrustTruePassLastUserProfileType="ROAMING_EPF"; EntrustTruePassCurrentUser="Bob%20Walker5"; EntrustTruePassCurrentUserProfileType="ROAMING_EPF"; EntrustTruePassRedirectUrl=""; JSESSIONID=0000YENiZfxgqx3yDfgrslJoRFx:-1"
          [EntrustTruePassApplet/7.0] [DEBUG] Profile received
          [EntrustTruePassApplet/7.0] [DEBUG] Login profile...
          [EntrustTruePassApplet/7.0] [DEBUG] Profile logged in
          [EntrustTruePassApplet/7.0] [DEBUG] Receiving challenge...
          Connecting https://was51derek.entrust.com/TruePassSampleApp/servlets/AuthenticationServlet with no proxy
          Connecting https://was51derek.entrust.com/TruePassSampleApp/servlets/AuthenticationServlet with cookie "EntrustTruePassLastUserName="Bob%20Walker5"; EntrustTruePassLastUserProfileType="ROAMING_EPF"; EntrustTruePassCurrentUser="Bob%20Walker5"; EntrustTruePassCurrentUserProfileType="ROAMING_EPF"; EntrustTruePassRedirectUrl=""; JSESSIONID=0000YENiZfxgqx3yDfgrslJoRFx:-1"
          Server https://was51derek.entrust.com/TruePassSampleApp/servlets/AuthenticationServlet requesting to set-cookie with "JSESSIONID=0000IG9IP10SKB_DNLd3gTV_MOn:-1;Path=/"
          [EntrustTruePassApplet/7.0] [DEBUG] Challenge received
          [EntrustTruePassApplet/7.0] [DEBUG] Signing data...
          [EntrustTruePassApplet/7.0] [DEBUG] Data signed
          [EntrustTruePassApplet/7.0] [DEBUG] Validating challenge...
          Connecting https://was51derek.entrust.com/TruePassSampleApp/servlets/AuthenticationServlet with no proxy
          Connecting https://was51derek.entrust.com/TruePassSampleApp/servlets/AuthenticationServlet with cookie "EntrustTruePassLastUserName="Bob%20Walker5"; EntrustTruePassLastUserProfileType="ROAMING_EPF"; EntrustTruePassCurrentUser="Bob%20Walker5"; EntrustTruePassCurrentUserProfileType="ROAMING_EPF"; EntrustTruePassRedirectUrl=""; JSESSIONID=0000IG9IP10SKB_DNLd3gTV_MOn:-1"
          Server https://was51derek.entrust.com/TruePassSampleApp/servlets/AuthenticationServlet requesting to set-cookie with "EntrustTruePassRedirectUrl="";Domain=.entrust.com;Path=/; Secure"
          Server https://was51derek.entrust.com/TruePassSampleApp/servlets/AuthenticationServlet requesting to set-cookie with "EntrustTruePassID="7.0|Y249Qm9iIFdhbGtlcjUsIG89RE1BIENvcnAsIGM9Q0E=|1|2006-03-17 18:24:01 UTC|1200|50|3640|QIQ5Dg==|Y249U2xpZGVyIFNsaWRlciwgbz1ETUEgQ29ycCwgYz1DQQ==|ifvw59UIXGZjBfBesLqstS91jPQXmMROMPp4q+GyXN6gT3GCIdk0C4HtaS+RYFWjSXTtAQYDzPqeNHV3ycJiGeF+/T0qHOH7+1+Vo2qfNpvffiZkeL22DBcIJvbYqW4z8jgeI8fm1ng0usapNPIWtIckDRgZCn7aoMRdsiS6Ybs=";Domain=.entrust.com;Path=/; Secure"
          [EntrustTruePassApplet/7.0] [DEBUG] Challenge validated
          [EntrustTruePassApplet/7.0] [DEBUG] Loading https://was51derek.entrust.com/TruePassSample/AuthenticationCompleted.html
          Stopping applet ...
          Joining applet thread ...
          Destroying applet ...
          Disposing applet ...
          Quiting applet ...
          [EntrustTruePassApplet/7.0] [INFORMATIONAL] Stopped
          [EntrustTruePassApplet/7.0] [INFORMATIONAL] Destroyed
          Joined applet thread ...
          Unregistered modality listener
          Finding information ...
          Releasing classloader: sun.plugin.ClassLoaderInfo@1c79dfc, refcount=0
          Caching classloader: sun.plugin.ClassLoaderInfo@1c79dfc
          Current classloader cache size: 2
          Done ...

       
      Observed Behaviour:
       
      With JVM 1.4.2_10 or JVM 1.4.2_11 the output is:

          Java(TM) Plug-in: Version 1.4.2_10
          Using JRE version 1.4.2_10 Java HotSpot(TM) Client VM
          User home directory = C:\Documents and Settings\Administrator
          Proxy Configuration: No proxy
           

          ----------------------------------------------------
          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 properties
          t: dump thread list
          v: dump thread stack
          x: clear classloader cache
          0-5: set trace level to <n>
          ----------------------------------------------------
          Trace level set to 2: basic, net ... completed.
          Modality pushed
          Modality popped
          User selected: 0
          Loading https://was51derek.entrust.com/TruePassSample/applets/entrusttruepassapplet-epf.jar from cache
          [EntrustTruePassApplet/7.0] [DEBUG] CharacterEncoding=UTF8
          [EntrustTruePassApplet/7.0] [DEBUG] ForceKeyUpdate=0
          [EntrustTruePassApplet/7.0] [DEBUG] KeyRolloverPercentage=0
          [EntrustTruePassApplet/7.0] [DEBUG] PreserveClientApiFrame=OFF
          [EntrustTruePassApplet/7.0] [INFORMATIONAL] Initialized
          [EntrustTruePassApplet/7.0] [INFORMATIONAL] Roaming EPF applet started
          [EntrustTruePassApplet/7.0] [INFORMATIONAL] Authenticate User
          [EntrustTruePassApplet/7.0] [DEBUG] Receiving profile (unauthenticated)...
          Connecting https://was51derek.entrust.com/TruePassSampleApp/servlets/AuthenticationProfileAccessServlet with no proxy
          Connecting https://was51derek.entrust.com/TruePassSampleApp/servlets/AuthenticationProfileAccessServlet with cookie "EntrustTruePassLastUserName="Bob%20Walker5"; EntrustTruePassLastUserProfileType="ROAMING_EPF"; EntrustTruePassCurrentUser="Bob%20Walker5"; EntrustTruePassCurrentUserProfileType="ROAMING_EPF""
          [EntrustTruePassApplet/7.0] [DEBUG] Profile received
          [EntrustTruePassApplet/7.0] [DEBUG] Login profile...
          [EntrustTruePassApplet/7.0] [DEBUG] Profile logged in
          [EntrustTruePassApplet/7.0] [DEBUG] Receiving challenge...
          Connecting https://was51derek.entrust.com/TruePassSampleApp/servlets/AuthenticationServlet with no proxy
          Connecting https://was51derek.entrust.com/TruePassSampleApp/servlets/AuthenticationServlet with cookie "EntrustTruePassLastUserName="Bob%20Walker5"; EntrustTruePassLastUserProfileType="ROAMING_EPF"; EntrustTruePassCurrentUser="Bob%20Walker5"; EntrustTruePassCurrentUserProfileType="ROAMING_EPF""
          Connecting https://was51derek.entrust.com/TruePassSample/applets/entrusttruepassapplet-epf.jar with no proxy
          Connecting https://was51derek.entrust.com/TruePassSample/applets/entrusttruepassapplet-epf.jar with cookie "EntrustTruePassLastUserName="Bob%20Walker5"; EntrustTruePassLastUserProfileType="ROAMING_EPF"; EntrustTruePassCurrentUser="Bob%20Walker5"; EntrustTruePassCurrentUserProfileType="ROAMING_EPF""
          Connecting https://was51derek.entrust.com/TruePassSample/applets/entrusttruepassapplet-epf.jar with no proxy
          Connecting https://was51derek.entrust.com/TruePassSample/applets/entrusttruepassapplet-epf.jar with cookie "EntrustTruePassLastUserName="Bob%20Walker5"; EntrustTruePassLastUserProfileType="ROAMING_EPF"; EntrustTruePassCurrentUser="Bob%20Walker5"; EntrustTruePassCurrentUserProfileType="ROAMING_EPF""
          Connecting https://was51derek.entrust.com/TruePassSample/applets/entrusttruepassapplet-epf.jar with no proxy
          Connecting https://was51derek.entrust.com/TruePassSample/applets/entrusttruepassapplet-epf.jar with cookie "EntrustTruePassLastUserName="Bob%20Walker5"; EntrustTruePassLastUserProfileType="ROAMING_EPF"; EntrustTruePassCurrentUser="Bob%20Walker5"; EntrustTruePassCurrentUserProfileType="ROAMING_EPF""
          Connecting https://was51derek.entrust.com/TruePassSample/applets/entrusttruepassapplet-epf.jar with no proxy
          Connecting https://was51derek.entrust.com/TruePassSample/applets/entrusttruepassapplet-epf.jar with cookie "EntrustTruePassLastUserName="Bob%20Walker5"; EntrustTruePassLastUserProfileType="ROAMING_EPF"; EntrustTruePassCurrentUser="Bob%20Walker5"; EntrustTruePassCurrentUserProfileType="ROAMING_EPF""
          Connecting https://was51derek.entrust.com/TruePassSample/applets/entrusttruepassapplet-epf.jar with no proxy
          Connecting https://was51derek.entrust.com/TruePassSample/applets/entrusttruepassapplet-epf.jar with cookie "EntrustTruePassLastUserName="Bob%20Walker5"; EntrustTruePassLastUserProfileType="ROAMING_EPF"; EntrustTruePassCurrentUser="Bob%20Walker5"; EntrustTruePassCurrentUserProfileType="ROAMING_EPF""
          Connecting https://was51derek.entrust.com/TruePassSample/applets/entrusttruepassapplet-epf.jar with no proxy
          Connecting https://was51derek.entrust.com/TruePassSample/applets/entrusttruepassapplet-epf.jar with cookie "EntrustTruePassLastUserName="Bob%20Walker5"; EntrustTruePassLastUserProfileType="ROAMING_EPF"; EntrustTruePassCurrentUser="Bob%20Walker5"; EntrustTruePassCurrentUserProfileType="ROAMING_EPF""
          Connecting https://was51derek.entrust.com/TruePassSample/applets/entrusttruepassapplet-epf.jar with no proxy
          Connecting https://was51derek.entrust.com/TruePassSample/applets/entrusttruepassapplet-epf.jar with cookie "EntrustTruePassLastUserName="Bob%20Walker5"; EntrustTruePassLastUserProfileType="ROAMING_EPF"; EntrustTruePassCurrentUser="Bob%20Walker5";
          etc... keeps repeating

      System Info:
       
      So far we have only been able to reproduce this issue with one specific server configuration:

          Win2k3
          IHS 1.3.28
          WebSphere 5.1.1
      They found this problem with WebSphere 5.1.1.
      They feel that this is a Plug-in problem is that everything works properly with
      any other plug-in patch level, and that the plug-in upgrade is the only variable
      that has changed in the environment.

            coffeys Sean Coffey
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: