HttpSessionListener and DataSourceComponent

2005-01-12 Thread Grzegorz Taczyk
Hello, I've lost in Cocoon/Servlet architecture. How can I access datasource defined in cocoon.xconf in my sessionlistener defined in web.xml? I would like to make some DB modifications if session expires. I don't see that SessionListener could be connected to any manager, so standard

How to determine Cocoon memory usage?

2005-01-03 Thread Grzegorz Taczyk
Hello users, When I view samples/statuspage I see: total: 253.19MB so it seems to be correct, but top command memory statistics are saying something diffrent: 362m. The first value is constat, but 362m after few hours changed to 384m. How to explain it? I have JVM 1.5.0, Tomcat 5.5.4

Re: Load Testing / Profiling

2004-12-25 Thread Grzegorz Taczyk
Hello Anton, htdig tool is good thing to generate some serious traffic. Thursday, December 23, 2004, 4:24:09 PM, you wrote: AA Hello everyone, AA Our website based on cocoon grew quite big. And I've AA noticed that it slows down quite a bit over the time AA of usage. So I would like to know

Out of memory problem

2004-12-20 Thread Grzegorz Taczyk
Hello, Cocoon 2.1.6 is running on Fedora Core 1, 512mb ram with celeron 2.4ghz. I'm not sure what is the reason of this problem. When I try to simulate high traffic with ApacheBenchmark tool then java.lang.OutOfMemoryError does not happen. But after few hours(5-10) of running on real

filr upload problem

2004-10-28 Thread Grzegorz Taczyk
Hello, // error Problem with Cocoon servlet org.apache.cocoon.servlet.multipart.MultipartException: Malformed stream: Read timed out // -- Only first 4096 bytes are uploaded. I see this error on 2.1.6dev, but everything is fine on 2.1.5.1. What can cause it? Where should I search? Really

Sendmail taglib content-type

2004-10-23 Thread Grzegorz Taczyk
Hello Users, I have a problem with Sendmail logicsheet. I don't know how to change content-type from text/plain to text/html. Here is code which is not working properly: org.apache.cocoon.mail.MailSender _sendmail_mms = null; try { _sendmail_mms =

ImageReader blows http headers

2004-10-21 Thread Grzegorz Taczyk
Hello users, Please take a look at those to matches: map:match pattern=b/*.jpg map:read type=dbreader src={1} mime-type=image/jpeg map:parameter name=table value=images / map:parameter name=last-modified value=img_timestamp/ map:parameter