RE: ERROR 10257 Please specify at least one starting URI -- cocoon 2.0.2
Where are you typing run? You should not start Cocoon yourself, you should place the cocoon.war file in your tomcat 'webapps' directory and start Tomcat (or, in your case: Apache). When you access you webserver via a browser (http://server:port/cocoon), Cocoon is automagically unpacked (this might take a while) and you should see the welcome pages. I can only assume you are trying to run the command-line version. You can use this if you want a static version of you website. You have to provide a starting URI and the command will crawl through the website and get all pages into a separate directory. Please be clear as to what you are trying to do: 1) run Cocoon on you webserver to build dynamical, XML-based web-applications (*alert* marketing talk) 2) run Cocoon from the command-line to generate a static version of your Cocoon-site K. -Oorspronkelijk bericht- Van: Fabian Gaul [mailto:[EMAIL PROTECTED]] Verzonden: donderdag 4 juli 2002 10:11 Aan: '[EMAIL PROTECTED]' Onderwerp: ERROR 10257 Please specify at least one starting URI -- cocoon 2.0.2 Hi ! I have a problem: I have installed Cocoon 2.0.2 on Apache Tomcat 4.0.4 and Apache Webserver 2.0.36. the cocoon installation is complete...cocoon.war, sendmail,I have installed everything what the instruction says. but when I type run to run cocoon, it shows me the error: ERROR 10257 Please specify at least one starting URI any ideas ??? - 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]
NullPointerException during xsl transformation
Hi, i'm trying to use a xsl generated by cocoon to transform an xml file to an html one : map:match pattern=**/*.htm map:aggregate element=pageData map:part src=xml/{1}/site.xml/ map:part src=xml/{1}/{2}.xml/ /map:aggregate map:transform src=cocoon:/en/input.xsl/ map:serialize/ /map:match map:match pattern=**/*.xsl map:generate src=xsl/{2}.xsl/ map:serialize type=xml/ /map:match Is this supposed to be allowed? When i try to connect to browse my page (localhost:8080/myapp/en/index.htm), I receive a NullPointerException If i replace map:transform src=cocoon:/en/input.xsl/ with map:transform src=http://localhost:8080/myapp/en/input.xsl; It works fine I'm working with a cocoon 2.1 dev version that I updated 2 or 3 days ago. here is the Exception StackTrace java.lang.NullPointerException at org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline.setupPi peline(CachingProcessingPipeline.java:550) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(Abs tractProcessingPipeline.java:493) at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(Seri alizeNode.java:142) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:83) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok e(PreparableMatchNode.java:160) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:107) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel ineNode.java:157) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:107) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe linesNode.java:152) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess or.java:327) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess or.java:309) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNod e.java:131) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:83) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invok e(PreparableMatchNode.java:160) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:107) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(Pipel ineNode.java:157) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invo keNodes(AbstractParentProcessingNode.java:107) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(Pipe linesNode.java:152) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess or.java:327) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess or.java:309) at org.apache.cocoon.Cocoon.process(Cocoon.java:585) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:999) at javax.servlet.http.HttpServlet.service(HttpServlet.java) 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:190) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 46) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 64) 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.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 ) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 66) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. java:170) at
macromedia flash actionscript integration of xml.sendAndLoad() with cocoon2
hi there has sombody done this before? I'd like to send an xml-string to the server and update some database records. as I'm a newbie to cocoon I would be happy to have a some working example. thx. kind regards dan - 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: Feature of esql:get-xml?
Diana Shannon wrote: On Friday, July 5, 2002, at 07:04 AM, Christian Haul wrote: ok, I started to write a little docu on the usage of hsqldb and esql: http://194.191.122.220:8080/wyona-cms/docs/xdocs/hsqldb.html Maybe people from Cocoon can use certain parts of it if they want Thanks! Just let us know when you think it's more or less finished, and we'll add it to the Cocoon documentation. Submit a patch via Bugzilla. Check the How-Tos if you don't know how. Post to the list if you have any problems submitting. ok, I will do that. If people have some input with regard to content, just let me know. Michael Thanks. Diana - 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]
including dynamic data with XMLForm
Hi All, I'm trying to create a page where a multi-select list has options that are populated from a database. What is not immediately clear to me is how I can create an XMLForm page where the list contents are dynamically generated. Any clues? -Andy -- http://www.superlinksoftware.com - software solutions for business http://jakarta.apache.org/poi - Excel/Word/OLE 2 Compound Document in Java http://krysalis.sourceforge.net/centipede - the best build/project structure a guy/gal could have! - Make Ant simple on complex Projects! The avalanche has already started. It is too late for the pebbles to vote. -Ambassador Kosh - 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: including dynamic data with XMLForm
One option is to use the XInclude transformer. Say you have xf:selectMany ref=/role selectUIType='listbox' xf:captionProfessional roles/xf:caption xf:item xf:captionGeek/xf:caption xf:valueGeek/xf:value /xf:item xf:item xf:captionHacker/xf:caption xf:valueHacker/xf:value /xf:item /xf:selectMany Now you can replace the items section with an xinlude section. xf:selectMany ref=/role selectUIType='listbox' xi:include href=myresources/dynamicRolesList.xml/ /xf:selectMany Where dynamicRolesList.xml can be any resolvable resource (not just an xml file). You would probably use an internal sitemap resource to generate the xml from the db. The sitemap ordering is important. XIncludeTransformer has to come before the XMLFormTransformer. ... map:transform type=xinclude/ map:transform type=xmlform/ ... If this satisfies your response, prefix your reply with SUMMARY, so that the doc team can include it in the FAQ. Ivelin - Original Message - From: Andrew C. Oliver [EMAIL PROTECTED] To: cocoon users [EMAIL PROTECTED] Sent: Saturday, July 06, 2002 2:55 PM Subject: including dynamic data with XMLForm Hi All, I'm trying to create a page where a multi-select list has options that are populated from a database. What is not immediately clear to me is how I can create an XMLForm page where the list contents are dynamically generated. Any clues? -Andy -- http://www.superlinksoftware.com - software solutions for business http://jakarta.apache.org/poi - Excel/Word/OLE 2 Compound Document in Java http://krysalis.sourceforge.net/centipede - the best build/project structure a guy/gal could have! - Make Ant simple on complex Projects! The avalanche has already started. It is too late for the pebbles to vote. -Ambassador Kosh - 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]