Return-Path: Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 13287 invoked from network); 10 Oct 2000 15:20:50 -0000 Received: from client-141-151-129-90.bellatlantic.net (HELO mail.spinnakernet.com) (141.151.129.90) by locus.apache.org with SMTP; 10 Oct 2000 15:20:50 -0000 Received: from spinnakernet.com (IDENT:mkiss@cartman.spinnakernet.com [10.1.1.106]) by mail.spinnakernet.com (8.9.3/8.8.7) with ESMTP id KAA21283 for ; Tue, 10 Oct 2000 10:07:26 -0400 Sender: mkiss@spinnakernet.com Message-ID: <39E322C8.FB9B6306@spinnakernet.com> Date: Tue, 10 Oct 2000 10:08:08 -0400 From: Matthew Kiss Organization: Spinnaker Networks X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-5.0 i686) X-Accept-Language: en MIME-Version: 1.0 To: cocoon-users@xml.apache.org Subject: Re: Cocoon2 "resource-not-found" error References: <39D4C71C.D0C1A999@spinnakernet.com> <39D4EB26.D5DFB893@pwr.ch> <39D4EEBC.FA26D622@spinnakernet.com> <39D4F98C.B83C7347@pwr.ch> <39E220E7.74282E4C@spinnakernet.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Matthew Kiss wrote: > Giacomo Pati wrote: > > > Then I need more infos to determine the problem (stacktrace, logs) > > > > Giacomo > > > > Matthew Kiss wrote: > > > > > > Giacomo Pati wrote: > > > > > > > Try using the url mentioned in the INSTALL doc > > > > > > > > Giacomo > > > > > > > > Matthew Kiss wrote: > > > > > > > > > > I am getting the following html error page when trying to access > > > > > http://myhost.spinnakernet.com:8080/cocoon: > > > > > > > > > > ------------------------------------------- > > > > > Cocoon 2 - Resource not found > > > > > > > > > > type resource-not-found > > > > > > > > > > message Resource not found > > > > > > > > > > description The requested URI "/cocoon" was not found. > > > > > > > > > > sender org.apache.cocoon.servlet.CocoonServlet > > > > > > > > > > source Cocoon servlet > > > > > > > > > > request-uri /cocoon > > > > > > > > > > path-info / > > > > > ------------------------------------------- > > > > > > > > > > I am running Linux, Tomcat 3.2, and the lastest Cocoon2 built from > > > > > CVS source. The servlet and JSP examples that come with Tomcat > > > > > are running fine. > > > > > > > > > > -Matt > > > > > > > > > > ----------------- > > > > > Matthew Kiss > > > > > mkiss@spinnakernet.com > > > > > > > > > > --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org > > > > > For additional commands, e-mail: cocoon-users-help@xml.apache.org > > > > > > > > -- > > > > PWR GmbH, Organisation & Entwicklung Tel: +41 (0)1 856 2202 > > > > Giacomo Pati, CTO/CEO Fax: +41 (0)1 856 2201 > > > > Hintereichenstrasse 7 Mobil: +41 (0)78 759 7703 > > > > CH-8166 Niederweningen Mailto:Giacomo.Pati@pwr.ch > > > > Web: http://www.pwr.ch > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org > > > > For additional commands, e-mail: cocoon-users-help@xml.apache.org > > > > > > I tried http://localhost:8080/cocoon/ , but still get the same error. > > > > > > -Matt > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org > > > For additional commands, e-mail: cocoon-users-help@xml.apache.org > > > > -- > > PWR GmbH, Organisation & Entwicklung Tel: +41 (0)1 856 2202 > > Giacomo Pati, CTO/CEO Fax: +41 (0)1 856 2201 > > Hintereichenstrasse 7 Mobil: +41 (0)78 759 7703 > > CH-8166 Niederweningen Mailto:Giacomo.Pati@pwr.ch > > Web: http://www.pwr.ch > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org > > For additional commands, e-mail: cocoon-users-help@xml.apache.org > > This problem was fixed by downloading the latest Cocoon source. I think the > problem > was in CocoonServlet.java involving the 'pathInfo' variable. However, now I > get the > following error when trying to access the same url: > > Cocoon 2 - Internal server error > > type internal-server-error > > message Error compiling _sitemap_xmap: Line 1099, column 26: Wrong number of > arguments in method.Line 1108, column 28: > Wrong number of arguments in method.Line 1114, column 28: Wrong number of > arguments in method.Line 1124, column 27: > Wrong number of arguments in method.Line 1138, column 27: Wrong number of > arguments in method.Line 1152, column 28: > Incompatible type for method. Explicit cast needed to convert > org.apache.cocoon.serialization.Serializer to > org.apache.cocoon.sitemap.ComponentHolder.Line 1152, column 52: Incompatible > type for method. Explicit cast needed to convert > org.apache.avalon.Configuration to org.apache.avalon.utils.Parameters.Line > 1153, column 28: Incompatible type for method. Can't > convert org.apache.avalon.utils.Parameters to java.lang.String.Line 1202, > column 30: Wrong number of arguments in method.Line > 1212, column 32: Wrong number of arguments in method.Line 1223, column 31: > Wrong number of arguments in method.Line > 1244, column 30: Wrong number of arguments in method.Line 1254, column 32: > Wrong number of arguments in method.Line > 1265, column 31: Wrong number of arguments in method.Line 1285, column 30: > Wrong number of arguments in method.Line > ... > > description org.apache.cocoon.components.language.LanguageException: Error > compiling _sitemap_xmap: Line 1099, column 26: > Wrong number of arguments in method.Line 1108, column 28: Wrong number of > arguments in method.Line 1114, column 28: > Wrong number of arguments in method.Line 1124, column 27: Wrong number of > arguments in method.Line 1138, column 27: > Wrong number of arguments in method.Line 1152, column 28: Incompatible type > for method. Explicit cast needed to convert > org.apache.cocoon.serialization.Serializer to > org.apache.cocoon.sitemap.ComponentHolder.Line 1152, column 52: Incompatible > type for method. Explicit cast needed to convert > org.apache.avalon.Configuration to org.apache.avalon.utils.Parameters.Line > 1153, > column 28: Incompatible type for method. Can't convert > org.apache.avalon.utils.Parameters to java.lang.String.Line 1202, column > 30: Wrong number of arguments in method.Line 1212, column 32: Wrong number of > arguments in method.Line 1223, column 31: > Wrong number of arguments in method.Line 1244, column 30: Wrong number of > arguments in method.Line 1254, column 32: > Wrong number of arguments in method.Line 1265, column 31: Wrong number of > arguments in method.Line 1285, column 30: > ... > > sender org.apache.cocoon.servlet.CocoonServlet > > source Cocoon servlet > > stacktrace > > org.apache.cocoon.components.language.LanguageException: Error compiling > _sitemap_xmap: > Line 1099, column 26: Wrong number of arguments in method.Line 1108, column > 28: Wrong number of arguments in method.Line 1114, column 28: Wrong number of > arguments in method.Line 1124, column 27: Wrong number of arguments in > method.Line 1138, column 27: Wrong number of arguments in method.Line 1152, > column 28: Incompatible type for method. Explicit cast needed to convert > org.apache.cocoon.serialization.Serializer to > org.apache.cocoon.sitemap.ComponentHolder.Line 1152, column 52: Incompatible > type for method. Explicit cast needed to convert > org.apache.avalon.Configuration to org.apache.avalon.utils.Parameters.Line > 1153, column 28: Incompatible type for method. Can't convert > org.apache.avalon.utils.Parameters to java.lang.String.Line 1202, column 30: > Wrong number of arguments in method.Line 1212, column 32: Wrong number of > arguments in method.Line 1223, column 31: Wrong number of arguments in > method.Line 1244, column 30: Wrong number of arguments in method.Line 1254, > column 32: Wrong number of arguments in method.Line 1265, column 31: Wrong > number of arguments in method.Line 1285, column 30: Wrong number of arguments > in method... > at > org.apache.cocoon.components.language.programming.java.JavaLanguage.compile(JavaLanguage.java:175) > > at > org.apache.cocoon.components.language.programming.CompiledProgrammingLanguage.load(CompiledProgrammingLanguage.java:173) > > at > org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:213) > > at org.apache.cocoon.sitemap.Handler.run(Handler.java:147) > at java.lang.Thread.run(Thread.java:475) > > request-uri > > /cocoon/ > > path-info > > / > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org > For additional commands, e-mail: cocoon-users-help@xml.apache.org Sorry, I forgot to copy cocoon.jar to the lib directory under Tomcat. -Matt