Can someone help interprete error msg below. I'm suppose to make a multitier-tier app (using weblogic ejb) into a single machine app using Jonas. Deployment seems to be ok..however I got the following error msg and some of the feature of the app does not come up... DBHelper.getConenction is called WARNING: Cannot 'exclusively' get connection DBHelper.getConenction is called WARNING: Cannot 'exclusively' get connection JEntityHome.putEJBObject() Transaction is rolled back JEntityHome.putEJBObject() Transaction is rolled back WARNING: Connection was not always closed correctly ! connection-open counter underflow removeConnection: connectionlist is empty doPostInvoke: Rolling back transaction DBHelper.getConenction is called Cannot enlist XAResource:javax.transaction.SystemException: Cannot send XA start :javax.transaction.xa.XAException: mixed transactions Exception in connectionClosed:javax.transaction.SystemException: Cannot send XA end:javax.transaction.xa.XAException Unexpected Exception on commit_one_phase:java.rmi.RemoteException: XAException:j avax.transaction.xa.XAException: Cannot mix transactions doPostInvoke: javax.transaction.SystemException: Unexpected Exception on commit_ one_phase DBHelper.getConenction is called Cannot enlist XAResource:javax.transaction.SystemException: Cannot send XA start :javax.transaction.xa.XAException: mixed transactions Exception in connectionClosed:javax.transaction.SystemException: Cannot send XA end:javax.transaction.xa.XAException Unexpected Exception on commit_one_phase:java.rmi.RemoteException: XAException:j avax.transaction.xa.XAException: Cannot mix transactions doPostInvoke: javax.transaction.SystemException: Unexpected Exception on commit_ one_phase DBHelper.getConenction is called Faizal Yusof Systems Developer Sufficient Systems Malaysia Sdn Bhd Email: [EMAIL PROTECTED] Phone: 03-21669226 -----Original Message----- From: Bryan Field-Elliot [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 24, 2000 9:10 PM To: 'Santiago Gala' Cc: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]' Subject: RE: Jonas2 MEMORY LEAK, code example You blind shot was a bullseye! Late last night I discovered that my PK equals() method was improperly implemented; where the primary key value was a String type, I was using "==" rather than ".equals()" to compare the two string values. Fixing this has made a marked improvement in memory utilization of Jonas. Thanks, Bryan -----Original Message----- From: Santiago Gala [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 24, 2000 3:23 AM To: Bryan Field-Elliot Cc: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]' Subject: Re: Jonas2 MEMORY LEAK, code example Just a blind shot: Could it be that the equals method of your beans is not well implemented, and Jonas is duplicating the EJBObjects associated with your records in its internal structures? I have been using Jonas along weeks in a environment with several thousands objects, and never noticed an increase of memory beyond the (aprox) 16MB when everything is in. ---- This list is cross-posted to two mail lists. To unsubscribe, follow the instructions below for the list you subscribed to. For objectweb.org: send email to [EMAIL PROTECTED] and include in the body of the message "unsubscribe ejb-container-group". For enhydra.org: send email to [EMAIL PROTECTED] and include in the body of the message "unsubscribe ejb-container-group". ---- This list is cross-posted to two mail lists. To unsubscribe, follow the instructions below for the list you subscribed to. For objectweb.org: send email to [EMAIL PROTECTED] and include in the body of the message "unsubscribe ejb-container-group". For enhydra.org: send email to [EMAIL PROTECTED] and include in the body of the message "unsubscribe ejb-container-group".
