ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50484] Multiple calls to Ant script <sql> task fail with ojdbc5.jar
Date Thu, 18 Aug 2011 13:19:58 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50484

--- Comment #1 from Oleg <oafanasiev@gmail.com> 2011-08-18 13:19:58 UTC ---
We experienced the same problem when upgrading oracle drivers from 10.x to
11.2.0.2.

Issue could be resolved by adding -Djava.security.egd=file:///dev/urandom to
jvm system properties by doing
export ANT_OPTS="-Djava.security.egd=file:///dev/urandom"
prior to running ant.

It is not specific to ant, but to jdbc driver which is now using /dev/random
which doesn't have enough entropy on servers.
More info could be found in:
https://forums.oracle.com/forums/thread.jspa?messageID=3793101
http://www.usn-it.de/index.php/2009/02/20/oracle-11g-jdbc-driver-hangs-blocked-by-devrandom-entropy-pool-empty/

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message