Receive an error on the Application Server Console after a servlet calls an EJB

(Last modified: 22Jul2003)

This document (10085351) is provided subject to the disclaimer at the end of this document.

fact

Novell exteNd Application Server 3.7.4

Novell exteNd Workbench 2.0

symptom

Receive an error on the Application Server Console after a servlet calls an EJB

Error: "java.rmi.NoSuchObjectException: CORBA OBJECT_NOT_EXIST 9998 Maybe"

Error: "java.rmi.ServerException: RemoteException from the server; nested exception is:
  java.rmi.RemoteException: Non-reentrant requirement is broken"

Do not receive the error message the first time that the servlet calls the EJB

The Enterprise Java Bean (EJB) appears to complete it's work and no exceptions are being thrown from the EJB.  The correct results are returned

This Enterprise Java Bean (EJB) is a Stateful Session Bean

cause

If calls are made too quickly to the Stateful Session Bean, the "java.rmi.NoSuchObjectException: CORBA OBJECT_NOT_EXIST 9998 Maybe" error is received.

fix

Serializing the calls to the Stateful Session Bean will prevent this from happening

note

Here is the Stack Trace from the exteNd Application Server Console:
  java.rmi.NoSuchObjectException: CORBA OBJECT_NOT_EXIST 9998 Maybe
        at com.sssw.jbroker.rmi.UtilDelegate.mapSystemException(UtilDelegate.java:128)
        at com.sssw.jbroker.rmi.UtilDelegate.wrapException(UtilDelegate.java:463)
        at javax.rmi.CORBA.Util.wrapException(Unknown Source)
        atcom.abc.gificengine._ABCTemplateSubscription_Stub.getTemplateChanges(_ABCTemplateSubscription_Stub.java:304)
        at com.abc.portal.servlet.SessionServlet.performServletFunctions(SessionServlet.java:432)
        at com.abc.portal.servlet.SessionServlet.service(SessionServlet.java:152)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at com.sssw.srv.resources.AgWarResource.doServletDispatch(AgWarResource.java:944)
        at com.sssw.srv.resources.AgWarResource.service(AgWarResource.java:723)
        at com.sssw.srv.resources.AgWarURLResource.perform(AgWarURLResource.java:114)
        at com.sssw.srv.http.httpd.perform(httpd.java:4592)
        at com.sssw.srv.http.Client.processRequest(Client.java:906)
        at com.sssw.srv.http.Client.loop(Client.java:1266)
        at com.sssw.srv.http.Client.runConnection(Client.java:1470)
        at com.sssw.srv.http.Client.run(Client.java:1430)
        at java.lang.Thread.run(Unknown Source)

document

Document Title: Receive an error on the Application Server Console after a servlet calls an EJB
Document ID: 10085351
Solution ID: NOVL91157
Creation Date: 22Jul2003
Modified Date: 22Jul2003
Novell Product Class:exteNd

disclaimer

The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.