Bug!?! 100% CPU usage when referencing secured JARs in unsecured JNLP

hi,
i think i just found a bug in jws but i'm not sure yet. it would be nice if somebody can verify this before i create a bug report.
this is my JNLP file (test.jnlp):
<jnlp ...>
  <information>
    <title>Test</title>
    <shortcut online="true">
      <desktop/>
    </shortcut>
  </information>
  <security>
    <all-permissions/>
  </security>
  <update check="always" policy="always"/>
  <resources>
    <java version="1.6"/>
    <jar href="jar/mySecuredJar.jar" download="eager" main="true"/>
  </resources>
  <application-desc main-class="test.MyTest"/>
</jnlp>this is the file structure on the server:
download/      // public folder
   test.jnlp
   jar/        // private folder secured via basic authentication
      mySecuredJar.jarwhen i access the jnlp file for the first time via browser the jws login dialog opens asking me for credentials since test.jnlp internally references a jar that is in a secured area. while this jws dialog is open my cpu usage is normal - javaw.exe takes about 5%.
however, when i open my application for the 2nd time via desktop shortcut, the jws authentication dialog opens again (jws looks for updates of my jar before the application starts) and javaw.exe takes about 95% of my cpu as long as the dialog is open!!!
when i put the jnlp file in the secured area as well, everything works smoothly. however, this forces users to enter credentials in a browser authentication dialog (browser needs to access the secured jnlp) as well as in the above mentioned jws authentication dialog.
can anybody reproduce this? should i file a bug report?
i tested this on win xp with jre 1.6.0_11.
regards,
stephan

