Hi,
It would be quite hard to reproduce the problem in quickstart application.
Here is the code of DynamicImageResource:
@Override
protected byte[] getImageData(IResource.Attributes attributes) {
try {
return IOUtils.toByteArray(stream);
} catch (IOException ex) {
Yeah, sure. Here is the code:
public class LocalFileResource extends DynamicImageResource {
private final Logger LOG = Logger.getLogger(LocalFileResource.class);
private String filePath;
private InputStream stream;
public LocalFileResource(String filePath) throws
Hi,
It's used very rarely so it should not be a problem. However I've moved the
stream creation from the constructor to getImageData method.
The important point here - it only happens when the crawler visits my
website. When normal users visit my website the file descriptors are closed
Actually I've checked the code in the second constructor and the stream is
the ByteArrayInputStream instance. But I've moved the stream creation from
the first constructor to the getImageData because that's the constructor I
use to create the 99% of the images in my website.
And yes I've changed
Looks like it's working now :)
Thank you Francois for your help :)
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Possible-memory-leak-in-Wicket-1-5-12-tp4668856p4668874.html
Sent from the Users forum mailing list archive at Nabble.com.
Hello,
I've developed an Wicket website in Wicket 1.5.12. It's hosted on Glassfish
server 3.1.2.2 and lately I've run into the following problem:
The problem only occurs when a crawler (for example googlebot) visits my
website and then when it's crawling, Glassfish opens a lot of file
Hello,
Im struggling with a very strange problem. Im loading the images from the
file system using NonCachingImage or Image classes and everything work fine
in FF but in IE it fails to load the images randomly and for example:
1. First request it loads all images.
2. Second request it fails to
when
product passes the validation his model should be updated with new value but
it doesn't.
Any idea how could I change this ?
Regards, Satrix
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-Form-multiple-fields-tp4654407.html
Sent from the Users forum
Cause Im eager to learn new things :)
Regards, Satrix
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-8-EJB-3-1-strange-problem-tp4653977p4654128.html
Sent from the Users forum mailing list archive at Nabble.com
Hello Martin,
I'll check this out today and let you know if it helps.
Regards, Satrix
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-8-EJB-3-1-strange-problem-tp4653977p4653990.html
Sent from the Users forum mailing list archive at Nabble.com
(but... after the bean has been recreated, when
I click on a links etc, container returns me correct bean instance (previous
bean - before recreation)).
I wonder if you know someone from the wicketstuff-javaee-inject, so maybe
they could provide me a workaround or smth ?
Regards, Satrix
--
View
other link on my page container returns
previous EJB bean so the cart number is 1.
Btw Im using LoadableDetachableModel so there is no way that the user is
seeing stale data.
Regards, Satrix
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-8-EJB-3-1-strange
what's happening ?
Thank you in advance, Satrix
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-8-EJB-3-1-strange-problem-tp4653977.html
Sent from the Users forum mailing list archive at Nabble.com
.
Regards, Satrix
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Access-Denied-Page-tp4555096p4560780.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users
?
Regards, Satrix
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Access-Denied-Page-tp4555096p4555096.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users
Yeah, You are right about that it's GoDaddy's problem. Their support couldn't
help me with it... But my collegue who's managing this hosting finally did
it.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-Application-on-GoDaddy-tp4529071p4534008.html
Sent from
/filter-name
url-pattern/*/url-pattern
/filter-mapping
So do you have any idea how can I solve this problem or maybe it a problem
on their side ?
Regards, Satrix
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-Application-on-GoDaddy
I changed the name of WAR file to ROOT.war but no luck now it's
www.domain.com/ROOT/home :/
From what I know there is tomcat 5 running
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Wicket-Application-on-GoDaddy-tp4529071p4529402.html
Sent from the Users forum
Yes. I know that I can redirect all requests but the question is how to
deploy Java Web App on their hosting because there is something like
Parallels Panel and you have to upload your WAR file and the files are
generated (cant edit them by hand).
That's why my application is available under
post
parameters to Order Page and after the redirection they are lost.
I use Apache Wicket 1.5.5 and SimplePageAuthorizationStrategy.
Any idea how can I resolve such a problem ?
Regards, Satrix
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/POST-parameters-lost
Hmm, one question where shall I setup a breakpoint ? Cause I've no idea how
to debug only the
org.apache.wicket.RestartResponseAtInterceptPageException.InterceptData#set().
Regards, Satrix
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/POST-parameters-lost-during
Moreover, I've debugged continueToOriginalDestination (InterceptData data =
InterceptData.get();)
and the parameters are in the data but at
(RequestCycle.get().replaceAllRequestHandlers(new
RedirectRequestHandler(url));) it goes into the replaceAllRequestHandlers
method and then from this method
The point is that I cannot catch the exception. The code enters first if in
the catch section:
if (e.getTargetException() instanceof ReplaceHandlerException ||
e.getTargetException() instanceof AuthorizationException ||
e.getTargetException() instanceof WicketRuntimeException)
{
throw
in advance, Satrix
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/POST-parameters-in-URL-Problem-tp4512104p4512104.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e
Hey Martin, I've tried and changed the wicket version to 1.5.5 but the
problem still occurs :/
Any idea what can be wrong ?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/POST-parameters-in-URL-Problem-tp4512104p4512167.html
Sent from the Users forum mailing list
Ahhh! It works :). I had some WAR related issues. I confirm that by uprading
wicket version to 1.5.5 the problem with POST parameters in URL is fixed.
Martin THANK YOU VERY MUCH, you made my day :)
--
View this message in context:
26 matches
Mail list logo