sometimes we encounterer this error in our Application:

how we can fix it?
(Why it happends)
( we use Stafull Session Beans with calls to Entity Beans (Table Api beans))

com.evermind.server.rmi.OrionRemoteException: Transaction was rolled back:
Error preparing bean instance: java.lang.InternalError: Illegal removing
from cache, change nr
        at
StatefulSessionBeanWrapper0.register(StatefulSessionBeanWrapper0.java:94)
        at
unipoint.servlet.registration.StepsServlet.actionStep(StepsServlet.java:508)
        at
unipoint.servlet.registration.StepsServlet.servletAction(StepsServlet.java:3
8)
        at
unipoint.servlet.registration.RegistrationServlet.__servletAction(Registrati
onServlet.java:174)
        at
unipoint.servlet.registration.RegistrationServlet.doGet(RegistrationServlet.
java:133)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at com.evermind.server.http.df.o3(JAX)
        at com.evermind.server.http.df.forward(JAX)
        at com.evermind.server.http.dm.o9(JAX)
        at com.evermind.server.http.dm.o8(JAX)
        at com.evermind.util.e.run(JAX)

        Nested exception is:
java.lang.InternalError: Illegal removing from cache, change nr
        at com.evermind.server.ejb.EntityEJBHome.removeInstance(JAX)
        at com.evermind.server.ejb.EntityEJBObject.removeFromCache(JAX)
        at com.evermind.server.ejb.EntityEJBObject.g0(JAX)
        at com.evermind.server.ApplicationServerTransaction.commit(JAX)
        at com.evermind.server.ApplicationServerTransaction.end(JAX)
        at
StatefulSessionBeanWrapper0.register(StatefulSessionBeanWrapper0.java:92)
        at
unipoint.servlet.registration.StepsServlet.actionStep(StepsServlet.java:508)
        at
unipoint.servlet.registration.StepsServlet.servletAction(StepsServlet.java:3
8)
        at
unipoint.servlet.registration.RegistrationServlet.__servletAction(Registrati
onServlet.java:174)
        at
unipoint.servlet.registration.RegistrationServlet.doGet(RegistrationServlet.
java:133)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java)
        at com.evermind.server.http.df.o3(JAX)
        at com.evermind.server.http.df.forward(JAX)
        at com.evermind.server.http.dm.o9(JAX)




Reply via email to