Please, [file |http://javafx.netbeans.org/issues/enter_bug.cgi?component=javafx] an issue on it.

Similar Messages

  • Server 2012 R2 100% cpu usage when using search

    Hi all!
    We are experiencing issues with the built in search in WS 2012R2 (Win+Q). Upon starting to type, the explorer.exe process peaks and stays at 100% until typing is done and the search is complete. It also can't keep up with typing and hangs after
    a few keystrokes. We have done tests on 2012 R2, 2012 and 2008 R2 running as VMs with 1 cpu. The tests performed have been run on a host running only the test VM with underlying 2x8 core cpus, SSD, SAN storage and 256GB RAM. Also, we have tested
    both Hyper-V and VMware ESXi 5.0. We see that if we add another CPU to the guest it alleviates the keystroke lagging, but the explorer.exe still consumes 100% cpu.
    When the same tests are run on a physical machine (approx. same specs as the virtualization hosts) the cpu usage reaches 15-20% on one of the physical sockets (numa node). Totally negligible, but still a high number.
    We are afraid of service impact and are keen to know if anyone else is experiencing the same? Maybe someone has a fix?

    Hi TrondWH,
    Thanks for contacting Microsoft.
    Currently, would you please try cleaning boot the server and test how the issue goes. Cleaning boot can exclude some third-party application affect. Following are the detailed steps about clean boot:
    Log on to the computer by using an account that has administrator rights.
    Click Start, type msconfig.exe in the Start Search box, and then press ENTER to start the
         System Configuration Utility.
    On the General tab, click Selective Startup, and then click to clear the Load startup items check box. (The Use Original Boot.ini check box is unavailable.)
    On the Services tab, click to select the Hide all Microsoft services check box, and then click Disable all.
    Click OK, Choose Don’t show this message again and then click Restart.
    Please check if the issue is still the same.
    Please let me know the result.
    Best regards,
    Sophia Sun
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • 100% CPU usage when writing to disk

    Hi.
    I have an Athlon XP 2000+ with 768 MB RAM, a SATA disk, formated to ntfs (running XP) and a IDE disk running Arch (ext3, KDE).
    When I copy a big file, the CPU usage stucks to 100% . Doesn't matter the disk I write to or from. The CPU usage is always 100%.
    My maximum writing speeds are:
    ntfs-3g-->ext3 max ~30 MB/sec
    ext3-->ext3 max ~28 MB/sec
    ext3-->ntfs-3g max ~15MB/sec
    ntfs-3g-->ntfs-3g max ~15 MB/sec
    I understand that writing to ext3 is much faster because it is a native linux fs, but I cant understand why the high CPU usage.
    While coping, ksysguard shows that the progress with the higher system% is kio_file when coping ext3-->ext3, or kio_file and ntfs-3g, when coping from or to a ntfs disk.
    The problem is not with the CPU, in windows the writing speed is higher and the CPU usage is much lower. So I thing this is an Arch configuration problem but don't know where exactly to look. Searched the forum but didnt find any solution.
    Any ideas? Anyone with similar problems?
    Last edited by matersci (2007-09-09 22:37:00)

    with hdparm -I /dev/sda I get:
    hdparm -I /dev/sda
    /dev/sda:
    ATA device, with non-removable media
            Model Number:       Maxtor 6L200M0
            Serial Number:      L41ZFT2C
            Firmware Revision:  BACE1G10
    Standards:
            Used: ATA/ATAPI-7 T13 1532D revision 0
            Supported: 7 6 5 4
    Configuration:
            Logical         max     current
            cylinders       16383   16383
            heads           16      16
            sectors/track   63      63
            CHS current addressable sectors:   16514064
            LBA    user addressable sectors:  268435455
            LBA48  user addressable sectors:  398297088
            device size with M = 1024*1024:      194481 MBytes
            device size with M = 1000*1000:      203928 MBytes (203 GB)
    Capabilities:
            LBA, IORDY(can be disabled)
            Queue depth: 32
            Standby timer values: spec'd by Standard, no device specific minimum
            R/W multiple sector transfer: Max = 16  Current = 16
            Advanced power management level: unknown setting (0x0000)
            Recommended acoustic management value: 192, current value: 254
            DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
                 Cycle time: min=120ns recommended=120ns
            PIO: pio0 pio1 pio2 pio3 pio4
                 Cycle time: no flow control=120ns  IORDY flow control=120ns
    Commands/features:
            Enabled Supported:
               *    SMART feature set
                    Security Mode feature set
               *    Power Management feature set
               *    Write cache
               *    Look-ahead
               *    Host Protected Area feature set
               *    WRITE_VERIFY command
               *    WRITE_BUFFER command
               *    READ_BUFFER command
               *    NOP cmd
               *    DOWNLOAD_MICROCODE
                    Advanced Power Management feature set
                    SET_MAX security extension
               *    Automatic Acoustic Management feature set
               *    48-bit Address feature set
               *    Device Configuration Overlay feature set
               *    Mandatory FLUSH_CACHE
               *    FLUSH_CACHE_EXT
               *    SMART error logging
               *    SMART self-test
                    Media Card Pass-Through
               *    General Purpose Logging feature set
               *    WRITE_{DMA|MULTIPLE}_FUA_EXT
               *    URG for READ_STREAM[_DMA]_EXT
               *    URG for WRITE_STREAM[_DMA]_EXT
               *    SATA-I signaling speed (1.5Gb/s)
               *    Native Command Queueing (NCQ)
                    Software settings preservation
               *    SMART Command Transport (SCT) feature set
               *    SCT Data Tables (AC5)
    Security:
            Master password revision code = 65534
                    supported
            not     enabled
            not     locked
            not     frozen
            not     expired: security count
            not     supported: enhanced erase
    Checksum: correct
    It says ATA device, with non-removable media but this is a SATA disk!
    Also,
    #  hdparm -t /dev/sda
    /dev/sda:
    Timing buffered disk reads:  166 MB in  3.01 seconds =  55.23 MB/sec (SATA Disk)
    and
    #  hdparm -t /dev/hdb
    /dev/hdb:
    Timing buffered disk reads:  176 MB in  3.02 seconds =  58.26 MB/sec (IDE Disk)
    hdprm says dma is on for the ide disk, but says nothing about dma for the SATA.
    I think the problem is because the kernel recognize the SATA disk as IDE.
    Last edited by matersci (2007-09-19 20:24:10)

  • Upgrade to iTunes to 10.4.0.80 caused 100% CPU usage when I start iTunes. Task manager shows iTunes 50% mobile 50%. I am running Windows XP Professional sp3. iPhone 3 ios 4.3.5

    I upgrade to iTunes 10.4.0.80. Since then iTunes uses 50% of the CPU and Mobile uses 50% CPU. I let it run for hours and the CPU usage stayed at 100%. The phone will partially sync but takes a very long time. This was not a problem before the iTunes upgrade. I am running iTunes on Windows XP professional SP3. It does not matter if the phone is connected to the USB port of the PC. When iTunes starts it runs the CPU at 100%.

    Yes!  I am not the only one with this problem.  Ever since the latest iTunes update, the CPU runs up to 100% using both the mobiledevice and itunes itself.  The store won't work either!  I'm also on Windows XP.  I too have tried everything I can think of but nothing has helped.  I really hope they get an update out with fixes soon.  This is really annoying!!

  • I have very high 100% CPU usage when I run itunes.

    Normally I don't have any problems, but now when I start iTunes it eats up my CPUs.  Any thoughts?

    I am having this same problem. When running iTunes on my macbook pro, i notice my CPU usage is hovering around 94-97% constantly. Has anyone found out why?

  • 100% cpu usage when opening itunes or quicktime, please help!

    every time i open itunes or quicktime my windows laptop centrino´s core jumps to 100%, even when the programs are idle!!
    -i tried reinstalling them, manually removing any leftover program files and folders.
    -Right-clicking on the QuickTime folder and clicking Delete from the shortcut menu.
    -Navigate to C:\Windows\system32\.
    -Remove the files QuickTime.qts and QuicktimeVR.qtx.
    nothing works...
    now i cant listen to music with only my batteries anymore!
    windows media player ***** and the new version 11 is a lot worse, but it uses just about 10% of my processor.
    thank you for your help!
    gateway centrino mx6618m   Windows XP  

    hi captain
    actually i noticed the problem in the first place when cheching the task manager. 97% itunes 3% taskmanager.
    i wish i could know what all those other tasks are and end them (some are obvious but other arent), but it wouldnt solve my problem.
    still thank you
    XP centrino laptop Windows XP

  • 100% CPU usage when importing cd and downloading from store, please help!

    I am using itunes 8.2.1.6. The problem is that whenever I import a cd or download any music from the store my cpu runs at 100%. I have a pentium 4 (which manages nicely with any other task, even importing cd's with another programe) with 3gb RAM.
    Is anybody else having this problem? Does anybody know how to fix it?

    Mr. Bump

  • Queue consumer stops with 100% cpu usage

    I'm trying to use Berkeley DB queue with transactions. When I tested what happens when transactions with DB_APPEND are aborted I found that while it works and DB_CONSUME correctly skips over rolled back records, unfortunately extents that have those records are never deleted, which causes database to always grow. Next I tried DB_CONSUME with database opened using DB_INORDER flag and it seems there's a serious regression in Berkeley DB that causes it to loop indefinitely with 100% cpu usage when it encounters a rolled back record. I tested various versions and found that this bug doesn't happen with 5.1.29, but it is reproducible with 5.2.42, so this regression might have been introduced in 5.2. I have also tested 5.3 and 6.0, and both have this behavior. There may be something wrong with the way queue records are rolled back, one indication of that would be that in 5.1.29 doesn't have neither of the two problems I found with DB_QUEUE: extents are deleted after being consumed, and there are no issues when consuming with DB_INORDER either.
    You can find Python code to reproduce this issue here:
    https://gist.github.com/snaury/027a3c546f5b0a62a440
    Sorry for using Python and not e.g. C++, but it's a lot shorter that way.

    We have looked at the issues and they are valid.   We will roll the fixes out for this in our next release of BDB.   The test case was very useful and really helped to speed the process up.    If you have any questions, please contact me directly at [email protected]  Thanks again for bringing this to our attention.
    thanks
    mike

  • 100% CPU usage with XP Cooler from PCAlert4

         Any idea why I would be running 100% cpu usage when running XP Cooler from PCAlert4?  I noticed PC was sluggish when running it so CTRL+ALT+DEL and under performance is 100% CPU with 245MB Ram Usage. No other TSR's running - several application but under 10% CPU usage without PCAlert and XP Cooler.
         I was also wondering if anyone had any ideas on the video?  I have the K7N2G with 768MB DDR PC 2100 (3x256) XP2200+ 266FSB running 1804MHz - Maxtor 30GB 7200RPM - 350W PSU (raidmax - yea yea I know, dont say a word though LOL) on board video and here is the problem - graphics are great, but they get choppy - running NFS HotPursuit 2 at 32bit 800x600 (doesnt seem to matter even when running 16bit 640x480still does it.) what setting am I missing?  Thanks in advance.

    Deathstalker (Richard),
         I did what you suggest in memory management and also changed out the mem on the board - it did make a difference, not as much as I had hoped, but it did.
    Raven,
         I have used Fraps in the past, forgot about it, but went ahead and downloaded it to get a better look.
    To the Both of you,
         Thanks so much for your replies, sometimes it just takes someone outside looking in to see the things overlooked.  But I went ahead and also ran all of the latest updates for the board (semi new system and I only installed with the CD that came with the Mobo) and everything is running better than expected.  Thanks again for your thoughts - keep 'em flowin, it's amazing whom we could help.  Take care.
    Don

  • My laptop (win7 2ghz, 1gig) has 100% cpu usage with itunes installed (even when not running itunes) since the upgrade.  i had to uninstall.  tried installing but still the same problem.  my daughter wants the new ipad, but this is a serious problem.

    when itunes upgraded my laptop went to 100% cpu usage.  only solution was uninstall.  have tried itunes again as my daughter wants the new ipad.  still same problem tho so not keen to spend £400 on new pad without pc support.  anyone help?  (ps been using ipod touches 1 and 2, been great source of pleasure for my two girls, but cant sync them, so using the little shuffles for music, syncing to an old version of itunes on an old netbook - had the sense to switch off upgrades when the new version went wrong)

    Close your iTunes,
    Go to command Prompt -
    (Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
    (Win XP SP2 &amp; above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
    In the "Command Prompt" screen, type in
    netsh winsock reset
    Hit "ENTER" key
    Restart your computer.
    If you do get a prompt after restart windows to remap LSP, just click NO.
    Now launch your iTunes and see if it is working now.
    If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
    iTunes 10.5 for Windows: May see performance issues and blank iTunes Store
    http://support.apple.com/kb/TS4123?viewlocale=en_US

  • Problem:100 % cpu usage with tcp server dll

    Hello,
     I am trying to write a dll with labwindows/cvi that allows me to create a TCP Server. This dll is integrated in labview.I created this Dll with example provides by Labwindows/cvi(rtserver.dll).
    Description of my problem: when i execute this dll in a "While Loop" in labview,the TCp server wait a connection and 100% cpu usage occurs. However when a client is connect to the server,the CPU is normaly used because the program stop when he meets the timeout of the tcpread() function. I would like to know how i could limit CPU usage  when the server is awaiting a client in the labview "While loop".
    I know I could use a DELAY() to limit Cpu usage ,but I would like to know if there are any others solutions.
    thank you.

    i dont know your exact application, but i generally use Q to transfer data to TCP loop in my prgram it helps me in two ways.
    1. it automatically restricts the iteration when ther is no data (Less CPU Usage, Less Unnecessary Trafic)
    2. Q can eliminate problems arising due to non synchronization of loop
    Tushar Jambhekar
    [email protected]
    Jambhekar Automation Solutions
    LabVIEW Consultancy, LabVIEW Training
    Rent a LabVIEW Developer, My Blog

  • Distiller 8 and 9 both locking up, 100 % CPU usage

    Not sure if its related, but probably, since it happened right after...I just transferred everything from my quad core mac pro to my new 8-core Mac Pro. Everything went well, but now Distiller 8 starts and then sits and gives the beachball of death, and one of the cores shows 100% cpu usage. (I have that utility that shows memory used, CPU usage, etc.). I hadn't bought Acrobat 9 yet so I downloaded it and installed, and Distiller 9 does the EXACT same thing. The ONLY thing I can call an "error message" is that I can see in the window after it launches is "Error in /Library/Application Support/Adobe PDF/Settings/PDFX4 2007.joboptions:/CheckCompliance out of Range."
    That message may have been there whole time, even when it worked, though. I don't know. At any rate, I need distiller working! Any ideas?

    Glad to hear all is well. Preference files can cause big problems. Eons
    ago, in the 1980s, I used a communications program called Red Ryder. I
    loved the program. After it was updated to a new version (it might have
    been called White Knight by that time), I started to have terrible
    problems. I wrote to their technical support. They couldn't duplicate
    the problem. It couldn't happen etc. I eventually got a little hot under
    the collar. After all, if I couldn't use my modem, I couldn't check my
    email, etc. It turned out to be a problem with my preference file when
    converted to the latest version, that was causing the problem. Since
    they always started with a new preference file, they couldn't duplicate
    the problem that was obvious to me.
    ...Mike

  • Music store & 100% CPU usage

    I've had this problem on my newly built computer, and my older machine. When I browse the iTunes music store, the status bar on the top will often move like it's opening the music store, but it'll do this for a long period of time (several minutes) and iTunes will work, but the music store will not load, and you cannot click the 'X' to stop the contacting of the music store. During this time if you open task manager, iTunes uses 100% of CPU resources. If you close iTunes it still uses 100%. you have to end the process in task manager in order to make it stop. On occasion the music store will work to view maybe one album, but if you search for another album, or click another link it'll do the whole not-responding-100% CPU usage cycle again.
    All drivers are up to date and like I said it's done this on two seperate computers of mine on the same iTunes account. I also have a laptop and the music store works completely fine on it. It's only on my desktops that I have this issue.
    Some specs on my machine if this will help
    Asus motherboard
    AMD Athlon XP 4000+ processor
    2gb Kingston 184 pin DDR ram
    Seagate SATA II 160 GB HD
    Windows XP PRO service pack 2
    thanks for your help!

    I'm only guessing here, but perhaps iTunes is having a conflict with another application. If you are anything like me you probably install your favourite applications on all your computers. As a shortcut to troubleshooting, perhaps consider an application you have installed on the desktops, but NOT on the laptop. Then try uninstalling that application from your desktop computer and test iTunes.
    HP Compaq dx6120 P4 2.8 GHz 1GB RAM (BABYJANE)   Windows XP   iPod : 5G 30GB (BLANCHE)

  • Reduce CPU Usage when Runnig Telnet on Win2000

    Does any one knows how to reduce CPU usage when iam running my telnet developed using java classes.Every time when i start Telnet CPU usage is shooting to 100%.Can any one help to me solve my problem.

    You are probably doing some kind of loop that is eating all the CPU idle time. You could reduce your use of the CPU by calling Thread.yield() when you do not need to do anything for a bit, or even better, Thread.sleep(...) to pause your program for a specified number of milliseconds.
    Hope this helps some.

  • Shockwave Flash 11.6.602.168 100% CPU usage

    Hi,
    Our computer has 100% CPU usage every time we get in websites that utilize Flash, or watch youtube.
    Browser: FF 19.0
    Flash 11.6.602.168
    Computer: HP Pentium 4, 2.8 GHz, 3G memory, up-to-date BIOS and other drivers.
    Graphic card: EVGA GeFprce 6200
    Windows 7 32 bits
    This window is freshly installed, has AVG on. We do not have many software's installed, except MS Office. All fans and CPU are clean. The computer runs fairly fast: we tried opening multiple FF tabs simultaneously, plus Excel, Word, Solitaire etc. without any problems. However, whenever we get into websites with Flash, the CPU uasage goes to 100% and stays there. Memory usage has always been stable, around 30%. We have tried the following steps, but it hasn't gotten better:
    - Turned off all applications, opened only one tab with that website.
    - Updated all drivers and applications: FF, Flash, Graphic card etc.
    - Turned ON and OFF hardware acceleration for both Flash and FF, also tried to turn one On, the other OFF, and vise versa.
    - Disabled all add-on's, extensions and Plug-in's, except Flash.
    - Uninstalled and reinstall FF and Flash; restarted several times.
    - Temporarily turned OFF protected mode.
    - Uninstalled FF, Flash, then installed IE 9, then Flash for IE: didn't work.
    - Uninstalled IE 9, Flash, then installed IE10 then reinstalled Flash for IE: also didn't work.
    - We do not keep browsing history.
    Examples of websites that we have had problems with: pbskids.org, barbie.com, and other school websites for kids to do homework or watch youtube.
    While in many websites such as CNN.com, yahoo.com, when we opened it, the CPU usage did spike, but came back to 1-5% within 5 seconds.
    This computer is for our kids. Do we really need to buy an i5 or i7 computer so the kids can play and do homework? Or is there any other way that we can do?
    Thank you

    Moving to the Using Flash Player forum, as this isn't specific to the Beta.
    In the Youtube video, if you right-click and choose Show Video Info, it will show you whether you're using Hardware Acceleration for both Video Rendering and Video Decoding.
    If you're seeing Software Rendering and/or Software Decoding and you're watching a high-def video, it's going to use a ton of CPU.
    Do you see similar behavior in other browsers?  (Chrome, IE)  The Flash Player distributions are actually quite different for each browser.  It would be an interesting data point.

Maybe you are looking for

  • Leopard 10.5.8 won't connect to Mavericks on local wifi network

    I have a late 2009 27" Intel iMac running 10.9.4 and an old G5 running 10.5.8 , both on my home wifi net.  Prior to upgrading my iMac to Mavericks, I was using Lion and was able to connect these two machines for file and screen sharing.  Now I can't

  • Custom code in HR Ad Hoc query

    Hi Friends  , I am facing one issue where the custom ad hoc query is giving incorrect results so I have to overwrite the values in available  internal tables with my own logic , But I am unable to write the code at right point through Extras>create>c

  • Urgent: Tuxedo and multiple Resource Managers

    Hello, I have a tuxedo service which updates Oracle tables and also updates queues of MQ-Series. Is it possible for this Tuxedo service to control the commit and rollback for both Oracle and MQ-Series?? Will tpbegin, tpcommit and tpabort control the

  • BW-BCT-FI-AA : ODS 0FIA_DS11 does not have complete update rule

    Dear people, I hope to get some help on an issue I have with the ODS 0FIA_DS11. I have just installed the full suite of FI-AA Business Content, which includes all the 3 ODS (0FIA_DS11, 0FIA_DS12 and 0FIA_DS13) and also all the update rules and infocu

  • Video Issues After OSX 10.5.6 Update

    I've installed the update via Software Update and now 1080p HD video on apple trailers using the 9600 on my new MBP (2008) is choppy and quicktime video on the apple site is flickering from time to time whereas the image is replaced by a white flicke