I've got a sitemap_xmap.java and .class: 79221 Apr 12 14:29 sitemap_xmap.class 15470 Apr 12 14:29 sitemap_xmap$Configurer.class 339625 Apr 12 14:29 sitemap_xmap.java
Contents of ERROR.LOG: --------------------- begin --------------------------- ERROR (2002-04-12) 14:29.25:556[sitemap](/cocoon/documentation/) Thread-13/Handler: Error compiling sitemap org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Could not load class for pro gram 'org/apache/cocoon/www/sitemap_xmap' due to a java.lang.ClassNotFoundException: org.apache.cocoon.www.sitemap_xmap at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR esource(ProgramGeneratorImpl.java:335) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr ogramGeneratorImpl.java:291) at org.apache.cocoon.sitemap.Handler.run(Handler.java:270) at java.lang.Thread.run(Thread.java:498) org.apache.cocoon.components.language.LanguageException: Could not load class for program 'org/apache/cocoon/www/sitemap_xmap' due to a java.lan g.ClassNotFoundException: org.apache.cocoon.www.sitemap_xmap at org.apache.cocoon.components.language.programming.java.JavaLanguage.loadProg ram(JavaLanguage.java:186) at org.apache.cocoon.components.language.programming.CompiledProgrammingLanguag e.load(CompiledProgrammingLanguage.java:201) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat eResource(ProgramGeneratorImpl.java:383) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR esource(ProgramGeneratorImpl.java:328) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr ogramGeneratorImpl.java:291) at org.apache.cocoon.sitemap.Handler.run(Handler.java:270) at java.lang.Thread.run(Thread.java:498) org.apache.cocoon.components.language.LanguageException: Could not load class for program 'org/apache/cocoon/www/sitemap_xmap' due to a java.lan g.ClassNotFoundException: org.apache.cocoon.www.sitemap_xmap at org.apache.cocoon.components.language.programming.java.JavaLanguage.loadProg ram(JavaLanguage.java:186) at org.apache.cocoon.components.language.programming.CompiledProgrammingLanguag e.load(CompiledProgrammingLanguage.java:201) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat eResource(ProgramGeneratorImpl.java:383) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR esource(ProgramGeneratorImpl.java:328) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr ogramGeneratorImpl.java:291) at org.apache.cocoon.sitemap.Handler.run(Handler.java:270) at java.lang.Thread.run(Thread.java:498) ERROR (2002-04-12) 14:29.25:631[access](/cocoon/documentation/) Thread-13/CocoonServlet: Problem with servlet org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Could not load class for pro gram 'org/apache/cocoon/www/sitemap_xmap' due to a java.lang.ClassNotFoundException: org.apache.cocoon.www.sitemap_xmap at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR esource(ProgramGeneratorImpl.java:335) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr ogramGeneratorImpl.java:291) at org.apache.cocoon.sitemap.Handler.run(Handler.java:270) at java.lang.Thread.run(Thread.java:498) org.apache.cocoon.components.language.LanguageException: Could not load class for program 'org/apache/cocoon/www/sitemap_xmap' due to a java.lan g.ClassNotFoundException: org.apache.cocoon.www.sitemap_xmap at org.apache.cocoon.components.language.programming.java.JavaLanguage.loadProg ram(JavaLanguage.java:186) at org.apache.cocoon.components.language.programming.CompiledProgrammingLanguag e.load(CompiledProgrammingLanguage.java:201) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat eResource(ProgramGeneratorImpl.java:383) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR esource(ProgramGeneratorImpl.java:328) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr ogramGeneratorImpl.java:291) at org.apache.cocoon.sitemap.Handler.run(Handler.java:270) at java.lang.Thread.run(Thread.java:498) org.apache.cocoon.components.language.LanguageException: Could not load class for program 'org/apache/cocoon/www/sitemap_xmap' due to a java.lan g.ClassNotFoundException: org.apache.cocoon.www.sitemap_xmap at org.apache.cocoon.components.language.programming.java.JavaLanguage.loadProg ram(JavaLanguage.java:186) at org.apache.cocoon.components.language.programming.CompiledProgrammingLanguag e.load(CompiledProgrammingLanguage.java:201) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat eResource(ProgramGeneratorImpl.java:383) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR esource(ProgramGeneratorImpl.java:328) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr ogramGeneratorImpl.java:291) at org.apache.cocoon.sitemap.Handler.run(Handler.java:270) at java.lang.Thread.run(Thread.java:498) --------------------- end --------------------------- I did not perform the "build" on the cocoon files myself but more and more I think it's coming back around to something not being include in the build process that it needs. I've commented out all of the SVG references in the sitemap thinking it was an X11 server deal, but the problem persists. I appreciate the help and suggestions. Mark -----Original Message----- From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 3:00 PM To: [EMAIL PROTECTED]; Mark Kent Subject: RE: LanguageException error on startup (Coc2.0.2,Tomcat3.2.2) > From: Mark S. Kent [mailto:[EMAIL PROTECTED]] > > I'm still seeing this error message about the sitemap although I see sitemap > files in the work folder (buried in org.apache....). Is there a way to put > debug "crumbs" in the sitemap to write to the logs during generation to help > me find out exactly what is causing the > "LanguageException: Could not load class for program > 'org/apache/cocoon/www/sitemap_xmap' due to a > java.lang.ClassNotFoundException: org.apache.cocoon.www.sitemap_xmap" > error? (shown below in most of it's entirety) Look into the Cocoon log files, under tomcat/work/.../cocoon/ Chances are that cause exception is logged there. If this does not help... Do you have sitemap_xmap.class or only sitemap_xmap.java? Might be that sitemap_xmap.java was not generated correctly - take a look at it (or try to compile manually). Vadim > I have XML/XSL files ready to deploy on the Linux server, but can't get > Cocoon running... > > Linux 7.2 > IBM Java 1.3 > Tomcat 3.2.2 > Cocoon 2.0.2 > JBoss 2.4.3 > > Mark > > -----Original Message----- > From: Mark S. Kent [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 09, 2002 10:27 AM > To: [EMAIL PROTECTED] > Subject: LanguageException error on startup (Coc2.0.2,Tomcat3.2.2) > > > We are trying to start Cocoon 2.0.2 using Tomcat 3.2.2 and getting the > following error upon the first attempted load of the default samples page: > > -------------- begin snip ------------------ > Cocoon 2 - Internal server error > ------------------------------------------------------------------------ ---- > ---- > type fatal > message Language Exception > > description org.apache.cocoon.ProcessingException: Language Exception: > org.apache.cocoon.components.language.LanguageException: Could not load > class for program 'org/apache/cocoon/www/sitemap_xmap' due to a > java.lang.ClassNotFoundException: org.apache.cocoon.www.sitemap_xmap > > sender org.apache.cocoon.servlet.CocoonServlet > > source Cocoon servlet > > stack-trace > > org.apache.cocoon.ProcessingException: Language Exception: > org.apache.cocoon.components.language.LanguageException: Could not load > class for program 'org/apache/cocoon/www/sitemap_xmap' due to a > java.lang.ClassNotFoundException: org.apache.cocoon.www.sitemap_xmap > at > org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.cre ateR > esource(ProgramGeneratorImpl.java:335) > at > org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa d(Pr > ogramGeneratorImpl.java:291) > at org.apache.cocoon.sitemap.Handler.run(Handler.java:270) > at java.lang.Thread.run(Thread.java:498) > org.apache.cocoon.components.language.LanguageException: Could not load > class for program 'org/apache/cocoon/www/sitemap_xmap' due to a > java.lang.ClassNotFoundException: org.apache.cocoon.www.sitemap_xmap > at > org.apache.cocoon.components.language.programming.java.JavaLanguage.load Prog > ram(JavaLanguage.java:186) > > -------------- end snip ------------------ > > The files in the webapps/cocoon folder are the originals from the build (no > changes made). > > Can anyone help? I've checked the FAQ and install notes and followed the > instructions and have provided a listing of "tomcat/lib" here: > > -rw-r--r-- 1 tomcat dev 330474 May 28 2001 ant.jar > -rw-r--r-- 1 tomcat dev 217923 May 28 2001 jasper.jar > -rw-r--r-- 1 root root 1808883 Apr 4 22:34 parser.jar > -rw-r--r-- 1 tomcat dev 40810 May 28 2001 servlet.jar > drwxr-xr-x 3 tomcat dev 4096 Apr 9 09:58 test > -rw-r--r-- 1 tomcat dev 430434 May 28 2001 webserver.jar > -rw-r--r-- 1 root root 108484 Apr 9 09:20 xml-apis.jar > > Is there any plans to create a true "forum for these discussions as opposed > to a mailing list? I'd prefer forums for ease of use (not to mention how > much it cuts down on emails...) > > Mark > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faqs.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/faqs.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/faqs.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/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>