Re: Changing session timeout for a webapp via JMX or internal Tomcat API?

2011-11-29 Thread Igor Cicimov
On Wed, Nov 30, 2011 at 4:11 PM, Ellecer Valencia elle...@gmail.com wrote: Is there a way to change session timeouts in tomcat via JMX? I've only seen the operation called expireSession, but not one that can change the session timeout period. The only way I've found so far to modify

Re: Changing session timeout for a webapp via JMX or internal Tomcat API?

2011-11-29 Thread Igor Cicimov
the session timeout. The difference is that this timeout is applied to the whole container (all the applications deployed) and is overridden by the setting in the web.xml per application bases. On Wed, Nov 30, 2011 at 4:30 PM, Igor Cicimov icici...@gmail.com wrote: On Wed, Nov 30, 2011 at 4:11 PM

Re: APR SSL error: Socket bind failed: [98] Address already in use

2011-11-20 Thread Igor Cicimov
Isnt 8005 shutdown port for tomcat? I can see sshd bound to that port already. On Nov 20, 2011 6:33 PM, Konstantin Kolinko knst.koli...@gmail.com wrote: 2011/11/19 Eric Kemp cruisingat90...@gmail.com: Summary: I'm looking for ideas on how to resolve this Address already in use error when

Re: Single POST request being handled twice

2011-11-16 Thread Igor Cicimov
Bypass the apache and send the POST request to tomcat directly. Thant will tell you where the problem is tomcat or apache. On Thu, Nov 17, 2011 at 12:29 PM, Jeremy asfbugzi...@nuru.net wrote: OK, I know this seems crazy, but I've looked long and hard and cannot explain this as other than a

Re: 403 error starting tomcat 7.0.22 application on windows 7

2011-11-13 Thread Igor Cicimov
catalina.policy? On Mon, Nov 14, 2011 at 4:56 PM, bas...@obninsk.com wrote: -Исходное сообщение- From: Tim Watts Sent: Monday, November 14, 2011 9:09 AM To: Tomcat Users List Subject: Re: 403 error starting tomcat 7.0.22 application on windows 7 On Mon, 2011-11-14 at 08:17

Re: JVM config for tomcat7.0.19

2011-11-10 Thread Igor Cicimov
JAVA_OPTS=-Xms2048M -Xmx2048M -XX:Permsize=512m -XX:MaxPermsize=512m You are allocating here 2.5GB of memory to tomcat ... how do you expect it to start on a box with 2GB in total of which only 500MB are available? On Fri, Nov 11, 2011 at 8:25 AM, Christopher Schultz

Re: cannot read complete HTTP request body. It reads only 8192 characters

2011-10-31 Thread Igor Cicimov
You never said what is the difference between your environment and the customer one or I missed that info. Same OS? Same Java version? On Tue, Nov 1, 2011 at 12:42 PM, Anantaneni Harish anantaneni.har...@vertexsoft.com wrote: Any thoughts about this? Thanks and Regards, Harish

RE: cannot read complete HTTP request body. It reads only 8192 characters

2011-10-31 Thread Igor Cicimov
(build 1.6.0_13-b03) Version 1.6.0_13 Tomcat Nameapache-tomcat Version 5.5.28 Thanks and Regards, Harish -Original Message- From: Igor Cicimov [mailto:icici...@gmail.com] Sent: Tuesday, November 01, 2011 10:47 AM To: Tomcat Users List Subject: Re: cannot read

Re: cannot read complete HTTP request body. It reads only 8192 characters

2011-10-31 Thread Igor Cicimov
. Thanks and Regards, Harish -Original Message- From: Igor Cicimov [mailto:icici...@gmail.com] Sent: Tuesday, November 01, 2011 10:57 AM To: Tomcat Users List Subject: RE: cannot read complete HTTP request body. It reads only 8192 characters And same kernel network settings? On Nov 1

Re: two questions about the session timeout in tomcat

