Bug 106668
Summary: | kill unable to kill java 1.3.1_09 | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Deian Chepishev <updates> |
Component: | util-linux | Assignee: | Elliot Lee <sopwith> |
Status: | CLOSED WORKSFORME | QA Contact: | Ben Levenson <benl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 9 | CC: | michael |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-10-24 20:07:16 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Deian Chepishev
2003-10-09 12:25:00 UTC
Forgot to mention that this all happens if i execute "java p &" as non root user. If i do all of the steps above as root everything is working as expected JVM exits after kill PID_OF_JVM. Older Java versions are not NPTL friendly. You should update to 1.4.1+ (1.4.2+ is recommended). $ /usr/java/j2re1.4.2/bin/java -showversion java version "1.4.2" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28) Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode) Ok they dont support NPTL threads but does this mean that it should have different behaviour when it is started as root and as regular user. I believe that the simple nature that the VM is unpredictable with NPTL enabled GLIBC and kernels makes it entirely possible that there would be differences between root and a normal user. Have you upgraded to 1.4.2+ to see if the issue disappears? Yes it disappears with jdk 1.4.2 but the strange thing is that it dsappears and with jdk1.3.1_08 I am asking about jdk1.3.1_09 because we have an important business apps running on this version of jdk and it would be very heavy work to migrate to 1.4 because a lot of source should be modified. And even if we migrate i guess a lot of problems will come up. Let's see.. you can LD_ASSUME_KERNEL=2.2.5 to disable NPTL for a piece of software that is not working with NPTL. If that doesn't solve your problem - then your problem is either 1) in YOUR code 2) in SUN's code. NPTL and older Java impls just don't get along. The fix needs to be done in the Java impls. |