Hi Eric, for various architectural reasons, the slide-kernel.jar needs to be shared (i.e. only one instance of the loaded library) by web- applications accessing slide. For exactly that reason, slide- kernel.jar is not included in the slide-admin.war... As it makes close to no sense to deploy the slide-admin webapp with an own copy of slide-kernel.jar.
So, whenever you want to move away from the simple deployment option of only using slide.war, and have multiple webapps access the content repository, you'll *need* to move the slide-kernel to a directory where it can be shared by the web-apps. (Otherwise you'd at the very least have to turn off any kind of caching, but that would tear performance totally down.] Another option would be to move the admin-webapp *into* the WebDAV webapp, so you'd "merge" the web.xml's, and set the WebDAV servlet to url-pattern /webdav and the ActionServlet to url-pattern /admin etc. etc. That would be the only solution for providing an archive that can be "drag&drop-deployed" in any servlet container. 13.02.2002 22:48:31, "Eric Hodges" <[EMAIL PROTECTED]> wrote: >I modified the slide-admin.war to include the slide-kernel.jar (and all >others from slide.war), which fixes the SlideToken exception below. > >Now attempts to bring up the slide-admin web app generate this page: > >500 Internal Server Error >org.apache.slide.common.DomainInitializationFailedError: Domain >initialization error : Domain.xml (The system cannot find the file specified) > at org.apache.slide.common.Domain.selfInit(Domain.java:733) > at org.apache.slide.common.Domain.accessNamespace (Domain.java:266) > at >org.apache.slide.taglib.bean.DomainBean.getNamespace (DomainBean.java:205) > at >org.apache.slide.taglib.tag.struts.StrutsTagUtils.findNamespace (StrutsTagUtil >s.java:176) > at >org.apache.slide.taglib.tag.struts.NamespaceTag.doStartTag (NamespaceTag.java: >115) > at /index.jsp._jspService(/index.jsp.java:151) (JSP page line 8) > at com.orionserver[Orion/1.5.2 (build >10460)].http.OrionHttpJspPage.service(Unknown Source) > at com.evermind[Orion/1.5.2 (build 10460)]._ah._rad(Unknown Source) > at com.evermind[Orion/1.5.2 (build >10460)].server.http.JSPServlet.service(Unknown Source) > at com.evermind[Orion/1.5.2 (build 10460)]._cxb._abe(Unknown Source) > at com.evermind[Orion/1.5.2 (build 10460)]._cxb._uec(Unknown Source) > at com.evermind[Orion/1.5.2 (build 10460)]._io._twc(Unknown Source) > at com.evermind[Orion/1.5.2 (build 10460)]._io._gc(Unknown Source) > at com.evermind[Orion/1.5.2 (build 10460)]._if.run(Unknown Source) > >I can continue to modify the slide-admin.war by adding domain.xml, but then >I'll have 2 copies of it on my server. What's the right way to use the >slide-admin.war? > >And how do I upload files to Slide? > > > >> -----Original Message----- >> From: Eric Hodges >> Sent: Wednesday, February 13, 2002 3:17 PM >> To: [EMAIL PROTECTED] >> Subject: How do I upload files to Slide? >> >> >> I'm using the Slide web apps (slide.war, slide-admin.war) >> under Orion. I can view some Slide information using the >> slide.war web app, but when I try to bring up the slide-admin >> servlet I get this: >> >> 500 Internal Server Error >> java.lang.NoClassDefFoundError: org/apache/slide/common/SlideToken >> at >> org.apache.slide.taglib.tag.struts.NamespaceTag.doStartTag(Nam >> espaceTag.java: >> 115) >> at /index.jsp._jspService(/index.jsp.java:151) (JSP page line 8) >> at com.orionserver[Orion/1.5.2 (build >> 10460)].http.OrionHttpJspPage.service(Unknown Source) >> at com.evermind[Orion/1.5.2 (build >> 10460)]._ah._rad(Unknown Source) >> at com.evermind[Orion/1.5.2 (build >> 10460)].server.http.JSPServlet.service(Unknown Source) >> at com.evermind[Orion/1.5.2 (build >> 10460)]._cxb._abe(Unknown Source) >> at com.evermind[Orion/1.5.2 (build >> 10460)]._cxb._uec(Unknown Source) >> at com.evermind[Orion/1.5.2 (build >> 10460)]._io._twc(Unknown Source) >> at com.evermind[Orion/1.5.2 (build >> 10460)]._io._gc(Unknown Source) >> at com.evermind[Orion/1.5.2 (build >> 10460)]._if.run(Unknown Source) >> >> 1. How do I fix the above exception? >> >> 2. How do I upload files to Slide using these web apps? >> >> -- >> To unsubscribe, e-mail: >> <mailto:slide-user-> [EMAIL PROTECTED]> >> For >> additional commands, >> e-mail: <mailto:[EMAIL PROTECTED]> >> >> > >-- >To unsubscribe, e-mail: <mailto:slide-user- [EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:slide-user- [EMAIL PROTECTED]> > > -chris ________________________________________________________________ cmlenz at gmx.de -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
