J. I haven't tested it with Tomcat 4.1 (only Tomcat 4.0.6 and Resin 2.x). I'll give Tomcat 4.1 a try and report back my findings. Yes, the servlet name is the same as the Cocoon distribution, but I don't think that causes any problems.
-- jack John R. Callahan, Ph.D. CTO Sphere Software Corporation - The Intelligence of XML [EMAIL PROTECTED] 410-772-9740 x1116 509-532-1536 (efax) 410-598-2157 (cell) > > I took a look at your tutorial, and I'm having trouble getting the example >application to work. ( Specifically, I'm getting this error ): > > javax.servlet.ServletException: Servlet.init() for servlet Cocoon2 threw exception > at >org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:962) > .... > java.lang.VerifyError: Cannot inherit from final class > at java.lang.ClassLoader.defineClass0(Native Method) > .... > > I highly suspect that it has something to do with the way I tried to "integrate" it >into my existing Tomcat 4.1 environment. > ( Unpacked the zip file, named the folder cmswatch, put the folder under the webapps >directory. ) > > -- and that's all, as far as setup. > > I did notice that the servlet has the same name as the servlet in the original >cocoon directory. Will that cause a problem? > ( Can you tell how new I am to this? ) > > Any help you can offer is appreciated. I'd like to at least get past this snag soon. > > Thanks, > > J. > > > On Tue, 24 Dec 2002 08:04:49 -0800, John R. Callahan wrote: > >FYI... I have written a brief article on Cocoon (with tutorial and > >downloadable demo). The article is available at: > > > >http://www.cmswatch.com/Features/ProductWatch/FeaturedProduct/?featur > >e_id=81 > > > >The associated demo is available at: > > > >http://www.sphere.com/docs/myapp.zip > > > >The demo is meant to be installed as a webapps subdirectory (no, not > >as a > >war file) > >in Tomcat 4.0.6. The myapp.zip file includes everything you need > >(all jar > >files, etc.) > >and could even serve as a "minimal" Cocoon application for > >beginners. It is > >based > >on 2.1dev and requires JDK1.3. I've tested it with Tomcat 4.0.6 and > >Resin > >2.x. > > > >(I've also got PPT slides to accompany the article if anyone wants > >them :-p) > > > >Thanks for Carsten, Matthew, Lajos and Jeremy for their inspiring and > >helpful books! > > > >Enjoy! > > > >-- jack > > > >John R. Callahan, Ph.D. > >CTO > >Sphere Software Corporation (www.sphere.com) - The Intelligence of > >XML > >[EMAIL PROTECTED] > >410-772-9740 x1116 > >509-352-1536 (eFax) > > > > > > > >--------------------------------------------------------------------- > >Please check that your question has not already been answered in the > >FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > > > >To unsubscribe, e-mail: <[EMAIL PROTECTED]> > >For additional commands, e-mail: <[EMAIL PROTECTED]> > > > > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>