Re: Resource.getResourceStream() called twice in 1.4.15

2011-01-20 Thread Brad Grier
To follow-up it appears getResourceStream is being called multiple times per request for other shared resources like generated images (even under 1.4.12). This can be extremely inefficient depending on the amount of work done. I'm wondering if there's something wrong with my configuration. Any

Re: Resource.getResourceStream() called twice in 1.4.15

2011-01-20 Thread Martin Grigorov
we fixed something similar in 1.5 - UrlResourceStream was opening the underlying connection twice but your seems to be something else create a quickstart and attach to Jira thanks! On Thu, Jan 20, 2011 at 5:13 PM, Brad Grier brad.gr...@salusnovus.comwrote: To follow-up it appears

Re: Resource.getResourceStream() called twice in 1.4.15

2011-01-20 Thread Brad Grier
Thanks. I submitted an issue in Jira with a quickstart . https://issues.apache.org/jira/browse/WICKET-3357 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Resource-getResourceStream-called-twice-in-1-4-15-tp3225454p3228511.html Sent from the Users forum mailing list

Resource.getResourceStream() called twice in 1.4.15

2011-01-19 Thread Brad Grier
Not too long ago I built a url-based api into our web app. I basically mounted a shared resource and then hooked into getResourceStream to process information from the url parameters and insert the result into our data store. Under 1.4.15 I'm getting duplicate records because getResourceStream is