javax.ejb.NoSuchObjectLocalException: The EJB does not exist. session-key

Hi

My SunApp output this Error Report. I've been trying to fix it but it keeps coming back again and again.

javax.ejb.NoSuchObjectLocalException: The EJB does not exist. session-key: 190c00500a81f-ffffffffa1506c28-0

com.sun.ejb.containers.StatefulSessionContainer._getContext(StatefulSessionContainer.java:761)

com.sun.ejb.containers.BaseContainer.getContext(BaseContainer.java:1072)

com.sun.ejb.containers.BaseContainer.preInvoke(BaseContainer.java:772)

com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:126)

$Proxy194.getWorkHrsByAssignment(Unknown Source)

actions.usersys.GetAssignments.getStaffAssignmentsByStaff(GetAssignments.java:103)

actions.usersys.GetAssignments.doGet(GetAssignments.java:50)

javax.servlet.http.HttpServlet.service(HttpServlet.java:747)

javax.servlet.http.HttpServlet.service(HttpServlet.java:860)

sun.reflect.GeneratedMethodAccessor270.invoke(Unknown Source)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

java.lang.reflect.Method.invoke(Method.java:585)

org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)

java.security.AccessController.doPrivileged(Native Method)

javax.security.auth.Subject.doAsPrivileged(Subject.java:517)

org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)

org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)

Does it have anything todo with the passivity of the EJB? But the rest of my EJB work alright. Please help.

Thanks

Joseph

[1675 byte] By [joseph_pa] at [2007-10-3 5:22:11]
# 1
Oh, also, before this error, the log output this entry:Message ID: NRU-tts.time.TimeManagerBeanComplete Message:Cannot load from BACKUPSTORE FOR Key: <190c00500a81f-ffffffffa1506c28-0>
joseph_pa at 2007-7-14 23:29:12 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2

This message means an attempt was made to access a stateful session bean that no longer exists.

The session bean could have been removed for any of the following reasons :

-- The Home/LocalHome remove() method was called.

-- If it's an EJB 3.0 bean one of its @Remove methods was called.

-- A system error occurred during the execution of the SFSB and it was removed by the container.

-- The SFSB timed out and was removed by the container. The default timeout value in SUN's

implementation is 90 minutes.

--ken

ksaksa at 2007-7-14 23:29:12 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3
Hi KenThanks for explaining! So what should I do? This keeps happening and everytime it happens I have to redeploy my app. That means I do it everyday.Thanks.joseph
joseph_pa at 2007-7-14 23:29:12 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 4

Hi Joseph,

You'll need to try to figure out what the root cause is. Does your application call remove() on a particular

SFSB and then try to access it? Are there runtime exceptions in the server.log that could result in your

SFSB instances being removed for you? How long after the bean is last accessed

does the NoSuchObjectLocalException occur?

ksaksa at 2007-7-14 23:29:12 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...