Julian Klein <[EMAIL PROTECTED]> writes: > I am currently trying to integrate slide content with > the publishing content of Cocoon. I have the built > the latest and greatest cocoon version on Red Hat 8, > java 1.4. I was wondering if anyone has been able to > get the slide webapp and the webdav servlet to run all > in the same servlet container with cocoon.
Yes, but using a modified version of SlideSourceFactory. > I have set > up the slide-webdavservlet.jar in > $TC/webapps/cocoon/WEB-INF/lib > and added the servlet config to the web.xml in > $TC/webapps/cocoon/WEB-INF/. I originally used the > slide-servlet and web.xml that came with cocoon > scratchpad, but then switched to my > slide-webdavservlet.jar from a recent slide 2.x build. > I have tried changing settings in cocoon.xconf and > the web.xml, but I can never get both to share the > same org.apache.slide.Domain instance...therefore they > do not run in unison...or at all. Any suggestions > would be greatly appreciated. The problem is, that SlideRepository is always using a EmbeddedDomain, whether the Domain is already initialized or not. I am currently working on a version, which initializes the Domain, only if it is not yet initialized. WebdavServlet looks a little bit strange to in this respect. It is looking for a NamespaceAccessToken in a ServletContext attribute and assumes, that it is responsible for the namespace live cycle otherwise. However the wrappers.catalina.SlideServerListener does not set this attribute. Why does the WebdavServlet not test for Domain.isInitialized ? Regards Martin -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
