cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vadim.gritse...@verizon.net>
Subject RE: LanguageException error on startup (Coc2.0.2,Tomcat3.2.2)
Date Fri, 12 Apr 2002 19:59:41 GMT
> From: Mark S. Kent [mailto:mark.kent@vistyx.com]
> 
> 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:mark.kent@vistyx.com]
> Sent: Tuesday, April 09, 2002 10:27 AM
> To: cocoon-users@xml.apache.org
> 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: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> 
> 
> ---------------------------------------------------------------------
> 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: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>



---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message