Hi Daniel,
On 5/8/06, Daniel Fagerstrom <[EMAIL PROTECTED]> wrote:
Philipp Schmidt skrev:
> 3 - There's no way at the moment to mount a "block" (like forms) and run
> an example.
Actually it is. cocoon-webapp is working as an OSGi block(at least
partly), and it gets all needed components through the Spring bridge. To
test it you need to set the start level of cocoon-webapp higher (5 e.g.)
than the rest of the bundles. This is needed to make sure that all the
needed components from cocoon-core are registered before cocoon-webapp
tries to access them.
I tried that but sadly I only get:
ogsi > log
[...]
Caused by: javax.servlet.ServletException: Cannot resolve
/src/main/webapp/sitemap.xmap
at
org.apache.cocoon.sitemap.SitemapServlet.init(SitemapServlet.java:100)
at
org.eclipse.equinox.http.HttpListener.registerServlet(HttpListener.java:327)
at
org.eclipse.equinox.http.HttpService.registerServlet(HttpService.java:54)
at
org.apache.cocoon.blocks.Activator.registerServlet(Activator.java:109)
at org.apache.cocoon.blocks.Activator.setServlet(Activator.java:63)
... 12 more
[...]
Any Idea what's going wrong?
Philipp