I've been getting some strange results with sites hosted by a specific provider. For all other sites, the security manager asks for permission nearly instantaneously, but for sites hosted by blacklotus (a DDOS migitation provider), it almost seems as though there's a blocking I/O method. For your convenience, I'll paste the (decompiled) source of the internal oracle class that I feel is part of the key to understanding this followed by a
SSCCE that should illustrate the problem.
The
java class
The JNLP file (note, this uses cross domain policies! Read more at
http://www.oracle.com/technetwork/java/javase/plugin2-142482.html#CROSSDOMAINXML )
I can't seem to find a crossdomain.xml file on blacklotus.net's root, so I am half guessing that this is where the issue is stemming from. I have, however, uploaded such a file to a server running on blacklotus's network with the same delay.
Can anyone shed some light on why JWS takes so long to ask permission to connect to blacklotus.net or any other server hosted by them? I've decompiled and stepped through 3 of Oracle's internal jar files, and I'm rather convinced that the issue lies in the cross domain support, but I can't say for 100% sure. Hopefully someone else has had a similar problem and can help me out here!