you can generate threads anytime within a JBoss application. Just remember, you lose any transaction or security context when you spawn the thread.
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:jboss-user-admin@;lists.sourceforge.net]On Behalf Of Marius > Kotsbak > Sent: Friday, October 11, 2002 5:30 PM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] Strange Problem on Linux > > > saroj kumar wrote: > > >HI All, > > > >I am facing "Transaction Timeout " exception while running > >the code on Redhat Linux 7.3/JDK1.4/JBOSS 3.0.3/Oracle9i. > > > >Same code is working fine on Win2k/JBOSS 3.0.3/jdk1.4/Oracle9i. > > > >Scenario is: > > > >UI Layer makes a call to SLSB. This SLSB makes a call to another > >SLSB which uses a class. This class spawns two threads > >And one of these threads operates on Entity Bean using a Session Bean. > >When we make 1st call, it works fine but 2nd time onwards same call > >fails with Exception "TX marked for rollback. Possibly timeout". > > > We actually get this too on linux, but probably because of a long > transaction. But I think you arn't allowed to create any threads in jboss. > > > > >Any help would be more than welcome. > > > >TIA, > >Saroj > > > > > > > >------------------------------------------------------- > >This sf.net email is sponsored by:ThinkGeek > >Welcome to geek heaven. > >http://thinkgeek.com/sf > >_______________________________________________ > >JBoss-user mailing list > >[EMAIL PROTECTED] > >https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user