cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Duddleston" <da...@i2a.com>
Subject changing XSP tmp/repository directory
Date Tue, 30 May 2000 23:28:37 GMT

How can I change the tmp directory that XSP is using. It is currently set to
driveroot/tmp/repository or in my case z:\tmp\repository

-david


> -----Original Message-----
> From: David Duddleston [mailto:david@i2a.com]
> Sent: Tuesday, May 30, 2000 2:22 PM
> To: cocoon-dev@xml.apache.org
> Subject: RE: Installing Cocoon 2
>
>
>
> Fixed the problem... I think there is a confict with xerces.jar and the
> parsers.jar that Tomcat uses, I put jaxp.jar and parser.jar last and it
> worked.
>
> -david
>
> > -----Original Message-----
> > From: David Duddleston [mailto:david@i2a.com]
> > Sent: Tuesday, May 30, 2000 1:45 PM
> > To: cocoon-dev@xml.apache.org
> > Subject: RE: Installing Cocoon 2
> >
> >
> >
> > Hmmm. Now I'm gettting this error! I'm using a free CVS dowload from May
> > 29th... The method does exists, so it must be getting the wrong argument
> > possibly?
> >
> > -david
> >
> >
> > Error: 500
> > Location: /cocoon2/simple-page.xsp
> > Internal Servlet Error:
> >
> > java.lang.NoSuchMethodError
> > 	at
> > org.apache.cocoon.components.language.markup.xsp.XSPMarkupLanguage
> > .quoteStri
> > ngs(XSPMarkupLanguage.java:141)
> > 	at
> > org.apache.cocoon.components.language.markup.xsp.XSPMarkupLanguage
> > .quoteStri
> > ngs(XSPMarkupLanguage.java:148)
> > 	at
> > org.apache.cocoon.components.language.markup.xsp.XSPMarkupLanguage
> > .preproces
> > sDocument(XSPMarkupLanguage.java:97)
> > 	at
> > org.apache.cocoon.components.language.markup.AbstractMarkupLanguag
> > e.generate
> > Code(AbstractMarkupLanguage.java:265)
> > 	at
> > org.apache.cocoon.components.language.generator.ProgramGeneratorIm
> > pl.load(Pr
> > ogramGeneratorImpl.java:185)
> > 	at
> > org.apache.cocoon.generators.ServerPagesGenerator.generate(ServerP
> > agesGenera
> > tor.java:123)
> > 	at
> > org.apache.cocoon.sitemap.GenericProcessor.process(GenericProcesso
> > r.java:161
> > )
> > 	at
> > org.apache.cocoon.sitemap.SitemapPartition.process(SitemapPartitio
> > n.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.processConnec
> > tion(HttpC
> > onnectionHandler.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: giacomo@groovee.com [mailto:giacomo@groovee.com]On Behalf Of
> > > Giacomo Pati
> > > Sent: Tuesday, May 30, 2000 12:07 PM
> > > To: cocoon-dev@xml.apache.org
> > > Subject: Re: Installing Cocoon 2
> > >
> > >
> > >
> > > 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.ProgramGeneratorIm
> > > pl 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.ProgramGeneratorIm
> > > pl 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(GenericProcesso
> > > r.java:158)
> > > >         at
> > > org.apache.cocoon.sitemap.SitemapPartition.process(SitemapPartitio
> > > n.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.processConnec
> > > tion(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 <servlet-mapping> 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
> > > > > > > <servlet-mapping> 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
> > >
> >
>


Mime
View raw message