2011-10-10 Thread Igor Cicimov
Is there anything in the log files? Do you have enough threads in the thread pool? I would also ask the DBA's to give me the list of the longest running queries. On Oct 10, 2011 3:02 PM, Bill Wang bw57...@gmail.com wrote: Hi Chris, Pid Geroge, Thanks to everyone who replied my mail. I try to

Re: two questions about the session timeout in tomcat

2011-10-10 Thread Igor Cicimov
Ah yes, I would also take a thread dump when the server is stuck just in case the developers are wrong ;) On Oct 10, 2011 7:18 PM, Igor Cicimov icici...@gmail.com wrote:

Re: Seeking tips on multi-host, multi-context deployments

2011-09-28 Thread Igor Cicimov
If i was you i wouldnt even start without 8GB of RAM on each server! On Sep 29, 2011 9:26 AM, Sam Hokin s...@ims.net wrote: Hi, folks. I've got what I consider to be a fairly significant production implementation of Tomcat with, currently, 89 contexts in 30 hosts on two concurrent servers.

Re: Apache Tomcat unable to send the request. tomcat throwing 502 Gate Way error

2011-08-12 Thread Igor Cicimov
I can't see the connection between the Connector you showed and port 8082. What is listening on port 8082? Also what is your tomcatThreadPool executor configuration? On Fri, Aug 12, 2011 at 7:56 PM, rakesh k rakroc...@gmail.com wrote: Hi All I am using Apache tomcat 6.0.18 version I am not

Re: 503 error - service not available

2011-08-04 Thread Igor Cicimov
Anything in the system log? Running out of file descriptors maybe? Igor On Aug 5, 2011 7:07 AM, Pid p...@pidster.com wrote: On 04/08/2011 21:36, Brendon wrote: From what I gether from this thread is sounds like the Apache ... If HTTPD wasn't active there'd be nothing in the mod_jk log and no

Re: Tomcat not releasing threads on Solaris 10

2011-08-03 Thread Igor Cicimov
Maybe try to use cachesize ajp13 property in worker.properties together with cache_timeout to limit the apache thread count towards tomcat. If cachesize is not set, the connection cache support is disabled. So sounds like cache_timeout doesn't have any effect if cachesize isn't set. Igor On

Re: 503 error - service not available

2011-08-03 Thread Igor Cicimov
Obviously apache can't connect to tomcat. Any firewall/load balancer changes maybe done last night between apache and tomcat? Can you access tomcat apps bypassing apache? Can you telnet to tomcat server on the tomcat port from the apache? Any errors in the tomcat log? Have you tried restarting

Re: Tomcat behind Apache and security-constraint

2011-07-21 Thread Igor Cicimov
Configure a mod_jk log file and see whats going on there On Jul 22, 2011 10:37 AM, Adrián Córdoba adr.cord...@gmail.com wrote: Well... 1- I delete the Directory section from httpd.conf file. 2- I add JkMount /Andromeda worker1 to the virtual host. 3- I add dynamic content to index.jsp page So I

Re: RE: specifying the content-type

2011-06-01 Thread Igor Cicimov
Are you using virtual host maybe? If so, the JkMount directive has to be inside VirtualHost and not in the global apache conf file. Igor On Jun 1, 2011 10:14 PM, Lentes, Bernd bernd.len...@helmholtz-muenchen.de wrote: Andre Warnier wrote: Your configuration of mod_jk below looks correct

Re: Monitoring memory usage of JVM

2011-05-30 Thread Igor Cicimov
Hi all, I don't know if this is useful but apart from utilities/commands already mentioned, I use the following to monitor the GC of the particular generations in JVM: /usr/jdk/jdk1.5.0_12/bin/jstat -gc $TOMCAT_PID 5000 10 Of course you need to substitute the appropriate JDK installed on your

Re: Log rotate catalina.out

2011-04-19 Thread Igor Cicimov
Hi Igor, On 04/18/2011 08:23 AM, Igor Cicimov wrote: Hi Thomas, First thanks for your reply. This is the relevant section in the $CATALINA_BASE/conf/log4j.properties file: Do you use the JAva System Property - -Dlog4j.configuration=file:$CATALINA_BASE/conf/log4j.properties

