Hello, > (so no way to keep my connection to oracle db open) > illustration: > 1. terminal call for card exists -> bean create > 2. terminal call for provisional amount reservation -> bean update (db > select for update) > 3. terminal call for effective transaction -> bean update (db commit)
Then, do you really need to cluster this bean? You may want to either: - split the workflow part (clustered) from the DB-handling part, or - put your DB connection in a transient field (but then be careful with DB conn leaking...) Cheers, Sacha > > -----Original Message----- > > From: Sacha Labourey [mailto:[EMAIL PROTECTED] > > Sent: Monday, February 23, 2004 12:12 PM > > To: [EMAIL PROTECTED] > > Subject: RE: [JBoss-user] Clustered Session Bean problem. > > > > > > Hint: how could JBoss replicate your EJB without passivating it? > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] On Behalf Of > > > Egger Lothar > > > Sent: Monday, February 23, 2004 12:03 PM > > > To: '[EMAIL PROTECTED]' > > > Subject: [JBoss-user] Clustered Session Bean problem. > > > > > > hi list, i asked this 5 day's ago but no answer :) > > > > > > how can i prevent jboss from immediate passivation of an > > > clustered statefull > > > session bean ? > > > > > > the SFSB works fine without clustering, but with clustering > > > jboss passivates the SFSB immediate after leaving the first > > > business method. > > > > > > (we do use connection pooling and the SFSB has an open > > > connection to the > > > database > > > after the first business method, so no passivation ;) > > > > > > we use several combinations of <cache-policy-conf> for the > > > SFSB, all with > > > success, > > > but with the clustered SFSB.... nothing, always immediate > > passivation. > > > > > > any hints ? > > > TIA > > > > > > cheers > > > lothar > > > > > > using: > > > jboss 3.2.3 > > > java 1.4.2_03 linux > > > > > > > > > ------------------------------------------------------- > > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > > > Build and deploy apps & Web services for Linux with > > > a free DVD software kit from IBM. Click Now! > > > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > > > _______________________________________________ > > > JBoss-user mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > > > > > > > > > ------------------------------------------------------- > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > > Build and deploy apps & Web services for Linux with > > a free DVD software kit from IBM. Click Now! > > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > > _______________________________________________ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user