How to know who is online?
linux jdk 1.4.2_12 may fail with Linux procfs mounted
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What is interesting here?
• Duels
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Ñîîáùåñòâà
• Talxy Chat
• Horoscope
• Online
 
Register!

QAIX > Web-hosting, dedicated, colocation > linux jdk 1.4.2_12 may fail with Linux procfs mounted 18 September 2006 00:22:11

  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Ìîäåðàòîð:

linux jdk 1.4.2_12 may fail with Linux procfs mounted

Marcin Cieslak 18 September 2006 00:22:11
 I have just installed Linux JDK 1.4.2_12 to check for various incompatibities
(http://people.free­bsd.org/~tjr/linux32­.html) I noticed that according to
comment to http://bugs.sun.com­/bugdatabase/view_bu­g.do?bug_id=4881146:­


In the short term, developers using this product [Rational ClearCase] can easily
develop their own interposer library that will cause readlink of /proc/self/exe
to fail. The java launcher does not require /proc to be present and will
fallback to another mechanism when /proc is not present (chroot environments for
example).


And running without /proc has been fixed according to
http://bugs.sun.com­/bugdatabase/view_bu­g.do?bug_id=4881146

java without /proc just issues warning message:

% /usr/local/linux-su­n-jdk1.4.2/bin/java -jar
/usr/local/linux-su­n-jdk1.4.2/demo/jfc/­Java2D/Java2Demo.jar­
Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location
<application runs happily>

but when /compat/linux/proc is mounted fails reading some values from
/proc/self/stat on my machine:

% /usr/local/linux-su­n-jdk1.4.2/bin/java -jar
/usr/local/linux-su­n-jdk1.4.2/demo/jfc/­Java2D/Java2Demo.jar­
Fatal: Stack size too small. Use 'java -Xss' to increase default stack size.

The fix should be relatively easy, probably implementing some more entries in
the linprocfs_doprocsta­t() function.

Just in case somebody hits this problem...

--
<< Marcin Cieslak // saper@system.pl >>
Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
respect your talk pals, avoid using obscene language, typing entire messages in CAPS, posting buy/sell ads or violating netiquette or the RF Criminal Code..


QAIX > Web-hosting, dedicated, colocation > linux jdk 1.4.2_12 may fail with Linux procfs mounted 18 September 2006 00:22:11

see also:
Adding users
acl in head - update
Money making plan
pass tests:
How Old Are You Psychologically?
see also:
newsleecher
Hi!
Documentum Training needed

  Copyright © 2001—2009 QAIX
Idea: Miñhael Monashev
See Help and FAQ in the community support.qaix.com.
Write in the community about the bugs you have noticedbugs.qaix.com.
Write your offers and comments in the communities suggest.qaix.com.
Information for parents.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .