简体   繁体   中英

EJB as Web Service - Session Timeout

I would like to know how to increase the session-timeout of an EJB-based Web Service.

Can the automatically created web.xml found in the JBOSS_HOME/server/default/tmp/deploy/WebService.war/WEB-INF be modified or customize the creation of this file?

Thank you

JBoss应用服务器的默认会话bean超时为30分钟,该超时在server / default / conf / standardjboss.xml.change.max-bean-life中配置。

<max-bean-life>1800</max-bean-life>  

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM