Tag Archives: cocoon
Using JavaRebel with Cocoon
Normally, the cocoon-maven-plugin includes a reloading classloader, so that changes to class files are automatically picked up when do mvn jetty:run. Just hit refresh and your changes get picked up. It’s just like working in PHP. This is OK, but … Continue reading
Cocoon Settings
I’ve been looking quite extensively at the cocoon-spring-configurator, trying to work out how to make it fit into our preferred java webapp config scheme: context-params. By default, cocoon-spring-configurator just reads Properties files. The complete list of property files that cocoon-spring-configurator … Continue reading
Cocoon sitemap variables
Whilst dragging myself through an issue for a client last night, I found another cocoon feature I wasn’t aware of: sitemap variables. Of course, I’d seen Input Modules before, in fact I’ve written one. They’re nice and simple and look … Continue reading
Sitemap components in Cocoon 2.2
For the cocoon 2.1 project I did last year, I wrote a few components in Java (mostly Generators and one InputModule). It’s a bit of a pain because it’s built on the out-of-date and intrusive avalon framework. Anyway the end … Continue reading
Logging in Cocoon 2.2
I’ve had to try and understand logging in Cocoon 2.2 for a project at work recently. It’s been “interesting,” so I thought I’d blog the process in case anybody else needs to o this… Normally, logging in Java is quite … Continue reading
Trusting your tools
After Grzegorz’s piping up, I’m giving cocoon 2.2 another try. Here are some selected errors. javax.servlet.ServletException: No block for /favicon.ico at org.apache.cocoon.servletservice.DispatcherServlet.service(DispatcherServlet.java:84) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.apache.cocoon.tools.rcl.wrapper.servlet.ReloadingServlet.service(ReloadingServlet.java:89) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093) at org.apache.cocoon.servlet.multipart.MultipartFilter.doFilter(MultipartFilter.java:119) at org.apache.cocoon.tools.rcl.wrapper.servlet.ReloadingServletFilter.doFilter(ReloadingServletFilter.java:50) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at org.apache.cocoon.servlet.DebugFilter.doFilter(DebugFilter.java:169) at org.apache.cocoon.tools.rcl.wrapper.servlet.ReloadingServletFilter.doFilter(ReloadingServletFilter.java:50) … Continue reading
A Year in Cocoon
The other large part of the project at $WORK I’ve just finished was Cocoon. Cocoon is a Java web framework. It’s got some really neat ideas in it, and it’s main purpose in life is transforming XML. It is (or … Continue reading
A Year in XQuery
About a year ago, I wrote The year of XQuery?. I’ve just finished my involvement with the large project at $WORK that was using XQuery. So it’s time to reflect over it a little. First, a bit of background. The … Continue reading
Cocoon
Surprising as it may seem if you only read this blog, I don’t do much Perl or Ruby or Rails. I try to in my spare time, but it’s not what I’m doing at $WORK. That’s mostly concerned with pushing … Continue reading