Re: somebody please help me

2012-01-25 Thread André Warnier
sri laxmi wrote: Hi, am installing tomcat6.0,for that i download tomcat6.0 and unzip in C driver, and next i set the environment variables , and next for starting apache tomcati used inthe following commands in the command promt, C:\cdapache* C:\apache-tomcat-6.0.35cdbin

Re: somebody please help me

2012-01-25 Thread Pid
On 25/01/2012 07:40, sri laxmi wrote: Hi, am installing tomcat6.0,for that i download tomcat6.0 and unzip in C driver, and next i set the environment variables , and next for starting apache tomcati used inthe following commands in the command promt, C:\cdapache*

Re: not able to access URL in 2nd app in 7.0.23

2012-01-25 Thread Pid
On 25/01/2012 02:49, removeps-c...@yahoo.com wrote: In my webapps folder there are two folders: ROOT, myapp. ROOT is the default app. In myapp/WEB-INF/web.xml there is servlet servlet-nameMyServlet/servlet-name servlet-classpackage.MyServlet/servlet-class

Re: parallel webapp initialization

2012-01-25 Thread Pid
On 24/01/2012 21:01, David Rees wrote: On Mon, Jan 23, 2012 at 11:53 PM, Pid * p...@pidster.com wrote: On 23 Jan 2012, at 21:12, David Rees dree...@gmail.com wrote: On Tue, Oct 11, 2011 at 6:42 AM, Mark Thomas ma...@apache.org wrote: I have added a patch based on the previous patches that

Tomcat memory requirements

2012-01-25 Thread Celso Magalhães Dantas Neto
Hey everyone! Does anyone knows where I can find any information about Tomcat memory requirements? Here's the problem: I got a client who's running a Tomcat process in his machine and it is taking around 150MB of RAM and he is complaining about it. It's a webapp and for me it's normal to a

Upgrading Tomcat need some info

2012-01-25 Thread Josh Gooding
Hey group, I've been tasked here at work to upgrade Tomcat from 5.5 to 6.0 since I'm the Tomcat guru here. Does anyone know, if I take the 5.5 configuration (server and context.xml) and drop them into 6.0, will the 6.0 server start or are there things that have to be changed over? Also were

Re: Tomcat memory requirements

2012-01-25 Thread Luciano Andress Martini
Hi Celso, you signature is in portuguese because that i will talk in portuguese... Tenho 12 anos de experiência com Linux e dois livros publicados, nunca vi um tomcat rodar sem consumir umas cacetadas de megas de memória, acho que o java, é uma plataforma ruim, mas que todo mundo defende e quer

Re: Upgrading Tomcat need some info

2012-01-25 Thread David kerber
On 1/25/2012 6:53 AM, Josh Gooding wrote: Hey group, I've been tasked here at work to upgrade Tomcat from 5.5 to 6.0 since I'm Why not TC 7? the Tomcat guru here. Does anyone know, if I take the 5.5 configuration (server and context.xml) and drop them into 6.0, will the 6.0 server start

Re: Upgrading Tomcat need some info

2012-01-25 Thread Konstantin Kolinko
2012/1/25 Josh Gooding josh.good...@gmail.com: Hey group, 1. Have you seen the following page? http://tomcat.apache.org/migration.html I've been tasked here at work to upgrade Tomcat from 5.5 to 6.0 since I'm the Tomcat guru here.  Does anyone know, if I take the 5.5 configuration (server

Re: Tomcat memory requirements

2012-01-25 Thread Konstantin Kolinko
2012/1/25 Celso Magalhães Dantas Neto ce...@reconcavo.org.br: Hey everyone! Does anyone knows where I can find any information about Tomcat memory requirements? Here's the problem: I got a client who's running a Tomcat process in his machine and it is taking around 150MB of RAM and he is

Re: Tomcat memory requirements

2012-01-25 Thread Mark Thomas
On 25/01/2012 11:55, Luciano Andress Martini wrote: Hi Celso, you signature is in portuguese because that i will talk in portuguese... This list conducts its business in English. We do not normally use other languages. If anyone feels unable to express themselves in English then by all means

Re: Tomcat memory requirements

