Java.exe *32 is consuming 90% CPU

Dear Gurus,
I have production server on which i have Operating System : Windows 2008 R2 Standard Edition. Ram = 4 GB.
We have observed that java.exe *32 is comsuming 80% - 90% CPU utilization. Please help me in this regard. I have AMD dual processor installed.
Kindly see below link for screen shorts.
1) http://i46.tinypic.com/dfc6rd.jpg
2) http://i45.tinypic.com/34qwpd0.jpg
If you need any further details for analyzing do let me know. But please help in this regard special thanks
Thanks
Adeel Imtiaz

Malik Adeel Imtiaz wrote:
Dear Gimbal2,
Here the problem is in production server and not in the game server there is lot of difference. I wasn't talking about servers. I was talking about processes, like you were. Let me spell it out for you so you can hopefully understand. You are going to a JAVA PROGRAMMING forum to ask why some random Java application is utilizing a lot of CPU. That is nonsense, how can anyone here explain that? The reason is simple: its doing something CPU heavy, nobody here can say what exactly. For all I know it is a busy for loop.
So yeah I create an example that I hoped would show to you just how ludicrous it is, imagine you having a problem with any native application at all. Lets pick something different than a game since you apparently can't understand the relation properly, so lets pick Microsoft Excel. Its using up 80%, do you go to a C++ programming forum to ask why? No. You ask Microsoft, who built the application.
But now you're apparently giving more information you were previously hiding. You are now asking why YOUR application is using so much CPU?

