]
Steve Ebersole closed HHH-2998.
-------------------------------
Resolution: Rejected
ZoneAlarm DNS warning when AbstractUUIDGenerator is initialized on
Windows Vista
--------------------------------------------------------------------------------
Key: HHH-2998
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2998
Project: Hibernate3
Issue Type: Improvement
Components: core
Affects Versions: 3.2.5
Environment: Windows Vista with ZoneAlarm Firewall installed, Hibernate 3.2.5 and
Java 1.6
Reporter: Moritz Gmelin
Priority: Minor
When Hibernate initializes the AbstractUUIDGenerator, a call to
InetAddress.getLocalHost() is made to get the host's IP address. If the host running
the application is a windows vista host with a Zone Alarm firewall installed, the user
gets a popup window that the application is trying to a DNS lookup (the DNS lookup is not
even executed).
This is not a hibernate bug. It is a vista & zone alarm bug. But it would be nice if
the call in AbstractUUIDGenerator could be eliminated (the address is just used to
generate some unique, random number). From looking at the code, I would guess that
repacing the call by calling Math.random() would be just fine.
Thanks
Moritz
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: