[jsword-devel] WebResource default timeout

Joe Kumar joekumar at gmail.com
Sun Dec 5 21:37:21 MST 2010


Thanks Smith.
I increased the timeout in WebResource.java. I am attaching the patch in
this mail.
Should I open a jira issue and upload the patch there ? I couldnt find any
info about this in the site. Please advise.

regards
Joe.

On Sun, Dec 5, 2010 at 11:08 PM, DM Smith <dmsmith at crosswire.org> wrote:

> Welcome Joe,
> This was just reported a few days ago, elsewhere in the code, and we added
> the ability to increase the timeout. That code is in trunk. I hadn't thought
> to extend it elsewhere. If you'd work up a patch for APIExamples.java, that
> would be great!
> In Him,
> DM
>
> On Dec 5, 2010, at 10:59 PM, Joe Kumar wrote:
>
> Hi JSword team,
>
> This is Joe. I was wanting to develop a system that could match prayer
> requests with bible verses. I started off using lucene to create indexes on
> a bible that I downloaded off the internet but after searching a little bit
> I realized that JSword uses lucene. So I am planning to use the data
> structures and functionalities provided by JSword and build something on top
> of it. Tatz a little bit of background.
> I downloaded the code from instructions in
> http://www.crosswire.org/jsword/svn.html.
>
> When I run the APIExamples.java, I encountered a
> "java.net.SocketTimeoutException: Read timed out". After increasing
> the default timeout from 750 to 1500, it works fine. I am using Eclipse 3.5
> on OSX Snow Leopard. Not sure if anyone else face this issue. If so I can
> submit a small patch for this.
>
> regards
> Joe.
>
>
>
>
> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel
>
>
>
> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel
>
>


-- 
God doesnot ask us of our ability but our availability
http://joekumar.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/jsword-devel/attachments/20101205/c99831cd/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jsword_webresource_timeout.patch
Type: application/octet-stream
Size: 557 bytes
Desc: not available
URL: <http://www.crosswire.org/pipermail/jsword-devel/attachments/20101205/c99831cd/attachment-0001.obj>


More information about the jsword-devel mailing list