aspose file tools*
The moose likes Websphere and the fly likes What exactly is Java.exe?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "What exactly is Java.exe??" Watch "What exactly is Java.exe??" New topic
Author

What exactly is Java.exe??

Ravi Kumar Ravuru
Ranch Hand

Joined: Apr 18, 2002
Posts: 176
Hi,
We had deployed our application on WAS4.0 AE for multiplatforms.After accessing our application for sometime,when i check the task manager,i found multiple java.exe files running and one of the java.exe will use 99% of cpu usage.
Is it server load or code problem?Any ideas are greatly appreciated!
Thanks in advance.
Ron Ditch
Ranch Hand

Joined: May 16, 2002
Posts: 33
Java.exe is the JVM runtime or JIT that lets you execute your class files.
If you are running at 99% of your CPU, you 1)have something going crazy, 2)too much traffic.
Raj Varanasi
Greenhorn

Joined: Nov 20, 2001
Posts: 11
We are also got the same problem but in a different environment(Solaris,was3.5.4).What we found out later is there is a infinite loop in that class.Because of that it is using lot of %CPU. We have modified that class and then it is working fine.
Jose Velarde
Ranch Hand

Joined: Sep 11, 2002
Posts: 78
There should only be 2 java.exe (JVM for Admin Server and Services) and one javaw.exe when you start the Admin Console (yes, it's also a JVM).
If you have multiple java.exe, chances are the memory was not freed. This happens a lot to me when I'm using WSAD. When I bounce the server instance, java.exe will still be there running in the background. For some reasons, the memory was not reclaimed.
Try playing around by observing the processes.
[ September 18, 2002: Message edited by: Jose Velarde ]
Dharmesh Chheda
Ranch Hand

Joined: May 08, 2001
Posts: 204
Originally posted by Jose Velarde:
There should only be 2 java.exe (JVM for Admin Server and Services) and one javaw.exe when you start the Admin Console (yes, it's also a JVM).
If you have multiple java.exe, chances are the memory was not freed. This happens a lot to me when I'm using WSAD. When I bounce the server instance, java.exe will still be there running in the background. For some reasons, the memory was not reclaimed.
Try playing around by observing the processes.
[ September 18, 2002: Message edited by: Jose Velarde ]


Well to some extent you are correct Jose. the number of java.exe also depends on the application servers you have created. if you create two more application servers you will notice that there will be two more java.exe's .
And related to your problem you might be using Windows NT or 2000 cause windows has a rule if it finds that the cpu usage is maxed out, it will simply pick up any java processes running on the machine and unassociate it from the kernel so you wont get any response from that process.
The kernel will have no control on the java.exe so you will have to manually kill it.


regards,<br />Dharmesh Chheda
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What exactly is Java.exe??