1 Reply Latest reply: Sep 6, 2013 9:39 AM by user1363207 RSS

    URLConnection error on https

    991391
      Hello,

      i have noticed an error, that makes sometimes troubles, when downloading jars from https addresses, when there are many jars to download..
      Best example is by opening Javas onw Java version checker.
      https://www.java.com/en/download/installed.jsp
      I get also following log...
      network: Connecting https://www.java.com/jsp_utils/jreverification.jar with proxy=DIRECT
      network: Connecting http://www.java.com:443/ with proxy=DIRECT
      network: Connecting https://www.java.com/jsp_utils/jreverification.jar with cookie "JSESSIONID=22ABBA2BE9B5789629C276AC35BDF969; s_cc=true;
      Even if the address is https, java try to access via http protocol on port 443, and that leads sometimes to problems..
      I have noticed this, when I have used URLConnection(HttpURLConnection) for my self, as soon Java sends http link on https address, the jar gets sometimes not loaded, and i get error about missing class that get called..
      On http addres it is not so bad, since same protocol is used, but evidently, that is evil for https..
      Are Oracle programmers going to fix that?
      As you see, that happens already when loading Jar by Applet Starter and at all, it happens each time on any URLConnection

      ###############################
      Java Plug-in 10.13.2.20
      Using JRE version 1.7.0_13-b20 Java HotSpot(TM) Client VM
      User home directory = X:\Users\admin
      ----------------------------------------------------
      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@cef147
      security: property package.access value sun.,com.sun.xml.internal.bind.,com.sun.xml.internal.org.jvnet.staxex.,com.sun.xml.internal.ws.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.defaults.,com.sun.jmx.remote.util.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.
      security: property package.access new value sun.,com.sun.xml.internal.bind.,com.sun.xml.internal.org.jvnet.staxex.,com.sun.xml.internal.ws.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.defaults.,com.sun.jmx.remote.util.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
      security: property package.definition value sun.,com.sun.xml.internal.bind.,com.sun.xml.internal.org.jvnet.staxex.,com.sun.xml.internal.ws.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.defaults.,com.sun.jmx.remote.util.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.
      security: property package.definition new value sun.,com.sun.xml.internal.bind.,com.sun.xml.internal.org.jvnet.staxex.,com.sun.xml.internal.ws.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.defaults.,com.sun.jmx.remote.util.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
      security: property package.access value sun.,com.sun.xml.internal.bind.,com.sun.xml.internal.org.jvnet.staxex.,com.sun.xml.internal.ws.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.defaults.,com.sun.jmx.remote.util.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
      security: property package.access new value sun.,com.sun.xml.internal.bind.,com.sun.xml.internal.org.jvnet.staxex.,com.sun.xml.internal.ws.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.defaults.,com.sun.jmx.remote.util.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
      security: property package.definition value sun.,com.sun.xml.internal.bind.,com.sun.xml.internal.org.jvnet.staxex.,com.sun.xml.internal.ws.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.defaults.,com.sun.jmx.remote.util.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
      security: property package.definition new value sun.,com.sun.xml.internal.bind.,com.sun.xml.internal.org.jvnet.staxex.,com.sun.xml.internal.ws.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.defaults.,com.sun.jmx.remote.util.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
      security: property package.access value sun.,com.sun.xml.internal.bind.,com.sun.xml.internal.org.jvnet.staxex.,com.sun.xml.internal.ws.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.defaults.,com.sun.jmx.remote.util.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
      security: property package.access new value sun.,com.sun.xml.internal.bind.,com.sun.xml.internal.org.jvnet.staxex.,com.sun.xml.internal.ws.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.defaults.,com.sun.jmx.remote.util.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss,com.sun.browser,com.sun.glass,com.sun.javafx,com.sun.media.jfxmedia,com.sun.media.jfxmediaimpl,com.sun.openpisces,com.sun.prism,com.sun.scenario,com.sun.t2k,com.sun.webpane,com.sun.pisces,com.sun.webkit
      security: property package.definition value sun.,com.sun.xml.internal.bind.,com.sun.xml.internal.org.jvnet.staxex.,com.sun.xml.internal.ws.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.defaults.,com.sun.jmx.remote.util.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
      security: property package.definition new value sun.,com.sun.xml.internal.bind.,com.sun.xml.internal.org.jvnet.staxex.,com.sun.xml.internal.ws.,com.sun.imageio.,com.sun.istack.internal.,com.sun.jmx.defaults.,com.sun.jmx.remote.util.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss,com.sun.browser,com.sun.glass,com.sun.javafx,com.sun.media.jfxmedia,com.sun.media.jfxmediaimpl,com.sun.openpisces,com.sun.prism,com.sun.scenario,com.sun.t2k,com.sun.webpane,com.sun.pisces,com.sun.webkit
      basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@18a2d7d
      basic: Plugin2ClassLoader.addURL parent called for https://www.java.com/jsp_utils/jreverification.jar
      security: Accessing keys and certificate in Mozilla user profile: null
      security: JSS is not configured
      network: Connecting https://www.java.com/jsp_utils/jreverification.jar with proxy=DIRECT
      network: Connecting http://www.java.com:443/ with proxy=DIRECT
      security: Loading Root CA certificates from X:\Program Files\Java\jre7\lib\security\cacerts
      security: Loaded Root CA certificates from X:\Program Files\Java\jre7\lib\security\cacerts
      security: Loading SSL Root CA certificates from X:\Program Files\Java\jre7\lib\security\cacerts
      security: Loaded SSL Root CA certificates from X:\Program Files\Java\jre7\lib\security\cacerts
      security: Loading Deployment SSL certificates from X:\Users\admin\AppData\LocalLow\Sun\Java\Deployment\security\trusted.jssecerts
      security: Loaded Deployment SSL certificates from X:\Users\admin\AppData\LocalLow\Sun\Java\Deployment\security\trusted.jssecerts
      security: Loading certificates from Deployment session certificate store
      security: Loaded certificates from Deployment session certificate store
      security: Checking if certificate is in Deployment denied certificate store
      network: Connecting https://www.java.com/jsp_utils/jreverification.jar with proxy=DIRECT
      network: Connecting http://www.java.com:443/ with proxy=DIRECT
      network: Connecting https://www.java.com/jsp_utils/jreverification.jar with cookie "JSESSIONID=22ABBA2BE9B5789629C276AC35BDF969; s_cc=true; s_nr=1361043522618; gpName=javac%3ADownload%3ATry1_JRE_Homepage; gpChannel=javac%3ADownload; gpServer=www.java.com; s_sq=%5B%5BB%5D%5D"
      network: Downloading resource: https://www.java.com/jsp_utils/jreverification.jar
           Content-Length: 1 306
           Content-Encoding: null
      security: Blacklist revocation check is enabled
      security: The jar file isnt signed so the blacklist check will be skipped
      security: Trusted libraries list check is enabled
      security: Trusted libraries list file not found
      security: The jar file isnt signed so the blacklist check will be skipped
      cache: Adding MemoryCache entry: https://www.java.com/jsp_utils/jreverification.jar
      network: Created version ID: 1.7.0.13
      network: Created version ID: 1.7.0.13
      basic: Applet loaded.
      basic: Applet resized and added to parent container
      basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 234287 us, pluginInit dt 7710144 us, TotalTime: 7944431 us
      basic: Applet initialized
      basic: Starting applet
      basic: completed perf rollup
      basic: Applet made visible
      basic: Applet started
      basic: Told clients applet is started
      basic: Starting applet teardown
      basic: Finished applet teardown
      basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@18a2d7d