at jboss-service.xml
find transaction , there is a timeout attribute to set the time 


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Joe Hung
Sent: Tuesday, February 25, 2003 6:45 AM
To: '[EMAIL PROTECTED]'

Is there a jboss-wide parameter that I can set in one of the *.xml's?
I'm looking for a catch-all handling....

thanks,
-joe
-----Original Message-----
From: Neal Sanche [mailto:[EMAIL PROTECTED]
Sent: Monday, February 24, 2003 1:00 PM
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] stateful session bean idle timeout


I haven't done this for 2.4.3, but in JBoss 3.x you set the property 
on a UserTransaction object obtained from the JNDI lookup. I believe 
the object retured follows the javax.transactions.UserTransaction 
interface which allows a timeout to be set.

So basically you have to start a transaction programatically before 
you call your session bean instead of the container starting the 
transaction for you, and set the timeout property before you make the 
call.

Hope that helps if the 2.4.3 world too.

-Neal

On Monday 24 February 2003 03:30 pm, Joe Hung wrote:
> sorry if this is a trivial question. How does one specify an idle
> timeout value for stateful session bean in jboss 2.4.3?
>
> thanks,
> -joe
>
>
>
> -------------------------------------------------------
> 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


-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to