Topic
1 reply Latest Post - ‏2013-05-01T12:11:40Z by jhanders
smart_dev
smart_dev
56 Posts
ACCEPTED ANSWER

Pinned topic com.ibm.websphere.objectgrid.ObjectGridRuntimeException: java.io.EOFException

‏2013-04-17T15:30:51Z |

Hi,

 

I am using WXS 8.5 stand-alone on linux. I have a grid  configured with security with LDAP. One of the java applications connecting to the Grid for caching data. We are getting following exception while doing so.

 

 

at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:688) [org.springframework.aop-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [org.springframework.aop-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80) [org.springframework.aop-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at com.xxx.fieldconnect.utility.LoggingUtility.loggingAroundMethod(LoggingUtility.java:65) [classes/:na]
at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source) ~[na:na]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) ~[na:1.6.0]
at java.lang.reflect.Method.invoke(Method.java:611) ~[na:1.6.0]
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621) [org.springframework.aop-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610) [org.springframework.aop-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65) [org.springframework.aop-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [org.springframework.aop-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80) [org.springframework.aop-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at com.xxx.fieldconnect.web.aspects.AuthorizationFilter.checkAccess(AuthorizationFilter.java:96) [classes/:na]
at sun.reflect.GeneratedMethodAccessor101.invoke(Unknown Source) ~[na:na]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) ~[na:1.6.0]
at java.lang.reflect.Method.invoke(Method.java:611) ~[na:1.6.0]
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621) [org.springframework.aop-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610) [org.springframework.aop-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65) [org.springframework.aop-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) [org.springframework.aop-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) [spring-tx-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [org.springframework.aop-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89) [org.springframework.aop-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [org.springframework.aop-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:621) [org.springframework.aop-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at com.xxx.fieldconnect.web.controller.AdminController$$EnhancerByCGLIB$$7f4b59bf.clearCache() [cglib-2.2.jar:na]
at sun.reflect.GeneratedMethodAccessor299.invoke(Unknown Source) ~[na:na]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) ~[na:1.6.0]
at java.lang.reflect.Method.invoke(Method.java:611) ~[na:1.6.0]
at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176) [org.springframework.web-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:426) [spring-webmvc-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:414) [spring-webmvc-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:790) [spring-webmvc-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:719) [spring-webmvc-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:644) [spring-webmvc-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:549) [spring-webmvc-3.0.5.RELEASE.jar:3.0.5.RELEASE]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:718) [javax.j2ee.servlet.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831) [javax.j2ee.servlet.jar:na]
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1657) [com.ibm.ws.webcontainer.jar:na]
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1597) [com.ibm.ws.webcontainer.jar:na]
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:131) [com.ibm.ws.webcontainer.jar:na]
at com.xxx.dsfj.utility.MDCFilter.doFilter(Unknown Source) [dsfj-util-1.0.0.jar:1.0.0]
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188) [com.ibm.ws.webcontainer.jar:na]
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116) [com.ibm.ws.webcontainer.jar:na]
at ch.qos.logback.classic.selector.servlet.LoggerContextFilter.doFilter(LoggerContextFilter.java:70) [logback-classic-0.9.28.jar:na]
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:188) [com.ibm.ws.webcontainer.jar:na]
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:116) [com.ibm.ws.webcontainer.jar:na]
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:77) [com.ibm.ws.webcontainer.jar:na]
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:908) [com.ibm.ws.webcontainer.jar:na]
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:934) [com.ibm.ws.webcontainer.jar:na]
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:502) [com.ibm.ws.webcontainer.jar:na]
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:181) [com.ibm.ws.webcontainer.jar:na]
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:91) [com.ibm.ws.webcontainer.jar:na]
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:864) [com.ibm.ws.webcontainer.jar:na]
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1592) [com.ibm.ws.webcontainer.jar:na]
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:186) [com.ibm.ws.webcontainer.jar:na]
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:452) [com.ibm.ws.runtime.jar:na]
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:511) [com.ibm.ws.runtime.jar:na]
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:305) [com.ibm.ws.runtime.jar:na]
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:83) [com.ibm.ws.runtime.jar:na]
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:557) [na:CC70.CF [cf151046.03]]
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:607) [na:CC70.CF [cf151046.03]]
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:984) [na:CC70.CF [cf151046.03]]
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1069) [na:CC70.CF [cf151046.03]]
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1646) [com.ibm.ws.runtime.jar:na]
Caused by: com.ibm.websphere.objectgrid.TransactionException: Transaction was previously marked as rollback only
at com.ibm.ws.objectgrid.SessionImpl.commit(SessionImpl.java:1524) ~[wsogclient.jar:WXS8.5.0.XS [a1216.20150800]]
... 145 common frames omitted
Caused by: com.ibm.websphere.objectgrid.ObjectGridRuntimeException: java.io.EOFException
at com.ibm.ws.objectgrid.map.BaseMap.bytesToObject(BaseMap.java:12127) ~[wsogclient.jar:WXS8.5.0.XS [a1216.20150800]]
at com.ibm.ws.objectgrid.map.BaseMap.getValueCopyForTransaction(BaseMap.java:4763) ~[wsogclient.jar:WXS8.5.0.XS [a1216.20150800]]
at com.ibm.ws.objectgrid.map.BaseMap.getValueCopyForTransaction(BaseMap.java:4720) ~[wsogclient.jar:WXS8.5.0.XS [a1216.20150800]]
at com.ibm.ws.objectgrid.DiffMapValue.getCurrentValue(DiffMapValue.java:800) ~[wsogclient.jar:WXS8.5.0.XS [a1216.20150800]]
at com.ibm.ws.objectgrid.DiffMap.get(DiffMap.java:952) ~[wsogclient.jar:WXS8.5.0.XS [a1216.20150800]]
at com.ibm.ws.objectgrid.ObjectMapImpl.get(ObjectMapImpl.java:408) ~[wsogclient.jar:WXS8.5.0.XS [a1216.20150800]]
... 143 common frames omitted
Caused by: java.io.EOFException: null
at java.io.ObjectInputStream$BlockDataInputStream.readBoolean(ObjectInputStream.java:2731) ~[na:1.6.0]
at java.io.ObjectInputStream.readBoolean(ObjectInputStream.java:898) ~[na:1.6.0]
at com.ibm.ws.xs.stats.datamodel.PartitionInformation.readExternal(PartitionInformation.java:204) ~[wsogclient.jar:WXS8.5.0.XS [a1216.20150800]]
at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1809) ~[na:1.6.0]
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1768) ~[na:1.6.0]
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346) ~[na:1.6.0]
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:365) ~[na:1.6.0]
at com.ibm.ws.objectgrid.plugins.GenericSerializationInfo.inflate(GenericSerializationInfo.java:84) ~[wsogclient.jar:WXS8.5.0.XS [a1216.20150800]]
at com.ibm.ws.objectgrid.map.BaseMap$BaseMapObjectTransformer2.inflateObject(BaseMap.java:6599) ~[wsogclient.jar:WXS8.5.0.XS [a1216.20150800]]
at com.ibm.ws.objectgrid.map.BaseMap$BaseMapObjectTransformer.inflateValue(BaseMap.java:6440) ~[wsogclient.jar:WXS8.5.0.XS [a1216.20150800]]
at com.ibm.ws.objectgrid.map.BaseMap.bytesToObject(BaseMap.java:12046) ~[wsogclient.jar:WXS8.5.0.XS [a1216.20150800]]
... 148 common frames omitted

Can anybody help me here?

 

 

  • jhanders
    jhanders
    257 Posts
    ACCEPTED ANSWER

    Re: com.ibm.websphere.objectgrid.ObjectGridRuntimeException: java.io.EOFException

    ‏2013-05-01T12:11:40Z  in response to smart_dev

    8.5.0.3 has the fix for this problem.  I suggest you move there.  If you are considering 8.6, it is fixed there as well.