2012-01-25 Thread chris derham
Hi Celso, you signature is in portuguese because that i will talk in portuguese... Tenho 12 anos de experiência com Linux e dois livros publicados, nunca vi um tomcat rodar sem consumir umas cacetadas de megas de memória, acho que o java, é uma plataforma ruim, mas que todo mundo defende e

Re: Tomcat memory requirements

2012-01-25 Thread André Warnier
Celso Magalhães Dantas Neto wrote: Hey everyone! Does anyone knows where I can find any information about Tomcat memory requirements? Here's the problem: I got a client who's running a Tomcat process in his machine and it is taking around 150MB of RAM and he is complaining about it. It's a

Re: Tomcat memory requirements

2012-01-25 Thread Mark Thomas
On 25/01/2012 11:45, Celso Magalhães Dantas Neto wrote: Hey everyone! Does anyone knows where I can find any information about Tomcat memory requirements? Tomcat needs less than 20MB to start up. Everything after that depends on the application and the load level. Here's the problem: I got

Re: Tomcat memory requirements

2012-01-25 Thread Luciano Andress Martini
Really sorry about that =[ 2012/1/25, Mark Thomas ma...@apache.org: On 25/01/2012 11:45, Celso Magalhăes Dantas Neto wrote: Hey everyone! Does anyone knows where I can find any information about Tomcat memory requirements? Tomcat needs less than 20MB to start up. Everything after that

Apache Tomcat 7 JMX Monitoring

2012-01-25 Thread Smith, Mitchell
Hi, I am configuring an application server: Tomcat 7, Java 1.7 I previously used Apache Tomcat 5.5, and JDK1.5. I had JMX monitoring enabled as below. -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=12345 -Dcom.sun.management.jmxremote.ssl=false

Re: Apache Tomcat 7 JMX Monitoring

2012-01-25 Thread Mark Thomas
On 25/01/2012 14:51, Smith, Mitchell wrote: Hi, I am configuring an application server: Tomcat 7, Java 1.7 I previously used Apache Tomcat 5.5, and JDK1.5. I had JMX monitoring enabled as below. -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=12345

Re: servers @apache.org down ?

2012-01-25 Thread David N. Smith
On Jan 25, 2012, at 11:06 AM, André Warnier a...@ice-sa.com wrote: Hi. Are they, or is it just me ? www.apache.org : not answering tomcat.apache.org : connection reset At 11:08am EST, www.apache.org is answering, tomcat.apache.org still has connection reset. -- David

Re: servers @apache.org down ?

2012-01-25 Thread Daniel Mikusa
On Wed, 2012-01-25 at 07:31 -0800, André Warnier wrote: Hi. Are they, or is it just me ? www.apache.org : not answering tomcat.apache.org : connection reset - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org

Re: servers @apache.org down ?

2012-01-25 Thread Mark Thomas
On 25/01/2012 15:31, André Warnier wrote: Hi. Are they, or is it just me ? www.apache.org : not answering tomcat.apache.org : connection reset Always check the Nagios monitoring site first: http://monitoring.apache.org/status/ Any issues shown there are automatically sent to the

Re: servers @apache.org down ?

2012-01-25 Thread Hassan Schroeder
On Wed, Jan 25, 2012 at 8:28 AM, Mark Thomas ma...@apache.org wrote: tomcat.apache.org : connection reset Always check the Nagios monitoring site first: http://monitoring.apache.org/status/ ... though 'tomcat.apache.org' doesn't seem to be on that page ... -- Hassan Schroeder

Re: servers @apache.org down ?

2012-01-25 Thread Mark Thomas
On 25/01/2012 16:44, Hassan Schroeder wrote: On Wed, Jan 25, 2012 at 8:28 AM, Mark Thomas ma...@apache.org wrote: tomcat.apache.org : connection reset Always check the Nagios monitoring site first: http://monitoring.apache.org/status/ ... though 'tomcat.apache.org' doesn't seem to be on

Re: servers @apache.org down ?

2012-01-25 Thread Hassan Schroeder
On Wed, Jan 25, 2012 at 8:49 AM, Mark Thomas ma...@apache.org wrote: All tlp.a.o sites are virtual hosts on www.a.o If www.a.o is down, they'll all be down. Ah, got it, thanks :-) -- Hassan Schroeder hassan.schroe...@gmail.com http://about.me/hassanschroeder

Re: not able to access URL in 2nd app in 7.0.23

2012-01-25 Thread removeps-code
Replies in place --- On Wed, 1/25/12, Pid p...@pidster.com wrote: From: Pid p...@pidster.com Subject: Re: not able to access URL in 2nd app in 7.0.23 To: Tomcat Users List users@tomcat.apache.org Date: Wednesday, January 25, 2012, 12:55 AM On 25/01/2012 02:49, removeps-c...@yahoo.com

Re: Tomcat memory requirements

2012-01-25 Thread Pid *
On 25 Jan 2012, at 12:53, Mark Thomas ma...@apache.org wrote: On 25/01/2012 11:45, Celso Magalhães Dantas Neto wrote: Hey everyone! Does anyone knows where I can find any information about Tomcat memory requirements? Tomcat needs less than 20MB to start up. Everything after that depends

Re: not able to access URL in 2nd app in 7.0.23

2012-01-25 Thread André Warnier
removeps-c...@yahoo.com wrote: ... url-pattern/folder/action.do/url-pattern /servlet-mapping ... So I will try two things. First, remove the https to see if it works. Second, change the url-mapping from an exact match like /myapps/folder/action.do to *.action.do In any case,

Re: Tomcat memory requirements

2012-01-25 Thread André Warnier
Pid * wrote: ... And of this, a Tomcat instance with just the ROOT application can be observed to consume from ~6Mb to ~10Mb of RAM in the object heap with a nice stable sawtooth on most systems. Not that I want to cast doubt upon your measurements, but somehow that seems hard to believe.

Re: Tomcat memory requirements

2012-01-25 Thread Celso Magalhães Dantas Neto
Thanks everyone for the reply! My problem is not to argue how the application is consuming RAM, but to show that 150MB is not too much memory. But for that I'd like to use trusted information such as an article, or official info. The client doesn't understand anything about technologies but has

Re: not able to access URL in 2nd app in 7.0.23

2012-01-25 Thread removeps-code
OK here's what I tried: I removed https. A request through Firefox to http://localhost:6144/myapp/folder/action.do still gives 404. I overrode doGet of the servlet class to print whether get/post and the request.getRequestURI and it is get /myapp/folder/action.do This is the same as

Re: not able to access URL in 2nd app in 7.0.23

2012-01-25 Thread removeps-code
Yep that was the reason, as I wrote in another email sent just now before I saw this. The reason is that in 7.0.22 Tomcat made a POST request to the login page and my doPost method handled it, but in 7.0.23 it makes a GET request. --- On Wed, 1/25/12, André Warnier a...@ice-sa.com wrote:

Re: Tomcat memory requirements

2012-01-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Celso, On 1/25/12 6:45 AM, Celso Magalhães Dantas Neto wrote: Does anyone knows where I can find any information about Tomcat memory requirements? Here's the problem: I got a client who's running a Tomcat process in his machine and it is taking

Re: Upgrading Tomcat need some info

2012-01-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Josh, On 1/25/12 6:53 AM, Josh Gooding wrote: I've been tasked here at work to upgrade Tomcat from 5.5 to 6.0 since I'm the Tomcat guru here. Any chance you could get them to go all the way up to 7.0? The difference in migrating from 5.5-6.0 and

Tomcat inconsistency across two servers - any thoughts?

2012-01-25 Thread Shanti Suresh
Greetings. We have two RedHat Linux servers, Dlv1 and Dlv2, running: Linux 2.6.18-274.3.1.el5 #1 SMP Fri Aug 26 18:49:02 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux Each has an identical 7.0.23 Tomcat engine running, front-ended by Apache/2.2.3. Each Tomcat runs exact binary-compatible

Re: not able to access URL in 2nd app in 7.0.23

2012-01-25 Thread Pid
On 25/01/2012 18:35, removeps-c...@yahoo.com wrote: OK here's what I tried: I removed https. A request through Firefox to http://localhost:6144/myapp/folder/action.do still gives 404. I overrode doGet of the servlet class to print whether get/post and the request.getRequestURI and it is

Re: Tomcat memory requirements

2012-01-25 Thread Pid
On 25/01/2012 18:19, Celso Magalhães Dantas Neto wrote: Thanks everyone for the reply! My problem is not to argue how the application is consuming RAM, but to show that 150MB is not too much memory. But for that I'd like to use trusted information such as an article, or official info. The

Re: Tomcat memory requirements

2012-01-25 Thread André Warnier
Celso Magalhães Dantas Neto wrote: Thanks everyone for the reply! My problem is not to argue how the application is consuming RAM, but to show that 150MB is not too much memory. But for that I'd like to use trusted information such as an article, or official info. The client doesn't understand

Re: not able to access URL in 2nd app in 7.0.23

2012-01-25 Thread removeps-code
So, you're saying that the method value 'POST' is not preserved after successful authentication and appears to be converted to a 'GET'? No, what I said is the my original request to https://mydomain/myapp/action.do is a POST request, and the web.xml says to send me the the login-config page

Reinstall with 302 error

2012-01-25 Thread Benjamin Madore
Hi all, I have inherited a two web applications written several years ago. Since the server, which had been installed just before I arrived, was rebuilt last month we have not been able to log in to the application. We had continued to update Tomcat and Java before the rebuild so

Re: not able to access URL in 2nd app in 7.0.23

2012-01-25 Thread Pid
On 25/01/2012 22:03, removeps-c...@yahoo.com wrote: So, you're saying that the method value 'POST' is not preserved after successful authentication and appears to be converted to a 'GET'? No, what I said is the my original request to https://mydomain/myapp/action.do is a POST request, and

Re: Tomcat memory requirements

2012-01-25 Thread Pid
On 25/01/2012 21:48, André Warnier wrote: Celso Magalhães Dantas Neto wrote: Thanks everyone for the reply! My problem is not to argue how the application is consuming RAM, but to show that 150MB is not too much memory. But for that I'd like to use trusted information such as an article, or

Tomcat 7 documentation weaknesses

2012-01-25 Thread André Warnier
Hi. Please see this this as a constructive critic, not as a complaint. The on-line documentation of Tomcat is not always easy-to-use, particularly when one is a relatively naive (or new) Tomcat user, and does not necessarily know what precise term to look for, or what belongs where. First,

Re: Tomcat memory requirements

2012-01-25 Thread André Warnier
Pid wrote: I'm not actually a committer. Just a mailing list lurker. but you are close to the gods.. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

Re: Tomcat 7 documentation weaknesses

2012-01-25 Thread David Kerber
On 1/25/2012 7:18 PM, André Warnier wrote: Hi. Please see this this as a constructive critic, not as a complaint. The on-line documentation of Tomcat is not always easy-to-use, particularly when one is a relatively naive (or new) Tomcat user, and does not necessarily know what precise term

Re: not able to access URL in 2nd app in 7.0.23

2012-01-25 Thread removeps-code
When Tomcat receives an unauthenticated request for a protected resource it intercepts and saves that request, then forwards to the resource defined in the login config. True. Also, I'm not making the request through Firefox. I did that below as part of my debugging only. I have a Java

Re: Tomcat 6.0.35-SocketException: Too many open files issue with

2012-01-25 Thread gnath
Hi Chris, Thanks a lot for looking into this and giving answers for all my questions. Sorry, i could not get chance to reply in time. As you have suggested, i started collecting the thread dumps when it happened again and we saw some kind of DBCP Connection pool issues leading to 'Too Many

Re: Tomcat 6.0.35 -crossing maxThreads configured count

2012-01-25 Thread gnath
Gotcha.. Thanks for your answer. Will let you know if i have any questions as we keep an eye on performance. Thanks -G From: Christopher Schultz ch...@christopherschultz.net To: Tomcat Users List users@tomcat.apache.org Sent: Monday, January 23, 2012 11:26

Redirecting apache http requests to tomcat application running on 8080

2012-01-25 Thread Monika Solanki
I am using tomcat 7.x. I would like to redirect requests to a site on apache, port 80 to one of my application running on tomcat, localhost:8080. I have set up the proxy and reverse proxy to redirect the request and this is working. However the application on tomcat is associated with an xsl file

Re: parallel webapp initialization

2012-01-25 Thread David Rees
On Wed, Jan 25, 2012 at 1:24 AM, Pid p...@pidster.com wrote: On 24/01/2012 21:01, David Rees wrote: The system has 8 CPU cores, Opteron 2378 CPU.  Going beyond 4 startStopThreads for the host where the webapps are deployed doesn't speed things up much more as it appears that the webapps can