Hi, I assume that you are using JNDI data source in the database.xml file. Also can you please tell me the transaction attribute on the Stateful session bean method. Because Weblogic had some issues with transaction context propogation.
Cheers, sudhir -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, November 12, 2001 7:15 AM To: [EMAIL PROTECTED] Subject: [castor-dev] Bean Managed Transactions Hello, I'm trying Castor in the following J2EE environment: - the client applications call a stateful session bean (with Bean managed transactions), which begins the UserTransaction - then this SB calls methods of other stateless session beans - these session beans interact with Castor objects, I mean they call methods like db.create(...) or call set methods on "jdo" objects What I would like to see is if it works to manage (begin, commit, rollback) transactions only from the stateful session bean so that all the others beans partecipates in these transactions. The problem I'm experiencing is that, although I've begun the UserTransaction in the stateful session, when I call for example a db.create(...) in a stateless session bean I recieve an "org.exolab.castor.jdo.TransactionNotInProgressException: No transaction in progress for the current thread". For your information the used Application server is BEA WebLogic 6.1. Can somebody help me? Many thanks. Patrick Herber ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