Re: Need help with SSL Certificate install on Tomcat 6.0.29 APR.

2011-04-19 Thread Igor Cicimov
So why did you enter password when you created the csr if you dont want it? On Apr 20, 2011 7:54 AM, Jin H h_j...@hotmail.com wrote: Hi. We are a school running Tomcat 6.0.29 for Windows server 2003 with APR. I currently have an SSL certificate installed. I'm trying to update it with the

Re: Log rotate catalina.out

2011-04-18 Thread Igor Cicimov
never gets created. And this is what I have in the application context: Context swallowOutput=true /Context Thanks, Igor On Mon, Apr 18, 2011 at 3:56 PM, Thomas Freitag tho...@freit.ag wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Igor, On 04/18/2011 07:38 AM, Igor

Re: tomcat and spring security secure channel setting

2011-04-07 Thread Igor Cicimov
Remove the second iptables rule and see if it works. You have that redirect in the connector already. Sent from my phone On Apr 7, 2011 7:08 AM, Gavin Yue yue.yuany...@gmail.com wrote: Hi, I am using grails spring security to secure the url. I specify in grails:

Can't get jkmanager working

2011-03-24 Thread Igor Cicimov
Hi all, I have tomcat 6.0.26 running on Soalaris 10 and Apache 2.2.15 in front of it with mod_jk 1.2.31 on the same host. I can't get the jkmanager page back from mod_jk and this is my relevant configuration: 1) /usr/local/apache2/conf/httpd.conf IfModule jk_module JkWorkersFile

Re: Can't get jkmanager working

2011-03-24 Thread Igor Cicimov
jkmanager behave this way? Igor On Fri, Mar 25, 2011 at 12:27 PM, Igor Cicimov icici...@gmail.com wrote: Hi all, I have tomcat 6.0.26 running on Soalaris 10 and Apache 2.2.15 in front of it with mod_jk 1.2.31 on the same host. I can't get the jkmanager page back from mod_jk and this is my

Re: Issue with mod_jk

2011-03-23 Thread Igor Cicimov
Do you get anything when you run $PATH_TO_APACHE/bin/httpd -t to check for syntax errors? Igor On Thu, Mar 24, 2011 at 8:29 AM, Lance Campbell la...@illinois.edu wrote: I discovered an issue with mod_jk. In the workers.property file I miss typed lbFactor=2 with lbactor=2. Mod_jk was able

Re: reverse proxy and tomcat

2011-03-22 Thread Igor Cicimov
Interesting I had no idea you can mix mod_proxy and mod_jk, thought you should use the one or the other. What I do I have workers.properties file in the Apache conf directory with load-balancer worker that takes care of the load balancing ans sticky sessions. On Wed, Mar 23, 2011 at 8:54 AM,

Re: Max value of MaxPermSize

2011-03-21 Thread Igor Cicimov
What kind of memory errors do you have? I have never seen application that uses 2GB of permanent memory. Usually if you have out of memory errors you need to increase the -Xmx1024M and not the permanent memory size. In your setting you have given the JVM heap only 1GB and the permanent memory 2GB

Re: Tomcat 6 graceful shutdown

2011-03-21 Thread Igor Cicimov
of course) Igor On Mon, Mar 21, 2011 at 8:07 PM, Mark Thomas ma...@apache.org wrote: On 21/03/2011 02:15, Igor Cicimov wrote: Hi, I'm running Tomcat 6.0.26 on Solaris 10 and have a question about what exactly happens during Tomcat graceful shutdown? I guess first thing it does is stop

Tomcat 6 graceful shutdown

2011-03-20 Thread Igor Cicimov
Hi, I'm running Tomcat 6.0.26 on Solaris 10 and have a question about what exactly happens during Tomcat graceful shutdown? I guess first thing it does is stop accepting new sessions on the listening ports. Sessions only or it stops accepting new requests from the already established sessions?

<    1   2