Re: NullPointerException in AbstractWidgetDefinitionBuilder

2008-01-28 Thread Harald Entner
Vadim Gritsenko schrieb: On Jan 17, 2008, at 10:47 AM, Vadim Gritsenko wrote: On Jan 17, 2008, at 8:12 AM, Joerg Heinicke wrote: On 17.01.2008 05:45, Harald Entner wrote: In normal mode everything runs fine. But when running a jmeter test with 40 concurrent users, the

Re: upload-max-size with no effect

2008-01-28 Thread Jean-Claude Vogel
Thank for your reply, Like you said, I tried to add an upload-max-size init param in the Spring configuration of the Cocoon SitemapServlet but I have still the same error. Here is what I wrote : bean id=zzz.ma-adminui.block class= org.apache.cocoon.sitemap.SitemapServlet

Re: upload-max-size with no effect

2008-01-28 Thread Grzegorz Kossakowski
Jean-Claude Vogel pisze: Thank for your reply, Like you said, I tried to add an upload-max-size init param in the Spring configuration of the Cocoon SitemapServlet but I have still the same error. Here is what I wrote : bean id=zzz.ma-adminui.block

Re: C2.2: Accessing form via servlet services?

2008-01-28 Thread Rainer Pruy
Grzegorz Kossakowski schrieb: Rainer Pruy pisze: Thanks Grzegorz for illustrating some aspects of the basic concepts. From my first post in this thread you can read that I already had the impression that on the way from M to A some POST call might be missing in the interaction. And

Re: upload-max-size with no effect

2008-01-28 Thread Jean-Claude Vogel
Thank a lot, I fact I don't know how to set static variables in the spring configuration of the block but I will look for it. If you can send a small example it would be great. Best regards, Jean-Claude 2008/1/28, Grzegorz Kossakowski [EMAIL PROTECTED]: Jean-Claude Vogel pisze: Thank for

Re: upload-max-size with no effect

2008-01-28 Thread Joerg Heinicke
On 28.01.2008 05:34, Grzegorz Kossakowski wrote: Like you said, I tried to add an upload-max-size init param in the Spring configuration of the Cocoon SitemapServlet but I have still the same error. Here is what I wrote : bean id=zzz.ma-adminui.block

Re: upload-max-size with no effect

2008-01-28 Thread Grzegorz Kossakowski
Jean-Claude Vogel pisze: Thank a lot, I fact I don't know how to set static variables in the spring configuration of the block but I will look for it. If you can send a small example it would be great. Jean, you probably have misunderstood what I meant. I didn't mean you need to set static

Set/Read Response Code?

2008-01-28 Thread Edward S
Hey guys, Had a question. I have a reader that reads in a XML containing 'x' URL's. Each URL returns a PDF and this reader merges the PDF and gives a single PDF as the output. Now, if something fails, i get a 0 page pdf with an error saying 'Cannot open the pdf because it has 0 pages' I have no

Re: upload-max-size with no effect

2008-01-28 Thread Jean-Claude Vogel
Yes, it works fine. Thank you and thank to every body who tried to understand the problem. I ever not understand why I have to specify these properties, my file to upload size is less than 1Mb when the default Cocoon max value is 10Mb. Files to upload with a size less than 100kb have ever been

Re: servlet-mapping in Cocoon 2.2 bean?

2008-01-28 Thread Josh2007
Hi Grzegorz, I ran my webapp, but the same error occured. Before going further I need to clarify one point about ServletService. If I call my servlet this way: map:generate src=servlet:xquery:/exist-xquery-samples/guess.xql type=file/ it's the same as making an http request to xquery servlet,

Re: servlet-mapping in Cocoon 2.2 bean?

2008-01-28 Thread Grzegorz Kossakowski
Josh2007 pisze: Hi Grzegorz, I ran my webapp, but the same error occured. Before going further I need to clarify one point about ServletService. If I call my servlet this way: map:generate src=servlet:xquery:/exist-xquery-samples/guess.xql type=file/ it's the same as making an http

Is it possible to restrict file uploads to certain URLs?

2008-01-28 Thread Andy Stevens
Hi, New year, new webmail; hopefully google mangles embedded xml less than hotmail :-) I have a new requirement for one of our sites to allow the users to upload some files. However, I read in the Cocoon docs/wiki that switching on the enable-uploads init parameter will make it use the

Re: Set/Read Response Code?

2008-01-28 Thread solprovider
Can we see the code? Can you fix the code? The Reader needs better handling of errors. Find the code that translates the URL into a PDF and make Exceptions return a PDF that reads: This is where the PDF from: http://example.com/a.pdf would have been inserted if the following error had