So I am doing a lot of random reads and I am getting only 1-2 lookups per second where I used to get thousands per second.  I did an HPROF and found that the root cause relates to the Sun http protocol handler not handling InputStream.skip() correctly.  So every time it looks up a block it reads the whole file across the network.  

Anyone have any suggestions on how to improve this?  Maybe use the Apache HTTP Client instead of

Here’s a sample stack (Derby 10.8):

TRACE 373064: line)$$HttpInputStream.skip(

iCrossing Privileged and Confidential Information
This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information of iCrossing. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.