edu.rpi.cct.webdav.servlet.shared.WebdavForbidden: Unknown property X-SOME_APP_F LAG

Apereo Issues | Matej Spiller-Muys | 5 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    1. CalDav is return everything is OK even when there is exception on the server. There is some bad exception handling eating the error away. 2. request <?xml version="1.0"?> <C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav"> <D:prop xmlns:D="DAV:"> <D:getetag/> <D:allprop/> <C:calendar-data> <C:comp name="VCALENDAR"/> </C:calendar-data> </D:prop> <C:filter> <C:comp-filter name="VCALENDAR"> <C:comp-filter name="VTODO"> <C:prop-filter name="X-SOME_APP_FLAG"> <C:text-match caseless="yes" collation="i;ascii-casemap">ABCDEF</C:text-match> </C:prop-filter> </C:comp-filter> </C:comp-filter> </C:filter> </C:calendar-query> 3. server log 17:33:37,580 DEBUG [CaldavBWServlet] entry: REPORT 17:33:37,580 DEBUG [CaldavBWServlet] Request headers 17:33:37,580 DEBUG [CaldavBWServlet] authorization = "Basic **********" 17:33:37,580 DEBUG [CaldavBWServlet] user-agent = "Jakarta Commons-HttpClient/ 3.1" 17:33:37,580 DEBUG [CaldavBWServlet] host = "d014:8080" 17:33:37,580 DEBUG [CaldavBWServlet] content-length = "631" 17:33:37,580 DEBUG [CaldavBWServlet] depth = "1" 17:33:37,580 DEBUG [CaldavBWServlet] content-type = "text/xml" 17:33:37,580 DEBUG [CaldavBWServlet] Request parameters - global info and uris 17:33:37,580 DEBUG [CaldavBWServlet] getRemoteAddr = 10.17.22.28 17:33:37,580 DEBUG [CaldavBWServlet] getRequestURI = /ucaldav/user/eVpisnik/cale ndar/ 17:33:37,580 DEBUG [CaldavBWServlet] getRemoteUser = eVpisnik 17:33:37,580 DEBUG [CaldavBWServlet] getRequestedSessionId = null 17:33:37,580 DEBUG [CaldavBWServlet] HttpUtils.getRequestURL(req) = http://d014: 8080/ucaldav/user/eVpisnik/calendar/ 17:33:37,580 DEBUG [CaldavBWServlet] contextPath=/ucaldav 17:33:37,580 DEBUG [CaldavBWServlet] query=null 17:33:37,580 DEBUG [CaldavBWServlet] contentlen=631 17:33:37,580 DEBUG [CaldavBWServlet] request=org.apache.catalina.connector.Reque stFacade@c781e4 17:33:37,580 DEBUG [CaldavBWServlet] parameters: 17:33:37,580 DEBUG [CaldavBWServlet] Request parameters 17:33:37,580 INFO [SessionListener] SESSION-START:F7D7792F7243AB2D18789844B64C7 AC3:?:1:144:297M:596M 17:33:37,580 INFO [[/ucaldav]] ========= New session(?): 1 active, 144 total. v m(used, max)=(297M, 596M) 17:33:37,580 DEBUG [CalintfImpl] New hibernate session for null 17:33:37,580 DEBUG [CalintfImpl] Open session for null 17:33:37,580 DEBUG [CalintfImpl] Begin transaction for null 17:33:37,580 DEBUG [CalSvc] Authenticated user eVpisnik logged on 17:33:37,595 DEBUG [UserGroupsLdapImpl] Logged into LDAP server, javax.naming.ld ap.InitialLdapContext@1511dce 17:33:37,595 DEBUG [UserGroupsLdapImpl] Logged into LDAP server, javax.naming.ld ap.InitialLdapContext@a5d76d 17:33:37,595 DEBUG [CalintfImpl] End transaction for 2012-08-10 17:33:37.595 17:33:37,595 DEBUG [CalintfImpl] Close for 2012-08-10 17:33:37.595 17:33:37,611 DEBUG [CalintfImpl] New hibernate session for 2012-08-10 17:33:37.5 95 17:33:37,611 DEBUG [CalintfImpl] Open session for 2012-08-10 17:33:37.595 17:33:37,611 DEBUG [CalintfImpl] Begin transaction for 2012-08-10 17:33:37.595 17:33:37,611 DEBUG [MessageProcessor] Event USER_LOGIN 17:33:37,627 DEBUG [CalintfImpl] End transaction for 2012-08-10 17:33:37.595 17:33:37,627 DEBUG [CalintfImpl] Close for 2012-08-10 17:33:37.595 17:33:37,627 DEBUG [CalintfImpl] New hibernate session for 2012-08-10 17:33:37.5 95 17:33:37,627 DEBUG [CalintfImpl] Open session for 2012-08-10 17:33:37.595 17:33:37,627 DEBUG [CalintfImpl] Begin transaction for 2012-08-10 17:33:37.595 17:33:37,627 DEBUG [CaldavBWServlet] No charset specified in request; forced to UTF-8 17:33:37,627 DEBUG [CaldavReportMethod] ReportMethod: doMethod 17:33:37,627 DEBUG [MessageProcessor] Event USER_SVCINIT 17:33:37,627 DEBUG [CaldavBWIntf] [144] <?xml version="1.0"?> <C:calendar-query xmlns:C="urn:ietf:params:xml:ns:caldav"> <D:prop xmlns:D="DAV:"> <D:getetag/> <D:allprop/> <C:calendar-data> <C:comp name="VCALENDAR"/> </C:calendar-data> </D:prop> <C:filter> <C:comp-filter name="VCALENDAR"> <C:comp-filter name="VTODO"> <C:prop-filter name="X-SOME_APP_FLAG"> <C:text-match caseless="yes" collation="i;ascii-casemap">ABC DEF</C:text-match> </C:prop-filter> </C:comp-filter> </C:comp-filter> </C:filter> </C:calendar-query> 17:33:37,627 DEBUG [CaldavReportMethod] ReportMethod: depth=1 17:33:37,627 DEBUG [CaldavBWIntf] [144] prop: {DAV:}getetag 17:33:37,627 DEBUG [CaldavBWIntf] [144] prop: {DAV:}allprop 17:33:37,627 DEBUG [CalData] calendar-data node type: 1 name:C:comp 17:33:37,627 DEBUG [CalData] <calendar-data content-type="text/calendar"> 17:33:37,627 DEBUG [CalData] <comp name=VCALENDAR> 17:33:37,627 DEBUG [CalData] </comp> 17:33:37,627 DEBUG [CalData] </calendar-data> 17:33:37,627 DEBUG [CaldavBWIntf] [144] prop: {urn:ietf:params:xml:ns:caldav}cal endar-data 17:33:37,689 DEBUG [CaldavReportMethod] REPORT: query 17:33:37,705 DEBUG [CaldavReportMethod] <filter> 17:33:37,705 DEBUG [CaldavReportMethod] <comp-filter name="VCALENDAR"> 17:33:37,705 DEBUG [CaldavReportMethod] <comp-filter name="VTODO"> 17:33:37,705 DEBUG [CaldavReportMethod] <prop-filter name="X-SOME_APP_FLAG "> 17:33:37,705 DEBUG [CaldavReportMethod] <text-match collation=i;ascii-ca semap negate-condition=no> 17:33:37,705 DEBUG [CaldavReportMethod] ABCDEF 17:33:37,705 DEBUG [CaldavReportMethod] </text-match> 17:33:37,705 DEBUG [CaldavReportMethod] </prop-filter> 17:33:37,705 DEBUG [CaldavReportMethod] </comp-filter> 17:33:37,705 DEBUG [CaldavReportMethod] </comp-filter> 17:33:37,705 DEBUG [CaldavReportMethod] </filter> 17:33:37,705 DEBUG [CaldavBWServlet] setStatus(207) 17:33:37,705 DEBUG [CaldavBWServlet] getWriter called 17:33:37,705 DEBUG [CaldavReportMethod] resourceUri: /user/eVpisnik/calendar/ 17:33:37,705 DEBUG [CaldavBWIntf] [144] About to get node for /user/eVpisnik/cal endar/ 17:33:37,705 DEBUG [CaldavBWIntf] [144] Normalized uri=/user/eVpisnik/calendar 17:33:37,705 DEBUG [CaldavBWIntf] [144] search for collection uri "/user/eVpisni k/calendar" 17:33:37,705 DEBUG [CaldavBWIntf] [144] create collection uri - cal="/user/eVpis nik/calendar" 17:33:37,705 DEBUG [CaldavReportMethod] REPORT: preq not null 17:33:37,705 DEBUG [CaldavReportMethod] doNodeAndChildren: curDepth=0 maxDepth=1 uri=/user/eVpisnik/calendar 17:33:37,705 DEBUG [CaldavReportMethod] getNodes: /user/eVpisnik/calendar 17:33:37,705 ERROR [FilterHandler] org.bedework.caldav.server.filter.FilterHandl er@b795ba edu.rpi.cct.webdav.servlet.shared.WebdavForbidden: Unknown property X-SOME_APP_F LAG at org.bedework.caldav.util.filter.parse.Filters.makeFilter(Filters.java :371) at org.bedework.caldav.util.filter.parse.Filters.processPropFilters(Filt ers.java:325) at org.bedework.caldav.util.filter.parse.Filters.getQueryFilter(Filters. java:251) at org.bedework.caldav.util.filter.parse.Filters.getQueryFilter(Filters. java:257) at org.bedework.caldav.util.filter.parse.Filters.getQuery(Filters.java:1 43) at org.bedework.caldav.server.filter.FilterHandler.query(FilterHandler.j ava:164) at org.bedework.caldav.server.CaldavBWIntf.query(CaldavBWIntf.java:1689) at org.bedework.caldav.server.CaldavReportMethod.getNodes(CaldavReportMe thod.java:641) at org.bedework.caldav.server.CaldavReportMethod.doNodeAndChildren(Calda vReportMethod.java:615) at org.bedework.caldav.server.CaldavReportMethod.doNodeAndChildren(Calda vReportMethod.java:572) at org.bedework.caldav.server.CaldavReportMethod.doNodeAndChildren(Calda vReportMethod.java:552) at org.bedework.caldav.server.CaldavReportMethod.process(CaldavReportMet hod.java:388) at org.bedework.caldav.server.CaldavReportMethod.processResp(CaldavRepor tMethod.java:370) at org.bedework.caldav.server.CaldavReportMethod.process(CaldavReportMet hod.java:123) at edu.rpi.cct.webdav.servlet.common.ReportMethod.doMethod(ReportMethod. java:114) at edu.rpi.cct.webdav.servlet.common.WebdavServlet.service(WebdavServlet .java:149) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi lter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:235) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:191) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit yAssociationValve.java:190) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica torBase.java:525) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv e.java:92) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.proce ss(SecurityContextEstablishmentValve.java:126) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invok e(SecurityContextEstablishmentValve.java:70) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedC onnectionValve.java:158) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: 567) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:330) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :829) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ss(Http11Protocol.java:598) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 7) at java.lang.Thread.run(Thread.java:662) 17:33:37,705 ERROR [CaldavBWServlet] org.bedework.caldav.server.CaldavBWServlet@ 1e25c3 edu.rpi.cct.webdav.servlet.shared.WebdavException at org.bedework.caldav.server.filter.FilterHandler.query(FilterHandler.j ava:195) at org.bedework.caldav.server.CaldavBWIntf.query(CaldavBWIntf.java:1689) at org.bedework.caldav.server.CaldavReportMethod.getNodes(CaldavReportMe thod.java:641) at org.bedework.caldav.server.CaldavReportMethod.doNodeAndChildren(Calda vReportMethod.java:615) at org.bedework.caldav.server.CaldavReportMethod.doNodeAndChildren(Calda vReportMethod.java:572) at org.bedework.caldav.server.CaldavReportMethod.doNodeAndChildren(Calda vReportMethod.java:552) at org.bedework.caldav.server.CaldavReportMethod.process(CaldavReportMet hod.java:388) at org.bedework.caldav.server.CaldavReportMethod.processResp(CaldavRepor tMethod.java:370) at org.bedework.caldav.server.CaldavReportMethod.process(CaldavReportMet hod.java:123) at edu.rpi.cct.webdav.servlet.common.ReportMethod.doMethod(ReportMethod. java:114) at edu.rpi.cct.webdav.servlet.common.WebdavServlet.service(WebdavServlet .java:149) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi lter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:235) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:191) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit yAssociationValve.java:190) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica torBase.java:525) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv e.java:92) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.proce ss(SecurityContextEstablishmentValve.java:126) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invok e(SecurityContextEstablishmentValve.java:70) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedC onnectionValve.java:158) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: 567) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:330) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :829) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ss(Http11Protocol.java:598) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 7) at java.lang.Thread.run(Thread.java:662) 17:33:37,705 DEBUG [CalintfImpl] Enter rollback 17:33:37,705 DEBUG [CalintfImpl] About to rollback 17:33:37,705 DEBUG [CaldavBWServlet] setStatus(500) message=null 17:33:37,705 DEBUG [CalintfImpl] End transaction for 2012-08-10 17:33:37.595 17:33:37,705 DEBUG [CalintfImpl] Close for 2012-08-10 17:33:37.595 17:33:37,705 DEBUG [CaldavBWServlet] ------------------------ Dump of response - ------------------ 17:33:37,705 DEBUG [CaldavBWServlet] <?xml version="1.0" encoding="UTF-8" ?> <DAV:multistatus xmlns:DAV="DAV:" xmlns="urn:ietf:params:xml:ns:caldav" xmlns:ical="http://www.w3.org/2002/12/cal/ical#"> 17:33:37,705 DEBUG [CaldavBWServlet] ---------------------- End dump of response ----------------- 17:33:37,705 DEBUG [CaldavBWServlet] contentLength=191 17:33:37,705 INFO [SessionListener] SESSION-END:F7D7792F7243AB2D18789844B64C7AC 3:?:0:144:289M:596M 17:33:37,705 INFO [[/ucaldav]] ========= Session destroyed(?): 0 active. vm(use d, max)=(289M, 596M)

    Apereo Issues | 5 years ago | Matej Spiller-Muys
    edu.rpi.cct.webdav.servlet.shared.WebdavForbidden: Unknown property X-SOME_APP_F LAG

    Root Cause Analysis

    1. edu.rpi.cct.webdav.servlet.shared.WebdavForbidden

      Unknown property X-SOME_APP_F LAG

      at org.bedework.caldav.util.filter.parse.Filters.makeFilter()
    2. org.bedework.caldav
      CaldavReportMethod.process
      1. org.bedework.caldav.util.filter.parse.Filters.makeFilter(Filters.java:371)
      2. org.bedework.caldav.util.filter.parse.Filters.processPropFilters(Filters.java:325)
      3. org.bedework.caldav.util.filter.parse.Filters.getQueryFilter(Filters.java:251)
      4. org.bedework.caldav.util.filter.parse.Filters.getQueryFilter(Filters.java:257)
      5. org.bedework.caldav.util.filter.parse.Filters.getQuery(Filters.java:143)
      6. org.bedework.caldav.server.filter.FilterHandler.query(FilterHandler.java:164)
      7. org.bedework.caldav.server.CaldavBWIntf.query(CaldavBWIntf.java:1689)
      8. org.bedework.caldav.server.CaldavReportMethod.getNodes(CaldavReportMethod.java:641)
      9. org.bedework.caldav.server.CaldavReportMethod.doNodeAndChildren(CaldavReportMethod.java:615)
      10. org.bedework.caldav.server.CaldavReportMethod.doNodeAndChildren(CaldavReportMethod.java:572)
      11. org.bedework.caldav.server.CaldavReportMethod.doNodeAndChildren(CaldavReportMethod.java:552)
      12. org.bedework.caldav.server.CaldavReportMethod.process(CaldavReportMethod.java:388)
      13. org.bedework.caldav.server.CaldavReportMethod.processResp(CaldavReportMethod.java:370)
      14. org.bedework.caldav.server.CaldavReportMethod.process(CaldavReportMethod.java:123)
      14 frames
    3. edu.rpi.cct
      WebdavServlet.service
      1. edu.rpi.cct.webdav.servlet.common.ReportMethod.doMethod(ReportMethod.java:114)
      2. edu.rpi.cct.webdav.servlet.common.WebdavServlet.service(WebdavServlet.java:149)
      2 frames
    4. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      1 frame
    5. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    6. JBoss Application Server Tomcat
      ReplyHeaderFilter.doFilter
      1. org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      1 frame
    7. Glassfish Core
      StandardContextValve.invoke
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      4 frames
    8. JBoss Application Server Tomcat
      SecurityAssociationValve.invoke
      1. org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
      1 frame
    9. Glassfish Core
      AuthenticatorBase.invoke
      1. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
      1 frame
    10. JBoss Application Server Tomcat
      SecurityContextEstablishmentValve.invoke
      1. org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
      2. org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
      3. org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
      3 frames
    11. Glassfish Core
      ErrorReportValve.invoke
      1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      2. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      2 frames
    12. JBoss Application Server Tomcat
      CachedConnectionValve.invoke
      1. org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
      1 frame
    13. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)
      2. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      3. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
      3 frames
    14. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      3 frames
    15. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:662)
      1 frame