[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2999) ZoneAlarm displaying a Warning when AbstractUUIDGenerator is initialized
Moritz Gmelin (JIRA)
noreply at atlassian.com
Fri Dec 7 05:31:56 EST 2007
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
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: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list