cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 13668] New: - Problem adding listener to Cocoon's web.xml
Date Tue, 15 Oct 2002 21:02:54 GMT
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: cocoon-dev@xml.apache.org
        ReportedBy: mturyn@world.std.com


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


Mime
View raw message