RE: Apparently-random UnknownHostException while attempting POST operation

2013-09-25 Thread Robert Dodier
Problem solved, I hope -- apparently IPv6 causes trouble for the Java VM -- this is a bug in Java, but a workaround is to put -Djava.net.preferIPv4Stack=true on the Java command line. It seems to have made the UnknownHostException go away, so I am happy! Others have bumped into this bug; see:

Re: Apparently-random UnknownHostException while attempting POST operation

2013-09-25 Thread Jerome Louvel
Thanks Robert for sharing your solution to this issue! Best regards, Jerome 2013/9/25 Robert Dodier robert.dod...@gmail.com Problem solved, I hope -- apparently IPv6 causes trouble for the Java VM -- this is a bug in Java, but a workaround is to put -Djava.net.preferIPv4Stack=true on the

Apparently-random UnknownHostException while attempting POST operation

2013-09-24 Thread Robert Dodier
Hi, I am working with Restlet 2.1.2 on Linux (RHEL 6 on x86_64). java -version reports: java version 1.6.0_24 OpenJDK Runtime Environment (IcedTea6 1.11.3) (rhel-1.48.1.11.3.el6_2-x86_64) OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode) I have a thread which executes a POST every few