  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | Optimistic concurrency violation | Optimistic concurrency violation 2005-09-02 - By Manish Malhotra
Back Can you please elaborate it more. I think I could solve this prob.
regrds, MM
-- --Original Message-- -- From: A mailing list for Java(tm) 2 Platform, Enterprise Edition [mailto:J2EE-INTEREST@(protected)]On Behalf Of Anand Haridas Sent: Thursday, September 01, 2005 11:31 PM To: J2EE-INTEREST@(protected) Subject: Optimistic concurrency violation
Hi All!
I am getting an Optimistic concurrency violation exception.
My slsb does the following transaction:
Creating a bean( i.e. ejb create) and updating a field of its parent bean.
Log: javax.ejb.TransactionRolledbackLocalException: EJB Exception:; nested ex ception is: javax.ejb.EJBException: nested exception is: weblogic.ejb.Optimistic ConcurrencyException: [EJB:010143]Optimistic concurrency violation. Instance of bean 'ParentBean' with primary key '420' was changed by another transaction. at weblogic.ejb20.internal.EJBRuntimeUtils.throwRemoteException(EJBRunti meUtils.java:103) at weblogic.ejb20.internal.BaseEJBHome.handleSystemException(BaseEJBHome .java:304) at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:2 53) at weblogic.ejb20.internal.StatelessEJBObject.postInvoke(StatelessEJBObj ect.java:141)
Please help, Anand.
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
http://www.patni.com World-Wide Partnerships. World-Class Solutions. __ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ______
This e-mail message may contain proprietary, confidential or legally privileged information for the sole use of the person or entity to whom this message was originally addressed. Any review, e-transmission dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this e-mail in error kindly delete this e-mail from your records. If it appears that this mail has been forwarded to you without proper authority, please notify us immediately at netadmin@(protected) and delete this mail. __ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ______
=========================================================================== To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
|
|
 |