CalDAV Application WCAP Servlet Not HA Suited (Doc ID 1332496.1)

Last updated on SEPTEMBER 14, 2016

Applies to:

Oracle Communications Calendar Server - Version: 7.1 and later   [Release: 7.0 and later ]
Information in this document applies to any platform.

Symptoms

Environment:
Glassfish v2.1.1

HADB Configured in Full mode with HADB persistence store version 4.4
CalDAV deployed with tag <distributable/> and sun-web.xml


<sun-web-app>
 <session-config>
   <session-manager persistence-type="ha">
     <manager-properties>
       <property name="persistenceFrequency" value="web-method"/>
     </manager-properties>
     <store-properties>
       <property name="persistenceScope" value="session"/>
     </store-properties>


Calendar log:


INFO    [2011-06-05T23:04:34.245+0200] <...LDAPLoginModule.attemptAuthentication> authentication failed for DN: uid=admin,ou=People,o=posta.va,o=holysee
WARNING [2011-06-05T23:08:37.497+0200] <...WCAPServlet.service> Got an error
java.lang.IllegalArgumentException: PWC2788: setAttribute: Non-serializable attribute with name SERVICE
       at org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:1695)
       at com.sun.enterprise.ee.web.sessmgmt.FullHASession.setAttribute(FullHASession.java:94)
       at org.apache.catalina.session.StandardSessionFacade.setAttribute(StandardSessionFacade.java:179)
       at com.sun.comms.davserver.protocols.wcap.server.WCAPServlet.getDavService(WCAPServlet.java:250)
       at com.sun.comms.davserver.protocols.wcap.server.WCAPServlet.service(WCAPServlet.java:159)
       at com.sun.comms.davserver.protocols.DavServerServlet.service(DavServerServlet.java:162)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
       at sun.reflect.GeneratedMethodAccessor98.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:597)
       at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:292)
       at java.security.AccessController.doPrivileged(Native Method)
       at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
       at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:325)
       at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:208)
       at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:420)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
       at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
       at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
       at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
       at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
       at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms