]
Steve Ebersole closed HHH-2999.
-------------------------------
Resolution: Rejected
ZoneAlarm displaying a Warning when AbstractUUIDGenerator is
initialized
------------------------------------------------------------------------
Key: HHH-2999
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2999
Project: Hibernate3
Issue Type: Improvement
Components: core
Affects Versions: 3.2.5
Environment: Windows Vista, Hibernate 3.2.5, Java 1.6, ZoneAlarm Firewall
Reporter: Moritz Gmelin
Priority: Minor
Original Estimate: 5 minutes
Remaining Estimate: 5 minutes
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: