Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 92032 invoked from network); 30 May 2000 19:12:00 -0000 Received: from stargazer.dataway.ch (HELO dataway.ch) (qmailr@195.216.64.144) by locus.apache.org with SMTP; 30 May 2000 19:12:00 -0000 Received: (qmail 21241 invoked by uid 0); 30 May 2000 19:11:40 -0000 Received: from zh2-5.dial.dataway.ch (HELO pwr.ch) (root@195.216.80.133) by stargazer.dataway.ch with SMTP; 30 May 2000 19:11:40 -0000 Received: (qmail 1364 invoked from network); 30 May 2000 19:06:55 -0000 Received: from donald.pwr.ch (HELO pwr.ch) (giacomo@10.20.30.103) by simba.pwr.ch with SMTP; 30 May 2000 19:06:55 -0000 Sender: giacomo Message-ID: <3934114E.227A413A@pwr.ch> Date: Tue, 30 May 2000 21:06:54 +0200 From: Giacomo Pati Organization: PWR Organisation & Entwicklung X-Mailer: Mozilla 4.72 [de] (X11; U; Linux 2.2.14 i686) X-Accept-Language: de, en MIME-Version: 1.0 To: cocoon-dev@xml.apache.org Subject: Re: Installing Cocoon 2 References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N The installation doc does not reflect the fact that when using xsp all the jar MUST be in the classpath of tomcat. You can put the jars into the lib directory of tomcat. On Win$ additionaly change to tomcat.bat to add those jars to the classpath. Giacomo David Duddleston wrote: > > for http://localhost:8080/cocoon2/simple-page.xsp > > Are you getting an exeption like this? I have not figured out how to fix this one yet... I'm not very familiar with Cocoon2. > > -david > > Cocoon 2.0: Exception > > -------------------------------------------------------------------------------- > Class: org.apache.arch.ComponentNotAccessibleException > Message: Can't access class org.apache.cocoon.generators.ServerPagesGenerator with role generator:serverpages due to a org.apache.arch.ComponentNotAccessibleException(Can't access class org.apache.cocoon.components.language.generator.ProgramGeneratorImpl with role program-generator due to a org.apache.arch.ComponentNotAccessibleException(Can't access class org.apache.arch.named.NamedComponentManagerImpl with role factory due to a org.apache.arch.config.ConfigurationException(null (file:/Z:/tomcat/webapps/cocoon2/cocoon.xconf line 30)))) > > org.apache.arch.ComponentNotAccessibleException: Can't access class org.apache.cocoon.generators.ServerPagesGenerator with role generator:serverpages due to a org.apache.arch.ComponentNotAccessibleException(Can't access class org.apache.cocoon.components.language.generator.ProgramGeneratorImpl with role program-generator due to a org.apache.arch.ComponentNotAccessibleException(Can't access class org.apache.arch.named.NamedComponentManagerImpl with role factory due to a org.apache.arch.config.ConfigurationException(null (file:/Z:/tomcat/webapps/cocoon2/cocoon.xconf line 30)))) > at org.apache.cocoon.Cocoon.getComponent(Cocoon.java:117) > at org.apache.cocoon.sitemap.GenericProcessor.process(GenericProcessor.java:158) > at org.apache.cocoon.sitemap.SitemapPartition.process(SitemapPartition.java:102) > at org.apache.cocoon.sitemap.Sitemap.process(Sitemap.java:95) > at org.apache.cocoon.Cocoon.process(Cocoon.java:179) > at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:122) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:502) > at org.apache.tomcat.core.ContextManager.service(ContextManager.java:582) > at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:193) > at org.apache.tomcat.service.TcpWorkerThread.run(PoolTcpEndpoint.java:362) > at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:407) > at java.lang.Thread.run(Thread.java:484) > > -------------------------------------------------------------------------------- > > > -----Original Message----- > > From: Berin Loritsch [mailto:bloritsch@infoplanning.com] > > Sent: Tuesday, May 30, 2000 8:14 AM > > To: cocoon-dev@xml.apache.org > > Subject: Re: Installing Cocoon 2 > > > > > > By changing the tag to execute on everything in cocoon/, > > I got it to give me some other results--but it crashes looking for an xsl > > template that isn't there ("simple-page.xsl"). I suppose though, the > > impetus > > for getting it to work is now on me.... > > > > Neeme Praks wrote: > > > > > > -----Original Message----- > > > > From: Berin Loritsch [mailto:bloritsch@infoplanning.com] > > > > Sent: Tuesday, May 30, 2000 4:55 PM > > > > > > > > The only difference between our web.xml files was the addition of the > > > > tags. I now get a screen with the > > > > following contents > > > > when I point to an XML file: > > > > > > > > Cocoon 2.0: Version 2.0 > > > > -------------------------------------- > > > > Ready to process requests... > > > > -------------------------------------- > > > > > > > > Also, in Tomcat I get the following entries in the console window: > > > > > > [list skipped] > > > > > > > Is it reading the xconf file? I can get no other results > > > > besides the "ready to process requests..." page. > > > > > > somebody else should answer this question... > > > > > > > The test URL ("http://localhost/cocoon/hello") still doesn't > > > > work (file does not exist). > > > > > > did you also try http://localhost/cocoon/servlet/Cocoon/hello? > > > > > > Neeme > > -- PWR GmbH, Organisation & Entwicklung Tel: +41 (0)1 856 2202 Giacomo Pati, CTO/CEO Fax: +41 (0)1 856 2201 Hintereichenstrasse 7 Mailto:Giacomo.Pati@pwr.ch CH-8166 Niederweningen Web: http://www.pwr.ch