Closed GoogleCodeExporter closed 8 years ago
A more complete has been posted by you probably on the users' group:
java.lang.InternalError: errno: 2 error: Unable to open
/compat/linux/proc/self/stat
at com.sun.management.UnixOperatingSystem.getCommittedVirtualMemorySize(Native
Method)
at net.bull.javamelody.MemoryInformations.buildMemoryDetails(MemoryInformations
.java:118)
...
As you can see in the stack-trace, it is an error in the JDK.
This method can be found in openjdk:
http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/6-b14/com
/sun/management/OperatingSystemMXBean.java#OperatingSystemMXBean
A google search shows issues with "/compat/linux/proc" on FreeBSD.
See for example:
http://wiki.hudson-ci.org/display/HUDSON/FreeBSD+4.9
http://lioks.buffout.org/?p=39
Did you get the JDK 1.6 from http://www.freebsd.org/java/ ?
Otherwise, could it be an issue with the permissions of the FreeBSD user for
the JDK and do you use JSVC? If you use JSVC, have you tried startup.sh in
tomcat/bin?
Original comment by evernat@free.fr
on 19 Nov 2010 at 11:27
Original comment by evernat@free.fr
on 19 Nov 2010 at 11:27
Thanks for your reply, I'm not sure where the jdk came from, it was installed
by the host. hopefully I'll get some time over the holiday to look into your
suggestions a bit more and then I'll post another comment. Thanks again.
Original comment by rone...@gmail.com
on 24 Nov 2010 at 6:56
[deleted comment]
No response.
Hopefully you found a way to make the JDK work for this on FreeBSD.
If not, tell us your findings. Thanks.
Original comment by evernat@free.fr
on 18 Dec 2010 at 1:32
Original issue reported on code.google.com by
rone...@gmail.com
on 19 Nov 2010 at 8:07