9 Replies Latest reply: Apr 6, 2012 3:03 AM by 926299 RSS

    jnlp ie win7 sleep

    926299
      hi,

      I have on internet explorer (v8 or v9, 32/64bits ) on win7 64 bits (laptop, vmware or pc) a sleep of x second before first log of network

      1) in java console :
      Java Plug-in 1.6.0_31
      Utilisation de la version JRE 1.6.0_31-b05 Java HotSpot(TM) Client VM
      ....
      </jnlp>
      -> Sleep x seconds
      network : connexion de https.....


      2) With wiresharck we see the first SYN after the x seconds (it is not a problem of network)
      3) With process Monitor we see nothing during of the time

      http://img829.imageshack.us/img829/5692/javasleep.th.png

      4) same problem with first jnlp test find online

      5) no problem in
      winxp with all browser
      win7 64bits with firefox chrome

      Have you same problem

      best regards

      gabriel

      Edited by: 923296 on 26 mars 2012 03:10

      Edited by: 923296 on 26 mars 2012 03:23
        • 1. Re: jnlp ie win7 sleep
          EJP
          With process Monitor we see nothing
          What were you expecting to see?
          • 2. Re: jnlp ie win7 sleep
            926299
            Just for report a time where system do nothing for java. Perhaps a synchronization, configuration ....
            if it is normal my clients must waiting 2 seconds more.
            • 3. Re: jnlp ie win7 sleep
              gimbal2
              Yes, its normal that things may take a few seconds to initialize and that this behavior may differ from system to system / environment to environment. That applies to anything computer-related where multiple levels of abstraction are in place. Fact of the matter is you don't know where the delay comes from. It might just be the plugin initializing in the browser, who knows.

              Its not a problem anyway, until it starts to cost money.
              • 4. Re: jnlp ie win7 sleep
                817264
                In general any delay of few seconds on startup is not normal and it is very likely to be network related.

                Try other apps - do you see this issue with your app only or any other app?
                What apps that show the problem have in common? use of https?

                Do you see similar problem outside of your "home" network? With different proxy, dns server, etc.

                If you do not see anything happening then process is "blocked" waiting for something.
                Often it is waiting for proxy to accept connection or for DNS lookup.
                Check their configs. Also - keep run jstack while your app is launching (or use thread dump in the java console), it will be interesting to see thread dump when it is waiting.

                And check latest JRE 7u4 build. Do you see the same problem?
                • 5. Re: jnlp ie win7 sleep
                  926299
                  I did a simple applet without security permission.
                  I removed https and used ip directly (no dns).
                  I used a simple jnlp like this :

                  <?xml version="1.0" encoding="utf-8"?>
                  <jnlp spec="6.0+" codebase="" href="test.jnlp">
                       <information>
                       <title>test Applet</title>
                       <vendor>xxx</vendor>
                       <homepage href="http://www.mobilysim.com"/>
                       <description></description>
                       <description kind="short"></description>
                       </information>
                       <resources>
                       <j2se version="1.6+"/>
                       <jar href="applet_test.jar" main="true"/>
                       </resources>
                       <applet-desc name="test Applet" main-class="test.class" width="1" height="1"></applet-desc>      
                  </jnlp>

                  for ie i use simple object tag

                  <object id="applet_test" classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="1" height="1">
                  <param name="archive" value="applet_test.jar" >
                  <param name="code" value="test.class" >
                  <param name="mayscript" value="true" >
                  <param name="jnlp_href" value="../applet/test.jnlp" >
                  <param name="initial_focus" value="false">
                  </object>


                  Always when i open ie on win7 64 i see 2s </jnlp> before network.
                  ie on Xp work fine, on the same computer with ff chrome work fine.

                  I have same problem with first applet/jnlp found on net

                  JRE 7u4 no seem work on webbrowser (only javaws)

                  -------------------------------------------------------------------------------
                  The dump thread at time of sleep :
                  -------------------------------------------------------------------------------
                  2012-04-02 15:26:30
                  Full thread dump Java HotSpot(TM) 64-Bit Server VM (20.6-b01 mixed mode):

                  "thread applet-test.class-1" prio=4 tid=0x00000000069a7000 nid=0x700 runnable [0x0000000000000000]
                  java.lang.Thread.State: RUNNABLE

                  "AWT-EventQueue-2" prio=4 tid=0x00000000069a8800 nid=0xae8 in Object.wait() [0x000000000952f000]
                  java.lang.Thread.State: WAITING (on object monitor)
                       at java.lang.Object.wait(Native Method)
                       - waiting on <0x00000000db2ef4a8> (a java.awt.EventQueue)
                       at java.lang.Object.wait(Object.java:485)
                       at java.awt.EventQueue.getNextEvent(Unknown Source)
                       - locked <0x00000000db2ef4a8> (a java.awt.EventQueue)
                       at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
                       at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
                       at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
                       at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
                       at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
                       at java.awt.EventDispatchThread.run(Unknown Source)

                  "Keep-Alive-Timer" daemon prio=8 tid=0x00000000069a0000 nid=0x8d8 waiting on condition [0x000000000942f000]
                  java.lang.Thread.State: TIMED_WAITING (sleeping)
                       at java.lang.Thread.sleep(Native Method)
                       at sun.net.www.http.KeepAliveCache.run(Unknown Source)
                       at java.lang.Thread.run(Unknown Source)

                  "ConsoleWriterThread" daemon prio=6 tid=0x00000000069a3800 nid=0x1cc in Object.wait() [0x000000000932f000]
                  java.lang.Thread.State: WAITING (on object monitor)
                       at java.lang.Object.wait(Native Method)
                       - waiting on <0x00000000db0be6d8> (a java.lang.Object)
                       at java.lang.Object.wait(Object.java:485)
                       at com.sun.deploy.util.ConsoleTraceListener$ConsoleWriterThread.run(Unknown Source)
                       - locked <0x00000000db0be6d8> (a java.lang.Object)

                  "JVM[id=0]-Heartbeat" daemon prio=6 tid=0x00000000069a8000 nid=0xa40 in Object.wait() [0x0000000008e5f000]
                  java.lang.Thread.State: TIMED_WAITING (on object monitor)
                       at java.lang.Object.wait(Native Method)
                       - waiting on <0x00000000db0faf70> (a sun.plugin2.main.client.PluginMain$Heartbeat)
                       at sun.plugin2.main.server.HeartbeatThread.run(Unknown Source)
                       - locked <0x00000000db0faf70> (a sun.plugin2.main.client.PluginMain$Heartbeat)

                  "Applet 1 LiveConnect Worker Thread" prio=4 tid=0x00000000069a6800 nid=0x954 in Object.wait() [0x0000000008c5f000]
                  java.lang.Thread.State: WAITING (on object monitor)
                       at java.lang.Object.wait(Native Method)
                       - waiting on <0x00000000db0fa778> (a java.lang.Object)
                       at java.lang.Object.wait(Object.java:485)
                       at sun.plugin2.main.client.LiveConnectSupport$PerAppletInfo$LiveConnectWorker.run(Unknown Source)
                       - locked <0x00000000db0fa778> (a java.lang.Object)
                       at java.lang.Thread.run(Unknown Source)

                  "Image Fetcher 3" daemon prio=8 tid=0x00000000069a5800 nid=0xa90 in Object.wait() [0x0000000008b5f000]
                  java.lang.Thread.State: TIMED_WAITING (on object monitor)
                       at java.lang.Object.wait(Native Method)
                       - waiting on <0x00000000db11ed70> (a java.util.Vector)
                       at sun.awt.image.ImageFetcher.nextImage(Unknown Source)
                       - locked <0x00000000db11ed70> (a java.util.Vector)
                       at sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
                       at sun.awt.image.ImageFetcher.run(Unknown Source)

                  "TimerQueue" daemon prio=6 tid=0x00000000069a5000 nid=0xb24 in Object.wait() [0x0000000008a5f000]
                  java.lang.Thread.State: WAITING (on object monitor)
                       at java.lang.Object.wait(Native Method)
                       - waiting on <0x00000000db25a7f0> (a javax.swing.TimerQueue)
                       at javax.swing.TimerQueue.run(Unknown Source)
                       - locked <0x00000000db25a7f0> (a javax.swing.TimerQueue)
                       at java.lang.Thread.run(Unknown Source)

                  "Windows Tray Icon Thread" prio=6 tid=0x00000000069a4800 nid=0x218 runnable [0x000000000700f000]
                  java.lang.Thread.State: RUNNABLE
                       at com.sun.deploy.ui.WindowsJavaTrayIcon.mainLoop(Native Method)
                       at com.sun.deploy.ui.WindowsJavaTrayIcon.access$700(Unknown Source)
                       at com.sun.deploy.ui.WindowsJavaTrayIcon$2.run(Unknown Source)
                       at java.lang.Thread.run(Unknown Source)

                  "Browser Side Object Cleanup Thread" prio=6 tid=0x00000000069a3000 nid=0x380 in Object.wait() [0x0000000007dcf000]
                  java.lang.Thread.State: WAITING (on object monitor)
                       at java.lang.Object.wait(Native Method)
                       - waiting on <0x00000000db0f0188> (a java.lang.ref.ReferenceQueue$Lock)
                       at java.lang.ref.ReferenceQueue.remove(Unknown Source)
                       - locked <0x00000000db0f0188> (a java.lang.ref.ReferenceQueue$Lock)
                       at java.lang.ref.ReferenceQueue.remove(Unknown Source)
                       at sun.plugin2.main.client.LiveConnectSupport$BrowserSideObjectCleanupThread.run(Unknown Source)

                  "AWT-EventQueue-1" prio=6 tid=0x00000000069a2000 nid=0x6d8 in Object.wait() [0x0000000007ccf000]
                  java.lang.Thread.State: WAITING (on object monitor)
                       at java.lang.Object.wait(Native Method)
                       - waiting on <0x00000000db066558> (a java.awt.EventQueue)
                       at java.lang.Object.wait(Object.java:485)
                       at java.awt.EventQueue.getNextEvent(Unknown Source)
                       - locked <0x00000000db066558> (a java.awt.EventQueue)
                       at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
                       at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
                       at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
                       at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
                       at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
                       at java.awt.EventDispatchThread.run(Unknown Source)

                  "CacheCleanUpThread" daemon prio=6 tid=0x00000000069a1800 nid=0x5ec in Object.wait() [0x0000000007bcf000]
                  java.lang.Thread.State: WAITING (on object monitor)
                       at java.lang.Object.wait(Native Method)
                       - waiting on <0x00000000dafb5988> (a com.sun.deploy.cache.CleanupThread)
                       at java.lang.Object.wait(Object.java:485)
                       at com.sun.deploy.cache.CleanupThread.run(Unknown Source)
                       - locked <0x00000000dafb5988> (a com.sun.deploy.cache.CleanupThread)

                  "CacheMemoryCleanUpThread" daemon prio=6 tid=0x00000000069a0800 nid=0x73c in Object.wait() [0x0000000007acf000]
                  java.lang.Thread.State: WAITING (on object monitor)
                       at java.lang.Object.wait(Native Method)
                       - waiting on <0x00000000dafaa4b8> (a java.lang.ref.ReferenceQueue$Lock)
                       at java.lang.ref.ReferenceQueue.remove(Unknown Source)
                       - locked <0x00000000dafaa4b8> (a java.lang.ref.ReferenceQueue$Lock)
                       at java.lang.ref.ReferenceQueue.remove(Unknown Source)
                       at com.sun.deploy.cache.MemoryCache$LoadedResourceCleanupThread.run(Unknown Source)

                  "SysExecutionTheadCreator" daemon prio=6 tid=0x00000000069b8000 nid=0xafc in Object.wait() [0x00000000078cf000]
                  java.lang.Thread.State: WAITING (on object monitor)
                       at java.lang.Object.wait(Native Method)
                       - waiting on <0x00000000daf90890> (a sun.plugin.util.PluginSysUtil$SysExecutionThreadCreator)
                       at java.lang.Object.wait(Object.java:485)
                       at sun.plugin.util.PluginSysUtil$SysExecutionThreadCreator.run(Unknown Source)
                       - locked <0x00000000daf90890> (a sun.plugin.util.PluginSysUtil$SysExecutionThreadCreator)

                  "AWT-EventQueue-0" prio=6 tid=0x0000000006917800 nid=0x9f0 in Object.wait() [0x00000000077cf000]
                  java.lang.Thread.State: WAITING (on object monitor)
                       at java.lang.Object.wait(Native Method)
                       - waiting on <0x00000000dafc6b58> (a java.awt.EventQueue)
                       at java.lang.Object.wait(Object.java:485)
                       at java.awt.EventQueue.getNextEvent(Unknown Source)
                       - locked <0x00000000dafc6b58> (a java.awt.EventQueue)
                       at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
                       at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
                       at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
                       at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
                       at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
                       at java.awt.EventDispatchThread.run(Unknown Source)

                  "AWT-Windows" daemon prio=6 tid=0x0000000006914800 nid=0x91c runnable [0x00000000076cf000]
                  java.lang.Thread.State: RUNNABLE
                       at sun.awt.windows.WToolkit.eventLoop(Native Method)
                       at sun.awt.windows.WToolkit.run(Unknown Source)
                       at java.lang.Thread.run(Unknown Source)

                  "AWT-Shutdown" prio=6 tid=0x0000000006a27000 nid=0xa44 in Object.wait() [0x00000000075cf000]
                  java.lang.Thread.State: WAITING (on object monitor)
                       at java.lang.Object.wait(Native Method)
                       - waiting on <0x00000000dafb9420> (a java.lang.Object)
                       at java.lang.Object.wait(Object.java:485)
                       at sun.awt.AWTAutoShutdown.run(Unknown Source)
                       - locked <0x00000000dafb9420> (a java.lang.Object)
                       at java.lang.Thread.run(Unknown Source)

                  "Java2D Disposer" daemon prio=10 tid=0x0000000006a26800 nid=0x744 in Object.wait() [0x00000000074cf000]
                  java.lang.Thread.State: WAITING (on object monitor)
                       at java.lang.Object.wait(Native Method)
                       - waiting on <0x00000000dafc6e68> (a java.lang.ref.ReferenceQueue$Lock)
                       at java.lang.ref.ReferenceQueue.remove(Unknown Source)
                       - locked <0x00000000dafc6e68> (a java.lang.ref.ReferenceQueue$Lock)
                       at java.lang.ref.ReferenceQueue.remove(Unknown Source)
                       at sun.java2d.Disposer.run(Unknown Source)
                       at java.lang.Thread.run(Unknown Source)

                  "Java Plug-In Pipe Worker Thread (Client-Side)" daemon prio=6 tid=0x0000000006947800 nid=0xb30 runnable [0x000000000710f000]
                  java.lang.Thread.State: RUNNABLE
                       at sun.plugin2.os.windows.Windows.ReadFile0(Native Method)
                       at sun.plugin2.os.windows.Windows.ReadFile(Unknown Source)
                       at sun.plugin2.ipc.windows.WindowsNamedPipe.read(Unknown Source)
                       at sun.plugin2.message.transport.NamedPipeTransport$SerializerImpl.read(Unknown Source)
                       at sun.plugin2.message.transport.NamedPipeTransport$SerializerImpl.readByte(Unknown Source)
                       at sun.plugin2.message.AbstractSerializer.readInt(Unknown Source)
                       at sun.plugin2.message.transport.SerializingTransport.read(Unknown Source)
                       at sun.plugin2.message.Pipe$WorkerThread.run(Unknown Source)

                  "Timer-0" prio=6 tid=0x00000000069ee800 nid=0x694 in Object.wait() [0x0000000006f0f000]
                  java.lang.Thread.State: WAITING (on object monitor)
                       at java.lang.Object.wait(Native Method)
                       - waiting on <0x00000000daf51b98> (a java.util.TaskQueue)
                       at java.lang.Object.wait(Object.java:485)
                       at java.util.TimerThread.mainLoop(Unknown Source)
                       - locked <0x00000000daf51b98> (a java.util.TaskQueue)
                       at java.util.TimerThread.run(Unknown Source)

                  "traceMsgQueueThread" daemon prio=6 tid=0x00000000069ed000 nid=0xb84 in Object.wait() [0x0000000006e0f000]
                  java.lang.Thread.State: WAITING (on object monitor)
                       at java.lang.Object.wait(Native Method)
                       - waiting on <0x00000000daf30610> (a java.util.ArrayList)
                       at java.lang.Object.wait(Object.java:485)
                       at com.sun.deploy.util.Trace$TraceMsgQueueChecker.run(Unknown Source)
                       - locked <0x00000000daf30610> (a java.util.ArrayList)
                       at java.lang.Thread.run(Unknown Source)

                  "RMI TCP Accept-0" daemon prio=6 tid=0x0000000006985800 nid=0xa50 runnable [0x000000000648f000]
                  java.lang.Thread.State: RUNNABLE
                       at java.net.PlainSocketImpl.socketAccept(Native Method)
                       at java.net.PlainSocketImpl.accept(Unknown Source)
                       - locked <0x00000000daf0b070> (a java.net.SocksSocketImpl)
                       at java.net.ServerSocket.implAccept(Unknown Source)
                       at java.net.ServerSocket.accept(Unknown Source)
                       at sun.management.jmxremote.LocalRMIServerSocketFactory$1.accept(Unknown Source)
                       at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(Unknown Source)
                       at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(Unknown Source)
                       at java.lang.Thread.run(Unknown Source)

                  "Low Memory Detector" daemon prio=6 tid=0x0000000000523000 nid=0x2ec runnable [0x0000000000000000]
                  java.lang.Thread.State: RUNNABLE

                  "C2 CompilerThread1" daemon prio=10 tid=0x0000000000521000 nid=0x5e8 waiting on condition [0x0000000000000000]
                  java.lang.Thread.State: RUNNABLE

                  "C2 CompilerThread0" daemon prio=10 tid=0x000000000050f800 nid=0xb1c waiting on condition [0x0000000000000000]
                  java.lang.Thread.State: RUNNABLE

                  "Attach Listener" daemon prio=10 tid=0x000000000050e000 nid=0x454 runnable [0x0000000000000000]
                  java.lang.Thread.State: RUNNABLE

                  "Signal Dispatcher" daemon prio=10 tid=0x000000000050a800 nid=0x450 runnable [0x0000000000000000]
                  java.lang.Thread.State: RUNNABLE

                  "Finalizer" daemon prio=8 tid=0x00000000004f3000 nid=0xf4 in Object.wait() [0x0000000005a8f000]
                  java.lang.Thread.State: WAITING (on object monitor)
                       at java.lang.Object.wait(Native Method)
                       - waiting on <0x00000000dae01300> (a java.lang.ref.ReferenceQueue$Lock)
                       at java.lang.ref.ReferenceQueue.remove(Unknown Source)
                       - locked <0x00000000dae01300> (a java.lang.ref.ReferenceQueue$Lock)
                       at java.lang.ref.ReferenceQueue.remove(Unknown Source)
                       at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)

                  "Reference Handler" daemon prio=10 tid=0x00000000004f1800 nid=0xabc in Object.wait() [0x000000000598f000]
                  java.lang.Thread.State: WAITING (on object monitor)
                       at java.lang.Object.wait(Native Method)
                       - waiting on <0x00000000dae011d8> (a java.lang.ref.Reference$Lock)
                       at java.lang.Object.wait(Object.java:485)
                       at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
                       - locked <0x00000000dae011d8> (a java.lang.ref.Reference$Lock)

                  "main" prio=6 tid=0x000000000034b800 nid=0x850 in Object.wait() [0x00000000024ef000]
                  java.lang.Thread.State: WAITING (on object monitor)
                       at java.lang.Object.wait(Native Method)
                       - waiting on <0x00000000daf5a9e0> (a sun.plugin2.message.Queue)
                       at sun.plugin2.message.Queue.waitForMessage(Unknown Source)
                       - locked <0x00000000daf5a9e0> (a sun.plugin2.message.Queue)
                       at sun.plugin2.message.Pipe.receive(Unknown Source)
                       at sun.plugin2.main.client.PluginMain.mainLoop(Unknown Source)
                       at sun.plugin2.main.client.PluginMain.run(Unknown Source)
                       at sun.plugin2.main.client.PluginMain.main(Unknown Source)

                  "VM Thread" prio=10 tid=0x00000000004eb000 nid=0xb70 runnable

                  "VM Periodic Task Thread" prio=10 tid=0x00000000069e9000 nid=0x890 waiting on condition

                  JNI global references: 1275



                  gabriel
                  • 6. Re: jnlp ie win7 sleep
                    817264
                    Thanks for the data.

                    Assuming your experiment is correct and stack corresponds to the client JVM process state at the time of delay the only suspicious thing i see is
                    waiting for the browser to reply to some message but it is not clear what the message is. Please capture jstack for the browser process too.
                    (browser process contains another copy of JVM - just run jstack <browser-pid>)

                    Perhaps it is request to get proxy for the specific hostname. Do you have proxy in this setup?
                    Try changing proxy settings in the java control panel (set proxy explicitly instead of using system/browser settings or use no proxy if possible).
                    Does it make any difference?
                    JRE 7u4 no seem work on webbrowser (only javaws)
                    This is very weird.
                    Could you please explain what you had installed (which build, 32 or 64 bit, how exactly it does not work?)
                    You stack shows you re using 64 bit browser => need to install 64 bit version of 7u4.
                    • 7. Re: jnlp ie win7 sleep
                      926299
                      igor wrote:
                      Perhaps it is request to get proxy for the specific hostname. Do you have proxy in this setup?
                      Try changing proxy settings in the java control panel (set proxy explicitly instead of using system/browser settings or use no proxy if possible).
                      Does it make any difference?
                      Thx , I resolved by uncheck in iexplorer the defaut option "automatically detect the network setting"


                      I changed the capture, before I used a keyboard shortcut with a DOS command .
                      Now i use several captures in the background.
                      I compare the time between process monitor and log jstack.

                      I make three tests:
                      1) only pid java.exe
                      2) only pid iexplorer.exe
                      3) both, it slowed the process hugely

                      log are here
                      http://www.mediafire.com/?8n348dd4z9j45i5

                      In test 1) I find the problem getProxyList


                      2012-04-05 10:21:44
                      Full thread dump Java HotSpot(TM) 64-Bit Server VM (20.6-b01 mixed mode):

                      "JVM[id=0]-Heartbeat" daemon prio=6 tid=0x0000000006788000 nid=0xf8c in Object.wait() [0x00000000092ef000]
                      java.lang.Thread.State: TIMED_WAITING (on object monitor)
                           at java.lang.Object.wait(Native Method)
                           - waiting on <0x00000000db0f97c0> (a sun.plugin2.main.client.PluginMain$Heartbeat)
                           at sun.plugin2.main.server.HeartbeatThread.run(Unknown Source)
                           - locked <0x00000000db0f97c0> (a sun.plugin2.main.client.PluginMain$Heartbeat)

                      *"Thread-9" prio=4 tid=0x0000000006787000 nid=0x8a4 in Object.wait() [0x00000000091ee000]*
                      * java.lang.Thread.State: WAITING (on object monitor)*
                      *     at java.lang.Object.wait(Native Method)*
                      *     - waiting on <0x00000000db395040> (a sun.plugin2.message.Queue)**
                      *     at sun.plugin2.message.Queue.waitForMessage(Unknown Source)*
                      *     - locked <0x00000000db395040> (a sun.plugin2.message.Queue)*
                      *     at sun.plugin2.message.Pipe.receive(Unknown Source)*
                      *     at sun.plugin2.main.client.MessagePassingExecutionContext.getProxyList(Unknown Source)*
                      *     at sun.plugin2.main.client.PluginProxySelector.select(Unknown Source)*
                      *     - locked <0x00000000daf5e950> (a sun.plugin2.main.client.PluginProxySelector)*
                      *     at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)*
                      *     at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)*
                      *     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)*
                      *     - locked <0x00000000db3940e8> (a sun.net.www.protocol.http.HttpURLConnection)*
                      *     at com.sun.deploy.net.HttpUtils.followRedirects(Unknown Source)*
                      *     at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)*
                      *     at com.sun.deploy.net.BasicHttpRequest.doGetRequestEX(Unknown Source)*
                      *     at com.sun.deploy.net.DownloadEngine.isUpdateAvailable(Unknown Source)*
                      *     at com.sun.deploy.net.DownloadEngine.isUpdateAvailable(Unknown Source)*
                      *     at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)*
                      *     at com.sun.deploy.net.DownloadEngine.getCachedFile(Unknown Source)*
                      *     at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)*
                      *     at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)*
                      *     at sun.plugin2.applet.JNLP2Manager.initialize(Unknown Source)*
                      *     at sun.plugin2.main.client.PluginMain.initManager(Unknown Source)*
                      *     at sun.plugin2.main.client.PluginMain.access$300(Unknown Source)*
                      *     at sun.plugin2.main.client.PluginMain$2.run(Unknown Source)*
                      *     at java.lang.Thread.run(Unknown Source)**

                      "Applet 1 LiveConnect Worker Thread" prio=4 tid=0x0000000006780000 nid=0x8b0 in Object.wait() [0x00000000079bf000]
                      java.lang.Thread.State: WAITING (on object monitor)
                           at java.lang.Object.wait(Native Method)
                           - waiting on <0x00000000db0f8fc8> (a java.lang.Object)
                           at java.lang.Object.wait(Object.java:485)
                           at sun.plugin2.main.client.LiveConnectSupport$PerAppletInfo$LiveConnectWorker.run(Unknown Source)
                           - locked <0x00000000db0f8fc8> (a java.lang.Object)
                           at java.lang.Thread.run(Unknown Source)

                      "ConsoleWriterThread" daemon prio=6 tid=0x0000000006786800 nid=0xc74 in Object.wait() [0x00000000090ef000]
                      java.lang.Thread.State: WAITING (on object monitor)
                           at java.lang.Object.wait(Native Method)
                           - waiting on <0x00000000db0be388> (a java.lang.Object)
                           at java.lang.Object.wait(Object.java:485)
                           at com.sun.deploy.util.ConsoleTraceListener$ConsoleWriterThread.run(Unknown Source)
                           - locked <0x00000000db0be388> (a java.lang.Object)

                      "Image Fetcher 3" daemon prio=8 tid=0x0000000006785800 nid=0x8cc in Object.wait() [0x0000000008fef000]
                      java.lang.Thread.State: TIMED_WAITING (on object monitor)
                           at java.lang.Object.wait(Native Method)
                           - waiting on <0x00000000db2c0608> (a java.util.Vector)
                           at sun.awt.image.ImageFetcher.nextImage(Unknown Source)
                           - locked <0x00000000db2c0608> (a java.util.Vector)
                           at sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
                           at sun.awt.image.ImageFetcher.run(Unknown Source)

                      "Windows Tray Icon Thread" prio=6 tid=0x0000000006785000 nid=0x97c runnable [0x0000000008a1f000]
                      java.lang.Thread.State: RUNNABLE
                           at com.sun.deploy.ui.WindowsJavaTrayIcon.mainLoop(Native Method)
                           at com.sun.deploy.ui.WindowsJavaTrayIcon.access$700(Unknown Source)
                           at com.sun.deploy.ui.WindowsJavaTrayIcon$2.run(Unknown Source)
                           at java.lang.Thread.run(Unknown Source)

                      "TimerQueue" daemon prio=6 tid=0x0000000006784800 nid=0x984 in Object.wait() [0x0000000006fcf000]
                      java.lang.Thread.State: WAITING (on object monitor)
                           at java.lang.Object.wait(Native Method)
                           - waiting on <0x00000000db22bab8> (a javax.swing.TimerQueue)
                           at javax.swing.TimerQueue.run(Unknown Source)
                           - locked <0x00000000db22bab8> (a javax.swing.TimerQueue)
                           at java.lang.Thread.run(Unknown Source)

                      "Browser Side Object Cleanup Thread" prio=6 tid=0x0000000006783000 nid=0x6ec in Object.wait() [0x0000000007dbf000]
                      java.lang.Thread.State: WAITING (on object monitor)
                           at java.lang.Object.wait(Native Method)
                           - waiting on <0x00000000db0ede10> (a java.lang.ref.ReferenceQueue$Lock)
                           at java.lang.ref.ReferenceQueue.remove(Unknown Source)
                           - locked <0x00000000db0ede10> (a java.lang.ref.ReferenceQueue$Lock)
                           at java.lang.ref.ReferenceQueue.remove(Unknown Source)
                           at sun.plugin2.main.client.LiveConnectSupport$BrowserSideObjectCleanupThread.run(Unknown Source)

                      "AWT-EventQueue-1" prio=6 tid=0x0000000006782000 nid=0xbb0 in Object.wait() [0x0000000007cbf000]
                      java.lang.Thread.State: WAITING (on object monitor)
                           at java.lang.Object.wait(Native Method)
                           - waiting on <0x00000000db066698> (a java.awt.EventQueue)
                           at java.lang.Object.wait(Object.java:485)
                           at java.awt.EventQueue.getNextEvent(Unknown Source)
                           - locked <0x00000000db066698> (a java.awt.EventQueue)
                           at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
                           at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
                           at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
                           at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
                           at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
                           at java.awt.EventDispatchThread.run(Unknown Source)

                      "CacheCleanUpThread" daemon prio=6 tid=0x0000000006781800 nid=0x6cc in Object.wait() [0x0000000007bbf000]
                      java.lang.Thread.State: WAITING (on object monitor)
                           at java.lang.Object.wait(Native Method)
                           - waiting on <0x00000000db0362f0> (a com.sun.deploy.cache.CleanupThread)
                           at java.lang.Object.wait(Object.java:485)
                           at com.sun.deploy.cache.CleanupThread.run(Unknown Source)
                           - locked <0x00000000db0362f0> (a com.sun.deploy.cache.CleanupThread)

                      "CacheMemoryCleanUpThread" daemon prio=6 tid=0x0000000006780800 nid=0x5f0 in Object.wait() [0x0000000007abf000]
                      java.lang.Thread.State: WAITING (on object monitor)
                           at java.lang.Object.wait(Native Method)
                           - waiting on <0x00000000db02ae20> (a java.lang.ref.ReferenceQueue$Lock)
                           at java.lang.ref.ReferenceQueue.remove(Unknown Source)
                           - locked <0x00000000db02ae20> (a java.lang.ref.ReferenceQueue$Lock)
                           at java.lang.ref.ReferenceQueue.remove(Unknown Source)
                           at com.sun.deploy.cache.MemoryCache$LoadedResourceCleanupThread.run(Unknown Source)

                      "SysExecutionTheadCreator" daemon prio=6 tid=0x0000000006707000 nid=0x998 in Object.wait() [0x00000000078bf000]
                      java.lang.Thread.State: WAITING (on object monitor)
                           at java.lang.Object.wait(Native Method)
                           - waiting on <0x00000000db0111f8> (a sun.plugin.util.PluginSysUtil$SysExecutionThreadCreator)
                           at java.lang.Object.wait(Object.java:485)
                           at sun.plugin.util.PluginSysUtil$SysExecutionThreadCreator.run(Unknown Source)
                           - locked <0x00000000db0111f8> (a sun.plugin.util.PluginSysUtil$SysExecutionThreadCreator)

                      "AWT-EventQueue-0" prio=6 tid=0x000000000679f000 nid=0xad8 in Object.wait() [0x00000000077bf000]
                      java.lang.Thread.State: WAITING (on object monitor)
                           at java.lang.Object.wait(Native Method)
                           - waiting on <0x00000000daf9b448> (a java.awt.EventQueue)
                           at java.lang.Object.wait(Object.java:485)
                           at java.awt.EventQueue.getNextEvent(Unknown Source)
                           - locked <0x00000000daf9b448> (a java.awt.EventQueue)
                           at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
                           at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
                           at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
                           at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
                           at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
                           at java.awt.EventDispatchThread.run(Unknown Source)

                      "AWT-Windows" daemon prio=6 tid=0x0000000006705800 nid=0x9a0 runnable [0x00000000076bf000]
                      java.lang.Thread.State: RUNNABLE
                           at sun.awt.windows.WToolkit.eventLoop(Native Method)
                           at sun.awt.windows.WToolkit.run(Unknown Source)
                           at java.lang.Thread.run(Unknown Source)

                      "AWT-Shutdown" prio=6 tid=0x0000000006705000 nid=0x358 in Object.wait() [0x00000000075bf000]
                      java.lang.Thread.State: WAITING (on object monitor)
                           at java.lang.Object.wait(Native Method)
                           - waiting on <0x00000000daf8dd10> (a java.lang.Object)
                           at java.lang.Object.wait(Object.java:485)
                           at sun.awt.AWTAutoShutdown.run(Unknown Source)
                           - locked <0x00000000daf8dd10> (a java.lang.Object)
                           at java.lang.Thread.run(Unknown Source)

                      "Java2D Disposer" daemon prio=10 tid=0x0000000006700800 nid=0xc88 in Object.wait() [0x00000000074bf000]
                      java.lang.Thread.State: WAITING (on object monitor)
                           at java.lang.Object.wait(Native Method)
                           - waiting on <0x00000000daf9b758> (a java.lang.ref.ReferenceQueue$Lock)
                           at java.lang.ref.ReferenceQueue.remove(Unknown Source)
                           - locked <0x00000000daf9b758> (a java.lang.ref.ReferenceQueue$Lock)
                           at java.lang.ref.ReferenceQueue.remove(Unknown Source)
                           at sun.java2d.Disposer.run(Unknown Source)
                           at java.lang.Thread.run(Unknown Source)

                      "Java Plug-In Pipe Worker Thread (Client-Side)" daemon prio=6 tid=0x0000000006805800 nid=0xe10 runnable [0x00000000070cf000]
                      java.lang.Thread.State: RUNNABLE
                           at sun.plugin2.os.windows.Windows.ReadFile0(Native Method)
                           at sun.plugin2.os.windows.Windows.ReadFile(Unknown Source)
                           at sun.plugin2.ipc.windows.WindowsNamedPipe.read(Unknown Source)
                           at sun.plugin2.message.transport.NamedPipeTransport$SerializerImpl.read(Unknown Source)
                           at sun.plugin2.message.transport.NamedPipeTransport$SerializerImpl.readByte(Unknown Source)
                           at sun.plugin2.message.AbstractSerializer.readInt(Unknown Source)
                           at sun.plugin2.message.transport.SerializingTransport.read(Unknown Source)
                           at sun.plugin2.message.Pipe$WorkerThread.run(Unknown Source)

                      "Timer-0" prio=6 tid=0x000000000671e000 nid=0xb10 in Object.wait() [0x0000000006ecf000]
                      java.lang.Thread.State: WAITING (on object monitor)
                           at java.lang.Object.wait(Native Method)
                           - waiting on <0x00000000daf51b20> (a java.util.TaskQueue)
                           at java.lang.Object.wait(Object.java:485)
                           at java.util.TimerThread.mainLoop(Unknown Source)
                           - locked <0x00000000daf51b20> (a java.util.TaskQueue)
                           at java.util.TimerThread.run(Unknown Source)

                      "traceMsgQueueThread" daemon prio=6 tid=0x000000000671c000 nid=0xe90 in Object.wait() [0x0000000006dcf000]
                      java.lang.Thread.State: WAITING (on object monitor)
                           at java.lang.Object.wait(Native Method)
                           - waiting on <0x00000000daf30890> (a java.util.ArrayList)
                           at java.lang.Object.wait(Object.java:485)
                           at com.sun.deploy.util.Trace$TraceMsgQueueChecker.run(Unknown Source)
                           - locked <0x00000000daf30890> (a java.util.ArrayList)
                           at java.lang.Thread.run(Unknown Source)

                      "RMI TCP Accept-0" daemon prio=6 tid=0x0000000006823800 nid=0xf30 runnable [0x000000000656f000]
                      java.lang.Thread.State: RUNNABLE
                           at java.net.PlainSocketImpl.socketAccept(Native Method)
                           at java.net.PlainSocketImpl.accept(Unknown Source)
                           - locked <0x00000000daf0b850> (a java.net.SocksSocketImpl)
                           at java.net.ServerSocket.implAccept(Unknown Source)
                           at java.net.ServerSocket.accept(Unknown Source)
                           at sun.management.jmxremote.LocalRMIServerSocketFactory$1.accept(Unknown Source)
                           at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.executeAcceptLoop(Unknown Source)
                           at sun.rmi.transport.tcp.TCPTransport$AcceptLoop.run(Unknown Source)
                           at java.lang.Thread.run(Unknown Source)

                      "Low Memory Detector" daemon prio=6 tid=0x0000000000351800 nid=0xcd4 runnable [0x0000000000000000]
                      java.lang.Thread.State: RUNNABLE

                      "C2 CompilerThread1" daemon prio=10 tid=0x000000000034f800 nid=0xf74 waiting on condition [0x0000000000000000]
                      java.lang.Thread.State: RUNNABLE

                      "C2 CompilerThread0" daemon prio=10 tid=0x000000000033e000 nid=0x7fc waiting on condition [0x0000000000000000]
                      java.lang.Thread.State: RUNNABLE

                      "Attach Listener" daemon prio=10 tid=0x000000000033c800 nid=0xc0c waiting on condition [0x0000000000000000]
                      java.lang.Thread.State: RUNNABLE

                      "Signal Dispatcher" daemon prio=10 tid=0x0000000000339800 nid=0x818 runnable [0x0000000000000000]
                      java.lang.Thread.State: RUNNABLE

                      "Finalizer" daemon prio=8 tid=0x0000000000328800 nid=0x9fc in Object.wait() [0x0000000005a8f000]
                      java.lang.Thread.State: WAITING (on object monitor)
                           at java.lang.Object.wait(Native Method)
                           - waiting on <0x00000000dae01300> (a java.lang.ref.ReferenceQueue$Lock)
                           at java.lang.ref.ReferenceQueue.remove(Unknown Source)
                           - locked <0x00000000dae01300> (a java.lang.ref.ReferenceQueue$Lock)
                           at java.lang.ref.ReferenceQueue.remove(Unknown Source)
                           at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)

                      "Reference Handler" daemon prio=10 tid=0x0000000000321000 nid=0xd4c in Object.wait() [0x000000000598f000]
                      java.lang.Thread.State: WAITING (on object monitor)
                           at java.lang.Object.wait(Native Method)
                           - waiting on <0x00000000dae011d8> (a java.lang.ref.Reference$Lock)
                           at java.lang.Object.wait(Object.java:485)
                           at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
                           - locked <0x00000000dae011d8> (a java.lang.ref.Reference$Lock)

                      "main" prio=6 tid=0x000000000025b800 nid=0x424 in Object.wait() [0x000000000259f000]
                      java.lang.Thread.State: WAITING (on object monitor)
                           at java.lang.Object.wait(Native Method)
                           - waiting on <0x00000000daf5a998> (a sun.plugin2.message.Queue)
                           at sun.plugin2.message.Queue.waitForMessage(Unknown Source)
                           - locked <0x00000000daf5a998> (a sun.plugin2.message.Queue)
                           at sun.plugin2.message.Pipe.receive(Unknown Source)
                           at sun.plugin2.main.client.PluginMain.mainLoop(Unknown Source)
                           at sun.plugin2.main.client.PluginMain.run(Unknown Source)
                           at sun.plugin2.main.client.PluginMain.main(Unknown Source)

                      "VM Thread" prio=10 tid=0x000000000031a800 nid=0x830 runnable

                      "VM Periodic Task Thread" prio=10 tid=0x0000000006718800 nid=0xbec waiting on condition

                      JNI global references: 1175




                      I tested again the 7u4 64, I uninstalled all. it's works =), Strange I had no jconsole.


                      jnlp spec="6.0+" codebase="http://192.168.2.171:8080/mobilyweb_v2-0.0.5-SNAPSHOT/applet/" href="http://192.168.2.171:8080/mobilyweb_v2-0.0.5-SNAPSHOT/applet/test.jnlp">
                      <information>
                      <title>test Applet</title>
                      <vendor>xxx</vendor>
                      <homepage href="http://www.mobilysim.com"/>
                      </information>
                      <update check="timeout" policy="always"/>
                      <resources>
                      <java version="1.6+"/>
                      <jar href="http://192.168.2.171:8080/mobilyweb_v2-0.0.5-SNAPSHOT/applet/applet_test.jar" download="eager" main="true"/>
                      </resources>
                      <applet-desc name="test Applet" main-class="test" documentbase="http://192.168.2.171:8080/mobilyweb_v2-0.0.5-SNAPSHOT/jsp/test.jsp" width="1" height="1"/>
                      </jnlp>
                      cache: Resource http://192.168.2.171:8080/mobilyweb_v2-0.0.5-SNAPSHOT/applet/test.jnlp has expired.
                      *> sleep here

                      network: Connexion de http://192.168.2.171:8080/mobilyweb_v2-0.0.5-SNAPSHOT/applet/test.jnlp avec proxy=DIRECT
                      network: Connexion de http://192.168.2.171:8080/ avec proxy=DIRECT
                      • 8. Re: jnlp ie win7 sleep
                        817264
                        good to know your problem is resolved.

                        would you mind to clarify few things please:
                        Thx , I resolved by uncheck in iexplorer the defaut option "automatically detect the network setting"
                        1) does it impact page load time for pages without java?
                        (you can use developer tools in IE (F12) to capture network traffic graph. Try several different pages with and without above option to see what is the pattern)
                        I tested again the 7u4 64, I uninstalled all. it's works =), Strange I had no jconsole.
                        2) Could you please explain this?
                        Do you mean you have no item in the browser menu? Or you set java console to popup always in the java control panel but it does not show up? Or something else?
                        • 9. Re: jnlp ie win7 sleep
                          926299
                          1) With developper tools, i saw no impact : google responding on first GET in 240 ms with a start < 16ms.
                          Without developper tools, on first load with and without option it's fast.

                          I confirm outside my company with other pc (win 7 64) that resolved the launch wait

                          2) Sorry I think i run always iexplorer 32bits (cmd start http://ww => defaut iexplorer can be only a 32bits) with java installation 64 cos I can't reproduce it.
                          Yes, after installation, i activate debug console, when i launch the webiste, java and console no start.