cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stuart Roebuck <stuart.roeb...@adolos.co.uk>
Subject Re: Tomcat/4.0-m5 and Cocoon2 - "file /sitemap.xmap\sitemap.xmap not found"
Date Mon, 18 Dec 2000 09:51:36 GMT
Paul / Giacomo,

Thanks.  I changed the classpath reference - sorry I'd missed a previous post on this.

This has certainly changed the error I'm getting, but I'm still getting one (see below). 
Is it significant that the "File doesn't exist" error is listing a filename without an extension?

Stuart.


WARN    3668    [cocoon  ] (Thread-2): Language Exception
org.apache.cocoon.components.language.LanguageException: Can't load program - File doesn't
exist: bin/../work/localhost/cocoon/_Users/_stuart/_OpenSource/_build/_tomcat_4_0/_webapps/_cocoon/_sitemap_xmap
	at org.apache.cocoon.components.language.programming.CompiledProgrammingLanguage.load(CompiledProgrammingLanguage.java:132)
	at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:173)
	at org.apache.cocoon.sitemap.Handler.run(Handler.java:162)
	at java.lang.Thread.run(Thread.java:479)
WARN    19766   [cocoon  ] (Thread-2): Javac()
java.lang.ClassNotFoundException: com.sun.tools.javac.Main
	at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:1022)
	at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:906)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:124)
	at org.apache.cocoon.components.language.programming.java.Javac.<init>(Javac.java:34)
	at java.lang.Class.newInstance0(Native Method)
	at java.lang.Class.newInstance(Class.java:241)
	at org.apache.cocoon.components.language.programming.java.JavaLanguage.compile(JavaLanguage.java:141)
	at org.apache.cocoon.components.language.programming.CompiledProgrammingLanguage.load(CompiledProgrammingLanguage.java:143)
	at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:233)
	at org.apache.cocoon.sitemap.Handler.run(Handler.java:162)
	at java.lang.Thread.run(Thread.java:479)
WARN    22061   [cocoon  ] (Thread-2): Could not load class for program '_Users/_stuart/_OpenSource/_build/_tomcat_4_0/_webapps/_cocoon/_sitemap_xmap'
java.lang.ClassNotFoundException: _Users._stuart._OpenSource._build._tomcat_4_0._webapps._cocoon._sitemap_xmap
	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:191)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:256)
	at org.apache.cocoon.components.classloader.ClassLoaderManagerImpl.loadClass(ClassLoaderManagerImpl.java:55)
	at org.apache.cocoon.components.language.programming.java.JavaLanguage.loadProgram(JavaLanguage.java:119)
	at org.apache.cocoon.components.language.programming.CompiledProgrammingLanguage.load(CompiledProgrammingLanguage.java:147)
	at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:233)
	at org.apache.cocoon.sitemap.Handler.run(Handler.java:162)
	at java.lang.Thread.run(Thread.java:479)
ERROR   22063   [cocoon  ] (Thread-2): Error compiling sitemap
org.apache.cocoon.components.language.LanguageException: Could not load class for program
'_Users/_stuart/_OpenSource/_build/_tomcat_4_0/_webapps/_cocoon/_sitemap_xmap' due to a java.lang.ClassNotFoundException:
_Users._stuart._OpenSource._build._tomcat_4_0._webapps._cocoon._sitemap_xmap
	at org.apache.cocoon.components.language.programming.java.JavaLanguage.loadProgram(JavaLanguage.java:122)
	at org.apache.cocoon.components.language.programming.CompiledProgrammingLanguage.load(CompiledProgrammingLanguage.java:147)
	at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:233)
	at org.apache.cocoon.sitemap.Handler.run(Handler.java:162)
	at java.lang.Thread.run(Thread.java:479)
DEBUG   22066   [cocoon  ] (HttpProcessor[8080][4]): Sitemap regeneration complete
ERROR   22068   [cocoon  ] (HttpProcessor[8080][4]): Problem with servlet
org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is not available.
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:88)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:243)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:314)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:251)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:196)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2038)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
	at org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:414)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:159)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
	at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:818)
	at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:897)
	at java.lang.Thread.run(Thread.java:479)
DEBUG   22096   [cocoon  ] (HttpProcessor[8080][4]): 'welcome' Processed by Apache Cocoon
2.0a3 in 20.939 seconds.


On Sunday, December 17, 2000, at 10:12 PM, Giacomo Pati wrote:

> Paul Russell wrote: 
> >  
> > On Sun, Dec 17, 2000 at 04:55:42PM +0000, Stuart Roebuck wrote: 
> > > I suspect I'm just missing the point - can you clarify for a 
> > > numpty like me.  (I had this much working before on a fairly 
> > > recent build of Tomcat and Cocoon of approx. 2 weeks ago.) 
> >  
> > He means the web.xml in the cocooon webapp, not the tomcat 
> > distribution. 
>  
> Exactly. It has been discussed some days ago how to solve that problem. 
> So far we don't have any fix for that but we will have to solve it soon. 
>  
> Giacomo 
>  
> --------------------------------------------------------------------- 
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org 
> For additional commands, e-mail: cocoon-users-help@xml.apache.org 
>  
>  


-------------------------------------------------------------------------
Stuart Roebuck                                  stuart.roebuck@adolos.com
Lead Developer                                  Mac OS X, Java, XML, etc.
ADOLOS                                             http://www.adolos.com/
Mime
View raw message