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=13668>.
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=13668

Problem adding listener to Cocoon's web.xml

           Summary: Problem adding listener to Cocoon's web.xml
           Product: Cocoon 2
           Version: 2.0.3
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: general components
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Before the <servlet/> definition within {cocoon-root}/WEB-INF/web.xml, I
attempted to add a listener class Foo implementing HttpSessionListener via:
  <listener>
    <listener-class>com.unveil.ucs.interactionChannel.servlet.Foo</listener-class>
  </listener>
and found that Cocoon wasn't expecting the <listener/> tag---the salient portion
would appear to be:
SEVERE: Parse Error at line 287 column 11: The content of element type "web-app"
 must match "(icon?,display-name?,description?,distributable?,context-param*,ser
vlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-pa
ge*,taglib*,resource-ref*,security-constraint*,login-config?,security-role*,env-
entry*,ejb-ref*)".
org.xml.sax.SAXParseException: The content of element type "web-app" must match
"(icon?,display-name?,description?,distributable?,context-param*,servlet*,servle
t-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,
resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-r
ef*)".

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to