Firefox 3 ajax response

2008-07-02 Thread Johan Cwiklinski
plicable to cocoon 2.1.11/Dojo ? I've tried to replace "implementation.createDocument" with the .parseFromString method, but without success :-( Best regards, Johan Cwiklinski - To unsubscribe, e-mail: [EMAIL PROTE

Re: Firefox 3 ajax response

2008-07-08 Thread Johan Cwiklinski
Johan Cwiklinski a écrit : Hello, It seems that Firefox3 has an encoding bug with ajax responses (see https://bugzilla.mozilla.org/show_bug.cgi?id=431701). Wa have a CFoms form with repeaters handled with ajax. On IE and Firefox 2, all is ok, but with Firefox 3, data encoding is not correct

Re: Problem using XSP pages

2010-09-07 Thread Johan Cwiklinski
Looks like your XSP page is simply read, not executed. If you have properly build the XSP block (that is no longer shipped as default in cocoon 2.2), maybe you have missed to declare the generator? You should have added something like the following in your sitemap.xmap: > > > >

Re: Problem using XSP pages

2010-09-07 Thread Johan Cwiklinski
g/cocoon/sitemap/1.0";> [...] Regards, -- Johan Cwiklinski AJLSM - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org

Re: Too many open files

2010-12-16 Thread Johan Cwiklinski
as trying to open (the > URI) when it failed? > > ///Peter > Hope that could help you. Regards, -- Johan Cwiklinski AJLSM - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org

Re: Switching to Saxon

2010-12-17 Thread Johan Cwiklinski
where "org.apache.excalibur.xml.xslt.XSLTProcessor" points to (I'm > sure it's possible to find out, but I'm not a Java programmer :-) > > ///Peter > Here is our configuration: cocoon.xconf: sitemap.xmap: false false false saxon8 true Hope that could help you :) Regards, -- Johan Cwiklinski AJLSM - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org

Tomcat6/Cocoon 2.1.10 using 100% CPU on windows

2010-12-21 Thread Johan Cwiklinski
ter about 10-15 minutes of 100% cpu usage: http://ouessant2.ajlsm.com/cocoon_app_cpu_issue The two threads I gave in example (ajp-9009-8 and ajp-9009-9) are ones that were started approximately when the server runs out of CPU ; and ar

Re: Switching to Saxon

2010-12-22 Thread Johan Cwiklinski
Hi, Le 22/12/2010 11:05, Peter Flynn a écrit : > On 17/12/10 08:43, Johan Cwiklinski wrote: >> Hello, > [...] >> Here is our configuration: > [...] >> Hope that could help you :) > > Thanks very much, that did it. It was unclear from the docs where you Cool :)

Re: Tomcat6/Cocoon 2.1.10 using 100% CPU on windows

2010-12-22 Thread Johan Cwiklinski
Hello, Le 22/12/2010 11:53, Laurent Medioni a écrit : > Hi, > have you tried to upgrade to the latest JDK fix available ? Not yet, I'll try that this afternoon. I have already tested that with at least two jdk versions (_17 and _21). > Laurent > > Thank you, Johan ---

Re: Tomcat6/Cocoon 2.1.10 using 100% CPU on windows

2010-12-22 Thread Johan Cwiklinski
Hello André, Le 22/12/2010 13:23, andre.davig...@free.fr a écrit : > Hi Johan, > > Does the same problem occur with mod_proxy (full http) instead of > mod_proxy_ajp. > > We have encountered some problems with mod_proxy_ajp that were solved by > using simple mod_proxy. Yes, I also have tested

Re: Tomcat6/Cocoon 2.1.10 using 100% CPU on windows

2010-12-22 Thread Johan Cwiklinski
Le 22/12/2010 15:14, Laurent Medioni a écrit : > Time to swich to 2.1.11 then ;) > > ResourceReader in 2.1.10: > private static final Map documents = new HashMap(); > > ResourceReader in 2.1.11: > private static final Map documents = Collections.synchronizedMap(new > HashMap()); > > See https:/

Re: Tomcat6/Cocoon 2.1.10 using 100% CPU on windows

2010-12-23 Thread Johan Cwiklinski
Hello, Le 22/12/2010 17:12, Johan Cwiklinski a écrit : > Le 22/12/2010 15:14, Laurent Medioni a écrit : >> Time to swich to 2.1.11 then ;) >> >> ResourceReader in 2.1.10: >> private static final Map documents = new HashMap(); >> >> ResourceReader in 2.1.11

Re: Tomcat6/Cocoon 2.1.10 using 100% CPU on windows

2010-12-23 Thread Johan Cwiklinski
Hi, Le 23/12/2010 10:49, Johan Cwiklinski a écrit : > I've just put the 2.1.11 RessourceReader class into my WEB-INF/classes > directory ; I'm currently testing that way on the server (would be great > if I can solve this problem until I can spend some time for 2.1.11 > up

Re: Tomcat6/Cocoon 2.1.10 using 100% CPU on windows

2011-01-03 Thread Johan Cwiklinski
Hello and best wishes for 2011 :) Le 23/12/2010 18:38, Johan Cwiklinski a écrit : > Hi, > > Le 23/12/2010 10:49, Johan Cwiklinski a écrit : >> I've just put the 2.1.11 RessourceReader class into my WEB-INF/classes >> directory ; I'm currently testing that way on t

i18n cookies storing path

2011-01-07 Thread Johan Cwiklinski
Hello, I'm currently working on i18n for our apps. I've put on the pages a simple form with a select element for useres to change language themselves, sending à 'locale' attribute in the URL. Doing that, I had to enable language storage in a session (store-in-session and create-session true) or i

Re: i18n cookies storing path

2011-01-07 Thread Johan Cwiklinski
Hello, Le 07/01/2011 09:59, Laurent Medioni a écrit : > Hi, > You should only set the cookie when responding to "/myapp/" level and then it > will be available to all subpathes (for the same domain of course). Yes, but I don't know how to achieve that. Cookie is setted when calling the locale a

Re: i18n cookies storing path

2011-01-07 Thread Johan Cwiklinski
Le 07/01/2011 11:24, Laurent Medioni a écrit : > Strictly match, at the beginning of the pipeline, "" (or "/", I never > remember...) and call the LocaleAction only there. Then end the matcher just > after without response. > This will work if your users always start browsing your application thr

Re: i18n cookies storing path

2011-01-10 Thread Johan Cwiklinski
Hello Christopher, Le 07/01/2011 18:02, Christopher Schultz a écrit : > Johan, > > On 1/7/2011 5:45 AM, Johan Cwiklinski wrote: >> Le 07/01/2011 11:24, Laurent Medioni a écrit : >>> Strictly match, at the beginning of the pipeline, "" (or "/", I never