On Thu, Jan 28, 2010 at 8:09 AM, Senaka Fernando <[email protected]> wrote:
> > > On Thu, Jan 28, 2010 at 7:38 AM, Amila Suriarachchi <[email protected]>wrote: > >> >> >> On Thu, Jan 28, 2010 at 7:30 AM, Senaka Fernando <[email protected]> wrote: >> >>> >>> >>> On Thu, Jan 28, 2010 at 7:25 AM, Sumedha Rubasinghe <[email protected]>wrote: >>> >>>> There are two sessions involved. Azeez is talking about Axis2 Session. >>> >>> >>> Isn't SO_TIMEOUT, and CONNECTION_TIMEOUT mentioned in the >>> axis2_client.xml related to this? >>> >> >> No. this means the http connection time out for http client. >> > > Yes I think you are correct. > >> >>> >>>> There is also servlet/web session. Time out for this can be controlled >>>> via web.xml. >>>> >>> >> try this >> >> <session-config >> <http://www.adp-gmbh.ch/java/web_application/web_xml.html#session_timeout>> >> <session-timeout>30</session-timeout> >> >> >> >> </session-config> >> >> at the web.xml file in the ROOT folder. >> >> thanks, >> Amila. >> >> > No. This is the Tomcat Session timeout. What we need to get to is the Axis2 > Session timeout, as Azeez pointed out. To start with, this is already 15 (15 > minutes I believe), IIRC, in G-Reg. But, the user is automatically logged > out in about a minute of idle time. > what is the axis2 session scope? if it is transportSession then again it depends on the tomcat session time out. Axis2 transportSession has implemented using servlet session. thanks, Amila. > > Thanks, > Senaka. > >> >> >>> >>> I have noted this. >>> >>> Thanks, >>> Senaka. >>> >>>> >>>> This is what the servlet spec says: >>>> "In the HTTP protocol, there is no explicit termination signal when a >>>> client is no >>>> longer active. This means that the only mechanism that can be used to >>>> indicate when >>>> a client is no longer active is a timeout period. >>>> The default timeout period for sessions is defined by the servlet >>>> container and >>>> can be obtained via the getMaxInactiveInterval method of the HttpSession >>>> interface. This timeout can be changed by the Developer using the >>>> setMaxInactiveInterval method of the HttpSession interface. The timeout >>>> periods used by these methods are defined in seconds. By definition, if >>>> the timeout >>>> period for a session is set to -1, the session will never expire. >>>> " >>>> >>>> /sumedha >>>> >>>> >>>> >>>> >>>> >>>> On Thu, Jan 28, 2010 at 7:18 AM, Afkham Azeez <[email protected]> wrote: >>>> >>>>> It cannot be done using a configuration parameter as of now. It has >>>>> been hard coded in the clients, and all the clients will have to be >>>>> updated >>>>> & compiled. Looks like it is time to introduce a param to carbon.xml >>>>> >>>>> Azeez >>>>> >>>>> On Thu, Jan 28, 2010 at 1:17 AM, Senaka Fernando <[email protected]>wrote: >>>>> >>>>>> Hi all, >>>>>> >>>>>> How could $subject be done? >>>>>> >>>>>> Thanks, >>>>>> Senaka. >>>>>> >>>>>> -- >>>>>> Senaka Fernando >>>>>> Software Engineer >>>>>> WSO2 Inc. >>>>>> E-mail: [email protected]; Mobile: +94 77 322 1818 >>>>>> >>>>>> http://www.wso2.com/ - "Lean . Enterprise . Middleware" >>>>>> >>>>>> _______________________________________________ >>>>>> Carbon-dev mailing list >>>>>> [email protected] >>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> -- >>>>> Afkham Azeez >>>>> [email protected] >>>>> WSO2 Inc. http://wso2.com >>>>> Blog: http://afkham.org >>>>> >>>>> _______________________________________________ >>>>> Carbon-dev mailing list >>>>> [email protected] >>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Carbon-dev mailing list >>>> [email protected] >>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>>> >>>> >>> >>> >>> -- >>> Senaka Fernando >>> Software Engineer >>> WSO2 Inc. >>> E-mail: [email protected]; Mobile: +94 77 322 1818 >>> >>> http://www.wso2.com/ - "Lean . Enterprise . Middleware" >>> >>> _______________________________________________ >>> Carbon-dev mailing list >>> [email protected] >>> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >>> >> >> _______________________________________________ >> Carbon-dev mailing list >> [email protected] >> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > > -- > Senaka Fernando > Software Engineer > WSO2 Inc. > E-mail: [email protected]; Mobile: +94 77 322 1818 > > http://www.wso2.com/ - "Lean . Enterprise . Middleware" > > _______________________________________________ > Carbon-dev mailing list > [email protected] > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > >
_______________________________________________ Carbon-dev mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
