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
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
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
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
+ 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,
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
,
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
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
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
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
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
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
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.
•
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
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
-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
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
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
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;
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
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
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:
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
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
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:
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
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
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
. 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
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
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
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
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.
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
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
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
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
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
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
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.
,
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 !
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
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
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
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
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
46 matches
Mail list logo