RE: Sitemap: Error calling continuation

2013-01-14 Thread Laurent Medioni
Hi, What exact version of Cocoon are you using ? 2.1.11 ? If you want to share continuations between sitemaps you might have to activate the continuation-sharing-bug-compatible attribute of the continuations-manager component in cocoon.xconf. Otherwise a continuation should only be used in the

RE: [2.1.12] Feedback request

2012-11-19 Thread Laurent Medioni
Hi Cedric, I would say: COCOON-2002 COCOON-1529 COCOON-2310 We already have patched our (2.1.11) classes for 2 of them and we have not met the 3rd one yet :) But anything related to XHTML/HTML5/i18n is of interest... I have to look if other internal patches should be of any interest for a

RE: thought I had fixe it

2011-10-26 Thread Laurent Medioni
According to JavaDoc: = How long does a continuation exist in memory since the last access? The time is in miliseconds, and the default is 1 hour And reading the code confirms this statement. Laurent -Original Message- From: Paul Joseph [mailto:pjos...@gmail.com] Sent: mardi 25 octobre

RE: thought I had fixe it

2011-10-26 Thread Laurent Medioni
of its recursive parents having no other chidren... Laurent -Original Message- From: Leszek Gawron [mailto:lgaw...@gmail.com] On Behalf Of Leszek Gawron Sent: mercredi 26 octobre 2011 09:44 To: users@cocoon.apache.org Subject: Re: thought I had fixe it On 2011-10-26 09:36, Laurent Medioni

RE: thought I had fixe it

2011-10-25 Thread Laurent Medioni
+ No1 potential memory leak ever: be sure to close your jdbc objects whatever happens, provide catch blocks to close objects when instantiations go wrong + make sure the close() methods are always called at some point from your code (as soon as you have read the resultSet). But, as already said,

RE: HttpServletRequest from Flowscript

2011-06-20 Thread Laurent Medioni
Hi, Maybe you should use SPNEGO before entering Cocoon, as they propose on their site, using the Servlet Filter they provide. Laurent The information in this e-mail and any attachments is confidential and may be legally privileged. It is intended solely for the addressee or addressees. Any use

RE: HttpServletRequest from Flowscript

2011-06-20 Thread Laurent Medioni
, Can you give some guidance on how to integrate the Servlet Filter into Cocoon? Paul On 6/20/2011 6:37 AM, Laurent Medioni wrote: Hi, Maybe you should use SPNEGO before entering Cocoon, as they propose on their site, using the Servlet Filter they provide. Laurent The information in this e

RE: sitemap

2011-01-20 Thread Laurent Medioni
Hello, The old uri={request:scheme}://{request:serverName}:{request:serverPort}{reques t:contextPath}/secure/loginpage Using org.apache.cocoon.components.modules.input.RequestModule does not work anymore in 3 ? Laurent -Original Message- From: Jos Snellings

RE: i18n cookies storing path

2011-01-07 Thread Laurent Medioni
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). Laurent • This email and any files transmitted with it are CONFIDENTIAL and intended

RE: i18n cookies storing path

2011-01-07 Thread Laurent Medioni
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 through .../myapp/, typically just after login as a

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

2010-12-22 Thread Laurent Medioni
Hi, have you tried to upgrade to the latest JDK fix available ? Laurent • This email and any files transmitted with it are CONFIDENTIAL and intended solely for the use of the individual or entity to which they are addressed. • Any

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

2010-12-22 Thread Laurent Medioni
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://issues.apache.org/jira/browse/COCOON-1977 Laurent

RE: Too many open files

2010-12-17 Thread Laurent Medioni
Yes, had that too in the past, ulimit -H -n 65535 cured the issue. Laurent • This email and any files transmitted with it are CONFIDENTIAL and intended solely for the use of the individual or entity to which they are addressed. •

RE: XSP - Java class generation and Compilation

2010-12-17 Thread Laurent Medioni
Hi, In cocoon.xconf set the XSP auto-reload to true. Cocoon will detect that you changed your XSP file and recompile it (obviously not a production setting...). program-generator logger=core.program-generator parameter name=auto-reload value=true / ... /program-generator Laurent

