You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Park, Andrew" <AP...@CarTemps.com> on 2000/03/22 16:56:38 UTC

increasing default session time out

I have been trying to change the Session Time Out by modifying the
server.xml file. I want to change the the Sesssion Time out from 30 seconds
to 300 seconds. I modified the code as below (and restarted Tomcat), but the
session always times out between 90 seconds and 180 seconds of inactivity
(while using the SessionExample servlet). 
<Context path="/examples" docBase="examples"
defaultSessionTimeOut="300" isWARExpanded="true"
isWARValidated="false" isInvokerEnabled="true"
isWorkDirPersistent="false" \> 
Is this the correct way to chance the session time out? Is there any
documentation on how to do this with Tomcat? 
Thank you in advance for any and all assistance...

Andrew Park

#!/usr/bin/perl -- # cheezy perl sig file v1.5
%cartempsusa = 
(name=>'Andrew MooJin Park',title=>'Programmer',dept=>'IS',
phone=>'440.715.3406',email=>'apark@cartemps.com',);
for (values %cartempsusa){print "$_\n"}1;


Re: Internals?

Posted by Peter Carr <pc...@infinitemarket.com>.
stefan haack wrote:

> hi, can anyone explain why some mails in this list
> are crypted? Is there some "secret" ;-) Information
> one it? "Internals"?

My mistake, my mail program netscape messenger is set up to send encrypted html
messages by default.
Unfortunately I don't have any top secret tomcat information to disclose.
but I won't send signed, encrypted messages to the list anymore.

- Peter Carr



Internals?

Posted by stefan haack <z2...@7d0.com>.
hi, can anyone explain why some mails in this list
are crypted? Is there some "secret" ;-) Information
one it? "Internals"?

shaack



> Peter Carr SMTP pcarr@inf~$.com
> You need to change the docBase attribute in the Context tag.
> Assuming the following directory structure
> ${TOMCAT_HOME}/QuickTrade/htdocs
> Use the following in server.xml
> <Context path="/QuickTrade docBase="/QuickTrade/htdocs" reloadable="true">
>
> Of course I recommend the following which works for me.
> ${TOMCAT_HOME}/webapps/QuickTrade
>     put all of your stuff, such as WEB-INF folder inside of the QuickTrade
folder
>  <Context path="QuickTrade" docBase="webapps/QuickTrade"
reloadable="true">



> Boris Prochazka wrote:

> How do I map my servlets into the web-application
>
> I want to acheive so my servlet will appeare under
<contextPath>/<servlet-name>
>
> Following situation:
>
> - The web-applications is defined in server.xml with:
>         <servlet-class>
>             qbo.QBO_LdapProfileServlet
>         </servlet-class>
>     </servlet>
>     <servlet-mapping>
>         <servlet-name>
>             supplierReg
> /QuickTrade/servlet/qbo.QBO_LdapProfileServlet but that wont do. I use
> the same servlet for a number of different services. I select the
> I am using tomcat 3.1b1, JDK 1.2.2_05 on Solaris 7
>

--------------ms4D510309E3886E2B995DF9A9
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIIH+AYJKoZIhvcNAQcCoIIH6TCCB+UCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC
BckwggKtMIICFqADAgECAgMCOzswDQYJKoZIhvcNAQEEBQAwgZQxCzAJBgNVBAYTAlpBMRUw
EwYDVQQIEwxXZXN0ZXJuIENhcGUxFDASBgNVBAcTC0R1cmJhbnZpbGxlMQ8wDQYDVQQKEwZU
aGF3dGUxHTAbBgNVBAsTFENlcnRpZmljYXRlIFNlcnZpY2VzMSgwJgYDVQQDEx9QZXJzb25h
bCBGcmVlbWFpbCBSU0EgMTk5OS45LjE2MB4XDTAwMDMwODA2MDk0MVoXDTAxMDMwODA2MDk0
MVowSjEfMB0GA1UEAxMWVGhhd3RlIEZyZWVtYWlsIE1lbWJlcjEnMCUGCSqGSIb3DQEJARYY
cGNhcnJAaW5maW5pdGVtYXJrZXQuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC6
X3GiN9j/d2/bhm7iXf9Nw3RFrCIpt+HBooHaC8foH/mkDTy/M09AL6AU+1+QizzAeKoR8TCJ
sF2kbPRB7+fCYyJFyrokTkB/wYujCZQnen4TRElUOZhqmiIWSqhVCP6+VNI2nYceukbbYfjv
6CpfDEzHHW1A7wv/Q9hb/0wXcQIDAQABo1YwVDAjBgNVHREEHDAagRhwY2FyckBpbmZpbml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