Similar Messages

  • Java.exe CPU %

    Hi,
    We are running Resin Servlet runner on our web server. Our web site mostly serves out .XML documents using XSLT. The problem we periodically have is java.exe consumes 100% of the CPU until the web server stop responding. Restarting the servlet runner usually takes care of it, but sometimes on restart, java.exe will immediately starting chewing up memory to about 150 meg. We run with -Xms128m -Xmx256m memory parameters.
    How can I tell what is eating up the CPU and memory? Any suggestions would be helpful.

    with the minimum heap size set at 128 megs... As soon as you start java it will take about 150 megs... That fact that it's eating up CPU time is more diffcult.... Either it's really processing something that has to be done.. or you have some bad code spinning somewhere... or it's just not written right to begin with.

  • Oracle.exe consuming 100% CPU on windows and database hang

    Hi all,
    every time my oracle database is hanging when the application run, the problem is the oracle.exe consum 100% CPU but not memory and the server hang and the dabase is going to inaccessible, we need to restart oracle instance service or server to bring the databas eback to normal but it's not permanent because the problem occurs once the application turn on.
    Checking the log file i found the below error every time:
    My database version is 9.2.0.7.0
    OS: Windows 2003 Server Standard Edition Service Pack 2
    RAM: 3,5Gb
    CPU: Inte Xeon 3.20 GHz
    ORA-00600: internal error code, arguments: [kghuclientasp_03], [0xBFEADCE0], [0], [0], [0], [], [], []
    ORA-29913: error in executing ODCIEXTTABLEFETCH callout
    ORA-29400: data cartridge error
    KUP-04050: error while attempting to allocate 163500 bytes of memory
    ORA-06512: at "SYS.ORACLE_LOADER", line 14
    ORA-06512: at line 1
    Fri Mar 05 05:35:15 2010
    Errors in file e:\oracle\admin\optprod\udump\optprod_ora_5876.trc:
    ORA-00603: ORACLE server session terminated by fatal error
    ORA-04030: out of process memory when trying to allocate 8389132 bytes (pga heap,redo read buffer)
    ORA-04030: out of process memory when trying to allocate 8389132 bytes (pga heap,redo read buffer)
    ORA-04030: out of process memory when trying to allocate 8180 bytes (callheap,kcbtmal allocation)
    Thank you
    Lucienot.

    Is this a new application on this database?
    Has it run well in the past?
    I have had this happen before on a 32bit Windows server. Our problem was a poorly written procedure that kept pegging the cpu to 100%. You should be able to figure out what SQL is being used that is causing this problem, it will be the Top Working SQL most likely.
    I also had this problem on a Logical Standby server which was trying to apply SQL to the SYS.AUD$ table. As soon as SQL Apply was started, the CPU went to 100%. Once I truncated that table, the cpu usage went back to normal. Not sure what you are using to monitor your database but if you can, try to find out what SQL is running when your CPU goes to 100%.

  • Oracle.exe and java.exe are running my CPU 100% under XP Prof SP3

    11gR1
    oracle.exe and java.exe are running 100% CPU
    I have increased virtual memory to 4 gig
    I have defragmented the drive.
    I checked the drive for errors.
    I am searching the whole drive for viruses
    I do not have the problem with Redhat Fedora 12 running 11gR1
    I have 1 gig of RAM but cannot install release 2 because the installer expects
    1 gig + 1

    ooops!!! left that off...sorry
    XP Prof SP3 32 bit..*.no problem with Redhat Fedora 12 running MySQL and 11gR1*
    1 gig RAM Dell precision W/S 1.5 Gig rate 74 GiG SCSI HD 15000 RPM
    Don't pass out but I am also running MySQL server 5.1.41 and MS SQL Server Express 2008.
    Lucky it didn't catch fire
    I installed XP prof months ago but this CPU domination occurred only starting last night!
    However slow everything works in 11gR1
    sqlplus myname/password and then select rows from table
    sqldeveloper
    PHP web sites
    I've had plenty of trouble with Java running slow and hogging memory!
    Edited by: landonmkelsey on May 2, 2010 12:21 PM
    Edited by: landonmkelsey on May 2, 2010 12:24 PM
    Let me guess...stop services for MySQL and MS SQL Server and see what happens!
    Edited by: landonmkelsey on May 2, 2010 12:26 PM

  • Netbeans(java.exe) chewing up CPU

    [Please excuse me if this shows up twice but after make my last post this thread never showed up!]
    Hello, everytime I run an emu, no matter which one including wtk, netbeans java.exe starts chewing up lots of CPU time it's like at 98percent and nb comes to a halt and Ihave to wait a few minutes for it to settle down. I really gets bad when I do , "System.out.println()" on a large buffer that really kills it. so I now I can't display large buffers and I have no alternative.
    What can I do to stop java.exe from chewing up cpu time when I run and/or print large buffers?
    My Environment:
    CPU: AMD 64 +3200
    MEM: 1GB
    OS: XP Pro SP2 (version 5.1 )
    EMU: Nokia S60 3rd Ed. / Nokia S40 / Sun WTK 2.5.1
    Java: 1.5.0_12
    VM: Java Hotspot(TM) Client VM 1.5.0_12-b04
    NB Product Ver: Netbeans IDE 5.5.1 (Build 20070422300)
    I would appreciate any help!
    Thankyou.

    I found the problem and once I did find it I googled for it and found a thread right here about it.
    http://forums.lenovo.com/t5/X-Series-ThinkPad-Laptops/X220-Ricoh-Media-card-driver-high-system-cpu-u...

  • Explorer.exe consuming 100% CPU after resuming from hibernation

    Hello,
    For the last months, I repeatedly have the problem that sometimes (every 2nd or 3rd time) after resuming from hibernation, in a few cases also after disconnecting from the Internet, one or more instances of explorer.exe are consuming 100% CPU, but never
    the shell instance.
    I tried figuring out what it was doing, but I was unsuccessful so far.
    Here is a stack of the thread which consumed most of the CPU:
    0, ntoskrnl.exe!KiDeliverApc+0x166
    1, ntoskrnl.exe!KiSwapThread+0x31f
    2, ntoskrnl.exe!KiCommitThreadWait+0x129
    3, ntoskrnl.exe!ExpWaitForResource+0x29f
    4, ntoskrnl.exe!ExEnterPriorityRegionAndAcquireResourceExclusive+0x1ad
    5, win32k.sys!EnterCritAvoidingDitHitTestHazard+0x13
    6, win32k.sys!NtUserMessageCall+0x28
    7, ntoskrnl.exe!KiSystemServiceCopyEnd+0x13
    8, user32.dll!NtUserMessageCall+0xa
    9, user32.dll!SendMessageWorker+0x168
    10, user32.dll!SendMessageW+0xfb
    11, ExplorerFrame.dll!CNscTree::_TreeInvalidateItemInfo+0xd0
    12, ExplorerFrame.dll!CNscTree::_EnumBackgroundDone+0xb4a14
    13, ExplorerFrame.dll!CNscTree::OnQIUpdateEnumDone+0x93
    14, ExplorerFrame.dll!CNscEnumQueueItem::Dispatch+0xcf
    15, ExplorerFrame.dll!CTaskLock::DispatchQueueItem+0xc5
    16, ExplorerFrame.dll!CNscTree::_SubClassTreeWndProc+0x118
    17, ExplorerFrame.dll!CNscTree::s_SubClassTreeWndProc+0x5f
    18, comctl32.dll!CallNextSubclassProc+0xe0
    19, comctl32.dll!MasterSubclassProc+0xa2
    20, user32.dll!UserCallWinProcCheckWow+0x149
    21, user32.dll!DispatchMessageWorker+0x1a7
    22, AppVEntSubsystems64.dll!VirtualizeCurrentThread+0x1e492
    23, ExplorerFrame.dll!CExplorerFrame::FrameMessagePump+0xe3
    24, ExplorerFrame.dll!BrowserThreadProc+0x5e
    25, ExplorerFrame.dll!BrowserNewThreadProc+0x3a
    26, ExplorerFrame.dll!CExplorerTask::InternalResumeRT+0x12
    27, ExplorerFrame.dll!CRunnableTask::Run+0x114
    28, shell32.dll!CShellTaskThread::ThreadProc+0x2a3
    29, shell32.dll!CShellTaskThread::s_ThreadProc+0x2f
    30, SHCore.dll!StrRetToBSTR+0x19f
    31, kernel32.dll!BaseThreadInitThunk+0x22
    32, ntdll.dll!RtlUserThreadStart+0x34
    I was hoping I could identify a rogue shell extension or something similar, but I didn't find any such evidence so far.
    In case you need this information, this is a list of my shell extensions/copy hooks/context menu handlers/drag&drop handlers (without duplicates):
    + " SkyDrivePro1 (ErrorConflict)" "Microsoft OneDrive for Business Extensions" "Microsoft Corporation" "c:\program files\microsoft office 15\root\vfs\programfilesx64\microsoft office\office15\grooveex.dll" "12.11.2014 01:13"
    + "{C52AF81D-F7A0-4AAB-8E87-F80A60CCD396}" "" "Apache Software Foundation" "c:\program files (x86)\openoffice 4\program\shlxthdl\shlxthdl.dll" "20.09.2013 12:50"
    + "{C52AF81D-F7A0-4AAB-8E87-F80A60CCD396}" "" "Apache Software Foundation" "c:\program files (x86)\openoffice 4\program\shlxthdl\shlxthdl_x64.dll" "20.09.2013 12:41"
    + "7-Zip" "7-Zip Shell Extension" "Igor Pavlov" "c:\program files\7-zip\7-zip32.dll" "18.04.2011 19:34"
    + "7-Zip" "7-Zip Shell Extension" "Igor Pavlov" "c:\program files\7-zip\7-zip.dll" "18.04.2011 19:35"
    + "ANotepad++64" "ShellHandler for Notepad++ (64 bit)" "" "c:\program files (x86)\notepad++\nppshell_06.dll" "12.05.2014 10:49"
    + "Ath_CopyHook" "Bluetooth File Transfer Plugin" "Qualcomm®Atheros®" "c:\program files (x86)\bluetooth suite\folderviewimpl.dll" "25.09.2013 10:58"
    + "Atheros" "Atheros Bluetooth Module" "Qualcomm®Atheros®" "c:\program files (x86)\bluetooth suite\btvappext.dll" "25.09.2013 10:58"
    + "DropboxExt" "Dropbox Shell Extension" "Dropbox, Inc." "c:\users\david\appdata\roaming\dropbox\bin\dropboxext64.24.dll" "24.06.2014 01:32"
    + "DropboxExt1" "Dropbox Shell Extension" "Dropbox, Inc." "c:\users\david\appdata\roaming\dropbox\bin\dropboxext.24.dll" "24.06.2014 01:31"
    + "FTShellContext" "Atheros Bluetooth Module" "Qualcomm®Atheros®" "c:\program files (x86)\bluetooth suite\shellcontextext.dll" "25.09.2013 10:58"
    + "GDContextMenu" "Google Drive shell extension" "Google" "c:\program files (x86)\google\drive\contextmenu64.dll" "16.01.2015 01:57"
    + "GDriveBlacklistedOverlay" "Google Drive shell extension" "Google" "c:\program files (x86)\google\drive\googledrivesync64.dll" "16.01.2015 01:56"
    + "igfxcui" "igfxpph Module" "Intel Corporation" "c:\windows\system32\igfxpph.dll" "09.09.2013 18:26"
    + "LockHunterShellExt" "LockHunter Explorer Extension" "Crystal Rich Ltd" "c:\program files\lockhunter\lhshellext32.dll" "25.03.2009 08:53"
    + "LockHunterShellExt" "LockHunter Explorer Extension" "Crystal Rich Ltd" "c:\program files\lockhunter\lhshellext64.dll" "28.04.2009 10:21"
    + "PDF Shell Extension" "PDF Shell Extension" "Adobe Systems, Inc." "c:\program files (x86)\common files\adobe\acrobat\activex\pdfshell.dll" "11.05.2013 10:34"
    + "PushbulletCtx" "" "" "File not found: :/Program Files (x86)/Pushbullet/pushbullet_ctx.DLL" ""
    + "RecuvaShellExt" "Recuva shell extensions" "Piriform Ltd" "c:\program files\recuva\recuvashell64.dll" "14.03.2014 12:41"
    + "SD360" "360 Total Security" "" "c:\program files (x86)\360\total security\menuex64.dll" "12.01.2015 03:55"
    + "SourceGearDiffMergeShellExtension32" "SourceGear DiffMerge ShellExtension 32" "SourceGear LLC" "c:\program files (x86)\sourcegear\common\diffmerge\sourcegeardiffmergeshellextension32.dll" "23.10.2013 19:15"
    + "SourceGearDiffMergeShellExtension64" "SourceGear DiffMerge ShellExtension 64" "SourceGear LLC" "c:\program files\sourcegear\common\diffmerge\sourcegeardiffmergeshellextension64.dll" "23.10.2013 19:17"
    + "StartMenuExt" "Start Menu Helper Extension" "IvoSoft" "c:\windows\syswow64\startmenuhelper32.dll" "20.04.2014 18:17"
    + "StartMenuExt" "Start Menu Helper Extension" "IvoSoft" "c:\windows\system32\startmenuhelper64.dll" "20.04.2014 18:16"
    + "WinRAR32" "WinRAR shell extension" "Alexander Roshal" "c:\program files\winrar\rarext32.dll" "02.12.2014 11:07"
    + "WinRAR" "WinRAR shell extension" "Alexander Roshal" "c:\program files\winrar\rarext.dll" "02.12.2014 11:07"
    + "WinSCPCopyHook" "Drag&Drop shell extension for WinSCP (64-bit)" "Martin Prikryl" "c:\program files (x86)\winscp\dragext64.dll" "14.08.2013 12:22"
    I you have any clue what might be going, I would be very happy to hear it. It's really annoying, as I have to kill explorer.exe and thereby close all my folder windows when this happens.
    Thank you!
    Best regards,
    David Trapp

    Hello,
    thanks for having a look. However, I already ran SFC before posting on this forum (as part of my own investigation) and it came back clean. RescueTime (a time tracking tool) is probably not the culprit because it happened also several times in the past without
    RescueTime being running (that was because I had accidentally removed it from autorun at that time).
    Unfortunately, I can't follow your "invalid date" explanation. I don't think an "invalid date" is anywhere involved; in fact, the method in question is called "_TreeInvalidateItemInfo" and not "_TreeInvalidDateItemInfo"
    (note that there is only one "d"), so I assume its job is just to invalidate (and in turn, refresh) the cached information about nodes in the left pane's folder tree of the explorer window(s) - since the folder tree is the only NamespaceTreeControl
    (whose corresponding class name is CNscTree) in explorer folder view windows. As I see it, something is causing explorer to repeatedly refresh the folder tree data, but I am stuck at finding out what exactly.
    Best regards,
    David Trapp
    EDIT: Disassembling ExplorerFrame!CNscTree::_TreeInvalidateItemInfo confirms that, because it seems to call TreeView_SetItem for a tree node and its parent (possibly with all fields set to *_CALLBACK), and CNscTree::_UpdateItemDisplayInfo
    for the parent node.
    EDIT2: I'd love to dig more into the trace, however I am hitting a wall at function names/addresses. Everywhere where I would expect a function name/address (such as the "by stack" views), I only see question marks instead. What
    could be the reason?

  • Java.exe capped at 50% CPU usage

    Hi forum,
    I have written a program that uses Java2D to draw an image. Each pixel in the image is determined by an equation. When I execute the program, java.exe seems to be capped at 50% CPU usage. It takes a long time to draw these images, so I would like to see 100% CPU! Why is this happening and what, if anything, can I do to fix it.
    Edited by: toaster33 on Jul 11, 2008 9:05 AM
    Edited by: toaster33 on Jul 11, 2008 9:05 AM

    Tip to help speed up your calc and draw processes:
    use Multi-threading
    You must split the byte array up into x amount of groups
    decide on how many bytes each thread will process say 1000
    do calculations and drawLine() in ThreadedDrawer's run method
    Create a class ThreadedDrawer that will make use of Runnable
    public ThreadedDrawer(JComponent, byte[]) OR
    public ThreadedDrawer(Graphics2D, byte[])
    In the other class use the following code
    public void draw(Graphics2D g2d, byte[] data){
      int grpSize = 1000;
      int i = 0;
      for(i=0;i<(data.length / grpSize);i++){
        byte[] grp = //bytes from data[i*grpSize] to data[(i+1)*grpSize]
        new ThreadedDrawer(g2d,grp);
      if(data.length % grpSize != 0){
        byte[] grp = //bytes from data[i*grpSize] to data[data.length-1]
        new ThreadedDrawer(g2d,grp);
    }Ranges should be correct but don't hold me to them its not tested

  • Wireportserver.exe is consuming 100% cpu

    Hi Experts,
    We are using SAP BI 4.0 sp6 windows for our BO Application.From last week onwards we are experiencing system freeze as the WIreportserver.exe consuming 100% cpu.we have to manually kill it to make the system work again.Even restarting the servers doesn't help!
    Sometimes this issue happens when if there are no user logged in.Recently there are no changes made to the server.Hence not sure what
    might be the reason behind this.
    Thanks in advance for your help.
    Regards
    Kishore

    I would request you to confirm the below steps.
    1) If you are using Load balance then please increase the Load Balancer idle session timeout .
    2) Can you also do this test: Please do take backup of the file.
    1- Open folder : <Your BO install Folder>\Tomcat55\webapps\AnalyticalReporting\WEB-INF\classes
    2- Edit file : webi.properties
    3- Change the lines :
    #WID_FAILOVER_SIZE=10
    #WID_STORAGE_TOKEN_STACK_SIZE=10
    By:
    WID_FAILOVER_SIZE=0
    WID_STORAGE_TOKEN_STACK_SIZE=0
    4- Save ans close the file
    5- Restart tomcat
    6- check if the issue is resolved
    3) Purge the query and run the same one by one. Once it is done then refresh all the queries. With this we can get to know which query is causing the issue. If you find that few queries are taking long time then foloow the below steps for that specific queries:
    a. . Edit the report and go to Edit Query.
    b. At bottom you can see the name of the Query
    c. Right click on Query and click Duplicate Query. It will create a copy of the original query.
    d. And then delete the original query.
    e. Do the same step for all queries
    f. Run all queries and then test the issue again.
    4) Run the report in Webi Rich Client. If it works then Save the report with different name and in different folder. And export same in Repository. From the Infoview try to refresh the report.
    5) Please check if using Web mode is acceptable workaround.
    6) In Universe Designer> parameter> Controls, uncheck the option 'Limit Execution Time To' and 'Limit Result Set To' parameters. By doing this it will allow users to create queries that have not been tuned, run for extended period of time .
    7) It is always recommended to Schedule the report which are of large size instead of refreshing. I would suggest you to schedule the report to resolve the issue.
    ~Sujeet Sharma

  • Oracle.exe is consuming 100% cpu o windows

    Hi,
    We have 6 oracle 10g database on windows box and from task manager we are able to see oracle.exe is consuming 100% cpu
    Need to know this oracle.exe belongs to which database and can i get the sql for this process
    Thanks

    On my Vista PC, I find that the easiest way to identify which instance an oracle.exe is, is the task manager. On the Processes tab, right-click the oracle.exe and then click Go To Service(s) and that takes me to the OracleServiceORCL or whichever insance it is.
    I'm sure there is a better way that a Windows person could tell us about. Then having identified the instance, it is just normal tuning from there.

  • A process java.exe uses 100% cpu

    This problem stops me start database 10g on Windows XP. I am wondering anyone might have same experience before and could share how to fix the issue. Here is situation:
    Every time when 10g database starts, a process java.exe which is loaded by nmesrvc.exe (I think it is OracleDBConsoleMyInstance, right?) uses 89% cpu forever. Because of this, OEM couldn't work! Shutdowning the database and restarting it didn't solve the problem. Killing nmesrvc.exe can stop the java.exe. SQL*Plus still works. But iSQL*Plus didn't works.
    If I stop process OracleDBConsoleMyInstance from Services of Windows, I got error: Error 1053.
    What is wrong here. Your help will be appreciated,

    I had the same problem and was able to resolve it.
    I am using 2 W2K3 servers, one for infrastructure and one for mid-tier (Portal). On the infrastructure machine I used the Administrative Tools -> Services Management Console and first stopped the OracleDBConsole, CPU was still 100% busy. Then I stopped the OracleINFRAControl and the CPU went to 0%. Then I restarted the OracleINFRAControl and then OracleDBConsole and now the CPU is hovering around 2%.
    I ran some tests from another machine and everything seems fine.
    Bill G...

  • Aspnet_wp.exe consuming 98% CPU in BAM server

    Hi,
    We are facing the memory issue with BAM server configured in windows Virtual server. The process aspnet_p.exe using 98% of the CPU most of the time.
    Would you anyone please suggest if we missed out any critical setup.
    Thanks,
    Satish

    Satish
    You have to log a service request with Oracle Tech Support at http://metalink.oracle.com with full details (OS, CPU, memory), and also export your plan/dataobjects/reports etc. Pl explain when you are facing this scenario, during data population or report viewing etc. What is your client-server config. ? If you are using WinXP - not because of OS limitations -this is only recommended for dev env, and not for active production system.

  • Crystalras.exe consuming 100% CPU usage

    Hi everyone,
    When we try to open an instance of one of our Crystal reports from InfoView, the crystalras.exe process runs at 100% CPU usage and the report never shows up. After a few minutes, we get the following message:
    The request timed out because there has been no reply from the server for 600,000 milliseconds.
    Does anyone know where the problem could come from? Could this be because the report is retrieving too much data?
    Thanks in advance for any help.

    Dear Both,
    I traced the RAS server as suggested by Tim and obtained a log that - I have to admit - is quite difficult for me to understand. Could I send it to one of you for examination? Thanks in advance.
    Ted, please find below my answers to your questions:
    Just to close out possible data source issues, are the reports going against Business Views or Universes?
    The report is based on Business Views.
    Do you have Processing Extensions specified for the reports?
    Sorry but what are Processing Extensions?
    Also, when you checked in the Crystal Reports Designer, was it Designer installed on the same machine where the page server and RAS server is running?
    Yes, it is installed on the same machine.
    Also, since it affects both Page Server and RAS, it may require CRPE traces to get to the bottom of this (CRPE - 'creepy' - is the CR engine used by both the Page and RAS server).
    I will certainly open a case with SAP to have them help me on that.
    Thank you both for your help. It is very appreciated.

  • Java.exe looping

    I have purchase the core jave v1 fundamentals book. When I try to compile and execute the SimpleFrameTest in chapter 7, I get no response and java.exe is consuming 1 cpu. I have a dual processor machine running windows 2000 professional. I have two monitors and 2 video cards...version is
    C:\CoreJavaBook\v1ch7\SimpleFrameTest>java -version
    java version "1.3.0"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
    Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)

    thanx for the reply....i figured out what was happening overnight....i never re-booted my machine after installing the jdk. after rebooting all works well....thanx

  • Grid11g on Windows - JavaService consuming 100% CPU

    This happened to me several times in the last few days. All is working ok in GridControl and all of a sudden I cannot get the webpages to come up again. The server hosting the 11g Gridcontrol shows that all available CPU is consumed by a java process in C:\Oracle\MIDDLE~1\JDK160~1.5-3\bin\java.exe. I assume that is the Weblogic process. I have no idea what it does, but it's keeps pegging the cpu until I kill that process. I have to bounce the box as of now to get gridcontrol working again.
    I'm not familiar with weblogic and how to find out what it does or configure it so it behaves. Any suggestions? Has anybody had such experiences?
    I have gridcontrol 11g with an 11.2 repository on the same host. the host is a win2008 32 bit virtual machine with 6 gig of ram. It runs fine when the java process doesn't think it needs to go wild.

    Re..
    I saw the same on my linux box.
    Check if you have the right java version for your installation .. WebLogic and GridControl only supports one version of Java....
    Take a look to the installation menu...
    On Linux X86-64bit ...Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
    *T                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • My Applet crashes java.exe to crash

    Ok, I'm not sure why, but on some computers my applet is making java.exe crash. When i attach a debugger to java.exe when it crashes I see a "Access Violation Error". The oddest part is that while one computer will crash and another identical computer with the exact same setup wont. The crash happens the moment the applet starts.
    Now I've done just about everything i could to figure this out. I've installed uninstalled and reinstalled java. I've run ram, hard drive, cpu, ect tests all reporting no problem. I've disabled anti-virus and did the uninstall and reinstall again. I've installed older versions of the java. I've resigned my jar file, created a new key and then resigned. Practically the only thing i have not done and is not a viable solution is reformat/replace the computers. So I'm left thinking it might be something in the applet that is causing it.
    It could be in the applet parameters but i doubt it.
    Pram fp is about 5,000 characters long
    Pram VerfyType is about 1 character long
    Pram Arg1 is a max of 11 characters long
    Pram Arg2 is a max of 11 characters long
    This applet is meant to interact with a program on the computer that connects to a variety of fingerprint scanners that we use and passes information form the internal site to the scanner and vice versa. So it just starts a loop back socket. For the loop back socket, i have tired 127.0.0.1 and localhost which still yield the same result.
    Here is the applet. It's very simple.
    import javax.imageio.ImageIO;
    import javax.swing.*;
    import java.awt.Image;
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.InputStreamReader;
    import java.io.PrintWriter;
    import java.net.MalformedURLException;
    import java.net.Socket;
    import java.net.URL;
    import java.net.UnknownHostException;
    import java.security.AccessController;
    import java.security.PrivilegedAction;
    public class Verify extends JApplet {
         private static final long serialVersionUID = 908206045464466336L;
         public JLabel jLabel1;
        public jPanel jPanel1;
        public String Template = "";
        public String VerfyType = "";
        public String Arg1 = "";
        public String Arg2 = "";
        public Thread t;
        Socket socket = null;
        public void stop()
             jPanel1.threadRun = false;
             if (socket != null)
                  try {
                        socket.close();
                   } catch (IOException e) {
                        // TODO Auto-generated catch block
                        e.printStackTrace();
         public void init()
            //Execute a job on the event-dispatching thread:
            try {
                javax.swing.SwingUtilities.invokeAndWait(new Runnable() {
                    public void run() {
                         Template = getParameter("fp").trim();
                         VerfyType = getParameter("VerfyType").trim();
                         Arg1 = getParameter("Arg1").trim();
                         Arg2 = getParameter("Arg2").trim();
                         initComponents();
            } catch (Exception e) {
                System.err.println("getParameter didn't successfully complete");
            StartVerify();
        private void initComponents() {
              jPanel1 = new jPanel();
              jLabel1 = new JLabel();
              jPanel1.setPreferredSize(new java.awt.Dimension(66, 66));
              jPanel1.setBackground(new java.awt.Color(255, 255, 255));
              jLabel1.setText("Initializing Please Wait.");
            setBackground(new java.awt.Color(255, 255, 255));
            javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
            jPanel1.setLayout(jPanel1Layout);
            jPanel1Layout.setHorizontalGroup(
                jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGap(0, 66, Short.MAX_VALUE)
            jPanel1Layout.setVerticalGroup(
                jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGap(0, 66, Short.MAX_VALUE)
            jLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
            javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(layout.createSequentialGroup()
                            .addContainerGap()
                            .addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, 536, Short.MAX_VALUE))
                        .addGroup(layout.createSequentialGroup()
                            .addGap(224, 224, 224)
                            .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addContainerGap())
            layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addContainerGap()
                    .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(jLabel1)
                    .addContainerGap(116, Short.MAX_VALUE))
        public void StartVerify()
             t = new Thread() {
              public void run()
                  AccessController.doPrivileged(new PrivilegedAction() {
                  public Object run()
                            PrintWriter out = null;
                            BufferedReader in = null;
                            try {
                                socket = new Socket("localhost", 4001);
                                out = new PrintWriter(socket.getOutputStream(), true);
                                in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
                            } catch (UnknownHostException e) {
                                 jLabel1.setText("Unkown Host Error.");
                                return null;
                            } catch (IOException e) {
                                 jLabel1.setText("Unable to get communication streams..");
                                return null;
                            String reponse = "";
                            try {
                                reponse = in.readLine();
                                if (reponse.equalsIgnoreCase("cmd"))
                                    out.write("v\n");
                                    out.flush();
                                    reponse = in.readLine();
                                    if (reponse.equalsIgnoreCase("send"))
                                        out.write(Template+"\n");
                                        out.flush();
                                        reponse = in.readLine();
                                        if (reponse.equalsIgnoreCase("finger"))
                                             jLabel1.setText("Please Have the client place their finger on the scanner.");
                                             while (true)
                                                  reponse = in.readLine();
                                                  if (!reponse.equalsIgnoreCase("pulse"))
                                                       break;
                                            if (reponse.equalsIgnoreCase("good"))
                                                try {
                                                     DoRedirect();
                                                    socket.close();
                                                } catch (IOException ex) {
                                            else if (reponse.equalsIgnoreCase("bad"))
                                                           int _return = LoopTellCanceled(socket, out, in);
                                            else
                                                 jLabel1.setText("Unexpected response from finger print server.");
                                        else
                                             jLabel1.setText("Unexpected response from finger print server.");
                                    else
                                         jLabel1.setText("Unexpected response from finger print server.");
                                else
                                     jLabel1.setText("Unexpected response from finger print server.");
                            catch (IOException ex)
                                 jLabel1.setText("We lost connection to the finger print reader.");
                                 System.err.println(ex);
                            try {
                                out.close();
                                in.close();
                                socket.close();
                            } catch (IOException e) {
                                System.err.println("Couldn't get I/O for the connection");
                                return null;
                            return null;
            t.start();
        private int LoopTellCanceled(Socket socket, PrintWriter out, BufferedReader in)
             int res = JOptionPane.showConfirmDialog(null, "Incorrect Finger Print. Would you like to try again?", "Finger Print was Bad", JOptionPane.YES_NO_OPTION);
             while (res == JOptionPane.YES_OPTION)
                String reponse = "";
                try {
                    out.write("v\n");
                    out.flush();
                    reponse = in.readLine();
                    if (reponse.equalsIgnoreCase("send"))
                        out.write(Template+"\n");
                        out.flush();
                        reponse = in.readLine();
                        if (reponse.equalsIgnoreCase("finger"))
                             jLabel1.setText("Please Have the client place their finger on the scanner.");
                             while (true)
                                  reponse = in.readLine();
                                  if (!reponse.equalsIgnoreCase("pulse"))
                                       break;
                            if (reponse.equalsIgnoreCase("good"))
                                try {
                                     DoRedirect();
                                    socket.close();
                                } catch (IOException ex) {
                            else
                                 res = JOptionPane.showConfirmDialog(null, "Incorrect Finger Print. Would you like to try again?", "Finger Print was Bad", JOptionPane.YES_NO_OPTION);
                } catch (IOException ex) {
                     System.err.println(ex);
             return res;
        public void DoRedirect()
              try
                   if (Arg1.equalsIgnoreCase(""))
                        getAppletContext().showDocument(new URL("javascript: fprintVerified("+VerfyType+");"));
                   else
                        if (Arg2.equalsIgnoreCase(""))
                             getAppletContext().showDocument(new URL("javascript: fprintVerified("+VerfyType+", "+Arg1+");"));
                        else
                             getAppletContext().showDocument(new URL("javascript: fprintVerified("+VerfyType+", "+Arg1+", "+Arg2+");"));
              catch (MalformedURLException ex)
                   ex.printStackTrace();
    }Edited by: Pyromanci on Mar 1, 2011 7:58 AM

    What does your error console report? - Which one? Browser, PC, ect
    How about your java console say? - I have no clue what it could be saying since java.exe crashes the moment the applet starts the console is no longer accessible.
    What browser and version? - Firefox v3.6.13
    Have you tried a different one? - Yes Ie 6,7, and 8. Though the site the applet runs form was designed specifically for firefox (internal site)
    Have you tried Appletviewer? - Yes applet runs as intended.
    Did you give the Applet permission? I know you said you signed it - did it all go right? - Yes. Gave me the usual response of will expire in x months

Maybe you are looking for

  • HP LaserJet CP1525nw Printing Problems.

    Before I begin I should tell you that we have 2 ipad 2's in the house.  My Wifes iPad 2 and my iPad 2.  My iPad 2 works just fine and as intended.  For my wife iPad 2 she can not print from it.  It will show the printer as a wireless printer on her i

  • Base amount is zero

    Dear all,. While c pturing invoice , Base amount is calculated as Zero. Tax is getting calculated in PO. Migo is not yet done. TAx procedure is TAXINN. pl help. Prabhash

  • Opinion sought on burning AVCHD to DVD

    I just completed my first 95 minute FCE movie in AVCHD only to be unpleasantly surprised to find that iDVD either does not support it, or does a very poor job on the material. So I read, for I have not tried it. For many reasons, I would like to comm

  • I have a Mac Book (2006) All my saved emails for two and a half years have the same date. How do I get the original dates back?

    From the "date and time" I tried to drag the month and year to my menu bar. It did not stay, so I did it several times, but to no avail. I closed the window and went back to my Thunderbird email only to find that the date I tried to use became the da

  • When "reset" used-are the EXTENSION add-ons saved-not plugins

    Started Firefox and a pop up from Mozilla asked if I wanted to speed up starting time because it was slow opening. There was a suggestion to use reset. I already knew that feature was available but I didn't want to set it to "factory settings" when I