RE: Encoding

2010-12-17 Thread Laurent Medioni
What is your init-param param-namecontainer-encoding/param-name param-valueUTF-8/param-value /init-param In web.xml ? • This email and any files transmitted with it are CONFIDENTIAL and intended solely for the use of the

RE: Encoding

2010-12-17 Thread Laurent Medioni
-8'/ ? sorry from memory, not an XSL specialist...), then you won't get the default encoding back. Laurent -Original Message- From: Peter Flynn [mailto:pfl...@ucc.ie] Sent: vendredi, 17. décembre 2010 17:06 To: users@cocoon.apache.org Subject: Re: Encoding On 17/12/10 15:37, Laurent

RE: FOPSerializer user config

2010-11-09 Thread Laurent Medioni
Hi, To get some more detailed logs from fop you can add the following logger to your log4j.xconf file: logger name=org.apache.fop additivity=false level value=DEBUG / appender-ref ref=COCOON_DEFAULT / /logger If you have the default config file then the DEBUG logs from fop

RE: FOPSerializer user config

2010-11-08 Thread Laurent Medioni
Hi, The first syntax should work. Are you sure the font added in font-config.xml is actually used in your document ? To be sure try to get some more logs from fop in DEBUG. It should display some messages about what fonts are used... Laurent -Original Message- From: Faehndrich Philippe

RE: Set Encoding for XMLSerializer dynamically

2010-11-08 Thread Laurent Medioni
Hi, have you tried: serialize type=xhtml status-code=200 ... ... encoding{charsetEncoding}/encoding ... /serialize ? Laurent From: Ali Mahdoui [mailto:mahd...@hotmail.de] Sent: dimanche, 7. novembre 2010 12:10 To: Cocoon users;

RE: Set Encoding for XMLSerializer dynamically

2010-11-08 Thread Laurent Medioni
So this changed from 2.1, pity… From: Ali Mahdoui [mailto:mahd...@hotmail.de] Sent: lundi, 8. novembre 2010 13:08 To: Cocoon users Subject: RE: Set Encoding for XMLSerializer dynamically Hi, no that does not help (and the syntax is not allowed in the

RE: FOPSerializer user config

2010-11-08 Thread Laurent Medioni
config Le lundi 08 novembre 2010 10.50:00, Laurent Medioni a écrit : Hi, The first syntax should work. Are you sure the font added in font-config.xml is actually used in your document ? To be sure try to get some more logs from fop in DEBUG. It should display some messages about what fonts

RE: Cocoon Source URLs and Unicode on WAMP Localhost

2010-06-29 Thread Laurent Medioni
Hi, Dunno where your parameters come from but have a look at http://cocoon.apache.org/2.1/userdocs/concepts/modules-ref.html You have to URLEncode (if not already done) your parameters when building a URL, so maybe try map:generate src={global:solrhost}{url-encode:

RE: Embedding SVG in PDF

2010-05-11 Thread Laurent Medioni
Hi, You are probably trying to run an old fop on a java 6 ? You may have to patch org.apache.fop.image.analyser.SVGReader to remove the silly import org.apache.batik.util.UnitProcessor.Context (non existing class, now blocking error with java 6…), or you may want to upgrade to fop 0.95. Been

RE: exception handling sitemap

2010-04-15 Thread Laurent Medioni
Hi, Here is an extract of what we do in 2.1.11 (but we are not using the exception handler): map:handle-errors map:generate type=notifying / map:transform src=presource:stylesheet/error2xml.xsl / map:serialize type=html status-code=500 / /map:handle-errors With notifying

RE: embedding fonts

2009-10-09 Thread Laurent Medioni
You refer to a D:/fop-fonts/config.xml in your sitemap ? Can you summarize what you are usingm what you have done so far and what you get at the end ? Thanks. From: Rover Rock [mailto:rockro...@gmail.com] Sent: jeudi, 8. octobre 2009 23:02 To:

RE: embedding fonts

2009-10-08 Thread Laurent Medioni
Hi, Do you pass the Locale to FOP ? It works fine for us in 2.1.11 without any additional config file… Cheers Laurent � This email and any files transmitted with it are CONFIDENTIAL and intended solely for the use of the

RE: embedding fonts

2009-10-08 Thread Laurent Medioni
We do not have any fop config file and it works fine, even for non ASCII characters (and even for rtl languages in fact). Are the fonts provided through your config file Unicode fonts ? + When you use fop elements (in your xml or in a xsl) how are the fo:root parameters configured ? The Locale

RE: embedding fonts

2009-10-08 Thread Laurent Medioni
No, Cocoon uses (and includes) FOP, you do not have to install/start it separately... From: Rover Rock [mailto:rockro...@gmail.com] Sent: jeudi, 8. octobre 2009 17:44 To: users@cocoon.apache.org Subject: Re: embedding fonts Hm... I dont use fop(fop 0.94

RE: Cocoon 2.1.11- XSP compiled in Java 1.3 when running Cocoon with a 1.6 JVM and using the Eclipse compiler

2009-09-04 Thread Laurent Medioni
. août 2009 22:45 To: users@cocoon.apache.org Subject: Re: Cocoon 2.1.11- XSP compiled in Java 1.3 when running Cocoon with a 1.6 JVM and using the Eclipse compiler El 31/08/09 04:54, Laurent Medioni escribió: Anyway I think that EclipseJavaCompiler should be modified to properly handle 1.6 without

RE: Cocoon 2.1.11- XSP compiled in Java 1.3 when running Cocoon with a 1.6 JVM and using the Eclipse compiler

2009-08-31 Thread Laurent Medioni
Hi Antonio, I am just trying to understand what is done in EclipseJavaCompiler ;) Original code: if we have the compiler-compliance-level parameter set to 1.5, then the JDT options org.eclipse.jdt.core.compiler.compliance and org.eclipse.jdt.core.compiler.source are set to 1.5. Then

RE: Cocoon 2.1.11- XSP compiled in Java 1.3 when running Cocoon with a 1.6 JVM and using the Eclipse compiler

2009-08-28 Thread Laurent Medioni
Hi, Yes I used it, but it only affects the compliance level, not the generated class file compatibility, which is directly taken from the version of the running JVM... And the default of the switch/case is 1.3... So I had to replace the 2 switch/cases in EclipseJavaCompiler (1 for the source

Cocoon 2.1.11- XSP compiled in Java 1.3 when running Cocoon with a 1.6 JVM and using the Eclipse compiler

2009-08-21 Thread Laurent Medioni
Hello, Still with our Cocoon 2.1.11 on a 1.6 JVM series... Just noticed that org.apache.cocoon.components.language.programming.java.EclipseJavaCompiler does not know anything about 1.6 (nothing wrong with this as it uses JDT 3.1) but in this case defaults to... 1.3, which is quite a big step

RE: clueless newbie attempting Saxon, xslt2

2009-07-24 Thread Laurent Medioni
If you do not have any matcher in your sitemap matching xslt2-test then the ResourceNotFoundException is... correct. Maybe the context-root of your Web application is not xslt2-test ? Laurent -Original Message- From: Michael Jinks [mailto:michael.ji...@gmail.com] Sent: jeudi, 23.

RE: Cocoon 2.1.11- Avalon issue using IBM java 6 jvm

2009-06-18 Thread Laurent Medioni
Fix now promised for IBM Java Runtimes 6.0 SR6. -Original Message- From: Laurent Medioni [mailto:lmedi...@odyssey-group.com] Sent: lundi, 15. juin 2009 15:41 To: users@cocoon.apache.org Cc: d...@cocoon.apache.org Subject: Cocoon 2.1.11- Avalon issue using IBM java 6 jvm Hello

Cocoon 2.1.11- Avalon issue using IBM java 6 jvm

2009-06-15 Thread Laurent Medioni
Hello, On a Websphere 7 server we noticed in the logs many occurrences of: WARN ... [core.manager] ... WebContainer : 4/ExcaliburComponentSelector: Attempted to release a $Proxy32 but its handler could not be located. We have been able to debug the case: ExcaliburComponentSelector is not able to

RE: problem in installing cocoon 2.1.11

2009-05-29 Thread Laurent Medioni
Cocoon 2.1.11 is working fine with java 6 and the magic flag, for the moment. We never had any start-up issue like the one described... Laurent � This email and any files transmitted with it are CONFIDENTIAL and intended solely for

Cocoon versions for Java 6

2009-02-24 Thread Laurent Medioni
Hi, Anyone knows if a Cocoon version is validated/intended for Java 6 ? Sorry Googled a lot but to no avail... We plan to move our 2.1.11 application to Java 6 and already had a nasty Reflection issue for arrays with 1.6 described in http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6434149 And

Caching XMLResourceBundle in a disk persistent store not possible

2008-10-15 Thread Laurent Medioni
Hi, Our process of assembling a XMLResourceBundle being quite costly, I tried to use the core store, configured to be disk persistent. That is when I realised that XMLResourceBundle is not Serialisable (well, one of the log files told me first...). Do you see any reason why XMLResourceBundle

RE: Cocoon 2.1.11 and XSLTC

2008-08-29 Thread Laurent Medioni
Hi, Should I transfer this question to the Cocoon developers list ? I thought I could get some answers from user experiences... I cannot believe everybody uses the default configuration ;) Or is it so a dumb question... ? ;) Thanks. From: Laurent Medioni

