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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27188

CocoonPortlet default-encoding

           Summary: CocoonPortlet default-encoding
           Product: Cocoon 2
           Version: 2.1.4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: blocks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


CocoonPortlet doesn't set Avalon context property CONTEXT_DEFAULT_ENCODING, 
which is required in AbstractTextSerializer. CocoonServlet and CocoonWrapper
(CLI) are doing so.

As a consequence this exception is thrown after trying to serialize HTML event 
stream:
...
Caused by: org.apache.avalon.framework.component.ComponentException: 
serializers: ComponentSelector could not access the Component for hint [html] 
(key [html])
        at 
org.apache.avalon.excalibur.component.ExcaliburComponentSelector.select
(ExcaliburComponentSelector.java:264)
        ... 103 more
Caused by: org.apache.avalon.framework.context.ContextException: Unable to 
resolve context key: default-encoding

Reply via email to