• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Default Session in Jboss

 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,


I would like know that where in Jboss Container dafault session is there ,bec iam using the jboss for the web application its automatically
time out for 30 seconds.I want to increase that one.
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can mention the session-timeout in the web.xml file of your application. However, if you want to change at a global level for all applications deployed on JBoss, then you will have to change it in the web.xml file present under %JBOSS_HOME%/server/<servername>/deploy/jbossweb-tomcatxx.sar/conf folder. It has the following:

<!-- ==================== Default Session Configuration ================= -->
<!-- You can set the default session timeout (in minutes) for all newly -->
<!-- created sessions by modifying the value below. -->

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

 
mamidi venkat
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi jaikiran,

Thanks for the reply,

here i have one more Question in Jboss we are having jboss-service.xml
and web.xml
why jboss-service is used what purpose how its attributes will effect our webapplication.
and
web application.
both .xml files are equally important for any web application ???
 
Jaikiran Pai
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by mamidi venkat:
why jboss-service is used what purpose how its attributes will effect our webapplication.
and
web application.
both .xml files are equally important for any web application ???



A web-application needs a web.xml in the WEB-INF folder for the server to identify it as a web-application.

A jboss-service.xml (or *-service.xml) file is required in JBoss, if you have to deploy any service. Have a look at SERVICEdotXML for more details.
 
They worship nothing. They say it's because nothing is worth fighting for. Like this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic