Что такое Подарочные сертификаты?
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

  Top users: 
  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:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или законы РФ. Ваш ip-адрес записывается.


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:
PHP requirements
opengroupware LDAP address book
auction module
pass tests:
see also:

  Copyright © 2001—2010 QAIX
Идея: Монашёв Михаил.
Авторами текстов, изображений и видео, размещённых на этой странице, являются пользователи сайта.
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.
Пишите нам на .
If you would like to report an abuse of our service, such as a spam message, please .
Если Вы хотите пожаловаться на содержимое этой страницы, пожалуйста .