taglib and faces blocks
Hello I would like to know if someone uses the taglib block. What is the roadmap for this block ? I have found it very interesting but I fear that it might be too immature... About the faces block, I have seen it in the CVS but it is not present in the daily snapshots ??? Regards Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Weblogic 8.1 and Cocoon 2.1.4 again
I have managed to run XSLTC in Weblogic 8.1 by setting to true the flag "prefer-web-inf-classes" in weblogic.xml. For those who know Websphere, this is the equivalent of classloader mode PARENT_LAST. This option ensures that the xerces/xalan used are the ones shipped with Cocoon. Regards Alex At 09:50 06/10/2004 -0400, you wrote: On Wed, 6 Oct 2004, Alexandre Victoor wrote: > I have tried to use XSLTC. It works if I activate the paranoid > servlet. Is there any other way? I have not found classloader > options in the admin console. Is there anything like the Websphere > PARENT_LAST option ? Regards Have you investigated the JDK endorsed library technique that WebLogic now supports. This lets you override the builtin libraries (eg, Xalan) that are bundled with WebLogic. We found that careful configuration of the libraries is essential for proper behavior in cocoon. -- Jean Pierre Quoin Inc - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Weblogic 8.1 and Cocoon 2.1.4 again
Hello again I have tried to use XSLTC. It works if I activate the paranoid servlet. Is there any other way? I have not found classloader options in the admin console. Is there anything like the Websphere PARENT_LAST option ? Regards Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Weblogic 8.1 and Cocoon 2.1.4
Hello all Does anyone has succeed in deploying a WAR/EAR file using Cocoon with the weblogic admin console? Cocoon works fine when the EAR/WAR file is expanded manually, but this is a little bit anoying for the production environment... Thanks for your help Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Memory leaks in Cocoon?
Hello I have observed the same think. Without any XSL transformation, cocoon consume about 300Kb per request.But that does not mean at all that there is a memory leak. When the garbage collector performs a full gc, all the memory is freed. I have done lots of stress tests, I have not seen any leaks. Regards Alex At 10:46 18/08/2004 +0200, you wrote: Hi all, I have a page that displays the memory usage of my Cocoon servlet, and it free memory decreases constantly. Is it normal to loose about 300Kb of memory in every refresh of this page?. No other activity is held. What are your experiences in this area? David * Este correo ha sido procesado por el Antivirus del Grupo FCC * - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: XMLSerializer poolable?
Thanks for your answer. Interesting thread. Too bad that Avalon bring that much overhead to object creation... Alex At 14:06 30/04/2004 +0200, you wrote: Alexandre Victoor wrote: Moreover, looking at the code, I wonder if it really useful for this component to be poolable. It does not look like expensive in term of memory/cpu to create an instance of XMLSerializer. Articles as http://www-106.ibm.com/developerworks/library/j-jtp01274.html claims that recycling object is not always a good thing. It is also something more to take in account when tuning cocoon. If it were for me, I'd drop the Poolable and Recyclable interfaces *NOW*, but things aren't that easy. See http://marc.theaimsgroup.com/?t=10764090601&r=1&w=2 for an interesting thread on the subject. Ugo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
XMLSerializer poolable?
Hello all I have noticed that the XMLSerializer component is poolable (because AbstractXMLProducer is). However in the sitemap of the cocoon distribution, the component is declared like this : Is there any default pool config ( min:4 grow:4 max:32 ) ? Moreover, looking at the code, I wonder if it really useful for this component to be poolable. It does not look like expensive in term of memory/cpu to create an instance of XMLSerializer. Articles as http://www-106.ibm.com/developerworks/library/j-jtp01274.html claims that recycling object is not always a good thing. It is also something more to take in account when tuning cocoon. Sorry for my bad english Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: XSP importing XSP
Hello You can also use directly the source resolver of your XSP by writing something like this : ... source = resolver.resolveURI("cocoon://whatever_you_need", null, null); SourceUtil.toSAX(source, new IncludeXMLConsumer(contentHandler)); ... Hope it helps Alex At 09:29 01/04/2004 +0200, you wrote: What do you need from the imported xsp? If you just need the XML output from the xsp, that's fairly easy -- you could have a map:match in your sitemap that matches *.xml and transforms the xsp with the same name: Then use c:include to import the XML output in another xsp: If you want to include a complete xsp textually, I'm not sure if that's possible -- someone else will have to answer the question John Baun, Kevin wrote: Okay so lets say I have an xsp and I have it set up in cocoon as cocoon:\\int_stuff. int_stuff works fine on it's own. Now I want to include this into another xsp. but insteed of doing: I want to actually put it "inline" call it right from inside the xsp. can I do that? if so anyideas on how? Thanks very much, -Mel -- - Jentro Technologies GmbH John L. Webber, Software Development - Rosenheimer Str. 145e 81671 München Tel. +49 89 189 169 80 mailto:[EMAIL PROTECTED] Fax +49 89 189 169 99 http://www.jentro.com - NOTICE: The information contained in this e-mail is confidential or may otherwise be legally privileged. It is intended for the named recipient only. If you have received it in error, please notify us immediately by reply or by calling the telephone number above and delete this message and all its attachments without any use or further distribution of its contents. Please note that any unauthorised review, copying, disclosing or otherwise making use of the information is strictly prohibited. Thank you. - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [POLL] which Cocoon version / JDK version / Servlet Container are you using ?
COCOON : 2.1.4 JDK : 1.3 sun and ibm CONTAINER : Tomcat 4.1.2X , Weblogic 7 and Websphere 5 PRO/CON 1.4 requirement for 2.2 : Pro - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Hands-Up] Cocoon in IBM Websphere?
Hi, We are using cocoon 2.0.4 and cocoon 2.1.3 on websphere 5.0 . Right now, we have troubles running cocoon on the newest version of websphere (I heard WAS 5.1 but I am not sure ). Hope it helps Alex At 11:14 18/02/2004 +0100, you wrote: Hi, just a quick "hands-up" - is anyone currently running Cocoon in IBM Websphere? If so which version of Cocoon and IBM Websphere are you using? Are there any Websphere specific problems with Cocoon atm? We don't have a Websphere installation but we have a customer asking :) Thanks Matthew - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Question about xslt bench
Hi Vincent AFAIK if use-store is set to false the xsl file is parsed each time... In the sitemap, in the transformer block, you might also deactivate the "check-include" feature. When check-include is set to true, the xsl file is parsed each time to find xsl:include tags. The drawbacks of using this parameters is that you cannot change your xsl files at runtime anymore (hot deployment). About the different xsl processors, I use XSLTC that seems to use less CPU time than xalan. The main issue I have with XSL is the memory foot print. Every xsl processor need to keep in memory a representation of the whole input xml document. This is really expensive in term of memory and GC. STX is another system that does not have this problem, but I do not know if it is mature enough to be used in a production environment. Hope it helps Alex At 10:09 10/02/2004 +0100, you wrote: I am running performance tests on a webapp using Cocoon 2.1.3 on Resin 2.1.9 with the IBM JVM. I have installed the profiler which told me that most of time is spent on the xslt tranform in my pipeline (the setup time, not the processing time) For the moment I'm using the default xalan XSLT processor. So I have changed the use-store to "true" (the default value is false, I don't know why), and it increases response time a lot. When this parameter is set to "false", I can only have 22 simultaneous virtual users (if I want to have a web page in less than one second). When this parameter is set to "true", I can have 100 simultaneous virtual users (with pages produces in less than 2 seconds). Here are my questions : - what is the exact role of the use-store parameter ? - what are the advantages/drawbacks of using this parameter ? Why is it set by default to "false" in Cocoon 2.1.3 ? - what is the best xslt processor to use (Xalan, XSLTC, Saxon, ...). Are there any bench results about that, using Cocoon ? It makes a lot of questions but It seems that xslt is the major performance point to tune. If there could be more details on the Cocoon documentation about that, it would be very helpfull for Cocoon starters like me. Vincent - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Configure Cocoon 2.1 with IBM Wepsphere 5
Hi I have successfully installed cocoon 2.0.4 on was5 following the cocoon wiki : http://wiki.cocoondev.org/Wiki.jsp?page=WebSphereV5.0Deployment I do not know if somebody has installed cocoon 2.1 on was5. Perhaps the steps described in the wiki works also for cocoon 2.1 ... Anyway, I will have to test cocoon2.1 on was5 in a few weeks, so I am very interested by the results you will get. Alex At 11:48 17/12/2003 +0500, you wrote: Hi, How to Configure Cocoon 2.1 with IBM WebSphere. Please give me the step to configure the cocoon 2.1 with IBM webSphere 5. Thanks. Mohan.G - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FW: Escaping in XSP Logic
Hi You should perhaps externalize your hard-coded string messages in a java class or a property file or something like that... Alex At 22:30 04/12/2003 +0100, you wrote: nobody ? -Original Message- From: Yves Vindevogel [mailto:[EMAIL PROTECTED] Sent: woensdag 3 december 2003 19:21 To: [EMAIL PROTECTED] Subject: Escaping in XSP Logic Hi, I have this syntax ... String sMessageNoResultsOther = "Pas de produits qui commençent avec 1-...-9, ..." ; When I use the to put the string there, I lose my "ç". It's represented as "?". I have this with all characters from "Iso-8859-1" with "strange" chars. My XSP is declared with correct encoding Is there a way to avoid this, or to use escaping in xsp:logic ? I tried with ç but that's no help. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: sitemap - if file exist pipeline selection
Hi I use the "resource-exists" action with cocoon 2.0.4 . It works fine Alex At 13:09 04/12/2003 +0200, you wrote: i supose that this selector is not available in 2.0.4? On Thu, 4 Dec 2003, Antonio Gallardo wrote: > Hi: > > What about this? > > http://wiki.cocoondev.org/Wiki.jsp?page=ResourceExistsSelector > > Best Regards, > > Antonio Gallardo > > [EMAIL PROTECTED] dijo: > > hi people > > > > let me explain my problem > > > > i want to get a request > > > > http://my.cocoon.server/page > > > > then if page.xml exist i need to to use this .xml as generation source > > and go on with a specific transformation > > > > otherwise > > > > i want to look if page.xhtml exist and use it as xml generation source but > > with other transformation > > > > is it possible into sitemap > > > > any hint? > > > > > > thnx > > > > --stavros > > > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
stupid question about xsltc under cocoon2.1
Hello I don't find anywhere the translet files generated by xsltc... Does anybody knows where theses files are written ? Thanks Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: request parameters..
Hi You should look in the mailing list archives at the msgs dealing with "request-param" Hope it helps Alex At 20:28 31/07/2003 -0500, you wrote: hi, new to cocoon. looking at a couple of books and the example sitemap. but what i can't figure out for the life of me is how to get at the request parameters that i get in a GET request (it could be POST as well). and propagate it in the cocoon:// protocol. i have something like this.. (i know some of these need to be resources.. but i need them public for right now) --- sitemap snippet -- --- end sitemap snippet -- now, when i pass combined two parameters as such: http://whathaveyou:8080/cocoon/combined.xml?oneParam=1&twoParam=2 i need those available to the corrseponding generators as parameters any ideas? thanks, anoop. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: opposite of internal-only?
You may be able to use a referer matcher/selector to try to guarantee that the request is really coming from outside. I fail to understand why you need this. Maybe elaborating on that would help come up with better options. Geoff In my main pipeline I have something like that : ... ... "cocoon:/{actionResult}" should be matched by another pipeline, but if not, I do not want cocoon to loop over and over... Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
opposite of internal-only?
Hello I would like to know if it is possible to have a pipeline that can't be accessed internally. I would like to be able to write something like that : I have already tried that : ... ... Unfortunately, the first one is always called despite the fact that it is only internal. Is there already a sitemap feature that could help me ? I am using coconn 2.0.4 Regards Alex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: get the map from an action
AFAIK you must declare in the sitemap the parameters you want to pass to your generator/selector (or whatever avalon component you are using). If "myAction" interacts with "myGenerator", in the sitemap you should have something like that : ... Hope it helps Alex PS in french : bon week-end du 14 juillet At 16:33 11/07/2003 +0200, you wrote: I Have an action that returns a hashmap with different values that I need to use. Can I get it with a generator or a selector without going throught the sitemap ? thanks Lionel Lionel CRINE Société : 4DConcept 22 rue Etienne de Jouy 78353 JOUY EN JOSAS Tel : 01.34.58.70.70 Fax : 01.39.58.70.70 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Sitemap element order relevant?
Hi I don't know if you can declare pipelines before components... perhaps it would be cleaner to mount a second sitemap where you would write your pipelines. In sitemap.xmap you would write something as follows : Look at the sitemaps of the cocoon samples for more examples of sitemap mounting. Hope it helps. Alex At 15:19 06/07/2003 +1000, you wrote: Hi, In the Forrest sitemap, 40% of the space is taken up by components, views and resources, which aren't particularly interesting to a new user. I'd like to have right at the top. This works, and validates against the RNG grammar. If anyone knows of a reason why this _shouldn't_ be done, please let me know :) thanks, --Jeff - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]