Same happend to me some time ago.

Ensure your PK class is ok and you overrides equals() and hashcode(). I had
a copy and paste error in equals which caused the issue. (Yeah, I know, copy
and paste is not a design pattern ;).

Jens


| -----Original Message-----
| From: [EMAIL PROTECTED]
| [mailto:[EMAIL PROTECTED]]On Behalf Of test test
| Sent: Wednesday, January 30, 2002 12:00 PM
| To: Orion-Interest
| Subject: java.lang.InternalError: Illegal removing from cache
|
|
| Whilst doing an ejbRemove on a BMP EJB I get the following exception. It
| would appear that the deletion from the database is successful,
| but is then
| rolled back. Has anyone got any ideas about this?
| Thanks in advance -
| Tom
| (Orion 1.5.2, SQL Server, Win 2000)
|
|
| java.lang.InternalError: Illegal removing from cache of
| com.aconitesolutions.esp.model.ESPBusinessFunctionKey@16592a6
|       at com.evermind[Orion/1.5.2 (build
| 10460)].server.ejb.EntityEJBHome.removeInstance(Unknown Source)
|       at
| ESPBusinessFunction_EntityBeanWrapper2.remove(ESPBusinessFunction_
| EntityBeanWrapper2.java:122)
|       at
| com.aconitesolutions.esp.manager.action.DeleteBusinessFunctionActi
| on.process(DeleteBusinessFunctionAction.java:90)
|       at
| com.aconitesolutions.utils.servlet.ActionServlet.processRequest(Ac
| tionServlet.java:154)
|       at
| com.aconitesolutions.utils.servlet.ActionServlet.doPost(ActionServ
| let.java:106)
|       at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
|       at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
|       at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
|       at com.evermind[Orion/1.5.2 (build 10460)]._cxb._abe(Unknown Source)
|       at com.evermind[Orion/1.5.2 (build 10460)]._cxb._uec(Unknown Source)
|       at com.evermind[Orion/1.5.2 (build 10460)]._io._twc(Unknown Source)
|       at com.evermind[Orion/1.5.2 (build 10460)]._io._gc(Unknown Source)
|       at com.evermind[Orion/1.5.2 (build 10460)]._if.run(Unknown Source)
|
|
| _________________________________________________________________
| Chat with friends online, try MSN Messenger: http://messenger.msn.com
|


Reply via email to