Post

1 follower Follow
0
Avatar

Error starting TCSserver2.9 server using gemfire for session replication

Hello,

 

I am getting the following exception while starting tcserver2.9 using Gemfire 8.2.2 - 

 

SEVERE: Servlet.service() for servlet [Friendly URL Servlet - Public] in context with path [] threw exception [com.gemstone.gemfire.ToDataException: toData failed on DataSerializable class com.gemstone.gemfire.modules.session.catalina.DeltaSession7] with root cause
java.lang.NoSuchFieldError: attributes
at com.gemstone.gemfire.modules.session.catalina.DeltaSession7.getSerializedAttributes(DeltaSession7.java:556)
at com.gemstone.gemfire.modules.session.catalina.DeltaSession7.toData(DeltaSession7.java:495)
at com.gemstone.gemfire.internal.InternalDataSerializer.invokeToData(InternalDataSerializer.java:2404)
at com.gemstone.gemfire.internal.InternalDataSerializer.basicWriteObject(InternalDataSerializer.java:2196)
at com.gemstone.gemfire.DataSerializer.writeObject(DataSerializer.java:3188)
at com.gemstone.gemfire.internal.util.BlobHelper.serializeTo(BlobHelper.java:65)
at com.gemstone.gemfire.internal.cache.tier.sockets.Message.serializeAndAddPart(Message.java:372)
at com.gemstone.gemfire.internal.cache.tier.sockets.Message.addObjPart(Message.java:354)
at com.gemstone.gemfire.internal.cache.tier.sockets.Message.addObjPart(Message.java:346)
at com.gemstone.gemfire.cache.client.internal.PutOp$PutOpImpl.<init>(PutOp.java:290)
at com.gemstone.gemfire.cache.client.internal.PutOp.execute(PutOp.java:67)
at com.gemstone.gemfire.cache.client.internal.ServerRegionProxy.put(ServerRegionProxy.java:196)
at com.gemstone.gemfire.internal.cache.LocalRegion.serverPut(LocalRegion.java:3002)
at com.gemstone.gemfire.internal.cache.LocalRegion.cacheWriteBeforePut(LocalRegion.java:3138)
at com.gemstone.gemfire.internal.cache.AbstractRegionMap.invokeCacheWriter(AbstractRegionMap.java:3215)
at com.gemstone.gemfire.internal.cache.AbstractRegionMap.basicPut(AbstractRegionMap.java:2979)
at com.gemstone.gemfire.internal.cache.LocalRegion.virtualPut(LocalRegion.java:5824)
at com.gemstone.gemfire.internal.cache.LocalRegionDataView.putEntry(LocalRegionDataView.java:118)
at com.gemstone.gemfire.internal.cache.LocalRegion.basicPut(LocalRegion.java:5214)
at com.gemstone.gemfire.internal.cache.LocalRegion.validatedPut(LocalRegion.java:1597)
at com.gemstone.gemfire.internal.cache.LocalRegion.put(LocalRegion.java:1580)
at com.gemstone.gemfire.internal.cache.AbstractRegion.put(AbstractRegion.java:327)
at com.gemstone.gemfire.modules.session.catalina.AbstractSessionCache.putSession(AbstractSessionCache.java:54)
at com.gemstone.gemfire.modules.session.catalina.DeltaSessionManager.add(DeltaSessionManager.java:411)
at org.apache.catalina.session.StandardSession.setId(StandardSession.java:392)
at org.apache.catalina.session.StandardSession.setId(StandardSession.java:376)
at org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:655)
at org.apache.catalina.connector.Request.doGetSession(Request.java:2898)
at org.apache.catalina.connector.Request.getSession(Request.java:2316)
at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:898)
at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:910)
at com.liferay.portal.servlet.filters.sessionmaxallowed.SessionMaxAllowedFilter.doFilterFinally(SessionMaxAllowedFilter.java:38)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:173)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:204)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:109)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:165)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:97)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at com.gemstone.gemfire.modules.session.catalina.CommitSessionValve.invoke(CommitSessionValve.java:40)
at com.gemstone.gemfire.modules.session.catalina.JvmRouteBinderValve.invoke(JvmRouteBinderValve.java:41)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)

 

The following jars are deployed in $CATALINA_HOME/lib folder - 

antlr-2.7.6.jar

gemfire-8.2.2.jar

gemfire-modules-8.2.2.jar

gemfire-modules-tomcat7-8.2.2.jar

spring-core-3.2.13.RELEASE.jar

spring-shell-1.0.0.RELEASE.jar

log4j-api-2.1.jar

log4j-core-2.1.jar

 

Can you please let me know what am I missing here or what should I look for triaging the issue. Thanks in advance!

 

Thanks,

Vivek Nadar

Please sign in to leave a comment.