Hi.
The method InetAddress.getLocalHost use file descriptors to get this
information. It's possible that you are getting out of descriptor.
Take a look again to your logs.
If this happen again, try to see how much descriptors your process is
using/wasting. Take a look to the directory in
/proc/<process-id>/fd.
Best regards
João Paulo Ribeiro.
Petr Stehlik wrote:
>From time to time one of my Enhydra 5.1.15 servers falls into weird
state:
2005-08-23 14:07:35,817: [Thread-1093], ERROR, Multiserver: Error in Enhydra Handler
java.net.UnknownHostException: mymachine: mymachine
at java.net.InetAddress.getLocalHost(Unknown Source)
at org.enhydra.servlet.connectionMethods.EnhydraDirector.EnhydraDirectorHandler.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
It cannot find out the IP address of localhost? Restart of multiserver
fixes it for a couple days but then the problem appears again. I
hardcoded the IP address into /etc/hosts but it didn't help:
/etc/hosts:
127.0.0.1 localhost
194.108.5.10 mymachine.zln.cz mymachine
Any idea what could cause this? OS is Debian Woody, hardware is dual P4.
Petr
--
You receive this message as a subscriber of the enhydra@xxxxxxxxxxxxx mailing list.
To unsubscribe: mailto:enhydra-unsubscribe@xxxxxxxxxxxxx
For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
--
João Paulo Ribeiro | Senior Software Engineer
jp@xxxxxxxxxxxx
PHONE: + 351 253 305 250
FAX : + 351 253 305 250
www.mobicomp.com
________________________________________________________________
About Solutions | Wireless World
CONFIDENTIALITY NOTICE: This message, as well as existing attached files, is confidential and intended exclusively for the individual(s) named as addressees. If you are not the intended recipient, you are kindly requested not to make any use whatsoever of its contents and to proceed to the destruction of the message, thereby notifying the sender.
DISCLAIMER: The sender of this message can not ensure the security of its electronic transmission and consequently does not accept liability for any fact which may interfere with the integrity of its content.
|
--
You receive this message as a subscriber of the enhydra@xxxxxxxxxxxxx mailing
list.
To unsubscribe:
mailto:enhydra-unsubscribe@xxxxxxxxxxxxx
For general help:
mailto:sympa@xxxxxxxxxxxxx?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws
|