Summary: | Multiple calls to Ant script <sql> task fail with ojdbc5.jar | ||
---|---|---|---|
Product: | Ant | Reporter: | Keith Davidson <keith> |
Component: | Core tasks | Assignee: | Ant Notifications List <notifications> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 1.7.1 | ||
Target Milestone: | --- | ||
Hardware: | Other | ||
OS: | Linux |
Description
Keith Davidson
2010-12-16 07:34:53 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/ |