DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28717>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28717

HTMLGenerator class failed to load

           Summary: HTMLGenerator class failed to load
           Product: Cocoon 2
           Version: Current CVS 2.1
          Platform: PC
               URL: http://localhost:8080/cocoon/
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: sitemap components
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Building a cocoon.war without exclusions, (blocks.properties is same as
local.blocks.properties) builds okay but upon deployment to a Tomcat 4.1.18 and
even on running cocoon.sh (jetty) it fails on line 102 of the main sitemap.xmap,
cannot load HTMLGenerator class.  The fix on Tomcat 4.1.18, commenting the
map:generator on line 102, the samples would work(not all of it, but most of it
as am not sure which sample uses HTMLGenerator component).

How to reproduce:

1. Download or update from CVS (observed problem April 2004).
2. no modification to blocks.properties.  run  ./build.sh war
3. this normally would build successfully, problem is in deployment.
4. deployment into a Tomcat 4.1.18
5. browse  http://localhost:8080/cocoon/ and you will see that the stack error
says cannot load HTMLGenerator and points to main sitemap.xmap line 102.

Minor fix:

1.  Comment out line 102,

102 <!--
103     <map:generator label="content" logger="sitemap.generator.html" name=
"html" src="org.apache.cocoon.generation.HTMLGenerator"/>
104 -->
2. most samples should run.

Reply via email to