Session Configuration in JBoss

Ratings:
(4)
Views: 946
Banner-Img
Share this blog:

 

Session Configuration in JBoss

Configure <session-timeout> in the <session-config> element

The value (in minutes) indicates how long the servlet container will maintain an idle session (in memory or on disk) before timing out

Value ⇐ 0 indicates that sessions never expire - unless destroyed explicitly (through users logouts)

To enrich your career and become a JBoss professional, visit Tekslate, the global online training platform:" JBoss Training". This course will help you achieve excellence in this field.

Significant impact on server memory usage and end-user dissatisfaction with time outs

<session-config>

<session-timeout>30</session-timeout>

</session-config>

Serving Static Content

Tomcat serves static content via its DefaultServlet (configured in Tomcat’s web.xml file)

Any file under an application’s structure (but outside WEB-INF and META-INF directories) is considered static content

Application deploy/ROOT.war/ is considered special - it has no context path

Serves all content not served by any other application

Returns an HTTP 404 response if the requested static content does not exist

ROOT.war also provides support for http://localhost:8080/status servlet (see its WEB-INF/web.xml)

For an in-depth understanding on JBoss click on:

You liked the article?

Like: 0

Vote for difficulty

Current difficulty (Avg): Medium

EasyMediumHardDifficultExpert
IMPROVE ARTICLEReport Issue

About Author

Authorlogo
Name
TekSlate
Author Bio

TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills in the market.

Stay Updated
Get stories of change makers and innovators from the startup ecosystem in your inbox