cocoon-block-deployment

2010-04-13 Thread Mathias Reem
Hi I want to use version 1.2.0 of cocoon-servlet-service-impl, because of the NPE fix that was added to that version. As c-s-s-i depends on cocoon-jnet (1.1.0) I've also added that jar to my libs. But now I've got the problem, that my Application won't start anymore, I get a MUE: Invocation of in

Cocoon 2.2 error handlers

2009-04-28 Thread Mathias Reem
Hi I've got a problem with the error handling in cocoon 2.2. If a file can not be found I would like to present a custom errorpage to the user, but also give him the 404 error code. I do get the custom error page, but error code is not 404 but 200. :-( My sitemap.xmpa looks like: ...

Re: Checking if resource "type" exists

2009-03-18 Thread Mathias Reem
Hi > 1 - I could compile the class you send to me. 2 - Now I don“t > understand how can I send the parameter to which. I try in the > block-servlet-service.xml of one of my blocks The ResourceExistsSelector must be used in your sitemap.xmap. Have a look at http://cocoon.apache.org/2.1/userdocs/re

Checking if resource "type" exists

2009-03-16 Thread Mathias Reem
Hi I've been searching for a while for a way to not just determine whether a resource exists but also if the resource has a specific type (dir, file, hidden). As I could not find anything, I wanted to extend the default ResourceExistsSelector, but as all of its members are private without any get

sitemap and application configuration

2009-03-05 Thread Mathias Reem
Hi we are using commons-configuration to configure our application at runtime. Therefore I registered a XMLConfiguration as an bean in /WEB-INF/applicationContext.xml ... app.cfg.xml ... After a little research I found out, that I can access my bean via: wac =

Re: generating text output

2009-02-26 Thread Mathias Reem
Hi > However, you haven't specified any namespace prefix in the match > attribute, so it will only match a publication element with no > namespace (despite the default namespace you set in the XSL file) > while the element in your source document has a namespace. As a > result, the default te

generating text output

2009-02-26 Thread Mathias Reem
Hi I've got information about publications as a XML Input. And want to generate bibtex output, therefore I use the following pipeline: I want to generate the output as shown in out.txt, but only get the following output: foobar All the other is missing. Can someone give me a hint howto gene

war update doesn't update COB-INF

2009-02-07 Thread Mathias Reem
Hi I'm using Cocoon 2.2 and Tomcat 6.0.18. I've got a little test-block. That I put into test-block.jar, This test-block.jar is then part of my test.war. When I replace a running test.war with a new one, all the files in /var/lib/tomcat6/webapps/test get updated, but the files in /var/cache/tomca

Re: sitemap parameters

2009-02-06 Thread Mathias Reem
Hi > Small demo had some spare time ;-) Awesome. Thanks a lot. Mathias - To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org For additional commands, e-mail: users-h...@cocoon.apache.org

Re: sitemap parameters

2009-02-05 Thread Mathias Reem
Hi > Uh. LastModified of what?? Could you be more elaborate? Can you > explain the usecase a bit more? Sorry. We use xml files (and database entries in the future) that are converted by cocoon to html. The generated page must show when it as last changed. So for the start I would want to use

Re: sitemap parameters

2009-02-05 Thread Mathias Reem
Hi > http://wiki.apache.org/cocoon/InputModules Thanks a lot. That was exactly what I was searching for. I was looking through the other InputModules as well, but could not find a InputModule that would give me something like "LastModified". Is there such an Module? thx again Mathias -

sitemap parameters

2009-02-05 Thread Mathias Reem
Hi I want to add W3C validation links into the generated documents, therefore I would pass the request url as an parameter to the xsl transformation that generates the document. My problem is, I can not find any documentation on which "variables" are available in the sitemap, or how I can obtain

calling pipelines from program

2009-01-12 Thread Mathias Reem
Hi I've got several pipelines that I use to retrieve and repair xml data. For example: src="http://192.168.0.145/persons&show=all"/> src="resource/internal/filter/repair_xml.xslt"/> src="resource/internal/filter/person.xslt"/> I use JAXB to parse the output of these pi

Re: Using cocoon pipeline for import

2009-01-06 Thread Mathias Reem
Hi Jasha you won't have to write your own serializer but you can use the SQLtransformer. Thx. I had seen the SQLtransformer but thought, that it's intended to add data (from a DB) to a XML document. And doesn't each "match-block" in a pipeline need a sink (Serializer), for all the SAX Events

Using cocoon pipeline for import

2009-01-06 Thread Mathias Reem
Hi I've got to fetch some XML data from an external webserver, preprocess it - using XSLT - and store the result in our database. At the moment this is done by a shellscript. As this shall now be integrated to our application, I was wandering if using a cocoon pipeline for this task would be

Re: cocoon 2.2 tutorial won't work with tomcat5.5

2009-01-06 Thread Mathias Reem
Hi Benjamin I remember some colleague of mine once had some problems deploying a cocoon application on Tomcat 5.5, I am not sure about the exact error and solution but he was able to quickly fix it after he enabled some more logging options on tomcat as described at [1]. Can't find any error o

cocoon 2.2 tutorial won't work with tomcat5.5

2009-01-03 Thread Mathias Reem
Hi I have to port an existing cocoon application to the new cocoon 2.2 framework. As I'm relatively new to cocoon, I wanted to try out the tutorials first. I've followed the instructions of: http://cocoon.apache.org/2.2/1159_1_1.html http://cocoon.apache.org/2.2/1362_1_1.html As long as I us