Re: Logging in cocoon.
Irina, some wild guesses from a distance (maybe including the relevant parts of the code, the logkit.xconf and cocoon.xconf could help us narrowing that distance) - mismatch in the debugging level? - some of this logging is through buffered outputstreams, not untill those get flushed you will see the info in the log HTH -marc= Kogan Irina wrote: Hello everybody, I am using getLogger() function in my action for debugging purposes. However, for some reason the file to which the logging should go is always empty (this file has been created after I specified it in the logkit.xconf). I tried enableLogging(getLogger()) but it did not help. Does anybody know how I can get it to work? Thanks a lot! Irina. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Marc Portierhttp://outerthought.org/ Outerthought - Open Source, Java XML Competence Support Center Read my weblog at http://radio.weblogs.com/0116284/ [EMAIL PROTECTED] [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problems tracking session from page to page
geoff, you're right! i moved the create-session attribute to the first map:part in the aggregation you saw in my example. i did the same in another nearly identical aggregation in my sitemap. now i'm able to access the session from within the particular map:part where i wanted to in the first place. i don't quite understand why this change made it work, though. my only clues are: 1.) by accessing the session in the first map:part, i've somehow enabled session access in a later map:part that otherwise wouldn't have been able to access the session successfully. 2.) the IllegalStateException was telling me that i Cannot create a session after the response has been committed. each map:part invokes a matcher similar to this one: map:match pattern=choose_item.products map:generate type=serverpages src=xsp/choose_item.products.xsp/ map:serialize type=xml/ /map:match does the map:serialize commit the response? is that what the error message is talking about? thanks! Mike Lenyon - Original Message - From: Geoff Howard [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 12:10 PM Subject: Re: problems tracking session from page to page I think the issue is the aggregation. to test, go directly to the general.currentproduct pipeline (with the create-session attr. in). If that works, try to move it to the first map:part if you can as a workaround. A better solution would be to look into the session actions that will ensure you have created your session before the pipeline starts generating. HTH, Geoff At 08:56 AM 5/27/2003, you wrote: hi geoff, yes, i've tried putting create-session in the xsp:page tag. but i still get the IllegalStateException. as you're probably aware, having create-session causes the following line to appear at the beginning of the generate() method: Session session = request.getSession(true); that's the line that the exception refers to. here's a snippet from my sitemap to exemplify one of the two pages where to problem occurs: map:match pattern=choose_item.html map:aggregate element=page map:part src=cocoon:/choose_item.products/ map:part src=cocoon:/general.productcategories/ map:part src=cocoon:/common/ map:part src=cocoon:/general.currentproduct/ !-- only page that accesses session -- /map:aggregate map:transform type=xslt src=style/choose_item.xsl/ map:transform type=i18n/ map:serialize type=html/ /map:match does that provide any useful clues? thanks in advance. Mike Lenyon - Original Message - From: Geoff Howard [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 8:22 AM Subject: Re: problems tracking session from page to page But I think the problem is that your code is working with the session after processing starts and attempting there to create a session after it's too late. Have you tried the create-session attribute yet? Geoff Howard At 07:05 AM 5/27/2003, you wrote: antonio, thanks for your response, but please look at what i'm saying: xsp:page language=java xmlns:xsp=http://apache.org/xsp; xmlns:xsp-request=http://apache.org/xsp/request/2.0; xmlns:xsp-session=http://apache.org/xsp/session/2.0; causes the error message: java.lang.IllegalStateException: Cannot create a session after the response has been committed in other words, not having create-session=true doesn't matter. simply having xmlns:xsp-session=http://apache.org/xsp/session/2.0; causes the problem. Mike Lenyon - Original Message - From: Antonio Gallardo [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 1:49 AM Subject: Re: problems tracking session from page to page Hi: I dont remember if changed from default. Before the default was create a new session. Now I think this is not the default. Please try to use: xmlns:xsp-session=http://apache.org/xsp/session/2.0; create-session=true Best Regards, Antonio Gallardo - 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:
Re: new namespaces in 2.1
All the major changes 2.0 - 2.1 are listed in the Changes list at: http://cocoon.apache.org/2.1/changes.html This includes the i18n transformer namespace switch. Also, the i18n docs were updated to reflect the new namespace: http://cocoon.apache.org/2.1/userdocs/transformers/i18n-transformer.html Though, I agree that this kind of changes should be announced and maybe a warning and migration paths should be added to the docs. Regards, Konstantin From: Stavros Kounis [EMAIL PROTECTED] hi people reading the last thread in this list about session transformer i have notice that some namespacer have change fro 2.0 to 2.1 some weeks ago i have get the same answer about i18n tranformation is it possilbe to announce somewere all namespace changes from 2.0 to 2.1 so people dont spend hours to find what happend when try to publish workining in 2.0 project using 2.1? ---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]
Apperant xsl:include/ Failure
Stylesheets that use xsl:inclue/ generate a Unable to get transformer handler error. Any help would be greatly appreciated! I hope the following information is insightful. My Process 1. Exploring the LinkRewriter Demos, I went to the sitedemo. 2. org.apache.cocoon.ProcessingException: Failed to execute pipeline.: org.apache.avalon.framework.CascadingRuntimeException: Error accessing attribute '/site/index/@href' from input module 'linkmap'. Error using source cocoon:/linkmap 3. So, I tried to bring up the linkmap, and got: org.apache.cocoon.ProcessingException: Unable to get transformer handler for stylesheets/relativize-linkmap.xsl: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler Things I've Tried * relativize-linkmap.xsl imports dotdots.xsl. If I replace the xsl:include/ with the content of the dotdots.xsl stylesheet, the problem dissapears. * If I visit other samples that use xsl:include/, the problem follows. * Trying Cocoon 2.1-M1, this problem does not exist. My Environment Cocoon Version: 2.1m2 Servlet Container: Jetty (included with Cocoon) Java Version: 1.4.1_02 OS: Windows XP I didn't see anyone report the problem, and since it's so fundamental, I figure it's me. So, thank you in advance for any pointers you can give! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Apperant xsl:include/ Failure
After much effort I have got cocoon half working on Weblogic 6.10 Sp3 Now I am getting the following error: Failed to generate program code (this may happen if you use Xalan in incremental processing mode). Please check log file and/or console for errors. In the web log I have the following: Server.run/init: java.net.BindException: Address already in use Any ideas. I do have the xalan-2.3.1.jar as first entry in the classpath. Chris This e-mail message (including any attachment) is intended only for the personal use of the recipient(s) named above. This message is confidential and may be legally privileged. If you are not an intended recipient, you may not review, copy or distribute this message. If you have received this communication in error, please notify us immediately by e-mail and delete the original message. Any views or opinions expressed in this message are those of the author only. Furthermore, this message (including any attachment) does not create any legally binding rights or obligations whatsoever, which may only be created by the exchange of hard copy documents signed by a duly authorised representative of Hutchison 3G UK Limited. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: No way to extend XSP/JSP classpath?
From: Geoff Howard [mailto:[EMAIL PROTECTED] Look in cocoon.xconf and web.xml for additional classpath. I'm not sure if this is available within xsp though. Great. I don't know if this will work for XSP but I don't care: It's bad enough I have to modify the main sitemap and add my stuff as a subdirectory of cocoon. I still haven't had to touch cocoon.xconf so I'll leave it alone for now. Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to access sourceResolver in action configure() method
Charles, thank you for a tip, but this way I only get the root of the webapplication. (This produces the same result as something I was using: org.apache.cocoon.environment.SourceResolver env = org.apache.cocoon.components.CocoonComponentManager.getCurrentEnvironment(); path = env.resolve(myConfigFileName).getSystemId(); File file = new File(path); ) But I have my action in mounted sitemap and sourceResolver for mounted sitemap works in the context of the sitemap directory. If my mounted sitemap is located in 'subsitemap' directory and I use action within this sitemap, correct resolving of 'myconfig.xml' would be d:/jboss/server/default/deploy/webapp.war/subsitemap/myconfig.xml but via Context or Environment I only get my file resolved as d:/jboss/server/default/deploy/webapp.war/myconfig.xml - what is wrong. Do not you know any way how to get same environment object as that which is passed by SitemapManager to the act() method of any action located in mounted sitemap? Maybe I could get it from ComponentManager by some role? Thank you, Michal -Original Message- From: Charles Yates [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 27, 2003 7:32 PM To: [EMAIL PROTECTED] Subject: Re: How to access sourceResolver in action configure() method Can you put the configuration stuff into cocoon.xconf? Then it would be available in configure(). If not you could implement Contextualizable and get the HttpContext like this: public void contextualize(Context aContext) throws ContextException { myContext = (HttpContext) aContext.get(Constants.CONTEXT_ENVIRONMENT_CONTEXT); } then you could get the file like this: myConfigFile = new File(myContext.getRealPath(myConfigFileName)); Charles (this works in 2.1, should in 2.0.4, though maybe minor differences) DURDINA Michal wrote: Hello! I am using own ConfigurableComposerAction and I have problem with loading configuration from external file (from filesystem). In act() method, I would use SourceResolver parameter passed to this method, but in configure() method I do not know where should I get the source resolver from. I am using Cocoon 2.0.4 with compiled sitemap, thus I cannot use this: public void compose(ComponentManager manager) throws ComponentException { this.manager = manager; this.resolver = (SourceResolver)manager.lookup(SourceResolver.ROLE); } Thank you for your help, Michal - 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] __ Informacia od NOD32 1.415 (20030521) __ Tato sprava bola preverena systemom NOD32 pre Exchange. http://www.eset.sk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Scheduler
Bonjour à tous ! Un thread est passé sur Cocoon-Dev, où quelqu'un demandait s'il existait un composant de scheduling pour Cocoon. Dans la réponse figure une série de composant Excalibur pouvant effectuer ce service. http://marc.theaimsgroup.com/?t=10540466466r=1w=2 Olivier BillardIngénieur LogicielService Propriété Industrielle Jouve Rennes12, rue des LandellesImmeuble Hercule II35510CESSON SEVIGNEFRANCE TélFaxEmail : 02.99.86.98.46: 02.99.86.98.01: [EMAIL PROTECTED] The present email and all information included therein do not constitute alegal agreement accorded by Jouve. All legal agreements must be formulated in writing on paper by a legalrepresentative of JOUVE. If you have received this email by mistake, please inform us of that factand destroy the email and any documents it might contain. Thank you foryour cooperation. Le présent mail ainsi que toutes les informations qu'il contient nepeuvent en aucun cas être considérés comme un engagement juridique dequelque nature que ce soit de JOUVE.Tout accord devra être formulé par écrit papier ultérieur signé par un représentant légal de JOUVE. Par ailleurs, si vous recevez ce mail par erreur, merci de nous lesignaler et de le détruire ainsi que l'intégralité du document quipourrait y être joint. Jouve.gif
Re: Scheduler
Sorry, wrong list ! - Original Message - From: Olivier Billard To: Cocoon Users Sent: Wednesday, May 28, 2003 9:45 AM Subject: Scheduler Bonjour à tous ! Un thread est passé sur Cocoon-Dev, où quelqu'un demandait s'il existait un composant de scheduling pour Cocoon. Dans la réponse figure une série de composant Excalibur pouvant effectuer ce service. http://marc.theaimsgroup.com/?t=10540466466r=1w=2 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re[2]: FOP/HSSFSerializer's and non-english characters
Wednesday, May 28, 2003, 8:08:47 AM, you wrote: YM On Tue, 27 May 2003 11:44:48 +0400 YM Yury Mikhienko [EMAIL PROTECTED] wrote: On Mon, 26 May 2003 21:35:18 +0200 J.Pietschmann [EMAIL PROTECTED] wrote: Yury Mikhienko wrote: Cocoon's FOP/HSSFSerializer still does not support non-english characters, can I solve this problem? I don't know about the HSSFSerializer, but the PDFSerializer does not have problems with non-ASCII characters. You'll have to install appropriate fonts though, refer to http://xml.apache.org/fop/faq.html#pdf-characters and http://xml.apache.org/fop/faq.html#pdf-characters Check the Cocoon docs for how to supply a user configuration with user fonts to the PDF serializer. If this still doesn't solve your problem, you'll have to supply more details. Thank you, will try. YM Ok, the PDF serializer works properly (but with .ttf fonts only), but what about the HSSFSerializer? YM I still does not properly generate the exel document with russian characters :(( There is the jakarta-poi-1.7.0-dev-20020624.jar library in the cocoon-2.1/src/blocks/poi/lib. It does not support russian characters. The support begins from version 1.8-dev. See http://jakarta.apache.org/poi/changes.html#1.8-dev; The current version of POI is 2.0-pre1. -- Best regards, Petermailto:[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
java.net.BindException: Address already in use (was: Apperant xsl:include/Failure)
Hello Chris, please compose a new mail if you want to open a new thread. Otherwise the subject is misleading and the mails are wrongly sorted in thread-view-able browsers. Server.run/init: java.net.BindException: Address already in use This may happen if your server was not shut down correctly the last time. This has not much to do with Cocoon I guess. You can kill such processes in Linux with killall -9 java. BUT beware this kills every java process on this machine owned by the logged in user. It's also possible to search for the process ids and kill them step by step. In Windows NT or 2000 you can use the task manager to kill java processes. Joerg Chris Pratt wrote: After much effort I have got cocoon half working on Weblogic 6.10 Sp3 Now I am getting the following error: Failed to generate program code (this may happen if you use Xalan in incremental processing mode). Please check log file and/or console for errors. In the web log I have the following: Server.run/init: java.net.BindException: Address already in use Any ideas. I do have the xalan-2.3.1.jar as first entry in the classpath. Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Apperant xsl:include/ Failure
Dave Allen Barker Jr wrote: Stylesheets that use xsl:inclue/ generate a Unable to get transformer handler error. Any help would be greatly appreciated! I hope the following information is insightful. Hello Dave, not so long ago there was a problem with path resolving in XSLTC. AFAIK it's fixed, I only don't know if it was before or after the 2.1M2 release. Maybe Bruno can help here. The problem was with the path resolving in XSLTC, you can switch to Xalan and it should work. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17825 http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19324 Joerg My Process 1. Exploring the LinkRewriter Demos, I went to the sitedemo. 2. org.apache.cocoon.ProcessingException: Failed to execute pipeline.: org.apache.avalon.framework.CascadingRuntimeException: Error accessing attribute '/site/index/@href' from input module 'linkmap'. Error using source cocoon:/linkmap 3. So, I tried to bring up the linkmap, and got: org.apache.cocoon.ProcessingException: Unable to get transformer handler for stylesheets/relativize-linkmap.xsl: org.apache.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler Things I've Tried * relativize-linkmap.xsl imports dotdots.xsl. If I replace the xsl:include/ with the content of the dotdots.xsl stylesheet, the problem dissapears. * If I visit other samples that use xsl:include/, the problem follows. * Trying Cocoon 2.1-M1, this problem does not exist. My Environment Cocoon Version: 2.1m2 Servlet Container: Jetty (included with Cocoon) Java Version: 1.4.1_02 OS: Windows XP I didn't see anyone report the problem, and since it's so fundamental, I figure it's me. So, thank you in advance for any pointers you can give! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Re[2]: FOP/HSSFSerializer's and non-english characters
Cocoon's FOP/HSSFSerializer still does not support non-english characters, can I solve this problem? I don't know about the HSSFSerializer, but the PDFSerializer does not have problems with non-ASCII characters. You'll have to install appropriate fonts though, refer to http://xml.apache.org/fop/faq.html#pdf-characters and http://xml.apache.org/fop/faq.html#pdf-characters Check the Cocoon docs for how to supply a user configuration with user fonts to the PDF serializer. If this still doesn't solve your problem, you'll have to supply more details. Thank you, will try. YM Ok, the PDF serializer works properly (but with .ttf fonts only), but what about the HSSFSerializer? YM I still does not properly generate the exel document with russian characters :(( There is the jakarta-poi-1.7.0-dev-20020624.jar library in the cocoon-2.1/src/blocks/poi/lib. It does not support russian characters. The support begins from version 1.8-dev. See http://jakarta.apache.org/poi/changes.html#1.8-dev; The current version of POI is 2.0-pre1. Thank you, Peter. Will try again. -- Best regards, Yury Mikhienko. IT engineer, ZAO Mobicom-Kavkaz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: using XML String in XSP
On 27.May.2003 -- 04:47 PM, Gould, Troy (ELS) wrote: I'm using cocoon 2.0.4 and having difficulties with the xsp-util:include-expr and xsp:expr tags. I have a method in a class that returns a XML Document as a String which I want to utilize within an xsp page. However, I don't want the string to come back as text because the '' tag (and others) will be escaped as lt;. I want the returned xml string to become part of the SAX stream. Then, I went to using: xsp:logic String testDoc = WebServiceClient.getDocument(testDoc.xml); content util:include-exprutil:exprxsp:exprtestDocxsp:expr/util:expr/util:include-expr /content (mind the whitespace!) or content util:include-expr expr=testDoc/ /content /xsp:logic All this was doing was printing out XML with util:include-expr and util:expr as tags. The tag processor seems to not be processing my util namespace tags. So, do you use the correct namespace for them? Does your XSP have a correct structure (e.g. some top level tag starting the page?) The real problem is can I use XSP to get a XML Document as a String and still have it put into the SAX stream as a Node or do I need to just write my own custom generator to do this instead? This is possible from XSP. Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
from 2.0.4 to 2.1m3 - The database detection method has changed-ODBC
hi people there is a small msAccess report (just few xsp) system designed in cocoon 2.0.4 and tested in 2.1-dev too. now i want to put this in production using 2.1m3-dev without to touch anything i dont get results from database (in 2.0.4 and 2.1-dev work fine) this is a clean snapshot of 2.1m3 the only files ia have change are: web.xml: init-param param-nameload-class/param-name param-value !-- For parent ComponentManager sample: org.apache.cocoon.samples.parentcm.Configurator -- !-- For IBM WebSphere: com.ibm.servlet.classloader.Handler -- !-- For Database Driver: -- org.hsqldb.jdbcDriver !-- stavros ODBC-- !-- ODBC -- sun.jdbc.odbc.JdbcOdbcDriver /param-value /init-param cocoon.xconf: datasources jdbc logger=core.datasources.litho name=litho pool-controller max=10 min=5/ dburljdbc:odbc:litho_db/dburl /jdbc /datasources i have just copy paste all this from 2.1-dev where everything work in error.log i get: ERROR (2003-05-28) 11:13.58:735 [sitemap.generator.serverpages] (/cocoonCVS/osOthello-s/encoding/masterdetails.xsp) Thread-16/masterdetails_xsp: java.sql.SQLException: The database detection method has changed. If your database is not being recognized (anymore) you can either fix it in the Cocoon2EsqlConnection class, file it to bugzilla, report it to cocoon-dev or to me (tcurdt.at.apache.org) directly. Only be sure to include the database string access in your post. what method has changed? i try to get data from msAccess through ODBC any comment? thnx --stavros - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [SOLUTION]Re: Need to use getInputStream() from HttpRequest !!!
Yes, it is. The example in the book use an enumeration to get the document. It test if the file is a filepartfile or a filepartarray. I've decided to work with filepartArray. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Apperant xsl:include/ Failure
On Wed, 2003-05-28 at 10:11, Joerg Heinicke wrote: Dave Allen Barker Jr wrote: Stylesheets that use xsl:inclue/ generate a Unable to get transformer handler error. Any help would be greatly appreciated! I hope the following information is insightful. Hello Dave, not so long ago there was a problem with path resolving in XSLTC. AFAIK it's fixed, I only don't know if it was before or after the 2.1M2 release. Maybe Bruno can help here. We did not upgrade xalan after the M2 release, so it seems there might be yet another problem. Dave, I assume you have nothing in your JAVA_HOME/jre/lib/endorsed directory? If so, could you create a simple reproducable testcase (and by preference, file it as a bug in bugzilla)? Thanks. -- Bruno Dumon http://outerthought.org/ Outerthought - Open Source, Java XML Competence Support Center [EMAIL PROTECTED] [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
flow - sendmailaction - content
Hi, a FlowScript question: In my flowscript i wish to send email via the sendmailaction. The email should contain formatted content (HTML). How can i get the output from a pipeline into the flowscript? thanks in advance, Frank - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Can we stop cocoon logging this as errors?
Title: Can we stop cocoon logging this as errors? I have a webapp/site setup using cocoon 2.0.3 but whenever there is a redirection e.g. via action or users clicking hte pages very fast... I get the following: ERROR (2003-05-16) 13:53.20:296 [access] (Unknown-URI) Unknown-thread/CocoonServlet: Cocoon servlet threw an Exception while trying to close stream. java.io.IOException: The stream has been closed at org.apache.catalina.connector.ResponseStream.flush(ResponseStream.java:238) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1126) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1040) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1151) at java.lang.Thread.run(Unknown Source) Could this be suppressed anywhere? I don't want to switch off my logging totally alban This message may contain privileged and/or confidential information. If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you.
session attributes in sitemap
Hello, Is there a way to set a session attribute in the sitemap? Thanks -- Fernando D. Mato Mira [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem with encodings using XMLSerializer?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, does someone know about a problem with the XMLSerializer regarding the encoding. I have given us-ascii, tried also with US-ASCII but it gives out iso-8859-15 or something like this. At least the german umlauts are shown right with this charset. I know the same setup worked a while ago with cocoon 2.1 cvs version. Now, perhaps some month later, it doesn't work any more. Hope I haven't missed a thread regarding this. Regards Torsten - -- Domain in provider transition, hope for smoothness. Planed date is 1.7.2003. -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+1IavvxZktkzSmiwRAgDTAJwL3jEQPByuPi6QSONdwXmFpfyefACcDgvh OlxOMo1fDu0n2lmRgsSdg+o= =20eI -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[C2.1M2] IndexOutOfBoundsException (release/recycle)
Hi , we were trying to upgrade our servers from C2.04 to C2.1M2 and having a lot of IndexOutOfBoundException in our logs. It seems that something with Release/Recycle don't work in the ComponentManager. Is this a known bug in C2.1M2, does anybody has the same problems? Is there a known workaround for that? Regards Christoph Gaffga java.lang.IndexOutOfBoundsException: Index: 48, Size: 34 at java.util.ArrayList.RangeCheck(ArrayList.java:508) at java.util.ArrayList.remove(ArrayList.java:388) at org.apache.cocoon.components.EnvironmentDescription.removeFromAutoRelease (CocoonComponentManager.java:569) at org.apache.cocoon.components.CocoonComponentManager.removeFromAutomaticRelea se (CocoonComponentManager.java:410) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.release (AbstractProcessingPipeline.java:203) at org.apache.cocoon.components.source.impl.SitemapSource.reset (SitemapSource.java:436) at org.apache.cocoon.components.source.impl.SitemapSource.recycle (SitemapSource.java:456) at org.apache.cocoon.components.source.impl.SitemapSourceFactory.release (SitemapSourceFactory.java:111) at org.apache.excalibur.source.impl.SourceResolverImpl.release (SourceResolverImpl.java:331) at org.apache.cocoon.components.CocoonComponentManager.release (CocoonComponentManager.java:457) at org.apache.cocoon.environment.AbstractEnvironment.release (AbstractEnvironment.java:511) at org.apache.cocoon.generation.FileGenerator.recycle (FileGenerator.java:90) at org.apache.avalon.excalibur.pool.ResourceLimitingPool.put (ResourceLimitingPool.java:438) at org.apache.avalon.excalibur.component.PoolableComponentHandler.doPut (PoolableComponentHandler.java:245) at org.apache.avalon.excalibur.component.ComponentHandler.put (ComponentHandler.java:452) at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.release (ExcaliburComponentSelector.java:337) at org.apache.cocoon.components.ExtendedComponentSelector.release (ExtendedComponentSelector.java:316) at org.apache.cocoon.components.ExtendedComponentSelector.release (ExtendedComponentSelector.java:313) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.recycle (AbstractProcessingPipeline.java:637) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline .rec ycle(AbstractCachingProcessingPipeline.java:932) at org.apache.avalon.excalibur.pool.ResourceLimitingPool.put (ResourceLimitingPool.java:438) at org.apache.avalon.excalibur.component.PoolableComponentHandler.doPut (PoolableComponentHandler.java:245) at org.apache.avalon.excalibur.component.ComponentHandler.put (ComponentHandler.java:452) at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.release (ExcaliburComponentSelector.java:337) at org.apache.cocoon.components.ExtendedComponentSelector.release (ExtendedComponentSelector.java:316) at org.apache.cocoon.components.EnvironmentDescription.removeFromAutoRelease (CocoonComponentManager.java:564) at org.apache.cocoon.components.CocoonComponentManager.removeFromAutomaticRelea se (CocoonComponentManager.java:410) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.release (AbstractProcessingPipeline.java:203) at org.apache.cocoon.components.source.impl.SitemapSource.reset (SitemapSource.java:436) at org.apache.cocoon.components.source.impl.SitemapSource.toSAX (SitemapSource.java:428) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: flow - sendmailaction - content
On 28.May.2003 -- 11:27 AM, Frank Taffelt wrote: Hi, a FlowScript question: In my flowscript i wish to send email via the sendmailaction. The email should contain formatted content (HTML). How can i get the output from a pipeline into the flowscript? In 2.1 you can pass a URLs to the action from which it obtains attachments, eg cocoon://create_my_mail . Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: session attributes in sitemap
On 28.May.2003 -- 11:56 AM, Mato Mira, Fernando wrote: Hello, Is there a way to set a session attribute in the sitemap? Only by using an action. Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: session attributes in sitemap
On Wed, 28 May 2003 11:56:55 +0200 Mato Mira, Fernando [EMAIL PROTECTED] wrote: Hello, Is there a way to set a session attribute in the sitemap? Thanks Try use SessionValidatorAction -- Best regards, Yury Mikhienko. IT engineer, ZAO Mobicom-Kavkaz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: flow - sendmailaction - content
In 2.1 you can pass a URLs to the action from which it obtains attachments, eg cocoon://create_my_mail . Yes i tried this and it works. But i won't use attachements. It would be nice, if the body (usually plaintext or html) could be treated the same way. Do you have a hint ? Frank - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: flow - sendmailaction - content
On 28.May.2003 -- 01:37 PM, Frank Taffelt wrote: In 2.1 you can pass a URLs to the action from which it obtains attachments, eg cocoon://create_my_mail . Yes i tried this and it works. But i won't use attachements. It would be nice, if the body (usually plaintext or html) could be treated the same way. Do you have a hint ? Look at src/blocks/mail/java/org/apache/cocoon/acting/Sendmail.java src/blocks/mail/java/org/apache/cocoon/mail/MailMessageSender.java the first is really only a wrapper for the latter and feeds sitemap parameters to the MailMessageSender. OTOH why is it a problem to send a mail with attachments but no body? Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: flow - sendmailaction - content
OTOH why is it a problem to send a mail with attachments but no body? maybe it's only a problem of the mua. When opening such a mail, i have a blank screen and have to open the attachment. Frank - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]