Oracle 11i Apps.....Java hitting 100 % CPU

My clients have Oracle 9.2.0.3 with Oracle 11i Apps version 11.5.9 and are using a two tier arch. The OS is HP-UX testdev B.11.11 U 9000/800 892930670 unlimited-user license, with dual CPUs.  We have multiple Java products and I am not sure which version is being used. Whenever we start the services for Apache our Java processes almost immediately hits 100%. I have two questions.
1) How do I identify the Java version ?
2) how do I resolve the java 100% cpu usage?

TIA
Anand
LVL 13
anand_2000vAsked:
Who is Participating?
 
arataniConnect With a Mentor Commented:
0
 
arataniCommented:
1) java -version

will give you the version of java used

I will look into your question # 2.

AJ
0
 
anand_2000vAuthor Commented:
The entire Java programming here is Oracle's own code.....I want help on the Jser and other such settings.
0
 
anand_2000vAuthor Commented:
result of top command in Unix
System: testdev                                       Mon Oct  4 23:01:27 2004
Load averages: 2.36, 1.69, 1.49
171 processes: 142 sleeping, 29 running
Cpu states:
CPU   LOAD   USER   NICE    SYS   IDLE  BLOCK  SWAIT   INTR   SSYS
 0    3.42  98.2%   0.0%   1.8%   0.0%   0.0%   0.0%   0.0%   0.0%
 1    1.31  63.9%   0.0%  36.1%   0.0%   0.0%   0.0%   0.0%   0.0%
---   ----  -----  -----  -----  -----  -----  -----  -----  -----
avg   2.36  81.0%   0.0%  19.0%   0.0%   0.0%   0.0%   0.0%   0.0%

Memory: 1126468K (664156K) real, 2740060K (2174600K) virtual, 2412120K free  Page# 1/6

CPU TTY     PID USERNAME PRI NI   SIZE    RES STATE    TIME %WCPU  %CPU COMMAND
 0   ?     2724 applprod 152 20   537M   153M run    509:43 100.39 100.22 java
 0   ?     3952 applprod 241 20 75204K 22272K run    352:53 93.57 93.41 f60webmx
 0   ?    18066 applprod 188 20 75416K 21492K run      0:19  3.59  3.58 f60webmx
 1   ?    17385 applprod 154 20 92268K 36988K sleep    0:24  1.60  1.59 f60webmx
 1   ?     3049 applprod 152 20   243M 46236K run      2:44  0.59  0.59 java
 0   ?     2723 applprod 152 20   516M   134M run      2:07  0.58  0.58 java
 1   ?       35 root     152 20  1056K  1056K run      0:23  0.40  0.40 vxfsd
 0 pts/ta 18769 applprod 178 20 11788K   788K run      0:01  0.30  0.30 top
0
All Courses

From novice to tech pro — start learning today.