OpenEJB
  1. OpenEJB
  2. OPENEJB-1245

Possible Stateful bean passivation/activation error: ClassNotFoundException

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1, 3.1.1, 3.1.2
    • Fix Version/s: 3.1.3
    • Component/s: container system
    • Labels:
      None

      Description

      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

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            David Blevins
            Reporter:
            David Blevins
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development