Great idea. Thank you very much for this hint. This alternative to using softlink is all i need for my purposes and it works ... ;-) regards, hussayn
Geoff Howard wrote:
Try changing the appBase attribute of your host directive or docBase on the Context directive (in server.xml)instead of a symbolic link? This works well for me. Geoff Howard -----Original Message----- From: SAXESS - Hussayn Dabbous [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 10, 2002 10:15 AM To: [EMAIL PROTECTED] Subject: cocoon-2.0.4 fails to load generated classes when the webapp-root is a softlink ... Hy; This applies to cocoon-2.0.4 with tomcat-2.4.16 : I want to install the cocoon webapp directory somewhere in my filesystem and put a softlink into the tomcat-webapp directory that points to the location of the cocoon-webapp. Unfortunately i end up with following error message in the cocoon core.log: 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.loadProg ram(JavaLanguage.java:186) at org.apache.cocoon.components.language.programming.CompiledProgrammingLanguag e.load(CompiledProgrammingLanguage.java:211) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generat eResource(ProgramGeneratorImpl.java:417) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createR esource(ProgramGeneratorImpl.java:353) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(Pr ogramGeneratorImpl.java:312) at org.apache.cocoon.sitemap.Handler.run(Handler.java:267) at java.lang.Thread.run(Thread.java:479) I verified, that the requested class is available in the tomcat work directory. Maybe cocoon simply relies on beeing placed into the webapp dir of the appserver and what i do is not supported ? Or is this something, that should be looked after ? regards, Hussayn --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]