[jboss-user] [EJB/JBoss] - Re: TransactionTimeOut issue-urgent

jaikiran do-not-reply at jboss.com
Mon Oct 16 02:19:35 EDT 2006


I dont think that this has got anything to do with the EJB transaction timeout value. The EJB transaction timeout value will come into picture only when you have invoked some method on the EJB and its taking a long time to process.
What you are looking for is, i guess, the session timeout on the web application. You can mention this in the web.xml as follows:

<session-config>
  |  <session-timeout>30</session-timeout>
  | </session-config>

Have a look at the web.xml dtd at:

http://java.sun.com/dtd/web-app_2_3.dtd

for more details. Here's an extract from the same:

  | <!--
  | The session-timeout element defines the default session timeout
  | interval for all sessions created in this web application. The
  | specified timeout must be expressed in a whole number of minutes.
  | If the timeout is 0 or less, the container ensures the default
  | behaviour of sessions is never to time out.
  | 
  | Used in: session-config
  | -->



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3978440#3978440

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3978440



More information about the jboss-user mailing list