weblogic6 sp2 with cocoo2.0.2
hi all! weblogic6.0 with sp2 cocoon2.0.2 windows2000 or XP a few days ago i started to try to get cocoon2.0.2 run under weblogic6.0 sp2. thats a few days ago. now, i haven't any idea what to do more, to get cocoon running. maybe someone did it and can give me an installation description. i followed the description in the cocoon-installation manual for weblogic6.0sp2, but it didn't work. thanks greetings chris - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
ESQL-Nested Queries
Hello, I'm using Cocoon 2.02 and need some help with esql. I'm trying to access a resultset the column of another resultset returned by my query, but I don't get it running. DBMS is Oracle 9i and the return value of f_searchentries is a refcursor. The select-statement works correctly in the sql worksheet. And the get-column-type-name returns refcursor in the outer result element. The row tag isn't closed in the result, but there are no errors in the error log. Any comments? esql:execute-query esql:query select 1 as dummy , f_search(1,2,56) as result from dual /esql:query esql:results esql:row-results row esql:get-column-type-name column=2/ esql:results esql:resultxsp:expresql:get-array column=2/.getResultSet()/xsp:expr/esql:result esql:row-results innerrow esql:get-columns/ /innerrow /esql:row-results /esql:results /row /esql:row-results /esql:results /esql:execute-query Thanks for your help Malte Vahlenkamp -- Malte Vahlenkamp Software Development Bruker Daltonik GmbH Fahrenheitstr. 4 28359 Bremen, Germany Phone: +49-421-2205-486 email: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Attachments in sendmail
On 30.May.2002 -- 11:55 AM, Phil Blake wrote: Hi all, I have a form on a web page that has an email address and a file upload. The idea is to enter the email address, select the file to upload, and cocoon uses it's sendmail logicsheet to email the file to the address. It all works well up until the file upload - attachment bit. How do you specify attachments with the sendmail logicsheet. There doesn't appear to be any direct support but are we able to fudge with the appropriate headers? Indeed, sendmail.xsl currently does not provide support for more advanced features. You are welcome to send patches. 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 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ESQL-Nested Queries
On 30.May.2002 -- 10:45 AM, Malte Vahlenkamp wrote: Hello, I'm using Cocoon 2.02 and need some help with esql. I'm trying to access a resultset the column of another resultset returned by my query, but I don't get it running. DBMS is Oracle 9i and the return value of f_searchentries is a refcursor. The select-statement works correctly in the sql worksheet. And the get-column-type-name returns refcursor in the outer result element. The row tag isn't closed in the result, but there are no errors in the error log. Any comments? esql:execute-query esql:query select 1 as dummy , f_search(1,2,56) as result from dual /esql:query esql:results esql:row-results row esql:get-column-type-name column=2/ esql:results esql:resultxsp:expresql:get-array column=2/.getResultSet()/xsp:expr/esql:result esql:row-results innerrow esql:get-columns/ /innerrow /esql:row-results /esql:results /row /esql:row-results /esql:results /esql:execute-query Malte, could you be a bit more specific on don't get it running? It would be great if you could try 2.1-dev from CVS since 2.0.2 esql swallows some exceptions. Is it correct to use getArray() on a refcursor? 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 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: development tools that support Cocoon 2
Leona, Pollo lets you edit Sitemaps: http://pollo.sourceforge.net/ The site notes that it's 'usable but not yet finished'. However, I would prefer having a Sitemap schema for use in a commercial product like XMLSpy (www.xmlspy.com) or even Excelon. Is anyone working on this? Regards, Arjé Cahn - Content Management Department Hippo Webworks Grasweg 35 1031 HW Amsterdam The Netherlands Tel +31 (0)20 6345173 Fax +31 (0)20 6345179 arje(at)hippo(dot)nl / www.hippo.nl -Oorspronkelijk bericht- Van: gorillacommunications [mailto:[EMAIL PROTECTED]] Verzonden: 29 May 2002 21:17 Aan: [EMAIL PROTECTED] Onderwerp: development tools that support Cocoon 2 Hi All, Does anyone know of any development products that support Coccon 2, such as tools to help build sitemaps? Ideally it would run on Win2K and Linux. I'm using Excelon Stylus Studio right now, which has nice features for XML and XSL, but would like something more advanced. Regards, Leona Slepetis - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: development tools that support Cocoon 2
I had heard from someone that there was interest from IBM in integrating Cocoon support into Websphere Application Developer (or it may have been Eclipse) - can anyone confirm this? |+ || Arjé Cahn | || [EMAIL PROTECTED]| || | ||| || 30/05/2002| || 10:37 | || Please respond| || to| || cocoon-users | ||| |+ | || | To: [EMAIL PROTECTED] | | cc: (bcc: Martin Crozier/ETECH) | | Subject: RE: development tools that support Cocoon 2 | | Leona, Pollo lets you edit Sitemaps: http://pollo.sourceforge.net/ The site notes that it's 'usable but not yet finished'. However, I would prefer having a Sitemap schema for use in a commercial product like XMLSpy (www.xmlspy.com) or even Excelon. Is anyone working on this? Regards, Arjé Cahn - Content Management Department Hippo Webworks Grasweg 35 1031 HW Amsterdam The Netherlands Tel +31 (0)20 6345173 Fax +31 (0)20 6345179 arje(at)hippo(dot)nl / www.hippo.nl -Oorspronkelijk bericht- Van: gorillacommunications [mailto:[EMAIL PROTECTED]] Verzonden: 29 May 2002 21:17 Aan: [EMAIL PROTECTED] Onderwerp: development tools that support Cocoon 2 Hi All, Does anyone know of any development products that support Coccon 2, such as tools to help build sitemaps? Ideally it would run on Win2K and Linux. I'm using Excelon Stylus Studio right now, which has nice features for XML and XSL, but would like something more advanced. Regards, Leona Slepetis - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Sitemap schema
All, In response to Leona's question (development tools that support Cocoon 2) I was wondering wheter there exists a schema for the Cocoon 2 sitemap. Is anyone working on this? Regards, Arjé Cahn - Content Management Department Hippo Webworks Grasweg 35 1031 HW Amsterdam The Netherlands Tel +31 (0)20 6345173 Fax +31 (0)20 6345179 arje(at)hippo(dot)nl / www.hippo.nl - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cocoon://file.xsl as a src attribute for xsl transformer throws eception :(
Hi. I've got twoo cocoon app : Cocoon +-SDNGUI +-CAW -SDNGUI is a general UI app, that will mainly serv XSL, JS and CSS for every other apps. -CAW is an app wich wants to use SDNGUI -When I call http://localhost/cocoon/ActionGroup.xsl, I see my .XSL file allright. (I use a reader with txt/xml mime-type) -When, in caw's sitemap I use : map:match pattern=action map:generate src=ActionGroup.xml / map:transform src=context://sdngui/xsl/ActionGroup.xsl / map:serialize name=xml / /map:match It works well, but if I use : map:match pattern=action map:generate src=ActionGroup.xml / map:transform src=cocoon://sdngui/ActionGroup.xsl / map:serialize name=xml / /map:match Here is an error (see bellow) Is there an explaination ? A workaround ? thanks, fabien. The error : Cocoon 2 - Internal server error type fatal message Failed to execute pipeline. description org.apache.cocoon.ProcessingException: Failed to execute pipeline.: org.apache.cocoon.ProcessingException: Unable to get transformer handler for cocoon://sdngui/DropDownMenu.xsl: org.apache.avalon.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet stack-trace org.apache.cocoon.ProcessingException: Failed to execute pipeline.: org.apache.cocoon.ProcessingException: Unable to get transformer handler for cocoon://sdngui/DropDownMenu.xsl: org.apache.avalon.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEv entPipeline.java:223) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS treamPipeline.java:399) at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(Seri alizeNode.java:153) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:83) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok e(PreparableMatchNode.java:157) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:107) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel ineNode.java:138) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:107) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe linesNode.java:142) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess or.java:318) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess or.java:289) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNod e.java:128) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:83) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok e(PreparableMatchNode.java:157) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:107) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel ineNode.java:138) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:107) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe linesNode.java:142) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess or.java:318) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess or.java:289) at org.apache.cocoon.Cocoon.process(Cocoon.java:591) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1002) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:201) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5
missing classes ?
Hi, I'm trying to run cocoon from the command line, like this : /usr/java/jdk/bin/java -classpath ../WEB-INF/lib/cocoon-2.0.2.jar org.apache.cocoon.Main -c../WEB-INF/lib -d. -w./work -l/work/cocoon.log -uINFO index.html and it appears that classes are missing fromt the packages extracted from the cocoon.war I just downloaded (cocoon-2.0.2) . So I added them in the classpath : ../WEB-INF/lib/avalon-excalibur-scratchpad-20020212.jar:/opt/public/jserv/libexec/servlet-2.0-plus.jar (for excalibur/xml/Parser and javax classes) questions : - why do I need to add them in the classpath whereas the packages are defined in the context directory (-c attribute ?). It seems that adding in the context is not enough. According to the Main class code, Cocoon load all the classes present in the context directory. - I can't find this class in any package : org/apache/xml/resolver/tools/CatalogResolver. Can someone tell me in which package I can access it ? Thanks -- # Sébastien Sacard Kelkoo.com - RD team Phone: +(33) 4 76 29 73 51 Email: [EMAIL PROTECTED] Aim : KelkooXIII # - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: build target with no samples?
From: Geoff Howard [EMAIL PROTECTED] Now you are asking a bit much. How is Ant to know what components you need. It already does. If you remove jars from the lib/optional dir it doesn't use those features, and doesn't include them in the config. Right - I knew this much. I've looked at adding a condition in the excludes in prepare-src-main that could be controlled from a .ant.properties file to keep stuff we don't need out. For instance: exclude name=**/poi/** unless=poi.present/ exclude name=**/poi/** if=poi.ignore/ ... And set poi.ignore in the .ant.properties file in user.home so that fresh cvs checkouts which put all the jars back in again don't undo your changes. Unfortunately, I can't find any Ant documentation which indicates whether you can combine both conditions into one statement ( unless=poi.present AND !poi.ignore ) which would be more maintainable. This could also be done if the class-exists task would take an unless argument. I've looked at ClassAvailableTask and Task but can't quite figure out whether this is already provided for or would need to be coded for explicitly. There is the condition task in Ant 1.5, but for 1,4 there are a couple of methods for doing double-property conditions. Look in the Ant faq, I'm sure it's there. What do you think? It's a step forward +1. The issue of unwanted examples still remains however. I'm guessing that the only thing needed for this would be a build target with fewer dependencies. The samples need to finish the refactoring. Any help here also would be greatly appreciated. :-) Hey, it's only xml, no Java invloved... come on, users, give us a hand! :-D -- Nicola Ken Barozzi [EMAIL PROTECTED] - verba volant, scripta manent - (discussions get forgotten, just code remains) - - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cocoon://file.xsl as a src attribute for xsl transformer throwseception :(
Hello Fabien, Why do you miss xsl/ in the second example? Roman TREGAN Fabien wrote: Hi. I've got twoo cocoon app : Cocoon +-SDNGUI +-CAW -SDNGUI is a general UI app, that will mainly serv XSL, JS and CSS for every other apps. -CAW is an app wich wants to use SDNGUI -When I call http://localhost/cocoon/ActionGroup.xsl, I see my .XSL file allright. (I use a reader with txt/xml mime-type) -When, in caw's sitemap I use : map:match pattern=action map:generate src=ActionGroup.xml / map:transform src=context://sdngui/xsl/ActionGroup.xsl / map:serialize name=xml / /map:match It works well, but if I use : map:match pattern=action map:generate src=ActionGroup.xml / map:transform src=cocoon://sdngui/ActionGroup.xsl / map:serialize name=xml / /map:match Here is an error (see bellow) Is there an explaination ? A workaround ? thanks, fabien. The error : Cocoon 2 - Internal server error type fatal message Failed to execute pipeline. description org.apache.cocoon.ProcessingException: Failed to execute pipeline.: org.apache.cocoon.ProcessingException: Unable to get transformer handler for cocoon://sdngui/DropDownMenu.xsl: org.apache.avalon.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet stack-trace org.apache.cocoon.ProcessingException: Failed to execute pipeline.: org.apache.cocoon.ProcessingException: Unable to get transformer handler for cocoon://sdngui/DropDownMenu.xsl: org.apache.avalon.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEv entPipeline.java:223) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingS treamPipeline.java:399) at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(Seri alizeNode.java:153) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:83) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok e(PreparableMatchNode.java:157) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:107) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel ineNode.java:138) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:107) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe linesNode.java:142) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess or.java:318) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess or.java:289) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNod e.java:128) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:83) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok e(PreparableMatchNode.java:157) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:107) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel ineNode.java:138) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:107) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe linesNode.java:142) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess or.java:318) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess or.java:289) at org.apache.cocoon.Cocoon.process(Cocoon.java:591) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1002) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at
RE: cocoon://file.xsl as a src attribute for xsl transformer throwseception :(
-Message d'origine- De: KOZLOV Roman [mailto:[EMAIL PROTECTED]] Hello Fabien, hello :) Why do you miss xsl/ in the second example ? Because the sitemap in /sdngui looks for .xsl in the xsl directory : !-- Serves XSL -- map:match pattern=**.xsl map:generate src=xsl/{1}.xsl / map:serialize name=xml / /map:match or !-- Serves XSL -- map:match pattern=**.xsl map:read src=xsl/{1}.xsl mime-type=text/xml / /map:match neither do work. When I call http://localhost/cocoon/sdngui/ActionGroup.xsl it works, so how come it doesn't work when (from the pipeline) I use cocoon://sdngui/ActionGroup.xsl ?? Bug or did I miss something ? Roman TREGAN Fabien wrote: Hi. I've got twoo cocoon app : Cocoon +-SDNGUI +-CAW -SDNGUI is a general UI app, that will mainly serv XSL, JS and CSS for every other apps. -CAW is an app wich wants to use SDNGUI -When I call http://localhost/cocoon/ActionGroup.xsl, I see my .XSL file allright. (I use a reader with txt/xml mime-type) -When, in caw's sitemap I use : map:match pattern=action map:generate src=ActionGroup.xml / map:transform src=context://sdngui/xsl/ActionGroup.xsl / map:serialize name=xml / /map:match It works well, but if I use : map:match pattern=action map:generate src=ActionGroup.xml / map:transform src=cocoon://sdngui/ActionGroup.xsl / map:serialize name=xml / /map:match Here is an error (see bellow) Is there an explaination ? A workaround ? thanks, fabien. The error : Cocoon 2 - Internal server error --- - type fatal message Failed to execute pipeline. description org.apache.cocoon.ProcessingException: Failed to execute pipeline.: org.apache.cocoon.ProcessingException: Unable to get transformer handler for cocoon://sdngui/DropDownMenu.xsl: org.apache.avalon.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet stack-trace org.apache.cocoon.ProcessingException: Failed to execute pipeline.: org.apache.cocoon.ProcessingException: Unable to get transformer handler for cocoon://sdngui/DropDownMenu.xsl: org.apache.avalon.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler at org.apache.cocoon.components.pipeline.CachingEventPipeline.proc ess(CachingEv entPipeline.java:223) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.pro cess(CachingS treamPipeline.java:399) at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNod e.invoke(Seri alizeNode.java:153) at org.apache.cocoon.components.treeprocessor.AbstractParentProces singNode.invo keNodes(AbstractParentProcessingNode.java:83) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMa tchNode.invok e(PreparableMatchNode.java:157) at org.apache.cocoon.components.treeprocessor.AbstractParentProces singNode.invo keNodes(AbstractParentProcessingNode.java:107) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode .invoke(Pipel ineNode.java:138) at org.apache.cocoon.components.treeprocessor.AbstractParentProces singNode.invo keNodes(AbstractParentProcessingNode.java:107) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNod e.invoke(Pipe linesNode.java:142) at org.apache.cocoon.components.treeprocessor.TreeProcessor.proces s(TreeProcess or.java:318) at org.apache.cocoon.components.treeprocessor.TreeProcessor.proces s(TreeProcess or.java:289) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.in voke(MountNod e.java:128) at org.apache.cocoon.components.treeprocessor.AbstractParentProces singNode.invo keNodes(AbstractParentProcessingNode.java:83) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMa tchNode.invok e(PreparableMatchNode.java:157) at org.apache.cocoon.components.treeprocessor.AbstractParentProces singNode.invo keNodes(AbstractParentProcessingNode.java:107) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode .invoke(Pipel ineNode.java:138) at org.apache.cocoon.components.treeprocessor.AbstractParentProces singNode.invo keNodes(AbstractParentProcessingNode.java:107) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNod e.invoke(Pipe linesNode.java:142) at org.apache.cocoon.components.treeprocessor.TreeProcessor.proces s(TreeProcess or.java:318) at
RE: build target with no samples?
I've seen it mentioned, but don't know what is being done in the refactoring. Do you want to catch me up off list - maybe I could help. Geoff -Original Message- From: Nicola Ken Barozzi [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 8:23 AM To: [EMAIL PROTECTED] Subject: Re: build target with no samples? From: Geoff Howard [EMAIL PROTECTED] Now you are asking a bit much. How is Ant to know what components you need. It already does. If you remove jars from the lib/optional dir it doesn't use those features, and doesn't include them in the config. Right - I knew this much. I've looked at adding a condition in the excludes in prepare-src-main that could be controlled from a .ant.properties file to keep stuff we don't need out. For instance: exclude name=**/poi/** unless=poi.present/ exclude name=**/poi/** if=poi.ignore/ ... And set poi.ignore in the .ant.properties file in user.home so that fresh cvs checkouts which put all the jars back in again don't undo your changes. Unfortunately, I can't find any Ant documentation which indicates whether you can combine both conditions into one statement ( unless=poi.present AND !poi.ignore ) which would be more maintainable. This could also be done if the class-exists task would take an unless argument. I've looked at ClassAvailableTask and Task but can't quite figure out whether this is already provided for or would need to be coded for explicitly. There is the condition task in Ant 1.5, but for 1,4 there are a couple of methods for doing double-property conditions. Look in the Ant faq, I'm sure it's there. What do you think? It's a step forward +1. The issue of unwanted examples still remains however. I'm guessing that the only thing needed for this would be a build target with fewer dependencies. The samples need to finish the refactoring. Any help here also would be greatly appreciated. :-) Hey, it's only xml, no Java invloved... come on, users, give us a hand! :-D -- Nicola Ken Barozzi [EMAIL PROTECTED] - verba volant, scripta manent - (discussions get forgotten, just code remains) - - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: weblogic6 sp2 with cocoo2.0.2
From: Christoph Stocker [mailto:[EMAIL PROTECTED]] hi all! weblogic6.0 with sp2 cocoon2.0.2 windows2000 or XP a few days ago i started to try to get cocoon2.0.2 run under weblogic6.0 sp2. thats a few days ago. now, i haven't any idea what to do more, to get cocoon running. maybe someone did it and can give me an installation description. i followed the description in the cocoon-installation manual for weblogic6.0sp2, but it didn't work. What's wrong? Vadim thanks greetings chris - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: cocoon://file.xsl as a src attribute for xsl transformer throwseception :(
From: TREGAN Fabien [mailto:[EMAIL PROTECTED]] -Message d'origine- De: KOZLOV Roman [mailto:[EMAIL PROTECTED]] Hello Fabien, hello :) Why do you miss xsl/ in the second example ? Because the sitemap in /sdngui looks for .xsl in the xsl directory : !-- Serves XSL -- map:match pattern=**.xsl map:generate src=xsl/{1}.xsl / map:serialize name=xml / /map:match or !-- Serves XSL -- map:match pattern=**.xsl map:read src=xsl/{1}.xsl mime-type=text/xml / /map:match neither do work. When I call http://localhost/cocoon/sdngui/ActionGroup.xsl it works, so how come it doesn't work when (from the pipeline) I use cocoon://sdngui/ActionGroup.xsl ?? Bug or did I miss something ? What is the Cocoon version? It seems to me that this is not 2.0.3, but version of CVS HEAD (which is alpha and can have bugs). Vadim Roman TREGAN Fabien wrote: Hi. I've got twoo cocoon app : Cocoon +-SDNGUI +-CAW -SDNGUI is a general UI app, that will mainly serv XSL, JS and CSS for every other apps. -CAW is an app wich wants to use SDNGUI -When I call http://localhost/cocoon/ActionGroup.xsl, I see my .XSL file allright. (I use a reader with txt/xml mime-type) -When, in caw's sitemap I use : map:match pattern=action map:generate src=ActionGroup.xml / map:transform src=context://sdngui/xsl/ActionGroup.xsl / map:serialize name=xml / /map:match It works well, but if I use : map:match pattern=action map:generate src=ActionGroup.xml / map:transform src=cocoon://sdngui/ActionGroup.xsl / map:serialize name=xml / /map:match Here is an error (see bellow) Is there an explaination ? A workaround ? thanks, fabien. The error : Cocoon 2 - Internal server error --- - type fatal message Failed to execute pipeline. description org.apache.cocoon.ProcessingException: Failed to execute pipeline.: org.apache.cocoon.ProcessingException: Unable to get transformer handler for cocoon://sdngui/DropDownMenu.xsl: org.apache.avalon.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet stack-trace org.apache.cocoon.ProcessingException: Failed to execute pipeline.: org.apache.cocoon.ProcessingException: Unable to get transformer handler for cocoon://sdngui/DropDownMenu.xsl: org.apache.avalon.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler at org.apache.cocoon.components.pipeline.CachingEventPipeline.proc ess(CachingEv entPipeline.java:223) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.pro cess(CachingS treamPipeline.java:399) at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNod e.invoke(Seri alizeNode.java:153) at org.apache.cocoon.components.treeprocessor.AbstractParentProces singNode.invo keNodes(AbstractParentProcessingNode.java:83) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMa tchNode.invok e(PreparableMatchNode.java:157) at org.apache.cocoon.components.treeprocessor.AbstractParentProces singNode.invo keNodes(AbstractParentProcessingNode.java:107) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode .invoke(Pipel ineNode.java:138) at org.apache.cocoon.components.treeprocessor.AbstractParentProces singNode.invo keNodes(AbstractParentProcessingNode.java:107) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNod e.invoke(Pipe linesNode.java:142) at org.apache.cocoon.components.treeprocessor.TreeProcessor.proces s(TreeProcess or.java:318) at org.apache.cocoon.components.treeprocessor.TreeProcessor.proces s(TreeProcess or.java:289) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.in voke(MountNod e.java:128) at org.apache.cocoon.components.treeprocessor.AbstractParentProces singNode.invo keNodes(AbstractParentProcessingNode.java:83) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMa tchNode.invok e(PreparableMatchNode.java:157) at org.apache.cocoon.components.treeprocessor.AbstractParentProces singNode.invo keNodes(AbstractParentProcessingNode.java:107) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode .invoke(Pipel ineNode.java:138) at
Re: build target with no samples?
From: Geoff Howard [EMAIL PROTECTED] I've seen it mentioned, but don't know what is being done in the refactoring. Do you want to catch me up off list - maybe I could help. I'll post it here, maybe others want to give a hand too. Basically the fact is that the original webapp had a single monolithic sitemap.xmap. Over the time it has grown to be ... well.. a bit big ;-) In the last release, we have started refactoring, and moving all samples under a samples subsitemap that the main sitemap mounts. Each sample group is another subsitemap under the samples one. sitemap.xmap mounted /samples subsitemap mounted helloworld samples mounted i18n samples mounted flowmap samples mounted xmlform samples etc... mounted /mount subsitemap mounted scratchpad samples In this way by removing the samples dir you don't have any example. Since the specific sitemap components are declared in the sample sitemap that uses them, the root one is clean. And you can take the sample you wany and mount only that, if you need that functionality. The doc guys are looking into how to group the samples; we need helpers for moving the samples under individual sitemaps. To do it, download the latest CVS HEAD version; currently Konstantin is the only one active on it, so ask on the dev list to get some coordination. This is an opportunity to shape the Cocoon webapp, come and join! :-D -- Nicola Ken Barozzi [EMAIL PROTECTED] - verba volant, scripta manent - (discussions get forgotten, just code remains) - - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: pls confirm: cocoon won't work on OSX
There was a problem with tomcat 4.0.2 and cocoon 2.x but all others should work out-of-the-box. There's no need to remove batik stuff - it works fine under OSX. Well, all I know is that getting rid of it made it work :-) Now it's on to getting apache and tomcat/cocoon to play nice. Tomcat says mod_webapps, cocoon says mod_jk. Which will it be? Right now, neither works for me.--paul - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: cocoon://file.xsl as a src attribute for xsl transformer throwseception :(
De: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] What is the Cocoon version? It seems to me that this is not 2.0.3, but version of CVS HEAD (which is alpha and can have bugs). Vadim I work with a HEAD wich is two weeks old, but I have the same result with a 2.0.2 release :) fabien. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Antw: Re: ESQL-Nested Queries
Hello Christian, as far as I could say, I get a ResultSet with the REFCURSOR in it, but I'm not able to dereferenz on this cursor to access its fields. I have tried with different methods (getArray(), getObject() casted to ResultSet, ...) but it doesn't seem to make any difference. I just switched to 2.1-dev and don't get any exception. Is it possible, that the esql:result tag is ignored? I have had a closer look at the generated sources and it seems, that the xsp:logic code doesn't show up there. Maybe you have an idea, what I can do to get this running? Malte Malte, could you be a bit more specific on don't get it running? It would be great if you could try 2.1-dev from CVS since 2.0.2 esql swallows some exceptions. Is it correct to use getArray() on a refcursor? Chris. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: missing classes ?
From: Sebastien SACARD [mailto:[EMAIL PROTECTED]] Hi, I'm trying to run cocoon from the command line, like this : /usr/java/jdk/bin/java -classpath ../WEB-INF/lib/cocoon-2.0.2.jar org.apache.cocoon.Main -c../WEB-INF/lib -d. -w./work -l/work/cocoon.log -uINFO index.html and it appears that classes are missing fromt the packages extracted from the cocoon.war I just downloaded (cocoon-2.0.2) . So I added them in the classpath : ../WEB-INF/lib/avalon-excalibur-scratchpad- 20020212.jar:/opt/public/jserv/libexec/servlet-2.0-plus.jar (for excalibur/xml/Parser and javax classes) questions : - why do I need to add them in the classpath whereas the packages are defined in the context directory (-c attribute ?). It seems that adding in the context is not enough. According to the Main class code, Cocoon load all the classes present in the context directory. Main does *not* load any classes. These lines in the run.bat are for reason: set CP=%JAVA_HOME%\lib\tools.jar;%COCOON_WORK% for %%i in (%COCOON_LIB%\core\*.jar) do call appendcp.bat %%i for %%i in (%COCOON_LIB%\optional\*.jar) do call appendcp.bat %%i for %%i in (.\build\cocoon\*.jar) do call appendcp.bat %%i - I can't find this class in any package : org/apache/xml/resolver/tools/CatalogResolver. Can someone tell me in which package I can access it ? xml-cocoon203\lib\optional\resolver-20020130.jar Vadim Thanks -- # Sébastien Sacard Kelkoo.com - RD team Phone: +(33) 4 76 29 73 51 Email: [EMAIL PROTECTED] Aim : KelkooXIII # - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: cocoon://file.xsl as a src attribute for xsl transformer throwseception :(
From: TREGAN Fabien [mailto:[EMAIL PROTECTED]] De: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] What is the Cocoon version? It seems to me that this is not 2.0.3, but version of CVS HEAD (which is alpha and can have bugs). Vadim I work with a HEAD wich is two weeks old, but I have the same result with a 2.0.2 release :) Then it is not bug in Cocoon: sample sub/xsl-cocoon works, obtaining XSL via cocoon:/xsl-source. Vadim - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: missing classes ?
Thanks Vadim, I confused the context and the classpath. Thought the context was 'a kind-of' Cocoon classpath. I found all the classes, now. I've got others problems, odd Exception, but I'll try to find out before asking silly questions again :-) Vadim Gritsenko wrote: From: Sebastien SACARD [mailto:[EMAIL PROTECTED]]Hi,I'm trying to run cocoon from the command line, like this :/usr/java/jdk/bin/java -classpath ../WEB-INF/lib/cocoon-2.0.2.jarorg.apache.cocoon.Main -c../WEB-INF/lib -d. -w./work -l/work/cocoon.log -uINFO index.htmland it appears that classes are missing fromt the packages extractedfrom the cocoon.war I just downloaded (cocoon-2.0.2) . So I added themin the classpath :../WEB-INF/lib/avalon-excalibur-scratchpad-20020212.jar:/opt/public/jserv/libexec/servlet-2.0-plus.jar(for excalibur/xml/Parser and javax classes)questions : - why do I need to add them in the classpath whereas the packages aredefined in the context directory (-c attribute ?). It seems that adding in the context is not enough. According to the Main class code, Cocoonload all the classes present in the context directory. Main does *not* load any classes. These lines in the run.bat are forreason:set CP=%JAVA_HOME%\lib\tools.jar;%COCOON_WORK%for %%i in (%COCOON_LIB%\core\*.jar) do call appendcp.bat %%ifor %%i in (%COCOON_LIB%\optional\*.jar) do call appendcp.bat %%ifor %%i in (.\build\cocoon\*.jar) do call appendcp.bat %%i - I can't find this class in any package :org/apache/xml/resolver/tools/CatalogResolver. Can someone tell me inwhich package I can access it ? xml-cocoon203\lib\optional\resolver-20020130.jarVadim Thanks--#Sbastien SacardKelkoo.com - RD teamPhone: +(33) 4 76 29 73 51Email: [EMAIL PROTECTED]Aim : KelkooXIII#-Please check that your question has not already been answered in theFAQ before posting. http://xml.apache.org/cocoon/faqs.htmlTo unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED] -Please check that your question has not already been answered in theFAQ before posting. http://xml.apache.org/cocoon/faqs.htmlTo unsubscribe, e-mail: [EMAIL PROTECTED]For additional commands, e-mail: [EMAIL PROTECTED] -- #Sbastien SacardKelkoo.com - RD teamPhone: +(33) 4 76 29 73 51Email: [EMAIL PROTECTED]Aim : KelkooXIII# - Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>
Websphere 4.0
Hello, I installed cocoon 2.0.2 on Websphere 4.0 Single-Server and I got this error when I tried to start the cocoon: (2002-05-30) 10:07.33:292[access](/cocoon/) Servlet.Engine.Transports:10/CocoonServlet: Problem with servlet org.apache.cocoon.ProcessingException: Error compiling sitemap: java.lang.NoSuchFieldError: org.apache.cocoon.sitemap.AbstractSitemap: field manager not found at org.apache.cocoon.sitemap.Handler.run(Handler.java:295) at java.lang.Thread.run(Thread.java:498) java.lang.NoSuchFieldError: org.apache.cocoon.sitemap.AbstractSitemap: field manager not found at org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:344) at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:172) at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:84) at org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator(GeneratorSelector.java:170) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:248) at org.apache.cocoon.sitemap.Handler.run(Handler.java:270) at java.lang.Thread.run(Thread.java:498) java.lang.NoSuchFieldError: org.apache.cocoon.sitemap.AbstractSitemap: field manager not found at org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:344) at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:172) at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:84) at org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator(GeneratorSelector.java:170) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:248) at org.apache.cocoon.sitemap.Handler.run(Handler.java:270) at java.lang.Thread.run(Thread.java:498) Can anyone help? Thanks. Erik Karimov
Multiple mails
If I need to send out a mail to 2000 people (members of an association, no spam involved) using the sendmail logicsheet. What would be the best way to do this recursive action? The user data is in a database. I'm using Cocoon 2.1-dev. Thanks, Bert My spelling is Wobbly. It's good spelling but it Wobbles, and the letters get in the wrong places. A. A. Milne (1882-1958) - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Multiple mails
Bert Van Kets wrote: If I need to send out a mail to 2000 people (members of an association, no spam involved) using the sendmail logicsheet. What would be the best way to do this recursive action? The user data is in a database. I'm using Cocoon 2.1-dev. Thanks, Bert A solution could be to generate from database a list of cinclude:include elements each referencing a pipeline that sends the mail. Sylvain -- Sylvain Wallez Anyware Technologies Apache Cocoon http://www.anyware-tech.com mailto:[EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: map:views - what has been changed in C2.1-dev (rake up)
this is just a try to rake up this problem with view labels being ignored inside a aggregation. maybe now there is anyone who knows: is this a bug? - is there a workaround? is this a new implementation of views? - how/where should I now place the labels? thanks. /Leo On Wednesday, May 22, 2002, at 09:28 Uhr, leo leonid wrote: Hi Sylvain, yes, I tried every possible combination. label on map:aggregate, on map:part, on both,... the label just seems to be ignored. I also tested those combination on the current cocoon/documentation/sitemap.xmap (snippet) = same result. map:match pattern=*.html map:aggregate element=site map:part src=cocoon:/book-{1}.xml/ map:part src=cocoon:/body-{1}.xml label=content/ /map:aggregate map:transform src=stylesheets/site2xhtml.xsl map:parameter name=use-request-parameters value=true/ map:parameter name=header value=graphics/{1}-header.jpg/ /map:transform map:serialize/ /map:match /Leo On Wednesday, May 22, 2002, at 04:46 Uhr, Sylvain Wallez wrote: leo leonid wrote: me again, I just noticed that some weeks ago there has been a discussion in the xml-cocoon-dev-list about future implementations of view labels. But I didn't find any solution or temporary workaround to get labels interpreted again inside an aggregation. The main discussion was about branching to the view from the _last_ label matching the view and not the first one. But nothing has changed yet. For aggregation, could please try to add 'abel=content on map:aggregate ? Are there any ideas? It would be great, for creating a search index of the documentation would be possible again. thanks /L On Friday, May 17, 2002, at 09:28 Uhr, leo leonid wrote: I wonder what has been changed concerning the behavior of views (and why!) Now I get HTML-output where I expect XML (and recently still got). May this be the reason why the sample searching the docs doesn't work anymore? It looks like the LuceneIndexer is expecting XML-result from the content-view but it gets HTML, which it is ignoring. Example (similar to the cocoon-documentation): There is a generator without label (serverpages-nolabel) and a simple view to exit the pipeline and serialize the result as XML (content). And the goal is to omit head- and foot-parts and all HTML-transformations in content-view so that there is only the body-content with filter-3.xsl applied within a site/ root element. Problem: In the following pipeline the final transformation (map:transform src=site2HTML.xsl /) is executed in the content-view. But it should not. Or did I miss something? map:view from-label=content name=content map:serialize type=xml/ /map:view ... map:match pattern=*/body-*/page_*.xml map:generate type=serverpages-nolabel src=page- geneation.xsp/ map:transform src=filter-1.xsl / map:transform src=filter-2.xsl / map:transform src=filter-3.xsl label=content / map:transform src=content2HTML.xsl / map:serialize type=xml/ /map:match map:match pattern=*/*/*.html map:aggregate element=site map:part src=cocoon:/{1}/head-{2}/{3}.xml/ map:part src=cocoon:/{1}/foot-{2}/{3}.xml/ map:part src=cocoon:/{1}/body-{2}/{3}.xml label=content/ /map:aggregate map:transform src=site2HTML.xsl / map:serialize / /map:match Thanks! /Leo -- Sylvain Wallez Anyware Technologies Apache Cocoon http://www.anyware-tech.com mailto:[EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
relative path using file: protocol
Hi, I need to be able to serve an image file which is situated in a directory where only its relative path is known to the sitemap.xmap file. I have tried to get relative path to work as map:read mime-type=image/jpg src=file:../../../xxx/yyy/ but without any luck Can anybody help -- Thaks Peter - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: weblogic6 sp2 with cocoo2.0.2
hi all! sorry, boring you with my questions. i solved the problem - :-) it seems that i used a wrong xerces-xxx.jar no idea where i got this wrong file. i hope thats it is the real problem - and cocoon works also tomorrow :-) thanks, chris -Original Message- From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 30. Mai 2002 15:21 To: [EMAIL PROTECTED] Subject: RE: weblogic6 sp2 with cocoo2.0.2 From: Christoph Stocker [mailto:[EMAIL PROTECTED]] hi all! weblogic6.0 with sp2 cocoon2.0.2 windows2000 or XP a few days ago i started to try to get cocoon2.0.2 run under weblogic6.0 sp2. thats a few days ago. now, i haven't any idea what to do more, to get cocoon running. maybe someone did it and can give me an installation description. i followed the description in the cocoon-installation manual for weblogic6.0sp2, but it didn't work. What's wrong? Vadim thanks greetings chris - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: pls confirm: cocoon won't work on OSX
I don't know why, but for client Mac OS X - I needed to remove all of that stuff and any references in the sitemap to the svg calls... It may have to do with the way java handles the windowing stuff through Apple's interface... not for sure. anyway, once that was removed, it works like a charm. Haven't tried to update to 2.0.1 or higher yet - nor have I tried tomcat 4.03 or higher - those are to be evaulated later on after the current phase of my projects are completed. Though, I would like to see you comments on noticing anything else different for the server side of Mac OS X - that's where everything will eventually reside. cool! peace. JOe... On Wed, 29 May 2002 17:36:17 -0500 Zack Angelo [EMAIL PROTECTED] wrote: That's strange. C2 is running fine under OS X Server for me with all of the Batik stuff installed. -Zack -Original Message- From: Paul Kelly [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 3:46 PM To: [EMAIL PROTECTED] Cc: Gary Lawrence Murphy Subject: Re: pls confirm: cocoon won't work on OSX Thanks JOe and everyone else who responded. For the record here's what I did: 1) Re-installed tomcat 4.0.1 as per: http://developer.apple.com/internet/macosx/tomcat1.html 2) Re-installed cocoon 2.0 as per: http://xml.apache.org/cocoon/installing/index.html 3) Looked in the archives for clues regarding remove all batik stuff and found: http://www.mail-archive.com/cocoon-users@xml.apache.org/msg12913.html Thanks Bert Van Kets 4) Removed all xml branches in webapps/cocoon/sitemap.xmap containing the strings svg, pdf and fop. 5) Removed batik-libs.jar and fop-0_20_1-dev.jar from webapps/cocoon/WEB-INF/lib/ 6) Started up Tomcat, went to localhost:8080/cocoon/ and it worked! Only problem I noticed is that the docs can't be accessed from the cocoon welcome page. Must have svg/fop/pdf-realted stuff in there? Hopefully this mail will take care of this for other OS X newbie users. Typing OS X into the archive serach engine doesn't do much. Thanks Paul currently have Tomcat 4.0.1 and Cocoon 2.0 running on Mac OS X 10.1.4... just make sure you remove all the batik stuff and you should be golden... peace. JOe... On Tue, 28 May 2002 17:50:39 -0400 Paul Kelly [EMAIL PROTECTED] wrote: I've tried the following: Tomcat 4.0.1 w/ cocoon 2.0 Tomcat 4.0.1 w/ cocoon 2.0.2 Tomcat 4.0.4b1 w/ cocoon 2.0 Jetty 4 w/ cocoon 2.0 Tomcat 4.0.4b1 w/ cocoon 1.8 Each time the servlet container works fine, cocoon does not. The only luck I've had is with Murray Todd's old pkg file which is no longer available and is one year out of date. I am about ready to give up. Has anyone out there actually installed cocoon 2 on OS X? That's all I need to know. --paul - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] peace. JOe... - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] other keywords: apple macintosh crash crashes - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] peace. JOe... - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cinclude caching bug
Hello, there is a well known bug in the CachingCIncludeTransformer, which prevents the caching algorithm from determining the correct cache validity in some (almost every non trivial) cases. This makes the transformer useless in the general practise. Months ago there was a diskussion about this in the cocoon-dev mailing list. (see: http://www.mail-archive.com/cocoon-dev@xml.apache.org/msg01501.html ) But I think the status quo is described at best in the bug database. (see: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4641 ) Unfortunately I don't see any other possibilty to cache correctly a document which includes other documents that are possibly outdated: The map:aggregate feature is to inflexible and the XIncludeTransformer provides no caching at all. My question now is: Does anyone know a workaround (i.e. using a map:action to validate the cache) or if it is planned to fix the cinclude transformer in the near future. Thanks for any suggestion on this matter, Ulf Sauerland - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Viewing Jsps in Cocoon 2.02 problem PLEASE HELP!!!
I have switched over to tomcat 4.1 and java 1.4 and Cocoon 2.02. Everything is working for me for tomcat and java but I cannot get the new cocoon to display regular jsps. The file directory say it is there but when i click on the file I get file not found. This makes no sense to me since the older version didnt require anything special to view a jsp. I am total lost and confused on this and need help. I have been trying to add code to the sitemap.xmap to make it reconize my jsp's in the reports folder. That still does not work. I have no idea what to do to get this to work if anyone could please help me on this I would be grateful. Thanks in advanced, Dave Newman - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: PostgreSQL won't work - any ideas appreciated
I would appreciate help on this from anyone - I've tried all suggestions -- error messages are below - Please note that I've already tried: snip... * Add a driverorg.postgresql.Driver/driver element into your jdbc/ config (under the dburl/ element is good). snip as suggested by Berin. Once I get this figured out I PROMISE TO CREATE DOCUMENTATION :) I have PostgreSQL working just fine here. I had to add the location of postgres.jar to the classpath in catalina.sh since it is not normally in the default classpath on my system. The line in catalina.sh: CLASSPATH=$CLASSPATH:$CATALINA_HOME/bin/bootstrap.jar was changed to: CLASSPATH=$CLASSPATH:$CATALINA_HOME/bin/bootstrap.jar:/usr/local/java/postg resql.jar The dburl element of cocoon.xconf is just a reference to the database URL for that particular data source: dburljdbc:postgresql://dbserver.example.com:5432/books/dburl -- Dr. Everett (Skip) Carter Phone: 831-641-0645 FAX: 831-641-0647 Taygeta Scientific Inc.INTERNET: [EMAIL PROTECTED] 1340 Munras Ave., Suite 314WWW: http://www.taygeta.com Monterey, CA. 93940 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Websphere 4.0
Erik, Have you installed or upgraded Cocoon? It sounds like you upgraded it and forgot to delete working directory. PS Try using plain text email next time Vadim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 10:08 AM To: cocoon-users Subject: Websphere 4.0 Hello, I installed cocoon 2.0.2 on Websphere 4.0 Single-Server and I got this error when I tried to start the cocoon: (2002-05-30) 10:07.33:292[access](/cocoon/) Servlet.Engine.Transports:10/CocoonServlet: Problem with servlet org.apache.cocoon.ProcessingException: Error compiling sitemap: java.lang.NoSuchFieldError: org.apache.cocoon.sitemap.AbstractSitemap: field manager not found at org.apache.cocoon.sitemap.Handler.run(Handler.java:295) at java.lang.Thread.run(Thread.java:498) java.lang.NoSuchFieldError: org.apache.cocoon.sitemap.AbstractSitemap: field manager not found at org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:344) at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstanc e(DefaultComponentFactory.java:172) at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initial ize(ThreadSafeComponentHandler.java:84) at org.apache.cocoon.components.language.generator.GeneratorSelector.addGen erator(GeneratorSelector.java:170) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa d(ProgramGeneratorImpl.java:248) at org.apache.cocoon.sitemap.Handler.run(Handler.java:270) at java.lang.Thread.run(Thread.java:498) java.lang.NoSuchFieldError: org.apache.cocoon.sitemap.AbstractSitemap: field manager not found at org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:344) at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstanc e(DefaultComponentFactory.java:172) at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initial ize(ThreadSafeComponentHandler.java:84) at org.apache.cocoon.components.language.generator.GeneratorSelector.addGen erator(GeneratorSelector.java:170) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa d(ProgramGeneratorImpl.java:248) at org.apache.cocoon.sitemap.Handler.run(Handler.java:270) at java.lang.Thread.run(Thread.java:498) Can anyone help? Thanks. Erik Karimov - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: relative path using file: protocol
From: Peter Lerche [mailto:[EMAIL PROTECTED]] Hi, I need to be able to serve an image file which is situated in a directory where only its relative path is known to the sitemap.xmap file. I have tried to get relative path to work as map:read mime-type=image/jpg src=file:../../../xxx/yyy/ This syntax is illegal. Why not: map:read mime-type=image/jpg src=../../../xxx/yyy/ ? Vadim but without any luck Can anybody help -- Thaks Peter - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: PostgreSQL won't work - any ideas appreciated
From: Skip Carter [mailto:[EMAIL PROTECTED]] Once I get this figured out I PROMISE TO CREATE DOCUMENTATION :) I have PostgreSQL working just fine here. I had to add the location of postgres.jar to the classpath in catalina.sh since it is not normally in the default classpath on my system. The line in catalina.sh: CLASSPATH=$CLASSPATH:$CATALINA_HOME/bin/bootstrap.jar was changed to: CLASSPATH=$CLASSPATH:$CATALINA_HOME/bin/bootstrap.jar:/usr /local/java/postg resql.jar The dburl element of cocoon.xconf is just a reference to the database URL for that particular data source: dburljdbc:postgresql://dbserver.example.com:5432/books/dburl Having written the datasource pooling code, I am aware of what the dburl/ entry is supposed to be. I was saying that you might want to include the driver/ element with the classname to that entry in cocoon.xconf. Regarding the location of the Driver jars, there are three solutions: 1) Include it in the WEB-INF/lib directory in your webapp * It is always included with the webapp * No additional install step is necessary * Not all servlet containers respect the WEB-INF/lib contract (IBM WebSPhere moves the libs, but most current containers work properly now). 2) Include it in the $JAVA_HOME/jre/lib/ext directory * It is available to all Java applications on the machine * It is an additional install step, but simple to do. * If the webapp is moved, you have to make sure the driver exists on the new machine or new JVM. 3) Do what you did and alter the Servlet Container's default CLASSPATH. * It is available to all webapps in the contianer * It is an additional install step, and in some cases not trivial * Each servlet container has a different method of doing this, and some don't allow it at all. Of the three, 1 or 2 is preferred. 2 should only be considered for jars that are not likely to cause a conflict like a database driver. While the first option works 90% of the time, you do end up with duplicate drivers. It is not the end of the world though. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
what's up with the Cocoon book? were reviewer found?
were reviewer found? thanks Argyn - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Websphere 4.0
Vadim, Thank you for your reply. Yes, I upgraded Cocoon. I think I deleted the working directory before installation. But anyway, I re-installed the cocoon and it solved the problem. I can run the Cocoon and most of the modules except for JSP. I'll try to figure it out myself. I am using Lotus Notes mail and apologize it the text is not rendered correctly. Erik Karimov Vadim Gritsenko [EMAIL PROTECTED] 30/05/2002 12:29 PM Please respond to cocoon-users To:cocoon-users [EMAIL PROTECTED] cc: Subject:RE: Websphere 4.0 Erik, Have you installed or upgraded Cocoon? It sounds like you upgraded it and forgot to delete working directory. PS Try using plain text email next time Vadim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 10:08 AM To: cocoon-users Subject: Websphere 4.0 Hello, I installed cocoon 2.0.2 on Websphere 4.0 Single-Server and I got this error when I tried to start the cocoon: (2002-05-30) 10:07.33:292[access](/cocoon/) Servlet.Engine.Transports:10/CocoonServlet: Problem with servlet org.apache.cocoon.ProcessingException: Error compiling sitemap: java.lang.NoSuchFieldError: org.apache.cocoon.sitemap.AbstractSitemap: field manager not found at org.apache.cocoon.sitemap.Handler.run(Handler.java:295) at java.lang.Thread.run(Thread.java:498) java.lang.NoSuchFieldError: org.apache.cocoon.sitemap.AbstractSitemap: field manager not found at org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:344) at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstanc e(DefaultComponentFactory.java:172) at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initial ize(ThreadSafeComponentHandler.java:84) at org.apache.cocoon.components.language.generator.GeneratorSelector.addGen erator(GeneratorSelector.java:170) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa d(ProgramGeneratorImpl.java:248) at org.apache.cocoon.sitemap.Handler.run(Handler.java:270) at java.lang.Thread.run(Thread.java:498) java.lang.NoSuchFieldError: org.apache.cocoon.sitemap.AbstractSitemap: field manager not found at org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:344) at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstanc e(DefaultComponentFactory.java:172) at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initial ize(ThreadSafeComponentHandler.java:84) at org.apache.cocoon.components.language.generator.GeneratorSelector.addGen erator(GeneratorSelector.java:170) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa d(ProgramGeneratorImpl.java:248) at org.apache.cocoon.sitemap.Handler.run(Handler.java:270) at java.lang.Thread.run(Thread.java:498) Can anyone help? Thanks. Erik Karimov - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to stop mimed files from causing the browser todo a file-save-as
In my sitemap I have setup : map:match pattern=*.txt map:generate src={1}.xml mime-type=text/plain/ map:transform src=system/docbook2txt.xsl/ map:serialize type=text/ /map:match And when I do: http://www.oyap.net/cocoon/oyap/index.txt The browser does not recognise the mime of text/plain, which is strange because it can handle text files normally. So how do we get the response from cocoon correct here? Paul - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Really Good C2 IBM Tutorials
http://www-105.ibm.com/developerworks/education.nsf/xml-onlinecourse-bytitle/83F66813F7FFD61486256B74006EB648?OpenDocument http://www-105.ibm.com/developerworks/education.nsf/xml-onlinecourse-bytitle/14DFAEE91D8BB1EF86256BA300662FAF?OpenDocument http://www-105.ibm.com/developerworks/education.nsf/xml-onlinecourse-bytitle/AC994D2B8F0B85D086256BC1006B53AC?OpenDocument Daniel 'Dan'Eyassu Lockheed Martin Information Systems TEL: (407) 306-3565 FAX: (407) 306-3559 EMAIL: [EMAIL PROTECTED]
C2/Solaris8/Jakarta 4.0.3
I'm attempting to get C2 to run with Solaris 8, Jakarta 4.0.3 and JRE 1.3.1. I'm getting a class cast exception saying that org.apache.xerces.parsers.SAXParser does not implement XMLReader. I've copied the appropriate jars from the cocoon package into Jakarta/common/lib...Any ideas? -Zack - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: How to stop mimed files from causing the browser todo a file-save-as
From: Paul Gilligan [mailto:[EMAIL PROTECTED]] In my sitemap I have setup : map:match pattern=*.txt map:generate src={1}.xml mime-type=text/plain/ File generator does not support mime-type attribute. Serializers do. map:transform src=system/docbook2txt.xsl/ map:serialize type=text/ Try: map:serialize type=text mime-type=text/plain/ Vadim /map:match And when I do: http://www.oyap.net/cocoon/oyap/index.txt The browser does not recognise the mime of text/plain, which is strange because it can handle text files normally. So how do we get the response from cocoon correct here? Paul - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to stop mimed files from causing the browser todo a file-save-as
Vadim, Thankyou ... works super now :) Paul Vadim Gritsenko wrote: From: Paul Gilligan [mailto:[EMAIL PROTECTED]] In my sitemap I have setup : map:match pattern=*.txt map:generate src={1}.xml mime-type=text/plain/ File generator does not support mime-type attribute. Serializers do. map:transform src=system/docbook2txt.xsl/ map:serialize type=text/ Try: map:serialize type=text mime-type=text/plain/ Vadim /map:match And when I do: http://www.oyap.net/cocoon/oyap/index.txt The browser does not recognise the mime of text/plain, which is strange because it can handle text files normally. So how do we get the response from cocoon correct here? Paul - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Another session transformer question
I just took a quick look at the code and it seems like this should work the way I thought it would. I've been working with the CVS HEAD (which today is having some problems with the sitemap), JDK 1.3.1_02 and Win2K. Does anyone have any ideas? Thanks [EMAIL PROTECTED] 05/23/02 03:44PM I've found something else that doesn't work the way I think it should... ;) I thought this XML: ?xml version=1.0 ? test xmlns:session=http://cocoon.apache.org/session/1.0; session:createcontext name=sessionTest / session:setxml context=sessionTest path=/ root stem id=1foo/stem stem id=2bar/stem /root /session:setxml session:mergexml context=sessionTest path=/root/stem[id='1']fred/session:mergexml session:getxml context=sessionTest path=/ / /test would create this output: ?xml version=1.0 encoding=UTF-8? test xmlns:session=http://cocoon.apache.org/session/1.0; root stem id=1fred/stem stem id=2bar/stem /root /test but instead it creates: ?xml version=1.0 encoding=UTF-8? test xmlns:session=http://cocoon.apache.org/session/1.0; root stem id=1foo/stem stem id=2bar/stem stemfred/stem /root /test The same happens if I use setxml in place of mergexml. I really like the idea of the session transformer and I am probably expecting too much. What are the current thoughts for the most Cocoon-ish way to handle the session problem? Kindest regards, Bruce - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Stored Procedure with input parameters using esql?
Title: Stored Procedure with input parameters using esql? I want to execute a stored procedure that requires input parameters using the esql logicsheet, but am having difficulty. I can call stored procedures that take no inputs just fine. Is there a working example/samle code of how to do this? I could only find one brief example in the userdocs and it still does not make sense to me ;( I have this stored procedure: {? = call get_person(?,?,?,?)} The first 3 input parameters can accept NULL and the last one will be an actual value. I have this code using esql logicsheet: - esql:execute-query !-- Call Stored Procedure to retrieve person data-- esql:call needs-query=true {? = call get_person( esql:parameter direction=In type=Stringxsp:exprNULL/xsp:expr/esql:parameter, esql:parameter direction=In type=Stringxsp:exprNULL/xsp:expr/esql:parameter, esql:parameter direction=In type=Stringxsp:exprNULL/xsp:expr/esql:parameter, esql:parameter direction=In type=Stringxsp:expr'46465445'/xsp:expr/esql:parameter)} /esql:call ... stuff to process results /esql:execute-query - But I receive this error: type fatal message Exception in ServerPagesGenerator.generate() description org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Error executing prepared statement: {? = call get_person( ?, ?, ?, ?)} : java.sql.SQLException: JZ0SA: Prepared Statement: Input parameter not set, index: 1. sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet stack-trace org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Error executing prepared statement: {? = call get_person( ?, ?, ?, ?)} : java.sql.SQLException: JZ0SA: Prepared Statement: Input parameter not set, index: 1. at org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenerator.java:272) at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:251) at org.apache.cocoon.components.source.SitemapSource.toSAX(SitemapSource.java:351) at org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.java:148) at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:251) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:399) at org.apache.cocoon.www.otda_1.sitemap_xmap.matchN100FD(C:\Program Files\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-files\org/apache/cocoon/www/otda_1\sitemap_xmap.java:1344) at org.apache.cocoon.www.otda_1.sitemap_xmap.process(C:\Program Files\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-files\org/apache/cocoon/www/otda_1\sitemap_xmap.java:727) at org.apache.cocoon.www.otda_1.sitemap_xmap.process(C:\Program Files\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-files\org/apache/cocoon/www/otda_1\sitemap_xmap.java:634) at org.apache.cocoon.sitemap.Handler.process(Handler.java:222) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179) at org.apache.cocoon.www.sitemap_xmap.matchN109E1(C:\Program Files\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:12247) at org.apache.cocoon.www.sitemap_xmap.process(C:\Program Files\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:3870) at org.apache.cocoon.www.sitemap_xmap.process(C:\Program Files\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:3127) at org.apache.cocoon.sitemap.Handler.process(Handler.java:222) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179) at org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:154) at org.apache.cocoon.Cocoon.process(Cocoon.java:575) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:998) 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:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at
RE: C2/Solaris8/Jakarta 4.0.3
http://xml.apache.org/cocoon/installing/index.html Goto the section on installing cocoon in tomcat 4.03. Maybe you might have more luck with 4.04beta. Good Luck. Darrell -Original Message- From: Zack Angelo [mailto:[EMAIL PROTECTED]] Sent: May 30, 2002 1:37 PM To: [EMAIL PROTECTED] Subject: C2/Solaris8/Jakarta 4.0.3 I'm attempting to get C2 to run with Solaris 8, Jakarta 4.0.3 and JRE 1.3.1. I'm getting a class cast exception saying that org.apache.xerces.parsers.SAXParser does not implement XMLReader. I've copied the appropriate jars from the cocoon package into Jakarta/common/lib...Any ideas? -Zack - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Stored Procedure with input parameters using esql?
Why are you using NULL?? Does not seem to understand the NULL which is why you get the error. A better way would be to setup a default NULL argument for the PL/SQL and then you can call: {? = call get_person(?)} ..which Oracle will handle for you :) Naquin, Beth wrote: I want to execute a stored procedure that requires input parameters using the esql logicsheet, but am having difficulty. I can call stored procedures that take no inputs just fine. Is there a working example/samle code of how to do this? I could only find one brief example in the userdocs and it still does not make sense to me ;( I have this stored procedure: {? = call get_person(?,?,?,?)} The first 3 input parameters can accept NULL and the last one will be an actual value. I have this code using esql logicsheet: - esql:execute-query !-- Call Stored Procedure to retrieve person data-- esql:call needs-query=true {? = call get_person( esql:parameter direction=In type=Stringxsp:exprNULL/xsp:expr/esql:parameter, esql:parameter direction=In type=Stringxsp:exprNULL/xsp:expr/esql:parameter, esql:parameter direction=In type=Stringxsp:exprNULL/xsp:expr/esql:parameter, esql:parameter direction=In type=Stringxsp:expr'46465445'/xsp:expr/esql:parameter)} /esql:call ... stuff to process results /esql:execute-query - But I receive this error: type fatal message Exception in ServerPagesGenerator.generate() description org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Error executing prepared statement: {? = call get_person( ?, ?, ?, ?)} : java.sql.SQLException: JZ0SA: Prepared Statement: Input parameter not set, index: 1. sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet stack-trace org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Error executing prepared statement: {? = call get_person( ?, ?, ?, ?)} : java.sql.SQLException: JZ0SA: Prepared Statement: Input parameter not set, index: 1. at org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenerator.java:272) at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:251) at org.apache.cocoon.components.source.SitemapSource.toSAX(SitemapSource.java:351) at org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.java:148) at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:251) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:399) at org.apache.cocoon.www.otda_1.sitemap_xmap.matchN100FD(C:\Program Files\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-files\org/apache/cocoon/www/otda_1\sitemap_xmap.java:1344) at org.apache.cocoon.www.otda_1.sitemap_xmap.process(C:\Program Files\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-files\org/apache/cocoon/www/otda_1\sitemap_xmap.java:727) at org.apache.cocoon.www.otda_1.sitemap_xmap.process(C:\Program Files\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-files\org/apache/cocoon/www/otda_1\sitemap_xmap.java:634) at org.apache.cocoon.sitemap.Handler.process(Handler.java:222) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179) at org.apache.cocoon.www.sitemap_xmap.matchN109E1(C:\Program Files\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:12247) at org.apache.cocoon.www.sitemap_xmap.process(C:\Program Files\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:3870) at org.apache.cocoon.www.sitemap_xmap.process(C:\Program Files\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:3127) at org.apache.cocoon.sitemap.Handler.process(Handler.java:222) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179) at org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:154) at org.apache.cocoon.Cocoon.process(Cocoon.java:575) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:998) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
RE: Stored Procedure with input parameters using esql?
Title: RE: Stored Procedure with input parameters using esql? Thanks for the quick reply! but I am still confused :( The input arguments will eventually be user-entered data, but the user will only enter one of the four inputs, as they are mutually exclusive. (You could send data for all four to the stored procedure and it would work fine; but functionally it doesn't make sense.) Right now I am just trying to get it working by hard-coding a value for the last input, which is the most often supplied. The stored procedure is used for other things and works fine (also why I can't change it right now) ;) Also, even if I enter something other than NULL, I still get the same error. esql:execute-query !-- Call Stored Procedure to retrieve person data-- esql:call needs-query=true {? = call get_person( esql:parameter direction=In type=String'234'/esql:parameter, esql:parameter direction=In type=Stringxsp:expr'333'/xsp:expr/esql:parameter, esql:parameter direction=In type=Stringxsp:expr'333'/xsp:expr/esql:parameter, esql:parameter direction=In type=Stringxsp:expr'46465445'/xsp:expr/esql:parameter)} /esql:call Any ideas or example would be greatly appreciated !! Thx, Beth -Original Message- From: Paul Gilligan [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 2:33 PM To: [EMAIL PROTECTED] Subject: Re: Stored Procedure with input parameters using esql? Why are you using NULL?? Does not seem to understand the NULL which is why you get the error. A better way would be to setup a default NULL argument for the PL/SQL and then you can call: {? = call get_person(?)} ..which Oracle will handle for you :) Naquin, Beth wrote: I want to execute a stored procedure that requires input parameters using the esql logicsheet, but am having difficulty. I can call stored procedures that take no inputs just fine. Is there a working example/samle code of how to do this? I could only find one brief example in the userdocs and it still does not make sense to me ;( I have this stored procedure: {? = call get_person(?,?,?,?)} The first 3 input parameters can accept NULL and the last one will be an actual value. I have this code using esql logicsheet: - esql:execute-query !-- Call Stored Procedure to retrieve person data-- esql:call needs-query=true {? = call get_person( esql:parameter direction=In type=Stringxsp:exprNULL/xsp:expr/esql:parameter, esql:parameter direction=In type=Stringxsp:exprNULL/xsp:expr/esql:parameter, esql:parameter direction=In type=Stringxsp:exprNULL/xsp:expr/esql:parameter, esql:parameter direction=In type=Stringxsp:expr'46465445'/xsp:expr/esql:parameter)} /esql:call ... stuff to process results /esql:execute-query - But I receive this error: type fatal message Exception in ServerPagesGenerator.generate() description org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Error executing prepared statement: {? = call get_person( ?, ?, ?, ?)} : java.sql.SQLException: JZ0SA: Prepared Statement: Input parameter not set, index: 1. sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet stack-trace org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Error executing prepared statement: {? = call get_person( ?, ?, ?, ?)} : java.sql.SQLException: JZ0SA: Prepared Statement: Input parameter not set, index: 1. at org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenerator.java:272) at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:251) at org.apache.cocoon.components.source.SitemapSource.toSAX(SitemapSource.java:351) at org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.java:148) at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:251) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:399) at org.apache.cocoon.www.otda_1.sitemap_xmap.matchN100FD(C:\Program Files\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-files\org/apache/cocoon/www/otda_1\sitemap_xmap.java:1344) at org.apache.cocoon.www.otda_1.sitemap_xmap.process(C:\Program Files\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-files\org/apache/cocoon/www/otda_1\sitemap_xmap.java:727) at org.apache.cocoon.www.otda_1.sitemap_xmap.process(C:\Program Files\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-files\org/apache/cocoon/www/otda_1\sitemap_xmap.java:634) at org.apache.cocoon.sitemap.Handler.process(Handler.java:222) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179) at org.apache.cocoon.www.sitemap_xmap.matchN109E1(C:\Program Files\Apache Tomcat
Re: Stored Procedure with input parameters using esql?
Ok, Take this example: --- PROCEDURE create_dept ( new_dname VARCHAR2 DEFAULT 'TEMP', new_loc VARCHAR2 DEFAULT 'TEMP') IS BEGIN INSERT INTO dept VALUES (deptno_seq.NEXTVAL, new_dname, new_loc); ... END; --- Here note the keyword default in the definition of create_dept. so now we can call any one of these and Oracle will handle the default parameters in sequence. exec create_dept(); exec create_dept('ACCOUNTS'); exec create_dept('ACCOUNTS', 'PUTNEY'); So from the external calling language such as java you do not need the handle default conditions in the actual java code, let Oracle handle it at the database end. Paul Naquin, Beth wrote: Thanks for the quick reply! but I am still confused :( The input arguments will eventually be user-entered data, but the user will only enter one of the four inputs, as they are mutually exclusive. (You could send data for all four to the stored procedure and it would work fine; but functionally it doesn't make sense.) Right now I am just trying to get it working by hard-coding a value for the last input, which is the most often supplied. The stored procedure is used for other things and works fine (also why I can't change it right now) ;) Also, even if I enter something other than NULL, I still get the same error. esql:execute-query !-- Call Stored Procedure to retrieve person data-- esql:call needs-query=true {? = call get_person( esql:parameter direction=In type=String'234'/esql:parameter, esql:parameter direction=In type=Stringxsp:expr'333'/xsp:expr/esql:parameter, esql:parameter direction=In type=Stringxsp:expr'333'/xsp:expr/esql:parameter, esql:parameter direction=In type=Stringxsp:expr'46465445'/xsp:expr/esql:parameter)} /esql:call Any ideas or example would be greatly appreciated !! Thx, Beth -Original Message- From: Paul Gilligan [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 2:33 PM To: [EMAIL PROTECTED] Subject: Re: Stored Procedure with input parameters using esql? Why are you using NULL?? Does not seem to understand the NULL which is why you get the error. A better way would be to setup a default NULL argument for the PL/SQL and then you can call: {? = call get_person(?)} ..which Oracle will handle for you :) Naquin, Beth wrote: I want to execute a stored procedure that requires input parameters using the esql logicsheet, but am having difficulty. I can call stored procedures that take no inputs just fine. Is there a working example/samle code of how to do this? I could only find one brief example in the userdocs and it still does not make sense to me ;( I have this stored procedure: {? = call get_person(?,?,?,?)} The first 3 input parameters can accept NULL and the last one will be an actual value. I have this code using esql logicsheet: - esql:execute-query !-- Call Stored Procedure to retrieve person data-- esql:call needs-query=true {? = call get_person( esql:parameter direction=In type=Stringxsp:exprNULL/xsp:expr/esql:parameter, esql:parameter direction=In type=Stringxsp:exprNULL/xsp:expr/esql:parameter, esql:parameter direction=In type=Stringxsp:exprNULL/xsp:expr/esql:parameter, esql:parameter direction=In type=Stringxsp:expr'46465445'/xsp:expr/esql:parameter)} /esql:call ... stuff to process results /esql:execute-query - But I receive this error: type fatal message Exception in ServerPagesGenerator.generate() description org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Error executing prepared statement: {? = call get_person( ?, ?, ?, ?)} : java.sql.SQLException: JZ0SA: Prepared Statement: Input parameter not set, index: 1. sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet stack-trace org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Error executing prepared statement: {? = call get_person( ?, ?, ?, ?)} : java.sql.SQLException: JZ0SA: Prepared Statement: Input parameter not set, index: 1. at org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenerator.java:272) at
RE: Stored Procedure with input parameters using esql?
Title: RE: Stored Procedure with input parameters using esql? You were right in works well ;) This also works: esql:execute-query !-- Call Stored Procedure to retrieve person data-- esql:call needs-query=true {call get_person(NULL,NULL,NULL,'xsp-request:get-parameter name=xlpin/')} /esql:call Thanks!! -Original Message- From: Paul Gilligan [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 3:27 PM To: [EMAIL PROTECTED] Subject: Re: Stored Procedure with input parameters using esql? That could make sense... my eyes are not that good ! Faulkner, Perry wrote: Hi Beth, Just a quick look at the esql stylesheet seems to indicate direction=in not In. XML is case-sensitive! HTH Perry -Original Message- From: Naquin, Beth [mailto:[EMAIL PROTECTED]] Sent: Friday, 31 May 2002 7:27 To: '[EMAIL PROTECTED]' Subject: Stored Procedure with input parameters using esql? I want to execute a stored procedure that requires input parameters using the esql logicsheet, but am having difficulty. I can call stored procedures that take no inputs just fine. Is there a working example/samle code of how to do this? I could only find one brief example in the userdocs and it still does not make sense to me ;( I have this stored procedure: {? = call get_person(?,?,?,?)} The first 3 input parameters can accept NULL and the last one will be an actual value. I have this code using esql logicsheet: - esql:execute-query !-- Call Stored Procedure to retrieve person data-- esql:call needs-query=true {? = call get_person( esql:parameter direction=In type=Stringxsp:exprNULL/xsp:expr/esql:parameter, esql:parameter direction=In type=Stringxsp:exprNULL/xsp:expr/esql:parameter, esql:parameter direction=In type=Stringxsp:exprNULL/xsp:expr/esql:parameter, esql:parameter direction=In type=Stringxsp:expr'46465445'/xsp:expr/esql:parameter)} /esql:call ... stuff to process results /esql:execute-query - But I receive this error: type fatal message Exception in ServerPagesGenerator.generate() description org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Error executing prepared statement: {? = call get_person( ?, ?, ?, ?)} : java.sql.SQLException: JZ0SA: Prepared Statement: Input parameter not set, index: 1. sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet stack-trace org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Error executing prepared statement: {? = call get_person( ?, ?, ?, ?)} : java.sql.SQLException: JZ0SA: Prepared Statement: Input parameter not set, index: 1. at org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenerator.java:272) at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:251) at org.apache.cocoon.components.source.SitemapSource.toSAX(SitemapSource.java:351) at org.apache.cocoon.sitemap.ContentAggregator.generate(ContentAggregator.java:148) at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:251) at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:399) at org.apache.cocoon.www.otda_1.sitemap_xmap.matchN100FD(C:\Program Files\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-files\org/apache/cocoon/www/otda_1\sitemap_xmap.java:1344) at org.apache.cocoon.www.otda_1.sitemap_xmap.process(C:\Program Files\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-files\org/apache/cocoon/www/otda_1\sitemap_xmap.java:727) at org.apache.cocoon.www.otda_1.sitemap_xmap.process(C:\Program Files\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-files\org/apache/cocoon/www/otda_1\sitemap_xmap.java:634) at org.apache.cocoon.sitemap.Handler.process(Handler.java:222) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179) at org.apache.cocoon.www.sitemap_xmap.matchN109E1(C:\Program Files\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:12247) at org.apache.cocoon.www.sitemap_xmap.process(C:\Program Files\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:3870) at org.apache.cocoon.www.sitemap_xmap.process(C:\Program Files\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:3127) at org.apache.cocoon.sitemap.Handler.process(Handler.java:222) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179) at org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:154) at org.apache.cocoon.Cocoon.process(Cocoon.java:575) at
RE: Stored Procedure with input parameters using esql?
Title: RE: Stored Procedure with input parameters using esql? You were right in works well ;) This also worked for me: -- esql:execute-query !-- Call Stored Procedure to retrieve person data-- esql:call needs-query=true {call get_person(NULL,NULL,NULL,'xsp-request:get-parameter name=xlpin/')} /esql:call -- Thanks!! -Original Message- From: Faulkner, Perry [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 30, 2002 3:23 PM To: '[EMAIL PROTECTED]' Subject: RE: Stored Procedure with input parameters using esql? Hi Beth, Just a quick look at the esql stylesheet seems to indicate direction=in not In. XML is case-sensitive! HTH Perry
Impact of number of XLM files versus file size; Performance;
Hi while designing an application and learning to understand the concept of Cocoon2 we have following design issue which I want to ask you for some help and/or advice from your experience or development knowledge: I have a XML file with 2000 elements, each element has about 10 attributes plus values, it is around 2MB of size. We want to do some XSL transformation and serialize it to HTML for the browser. From the application logic point of view we could split the 1 XML file into 2 files, each around 800k of relevant data or we could create from this one file 1000 files each containing a set of parent and child, each of this smaller files is between 1k and 40k. In which direction should we design our system to get the best performance when accessing the XML files. I know it depends on what you do with XSL, but is there a general direction with Cocoon2 to go: access the data using 1 big XML file or work/access the data using smaller XML files. Thanks Thomas Ruth [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Another Live Site
Hi, I worked at www.workthing.com until about 6 months ago and they use cocoon 1.7.4. Paul This E-Mail is intended only for the addressee. Its use is limited to that intended by the author at the time and it is not to be distributed without the author's consent. Unless otherwise stated, the State of Queensland accepts no liability for the contents of this E-Mail except where subsequently confirmed in writing. The opinions expressed in this E-Mail are those of the author and do not necessarily represent the views of the State of Queensland. This E-Mail is confidential and may be subject to a claim of legal privilege. If you have received this E-Mail in error, please notify the author and delete this message immediately. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]