tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ravindranath Akila <ravindranathak...@gmail.com>
Subject Re: ERROR - An unexpected exception occured while reading entries from disk
Date Sat, 05 Jun 2010 07:42:51 GMT
Follow up: Does this mean once a bean is passivated, it will not be
activated or any number of instances? What is the limit in which the bug
comes forth? I am conducting some passivation tests and would be great if
you could explain this to me. Thanks in advance.

On Fri, May 14, 2010 at 11:52 PM, Ravindranath Akila <
ravindranathakila@gmail.com> wrote:

> Hello,
>   :-) Thank you for the prompt fix. Thanks David.
>
>
> On Thu, Apr 22, 2010 at 4:34 AM, David Blevins <david.blevins@visi.com>wrote:
>
>> Ravindranath,
>>
>> Thanks for reporting this!  Found, fixed and filed:
>>
>>  https://issues.apache.org/jira/browse/OPENEJB-1245
>>
>>
>> -David
>>
>>
>> On Mar 31, 2010, at 6:43 AM, Ravindranath Akila wrote:
>>
>>  Have I phrased the question wrong? Or if I have missed something out I'd
>>> be
>>> grateful to you if you could point it out. Any pointers on where I could
>>> read on this?
>>>
>>> On Tue, Mar 23, 2010 at 10:51 PM, Ravindranath Akila <
>>> ravindranathakila@gmail.com> wrote:
>>>
>>>  I also get the following exception when the passivator was switched.
>>>>
>>>> 2010-03-23 22:20:11,937 - ERROR - An unexpected exception occured while
>>>> reading entries from disk
>>>> org.apache.openejb.SystemException: java.io.EOFException: null
>>>>       at
>>>>
>>>> org.apache.openejb.core.stateful.RAFPassivater.activate(RAFPassivater.java:93)
>>>>        at
>>>>
>>>> org.apache.openejb.core.stateful.SimpleCache.loadEntry(SimpleCache.java:427)
>>>>       at
>>>>
>>>> org.apache.openejb.core.stateful.SimpleCache.checkOut(SimpleCache.java:162)
>>>>       at
>>>>
>>>> org.apache.openejb.core.stateful.StatefulContainer.obtainInstance(StatefulContainer.java:589)
>>>>       at
>>>>
>>>> org.apache.openejb.core.stateful.StatefulContainer.businessMethod(StatefulContainer.java:461)
>>>>       at
>>>>
>>>> org.apache.openejb.core.stateful.StatefulContainer.invoke(StatefulContainer.java:267)
>>>>       at
>>>>
>>>> org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:217)
>>>>       at
>>>>
>>>> org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:77)
>>>>       at
>>>>
>>>> org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:286)
>>>>       at $Proxy83.getHumanUserId(Unknown Source)
>>>>       at
>>>>
>>>> ai.ilikeplaces.util.AbstractListener.getUsername(AbstractListener.java:202)
>>>>        at
>>>>
>>>> ai.ilikeplaces.logic.Listeners.ListenerOrganize$1.init(ListenerOrganize.java:69)
>>>>       at
>>>> ai.ilikeplaces.util.AbstractListener.<init>(AbstractListener.java:71)
>>>>        at
>>>>
>>>> ai.ilikeplaces.logic.Listeners.ListenerOrganize$1.<init>(ListenerOrganize.java:49)
>>>>       at
>>>>
>>>> ai.ilikeplaces.logic.Listeners.ListenerOrganize.processRequest(ListenerOrganize.java:49)
>>>>       at
>>>>
>>>> org.itsnat.impl.core.ItsNatServletResponseImpl.dispatchRequestListener(ItsNatServletResponseImpl.java:153)
>>>>       at
>>>>
>>>> org.itsnat.impl.core.ItsNatServletResponseImpl.dispatchItsNatServletRequestListeners(ItsNatServletResponseImpl.java:163)
>>>>       at
>>>>
>>>> org.itsnat.impl.core.resp.norm.ResponseNormalLoadDocImpl.dispatchRequestListeners(ResponseNormalLoadDocImpl.java:93)
>>>>       at
>>>>
>>>> org.itsnat.impl.core.resp.norm.ResponseNormalLoadAJAXDocImpl.dispatchRequestListeners(ResponseNormalLoadAJAXDocImpl.java:139)
>>>>       at
>>>>
>>>> org.itsnat.impl.core.resp.shared.ResponseDelegateAJAXLoadDocImpl.dispatchRequestListeners(ResponseDelegateAJAXLoadDocImpl.java:212)
>>>>       at
>>>>
>>>> org.itsnat.impl.core.resp.shared.html.ResponseDelegateHTMLLoadDocWebKitImpl.dispatchRequestListeners(ResponseDelegateHTMLLoadDocWebKitImpl.java:76)
>>>>        at
>>>>
>>>> org.itsnat.impl.core.resp.shared.ResponseDelegateAJAXLoadDocImpl.process(ResponseDelegateAJAXLoadDocImpl.java:147)
>>>>       at
>>>>
>>>> org.itsnat.impl.core.resp.norm.ResponseNormalLoadAJAXDocImpl.process(ResponseNormalLoadAJAXDocImpl.java:75)
>>>>       at
>>>> org.itsnat.impl.core.resp.ResponseImpl.process(ResponseImpl.java:77)
>>>>       at
>>>>
>>>> org.itsnat.impl.core.req.norm.RequestNormalLoadDocImpl.processThreadSync(RequestNormalLoadDocImpl.java:89)
>>>>       at
>>>>
>>>> org.itsnat.impl.core.req.norm.RequestNormalLoadDocImpl$1.syncMethod(RequestNormalLoadDocImpl.java:70)
>>>>       at
>>>>
>>>> org.itsnat.impl.core.doc.ItsNatDocSynchronizerImpl.exec(ItsNatDocSynchronizerImpl.java:56)
>>>>       at
>>>>
>>>> org.itsnat.impl.core.req.norm.RequestNormalLoadDocImpl.process(RequestNormalLoadDocImpl.java:73)
>>>>       at
>>>>
>>>> org.itsnat.impl.core.ItsNatServletRequestImpl.process(ItsNatServletRequestImpl.java:212)
>>>>       at
>>>>
>>>> org.itsnat.impl.core.http.ItsNatHttpServletImpl.processRequest(ItsNatHttpServletImpl.java:56)
>>>>       at
>>>>
>>>> org.itsnat.impl.core.http.ItsNatHttpServletImpl.processRequest(ItsNatHttpServletImpl.java:61)
>>>>       at
>>>> ai.ilikeplaces.servlets.Controller$1.processRequest(Controller.java:744)
>>>>       at
>>>>
>>>> org.itsnat.impl.core.ItsNatServletResponseImpl.dispatchRequestListener(ItsNatServletResponseImpl.java:153)
>>>>       at
>>>>
>>>> org.itsnat.impl.core.ItsNatServletResponseImpl.dispatchItsNatServletRequestListeners(ItsNatServletResponseImpl.java:163)
>>>>       at
>>>>
>>>> org.itsnat.impl.core.req.RequestCustomImpl.process(RequestCustomImpl.java:48)
>>>>       at
>>>>
>>>> org.itsnat.impl.core.ItsNatServletRequestImpl.process(ItsNatServletRequestImpl.java:212)
>>>>       at
>>>>
>>>> org.itsnat.impl.core.http.ItsNatHttpServletImpl.processRequest(ItsNatHttpServletImpl.java:56)
>>>>       at
>>>>
>>>> org.itsnat.impl.core.http.ItsNatHttpServletImpl.processRequest(ItsNatHttpServletImpl.java:61)
>>>>       at
>>>>
>>>> org.itsnat.core.http.HttpServletWrapper.processRequest(HttpServletWrapper.java:79)
>>>>       at
>>>>
>>>> org.itsnat.core.http.HttpServletWrapper.doGet(HttpServletWrapper.java:92)
>>>>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
>>>>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>>>>       at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>>>>       at
>>>>
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>>       at
>>>>
>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>>>>       at
>>>>
>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>>>>       at
>>>>
>>>> org.apache.openejb.tomcat.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
>>>>       at
>>>>
>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>>>>       at
>>>>
>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>>>>       at
>>>>
>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>>>>       at
>>>>
>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
>>>>       at
>>>>
>>>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>>>>       at
>>>>
>>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
>>>>       at
>>>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>>>>       at java.lang.Thread.run(Thread.java:619)
>>>> Caused by: java.io.EOFException
>>>>       at
>>>>
>>>> java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2281)
>>>>       at
>>>>
>>>> java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2750)
>>>>       at
>>>> java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:780)
>>>>       at java.io.ObjectInputStream.<init>(ObjectInputStream.java:280)
>>>>       at
>>>> org.apache.openejb.spi.Serializer.deserialize(Serializer.java:30)
>>>>       at
>>>>
>>>> org.apache.openejb.core.stateful.RAFPassivater.activate(RAFPassivater.java:91)
>>>>       ... 54 more
>>>>
>>>> On Tue, Mar 23, 2010 at 9:02 PM, Ravindranath Akila <
>>>> ravindranathakila@gmail.com> wrote:
>>>>
>>>>  I get this exception when calling a passivated stateful bean. I started
>>>>> getting this exception once I utterly restricted the container
>>>>> resources to
>>>>> experiment with passivation procedure. Here is the configuration. Below
>>>>> it
>>>>> is the exception.
>>>>>
>>>>> <Container id="My Stateful Container" type="STATEFUL">
>>>>>  Passivator   org.apache.openejb.core.stateful.SimplePassivater
>>>>>
>>>>>  TimeOut  1
>>>>>
>>>>>  Capacity  2
>>>>>
>>>>>  BulkPassivate  1
>>>>>
>>>>> </Container>
>>>>>
>>>>> Any advice would be greatly appreciated.
>>>>>
>>>>> 2010-03-23 20:42:32,890 - ERROR - An unexpected exception occured while
>>>>> reading entries from disk
>>>>> org.apache.openejb.SystemException: java.lang.ClassNotFoundException:
>>>>> ai.ilikeplaces.logic.role.HumanUser:
>>>>> ai.ilikeplaces.logic.role.HumanUser
>>>>>       at
>>>>>
>>>>> org.apache.openejb.core.stateful.SimplePassivater.activate(SimplePassivater.java:109)
>>>>>       at
>>>>>
>>>>> org.apache.openejb.core.stateful.SimpleCache.loadEntry(SimpleCache.java:427)
>>>>>       at
>>>>>
>>>>> org.apache.openejb.core.stateful.SimpleCache.checkOut(SimpleCache.java:162)
>>>>>       at
>>>>>
>>>>> org.apache.openejb.core.stateful.StatefulContainer.obtainInstance(StatefulContainer.java:589)
>>>>>       at
>>>>>
>>>>> org.apache.openejb.core.stateful.StatefulContainer.businessMethod(StatefulContainer.java:461)
>>>>>       at
>>>>>
>>>>> org.apache.openejb.core.stateful.StatefulContainer.invoke(StatefulContainer.java:267)
>>>>>       at
>>>>>
>>>>> org.apache.openejb.core.ivm.EjbObjectProxyHandler.businessMethod(EjbObjectProxyHandler.java:217)
>>>>>       at
>>>>>
>>>>> org.apache.openejb.core.ivm.EjbObjectProxyHandler._invoke(EjbObjectProxyHandler.java:77)
>>>>>       at
>>>>>
>>>>> org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:286)
>>>>>       at $Proxy83.getHumanUserId(Unknown Source)
>>>>>       at
>>>>>
>>>>> ai.ilikeplaces.util.AbstractListener.getUsername(AbstractListener.java:201)
>>>>>       at
>>>>>
>>>>> ai.ilikeplaces.logic.Listeners.ListenerOrganize$1.init(ListenerOrganize.java:69)
>>>>>       at
>>>>> ai.ilikeplaces.util.AbstractListener.<init>(AbstractListener.java:70)
>>>>>       at
>>>>>
>>>>> ai.ilikeplaces.logic.Listeners.ListenerOrganize$1.<init>(ListenerOrganize.java:49)
>>>>>       at
>>>>>
>>>>> ai.ilikeplaces.logic.Listeners.ListenerOrganize.processRequest(ListenerOrganize.java:49)
>>>>>       at
>>>>>
>>>>> org.itsnat.impl.core.ItsNatServletResponseImpl.dispatchRequestListener(ItsNatServletResponseImpl.java:153)
>>>>>       at
>>>>>
>>>>> org.itsnat.impl.core.ItsNatServletResponseImpl.dispatchItsNatServletRequestListeners(ItsNatServletResponseImpl.java:163)
>>>>>       at
>>>>>
>>>>> org.itsnat.impl.core.resp.norm.ResponseNormalLoadDocImpl.dispatchRequestListeners(ResponseNormalLoadDocImpl.java:93)
>>>>>       at
>>>>>
>>>>> org.itsnat.impl.core.resp.norm.ResponseNormalLoadAJAXDocImpl.dispatchRequestListeners(ResponseNormalLoadAJAXDocImpl.java:139)
>>>>>       at
>>>>>
>>>>> org.itsnat.impl.core.resp.shared.ResponseDelegateAJAXLoadDocImpl.dispatchRequestListeners(ResponseDelegateAJAXLoadDocImpl.java:212)
>>>>>       at
>>>>>
>>>>> org.itsnat.impl.core.resp.shared.ResponseDelegateAJAXLoadDocImpl.process(ResponseDelegateAJAXLoadDocImpl.java:147)
>>>>>       at
>>>>>
>>>>> org.itsnat.impl.core.resp.norm.ResponseNormalLoadAJAXDocImpl.process(ResponseNormalLoadAJAXDocImpl.java:75)
>>>>>       at
>>>>> org.itsnat.impl.core.resp.ResponseImpl.process(ResponseImpl.java:77)
>>>>>       at
>>>>>
>>>>> org.itsnat.impl.core.req.norm.RequestNormalLoadDocImpl.processThreadSync(RequestNormalLoadDocImpl.java:89)
>>>>>       at
>>>>>
>>>>> org.itsnat.impl.core.req.norm.RequestNormalLoadDocImpl$1.syncMethod(RequestNormalLoadDocImpl.java:70)
>>>>>       at
>>>>>
>>>>> org.itsnat.impl.core.doc.ItsNatDocSynchronizerImpl.exec(ItsNatDocSynchronizerImpl.java:56)
>>>>>       at
>>>>>
>>>>> org.itsnat.impl.core.req.norm.RequestNormalLoadDocImpl.process(RequestNormalLoadDocImpl.java:73)
>>>>>       at
>>>>>
>>>>> org.itsnat.impl.core.ItsNatServletRequestImpl.process(ItsNatServletRequestImpl.java:212)
>>>>>       at
>>>>>
>>>>> org.itsnat.impl.core.http.ItsNatHttpServletImpl.processRequest(ItsNatHttpServletImpl.java:56)
>>>>>       at
>>>>>
>>>>> org.itsnat.impl.core.http.ItsNatHttpServletImpl.processRequest(ItsNatHttpServletImpl.java:61)
>>>>>       at
>>>>>
>>>>> ai.ilikeplaces.servlets.Controller$1.processRequest(Controller.java:744)
>>>>>       at
>>>>>
>>>>> org.itsnat.impl.core.ItsNatServletResponseImpl.dispatchRequestListener(ItsNatServletResponseImpl.java:153)
>>>>>       at
>>>>>
>>>>> org.itsnat.impl.core.ItsNatServletResponseImpl.dispatchItsNatServletRequestListeners(ItsNatServletResponseImpl.java:163)
>>>>>       at
>>>>>
>>>>> org.itsnat.impl.core.req.RequestCustomImpl.process(RequestCustomImpl.java:48)
>>>>>       at
>>>>>
>>>>> org.itsnat.impl.core.ItsNatServletRequestImpl.process(ItsNatServletRequestImpl.java:212)
>>>>>       at
>>>>>
>>>>> org.itsnat.impl.core.http.ItsNatHttpServletImpl.processRequest(ItsNatHttpServletImpl.java:56)
>>>>>       at
>>>>>
>>>>> org.itsnat.impl.core.http.ItsNatHttpServletImpl.processRequest(ItsNatHttpServletImpl.java:61)
>>>>>       at
>>>>>
>>>>> org.itsnat.core.http.HttpServletWrapper.processRequest(HttpServletWrapper.java:79)
>>>>>       at
>>>>>
>>>>> org.itsnat.core.http.HttpServletWrapper.doGet(HttpServletWrapper.java:92)
>>>>>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
>>>>>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>>>>>       at
>>>>>
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>>>>>       at
>>>>>
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>>>>>       at
>>>>>
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>>>>>       at
>>>>>
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
>>>>>       at
>>>>>
>>>>> org.apache.openejb.tomcat.catalina.OpenEJBValve.invoke(OpenEJBValve.java:45)
>>>>>       at
>>>>>
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
>>>>>       at
>>>>>
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>>>>>       at
>>>>>
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>>>>>       at
>>>>>
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
>>>>>       at
>>>>>
>>>>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
>>>>>       at
>>>>>
>>>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
>>>>>       at
>>>>> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
>>>>>       at java.lang.Thread.run(Thread.java:619)
>>>>> Caused by: java.lang.ClassNotFoundException:
>>>>> ai.ilikeplaces.logic.role.HumanUser
>>>>>       at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>>>>>       at java.security.AccessController.doPrivileged(Native Method)
>>>>>       at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>>>>>       at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>>>>>       at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>>>>>       at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>>>>>       at java.lang.Class.forName0(Native Method)
>>>>>       at java.lang.Class.forName(Class.java:247)
>>>>>       at
>>>>> java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:604)
>>>>>       at
>>>>> java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
>>>>>       at
>>>>> java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
>>>>>       at
>>>>> java.io.ObjectInputStream.readClass(ObjectInputStream.java:1462)
>>>>>       at
>>>>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1312)
>>>>>       at
>>>>> java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
>>>>>       at
>>>>>
>>>>> org.apache.openejb.util.PojoSerialization.read(PojoSerialization.java:80)
>>>>>       at
>>>>>
>>>>> org.apache.openejb.util.PojoSerialization.readObject(PojoSerialization.java:69)
>>>>>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>>>       at
>>>>>
>>>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>>>       at
>>>>>
>>>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>>>       at java.lang.reflect.Method.invoke(Method.java:597)
>>>>>       at
>>>>> java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
>>>>>       at
>>>>> java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
>>>>>       at
>>>>>
>>>>> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
>>>>>       at
>>>>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
>>>>>       at
>>>>>
>>>>> java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
>>>>>       at
>>>>> java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
>>>>>       at
>>>>>
>>>>> java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
>>>>>       at
>>>>> java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
>>>>>       at
>>>>> java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
>>>>>       at
>>>>>
>>>>> org.apache.openejb.core.stateful.SimplePassivater.activate(SimplePassivater.java:98)
>>>>>       ... 53 more
>>>>>
>>>>> --
>>>>> Cheers!
>>>>>  Akila...
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Cheers!
>>>>  Akila...
>>>>
>>>>
>>>
>>>
>>> --
>>> Thanks in advance,
>>> Cheers!
>>>  Akila...
>>>
>>
> --
> Cheers!
>   Akila...
>

-- 
Cheers!
  Akila...

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message