Re: new to cocoon... trouble creating sandbox
have u edit your sitemap? can you send the part of your sitemap with the refence to this resource? stavros On Fri, 20 Dec 2002, J. Norment wrote: Running XP/Tomcat 4.1.18/cocoon 2.0.4 ... Tried to create webapps/cocoon-dev by copying webapps/cocoon to webapps/cocoon-dev and copying sitemap.xmap and WEB-INF. ( Doing this at the suggestion of a tutorial. ) put helloworld.xml and helloworld.xsp into cocoon-dev/tutorial. localhost/cocoon-dev/helloworld.xml produces an error: resource-not-found cocoon-dev/helloworld.xml . Can you tell from that information what I'm doing incorrectly? Thanks. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: I cant get the latest nightly download to work
i have the same problem solved by the following instruction from geof howard Copy xalan*.jar, xerces*.jar and xml-apis.jar from WEB-INF\lib (or from lib\core in cvs) to %TOMCAT_HOME%\common\endorsed The docs at one point only mentioned %JAVA_HOME%\jre\lib\endorsed but later tomcat versions use -Djava.endorsed.dirs to override the standard jdk defined location. stavros On Fri, 20 Dec 2002, aps olute wrote: I just downloaded xml-cocoon2_20021220172546.tar.gz, extracted it and did per the instructions to compile and no errors : ./build.sh -Dinclude.webapp.libs=yes -Dinstall.war=$TOMCAT_ HOME/webapps webapp Did above twice and copied build/cocoon/cocoon.war to $TOMCAT_HOME/webapps/ typed http://localhost:8080/cocoon and got an 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.CascadingIOException: org.apache.xml.utils.WrappedRuntimeException: The output format must have a '{http://xml.apache.org/xslt}content-handler' property!: org.apache.xml.utils.WrappedRuntimeException: The output format must have a '{http://xml.apache.org/xslt}content-handler' property! ...more errors __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.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/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Lucene - elements stored in the index
On Friday, Dec 20, 2002, at 07:32 Europe/London, Sebastian Gil wrote: I've problem with storing elements in the lucene search index. I'm using create-index.xsp from cocoon/search example for indexing and SearchGenerator for featching results. I've modified lines in cocoon.xconf lucene-xml-indexer logger=core.search.lucene store-fieldsheader/store-fields /lucene-xml-indexer This is only implemented in the HEAD branch. You will have to use Cocoon 2.1 regards Jeremy - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
pipeline parameter forward is it possible?
what i have to do: i have content.xml i can call this file using 2 parameters /content.xml?lang=GR /content.xml?lang=EN the problem is that i dont call this resource directly but through a pipeline map:resources map:resource name=buildsite map:aggregate element=site map:part src=menu.xml/ map:part src=content.xml/ /map:aggregate map:serialize type=xml/ /map:resource /map:resources map:pipeline map:match pattern=site map:call resource=buildsite/ /map:match /map:pipeline THE question: how can i call http://./site?lang=GR and then into the sitemap pass this [lang=GR] to map:resource any idea? thnx stavros - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Reading session values - last char lost !
Hi. I built the xsp-session:getxml. The tag does not cut any chars. Then I think the problem can be in other part of the code. Maybe not your code. Antonio Gallardo. sandhu@terra-firma dijo: Hi all , We are using the authentication f/w for sessions and same works fine except for wierd problem of Last char of retrieved value being cut off as below : In one case , the foll values inserted into a code tag as : authentication data customers codejhn/code codebtx/code codepkt/code /customers /data /authentication For retrieving these session values in an action (since we use aggregate and xsp-session:getxml / does not work in aggregated pipes) we use org.w3c.dom.node.getNodeValue() to put session values into comma delimited string : the problem is one value retrieved is always cut off : jhn,bt,pkt when it should : jhn,btx,pkt the LAST character of the SECOND VALUE IS ALWAYS LOST . In another case of a single session value again the LAST CHARACTER is lost. Any pointers will be greatly appreciated. B.rgds, Sandhu - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.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/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: newbie trying samples from: Cocoon: Building XML Apps...
Hi Ray - I hope your other book is mine Jeremy's - Cocoon Developer's Handbook ;) The easiest configuration I've found is Tomcat 4.0.5 or greater, with JDK 1.3.x. I have been able to drop Cocoon 2.0.3/2.0.4 into Tomcat 4.0.5/4.0.6/4.1.12 without any problems. Just note that if you build 2.0.4 yourself, be sure in include the scratchpad libs. Regards, Lajos Ray Tayek wrote: hi, newbie here trying to run the samples from the above book on linux. dropped the war in to tomcat 4.0.1. with jdk1.4.1 and things went downhill fast. finaly gave up and installed 1.3.1_03 and the tomcat off the book's cd. (3.3.? final or something like that). (that's what the book says to do). has anyone made the sample work? if so, what versions of jdk and tomcat were you using? what versions of tomcat, jdk and jdkee would you recommend in general? (i have another cocoon book coming or i can roll my own samples or use the one that come with the download?. what is the easiest path to get started? thanks --- ray tayek http://home.attbi.com/~rtayek/ actively seeking mentoring or telecommuting work vice chair orange county java users group http://www.ocjug.org/ mailto:[EMAIL PROTECTED] hate spam? http://samspade.org/ssw/ - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- galatea.com Cocoon training, consulting support - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: xml form How to-Sitemap
I finally got the XMLForm howto- to work. If you compare the components on the sitemap.xmap the wizard vs howto uses different logger ( logger=xmlform.sitemap.action.wizard/ ) vs (logger=webapp.xmlform/ ). I have not dig enuff to find the differences of the two. Hopefully the author would chime in and tell us the differences of the two loggers. The components on mine have these now: map:action name=WizardAction src=org.apache.cocoon.samples.xml form.WizardAction logger=xmlform.sitemap.action.wizard/ map:action name=HowtoWizardAction src=org.apache.cocoon.sample s.xmlform.howto.HowtoWizardAction logger=webapp.xmlform/ map:action name=UsageFeedbackAction src=org.apache.cocoon.samp les.xmlform.UsageFeedbackAction logger=xmlform.sitemap.action.UsageFeedback/ map:generators default=file/ map:transformers default=xslt map:transformer name=xmlform src=org.apache.cocoon.transformation.XMLFormTransformer logger=webapp.xmlform/ /map:transformers map:readers default=resource/ map:serializers default=html/ map:selectors default=browser/ map:matchers default=wildcard map:matcher name=wildcard src=org.apache.cocoon.matching.WildcardURIMatcher/ /map:matchers aps __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: xml form How to-Sitemap
Hmm I spoke too soon, it was getting in an endless loop once I select all the 3 checkboxes at Mailing List, checking only last one or two boxes, got me to the finish. weird output display depending on kde browser or ns4.7. --- aps olute [EMAIL PROTECTED] wrote: I finally got the XMLForm howto- to work. If you compare the components on the sitemap.xmap the wizard vs howto uses different logger ( logger=xmlform.sitemap.action.wizard/ ) vs (logger=webapp.xmlform/ ). I have not dig enuff to find the differences of the two. Hopefully the author would chime in and tell us the differences of the two loggers. The components on mine have these now: map:action name=WizardAction src=org.apache.cocoon.samples.xml form.WizardAction logger=xmlform.sitemap.action.wizard/ map:action name=HowtoWizardAction src=org.apache.cocoon.sample s.xmlform.howto.HowtoWizardAction logger=webapp.xmlform/ map:action name=UsageFeedbackAction src=org.apache.cocoon.samp les.xmlform.UsageFeedbackAction logger=xmlform.sitemap.action.UsageFeedback/ map:generators default=file/ map:transformers default=xslt map:transformer name=xmlform src=org.apache.cocoon.transformation.XMLFormTransformer logger=webapp.xmlform/ /map:transformers map:readers default=resource/ map:serializers default=html/ map:selectors default=browser/ map:matchers default=wildcard map:matcher name=wildcard src=org.apache.cocoon.matching.WildcardURIMatcher/ /map:matchers aps __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: newbie trying samples from: Cocoon: Building XML Apps...
At 11:28 AM 12/21/02 -0700, you wrote: Hi Ray - I hope your other book is mine Jeremy's - Cocoon Developer's Handbook ;) no, but yours (and another are on the way from amazon). thanks to all of you who wrote these, they make learning new stuff like cocoon *much* easier. The easiest configuration I've found is Tomcat 4.0.5 or greater, with JDK 1.3.x. I have been able to drop Cocoon 2.0.3/2.0.4 into Tomcat 4.0.5/4.0.6/4.1.12 without any problems. Just note that if you build 2.0.4 yourself, be sure in include the scratchpad libs. ok, will give it a try. thanks Ray Tayek wrote: hi, newbie here trying to run the samples from the above book on linux. dropped the war in to tomcat 4.0.1. with jdk1.4.1 and things went downhill fast. finaly gave up and installed 1.3.1_03 and the tomcat off the book's cd. (3.3.? final or something like that). (that's what the book says to do). has anyone made the sample work? if so, what versions of jdk and tomcat were you using? what versions of tomcat, jdk and jdkee would you recommend in general? (i have another cocoon book coming or i can roll my own samples or use the one that come with the download?. what is the easiest path to get started? ... --- ray tayek http://home.attbi.com/~rtayek/ actively seeking mentoring or telecommuting work vice chair orange county java users group http://www.ocjug.org/ mailto:[EMAIL PROTECTED] hate spam? http://samspade.org/ssw/ - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: newbie trying samples from: Cocoon: Building XML Apps...
At 10:46 AM 12/21/02 -0800, you wrote: I've use the latest version of Jetty without any issues so far. It does not require any funky copying of xml*.jars anywhere as they are loaded as application specific resources by default in the case of cocoon. i am used to tomcat. i may give jetty a try if all else fails. thanks On Saturday, December 21, 2002, at 10:28 AM, Lajos Moczar wrote: Hi Ray - I hope your other book is mine Jeremy's - Cocoon Developer's Handbook ;) The easiest configuration I've found is Tomcat 4.0.5 or greater, with JDK 1.3.x. I have been able to drop Cocoon 2.0.3/2.0.4 into Tomcat 4.0.5/4.0.6/4.1.12 without any problems. Just note that if you build 2.0.4 yourself, be sure in include the scratchpad libs. ... Ray Tayek wrote: hi, newbie here trying to run the samples from the above book on linux. dropped the war in to tomcat 4.0.1. with jdk1.4.1 and things went downhill fast. finaly gave up and installed 1.3.1_03 and the tomcat off the book's cd. (3.3.? final or something like that). (that's what the book says to do). has anyone made the sample work? if so, what versions of jdk and tomcat were you using? what versions of tomcat, jdk and jdkee would you recommend in general? (i have another cocoon book coming or i can roll my own samples or use the one that come with the download?. what is the easiest path to get started? ... --- ray tayek http://home.attbi.com/~rtayek/ actively seeking mentoring or telecommuting work vice chair orange county java users group http://www.ocjug.org/ mailto:[EMAIL PROTECTED] hate spam? http://samspade.org/ssw/ - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: xml form How to-Sitemap
Please use the demo as basis for your new app. Don't try to use the HOW-TO. It has a few config flaws, which hopefully someone is going to submit a patch for. - Original Message - From: aps olute [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, December 21, 2002 2:01 PM Subject: Re: xml form How to-Sitemap Hmm I spoke too soon, it was getting in an endless loop once I select all the 3 checkboxes at Mailing List, checking only last one or two boxes, got me to the finish. weird output display depending on kde browser or ns4.7. --- aps olute [EMAIL PROTECTED] wrote: I finally got the XMLForm howto- to work. If you compare the components on the sitemap.xmap the wizard vs howto uses different logger ( logger=xmlform.sitemap.action.wizard/ ) vs (logger=webapp.xmlform/ ). I have not dig enuff to find the differences of the two. Hopefully the author would chime in and tell us the differences of the two loggers. The components on mine have these now: map:action name=WizardAction src=org.apache.cocoon.samples.xml form.WizardAction logger=xmlform.sitemap.action.wizard/ map:action name=HowtoWizardAction src=org.apache.cocoon.sample s.xmlform.howto.HowtoWizardAction logger=webapp.xmlform/ map:action name=UsageFeedbackAction src=org.apache.cocoon.samp les.xmlform.UsageFeedbackAction logger=xmlform.sitemap.action.UsageFeedback/ map:generators default=file/ map:transformers default=xslt map:transformer name=xmlform src=org.apache.cocoon.transformation.XMLFormTransformer logger=webapp.xmlform/ /map:transformers map:readers default=resource/ map:serializers default=html/ map:selectors default=browser/ map:matchers default=wildcard map:matcher name=wildcard src=org.apache.cocoon.matching.WildcardURIMatcher/ /map:matchers aps __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.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/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Problem in running XForm samples
did you mistype a map:act as act? -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von poornima ponnuswamy Gesendet: Donnerstag, 19. Dezember 2002 05:11 An: [EMAIL PROTECTED] Betreff: Problem in running XForm samples I am using cocoon2.1, Apache tomcat 4.1 and I am able to get into http://localhost:8080/cocoon/samples/welcome but when I get into xml form samples I get the following error The org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode notifies that org.apache.cocoon.ProcessingException says: Failed to load sitemap from file:/C:/jakarta-tomcat-4.1.17-LE-jdk14/webapps/cocoon/samples/xmlform/sitem ap.xmap More precisely: org.apache.cocoon.ProcessingException: Failed to load sitemap from file:/C:/jakarta-tomcat-4.1.17-LE-jdk14/webapps/cocoon/samples/xmlform/sitem ap.xmap: org.apache.avalon.framework.configuration.ConfigurationException: Cannot get component selector for 'act' at file:/C:/jakarta-tomcat-4.1.17-LE-jdk14/webapps/cocoon/samples/xmlform/sitem ap.xmap:57:38 original message java.lang.ClassNotFoundException: org.apache.cocoon.samples.xmlform.WizardAction Can anyone help me with it. I was able to do in earler version of cvs but not now. Thanks poornima __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.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/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: run a Cocoon web application from CD-ROM?
as you said yourself, you set the logging level to ERROR, so you still get errors. you could set the level higher, but then you would get the respective messages. but I think you could just remove all the configured log targets. -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Jakob Gesendet: Donnerstag, 19. Dezember 2002 18:15 An: [EMAIL PROTECTED] Betreff: run a Cocoon web application from CD-ROM? Hi, I am trying to run a Cocoon web application from CD-ROM. The webapp consists of Jetty (another servlet container), Cocoon, and an XML database, eXist. I would like to disable *all*logging*; obviously I do not want to write to a log file, as I don't know what OS it will be run (so I can't take a C:\temp or /tmp directory for granted), and I don't want anything output to the console. I have looked into web.xml, cocoon.xconf, logkit.xconf, sitemap.xmap, and have tried to disable logging, by setting values to ERROR, and removing the logger attributes in the sitemap ... But still, there are loads of errors sent to the console ... Thanks for any pointers, -- Jakob. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.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/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Build ERROR last cocoon2 CVS
hi stavros, I don't know line 1039 of your build file, but something in there seems to refer to a local path (the path shown in the error message). and as the exception says, it's a malformed URL. the correct one would start like file://c:/Documents... -Ursprungliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Cocoon User Gesendet: Dienstag, 17. Dezember 2002 18:34 An: [EMAIL PROTECTED] Betreff: Build ERROR last cocoon2 CVS error msg: BUILD FAILED file:C:/Documents and Settings/root/My Documents/CVS/cocoon/xml-cocoon2/build.xml:1039: IOException: java.net.MalformedURLException: unknown protocol: c system: windows XP j2sdk1.4.1_01 any idea to solve this problem? thnx Stavros Kounis - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.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/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [Question] Re: cocoon-session management.
See the WebServiceProxyGenerator: http://outerthought.net/wiki/Wiki.jsp?page=WebServiceProxyGenerator -Original Message- From: Emmanuil Batsis (Manos) [mailto:[EMAIL PROTECTED]] Sent: Saturday, 21 December 2002 00:24 To: [EMAIL PROTECTED] Subject: Re: [Question] Re: cocoon-session management. SAXESS - Hussayn Dabbous wrote: Maybe HTTPClient supports proxy functionalities? That may help getting things done... I agree that the ideal situation is the ability to forward cookies between the remote application and the real client (i.e. a browser requesting from Cocoon) and vice versa. Additionally, those cookies should be readable *and* modifyable by logic inside Cocoon. If you are interested, we can get into a discussion. Maybe we should wait until our preliminary results are available? Unfortunatelly I just started with HttpClient and haven't found any related functionality in the documentation. I posted a question on commons-users (see [1]). Let's wait a bit and see what happens :-) [1] http://marc.theaimsgroup.com/?l=jakarta-commons-userm=104038254206245w=2 Manos - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]