Cocoon 2.1.11 and XSLTC

2008-08-26 Thread Laurent Medioni
Hi, is it reasonable to set the default xslt processor to XSLTC in cocoon.xconf ? It seams to provoke some weird side effects in my case... Would it be a common change of the standard configuration ? (or is this why the standard xconf does not propose it ;)) Thanks.

RE: Cocoon 2.1.11: Classcast when calling a continuation twice, Help !

2008-07-30 Thread Laurent Medioni
, Laurent -Original Message- From: Laurent Medioni [mailto:[EMAIL PROTECTED] Sent: mardi, 29. juillet 2008 14:38 To: users@cocoon.apache.org Subject: RE: Cocoon 2.1.11: Classcast when calling a continuation twice, Help ! Yes, I saw this issue. It is not exactly the same origin (I do not use

RE: RE: Cocoon 2.1.11: Classcast when calling a continuation twice, Help !

2008-07-30 Thread Laurent Medioni
: Re: RE: Cocoon 2.1.11: Classcast when calling a continuation twice, Help ! Original-Nachricht Datum: Wed, 30 Jul 2008 09:53:46 +0200 Von: Laurent Medioni Pity that we cannot extend FOM_WebContinuation$UserObject (without patching the class) to hold non Scriptable values

Cocoon 2.1.11: Classcast when calling a continuation twice, Help !

2008-07-29 Thread Laurent Medioni
Hello, Another one when migrating from 2.1.5 to 2.1.11... When a continuation is requested for the first time: it works well. When a continuation is requested for the second time: error calling continuation Caused by: java.lang.NullPointerException at

RE: Cocoon 2.1.11: Classcast when calling a continuation twice, Help !

2008-07-29 Thread Laurent Medioni
Le 29/07/2008 13:29, Laurent Medioni (par Internet, dépôt users-return-95911-andre.davignon=developpement-durable.gouv.f [EMAIL PROTECTED]) a écrit : Hello, Another one when migrating from 2.1.5 to 2.1.11... When a continuation is requested for the first time: it works well

Cocoon 2.1.11: debug log full of CocoonStoreJanitor executions

2008-07-28 Thread Laurent Medioni
Hello, I am migrating a 2.1.5 project to 2.1.11. Among many other things, in debug mode I have my log file full of : DEBUG (2008-07-28) 14:12.57:998 [core.runnable] (Unknown-URI) Unknown-Thread/DefaultRunnableManager.ExecutionInfo: Executing command [EMAIL PROTECTED] in pool daemon, schedule

RE: Cocoon 2.1.11: debug log full of CocoonStoreJanitor executions

2008-07-28 Thread Laurent Medioni
calls RunnableManager. Any special reason why the StoreJanitor does not do things the same way (i.e delay = cleanupthreadinterval and interval = 0)? And it appears to works correctly = the StoreJanitor wakes up at the correct interval... ??? Thanks, Laurent -Original Message- From: Laurent