tomcat reload single application command

2013-04-15 Thread naouguh_tomcat
Hi All, Can someone tell me how to reload one application of tomcat in the command line ? Best Regards, Ansir Hu

Thomas MC-GOWAN est absent.

2013-04-15 Thread Thomas MC-GOWAN
Je serai absent(e) du 12/04/2013 au 06/05/2013.

Re: tomcat reload single application command

2013-04-15 Thread Violeta Georgieva
Hi, 2013/4/15 naouguh_tomcat wrote: Hi All, Can someone tell me how to reload one application of tomcat in the command line ? Please check this [1]. Regards Violeta [1] http://tomcat.10.x6.nabble.com/Command-line-reloading-of-a-webapp-td2038007.html

Re: Tomcat web application stops automatically

2013-04-15 Thread André Warnier
Rishad Ali wrote: I have a dedicated server running CentOS 5.9, Apache-Tomcat 5.5.36. I have written a JAVA web applications which runs every minute to collect the data from multiple sensors. I am using ScheduledExecutorService to execute the threads. (one thread for each sensor every minute and

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-15 Thread Pid
On 15/04/2013 00:03, Christopher Schultz wrote: Pid, On 4/12/13 1:54 PM, Pïd stèr wrote: On 11 Apr 2013, at 21:36, Christopher Schultz ch...@christopherschultz.net wrote: [...] though I would run Apache httpd and Tomcat on different hosts, so localhost-binding is not possible unless you

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-15 Thread Pid
On 15/04/2013 03:51, Esmond Pitt wrote: I agree with your comment. Adding a second box for Tomcat only means I also have to configure a firewall between them, whereas using 127.0.0.x for Tomcat protects it completely. No it doesn't! Obfuscation or indirection != security. HTTPD doesn't

RE: Tomcat web application stops automatically

2013-04-15 Thread Rishad Ali
These application are running inside tomcat because I was under the impression that Tomcat is an application server and I need tomcat to run Java dynamic web applications. -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: 15 April 2013 11:14 To: Tomcat Users List

RE: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-15 Thread Esmond Pitt
When you quote me in refutation, kindly quote *all* and *only* the parts that are relevant. You have now made both mistakes in succession. I hid the Tomcat behind an HTTPD on port 80, closed port 8080, and made the Tomcat listen on 127.0.0.x only. A TCP socket that listens on 127.0.0.1 cannot be

Tomcat 5.0.28 documentation

2013-04-15 Thread M Eashwar
Hi, I am searching for Tomcat 5.0.28 documentation in old mail archives and searching in web. But still I am not finding that. The reason to find this old documentation is, our application developed long back and its working in Tomcat 5.0.28 only. Kindly help on this. Regards, Eashwar.

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-15 Thread David kerber
On 4/14/2013 11:10 PM, Howard W. Smith, Jr. wrote: On Sun, Apr 14, 2013 at 10:52 PM, Mark Thomasma...@apache.org wrote: On 14/04/2013 21:53, Howard W. Smith, Jr. wrote: On Sun, Apr 14, 2013 at 6:51 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-15 Thread Pid
On 15/04/2013 11:36, Esmond Pitt wrote: When you quote me in refutation, kindly quote *all* and *only* the parts that are relevant. You have now made both mistakes in succession. I hid the Tomcat behind an HTTPD on port 80, closed port 8080, and made the Tomcat listen on 127.0.0.x only. A TCP

Re: tomcat reload single application command

2013-04-15 Thread Neven Cvetkovic
Why would you want to reload the application? What are the motives behind that? There are few ways to do it... it all depends what do you want to accomplish and what type of an app it... what is your current deployment procedure? Here are few ways: 1. Obvious one, remove app from webapps and

Re: Tomcat 5.0.28 documentation

2013-04-15 Thread Ognjen Blagojevic
M Eashwar, On 15.4.2013 13:25, M Eashwar wrote: I am searching for Tomcat 5.0.28 documentation in old mail archives and searching in web. But still I am not finding that. The reason to find this old documentation is, our application developed long back and its working in Tomcat 5.0.28

Re: Tomcat web application stops automatically

2013-04-15 Thread Ralph Plawetzki
Am 15.04.2013 11:31, schrieb Rishad Ali: I have a dedicated server running CentOS 5.9, Apache-Tomcat 5.5.36. I have written a JAVA web applications which runs every minute to collect the data from multiple sensors. I am using ScheduledExecutorService to execute the threads. (one thread for

RE: Tomcat web application stops automatically

2013-04-15 Thread Rishad Ali
I think I mentioned this in the question that I am using ScheduledExecutorService to start threads every minute. This is not the application running every minute, these are the threads I create. And as I said It works fine for some time then it stops. Yes I checked the log but there is no sign

Re: Tomcat web application stops automatically

2013-04-15 Thread Ralph Plawetzki
Am 15.04.2013 14:22, schrieb Rishad Ali: I think I mentioned this in the question that I am using ScheduledExecutorService to start threads every minute. This is not the application running every minute, these are the threads I create. And as I said It works fine for some time then it stops.

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-15 Thread Howard W. Smith, Jr.
On Mon, Apr 15, 2013 at 7:49 AM, Pid p...@pidster.com wrote: I'm persisting in this point because I don't want other users to continue believing the fallacy that 'hiding' Tomcat behind Apache HTTPD alone improves their security. And your persistence is appreciated, and I definitely

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-15 Thread Howard W. Smith, Jr.
On Mon, Apr 15, 2013 at 7:40 AM, David kerber dcker...@verizon.net wrote: On 4/14/2013 11:10 PM, Howard W. Smith, Jr. wrote: On Sun, Apr 14, 2013 at 10:52 PM, Mark Thomasma...@apache.org wrote: On 14/04/2013 21:53, Howard W. Smith, Jr. wrote: On Sun, Apr 14, 2013 at 6:51 PM, Christopher

Re: tomcat reload single application command

2013-04-15 Thread Mark Eggers
On 4/15/2013 12:54 AM, naouguh_tomcat wrote: Hi All, Can someone tell me how to reload one application of tomcat in the command line ? Best Regards, Ansir Hu I don't know which version of Tomcat you're running, so here's a reference to both currently active versions:

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-15 Thread David kerber
On 4/15/2013 10:10 AM, Howard W. Smith, Jr. wrote: On Mon, Apr 15, 2013 at 7:40 AM, David kerberdcker...@verizon.net wrote: On 4/14/2013 11:10 PM, Howard W. Smith, Jr. wrote: On Sun, Apr 14, 2013 at 10:52 PM, Mark Thomasma...@apache.org wrote: On 14/04/2013 21:53, Howard W. Smith, Jr.

Re: Tomcat 5.0.28 documentation

2013-04-15 Thread Mark Eggers
On 4/15/2013 5:03 AM, Ognjen Blagojevic wrote: M Eashwar, On 15.4.2013 13:25, M Eashwar wrote: I am searching for Tomcat 5.0.28 documentation in old mail archives and searching in web. But still I am not finding that. The reason to find this old documentation is, our application developed

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-15 Thread Mark Eggers
On 4/15/2013 3:19 AM, Pid wrote: On 15/04/2013 00:03, Christopher Schultz wrote: Pid, On 4/12/13 1:54 PM, Pïd stèr wrote: On 11 Apr 2013, at 21:36, Christopher Schultz ch...@christopherschultz.net wrote: [...] though I would run Apache httpd and Tomcat on different hosts, so

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-15 Thread Mark Eggers
On 4/15/2013 7:25 AM, David kerber wrote: On 4/15/2013 10:10 AM, Howard W. Smith, Jr. wrote: On Mon, Apr 15, 2013 at 7:40 AM, David kerberdcker...@verizon.net wrote: On 4/14/2013 11:10 PM, Howard W. Smith, Jr. wrote: On Sun, Apr 14, 2013 at 10:52 PM, Mark Thomasma...@apache.org wrote: On

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-15 Thread Pid
On 15/04/2013 16:11, Mark Eggers wrote: On 4/15/2013 3:19 AM, Pid wrote: On 15/04/2013 00:03, Christopher Schultz wrote: Pid, On 4/12/13 1:54 PM, Pïd stèr wrote: On 11 Apr 2013, at 21:36, Christopher Schultz ch...@christopherschultz.net wrote: [...] though I would run Apache httpd and

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-15 Thread André Warnier
Pid wrote: On 15/04/2013 11:36, Esmond Pitt wrote: When you quote me in refutation, kindly quote *all* and *only* the parts that are relevant. You have now made both mistakes in succession. I hid the Tomcat behind an HTTPD on port 80, closed port 8080, and made the Tomcat listen on 127.0.0.x

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-15 Thread André Warnier
In what I believe to be related anough to the subject of the original post, I would like to float a proposal, to make life a bit harder for these automated hackers. By personal observation, I note that many such attempts (the large majority in fact) end up requesting URLs which do not exist on

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-15 Thread Neven Cvetkovic
How about creating a fake manager application :))) That takes X minutes/seconds to get back a 404 ;)))

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Howard, On 4/14/13 9:53 PM, Howard W. Smith, Jr. wrote: I am definitely relying on user HttpSessions, and I do JPA-level caching (statement cache and query results cache). pages are PrimeFaces and primefaces = xhtml, html, jquery, and

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-15 Thread André Warnier
Neven Cvetkovic wrote: How about creating a fake manager application :))) That takes X minutes/seconds to get back a 404 ;))) Just for the sake of the discussion : - a fake manager application would apply to just the /manager webapp, not to other potential hacking targets, no ? (or you

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Pid, On 4/15/13 6:19 AM, Pid wrote: On 15/04/2013 00:03, Christopher Schultz wrote: Pid, On 4/12/13 1:54 PM, Pïd stèr wrote: On 11 Apr 2013, at 21:36, Christopher Schultz ch...@christopherschultz.net wrote: [...] though I would run Apache

Re: Tomcat access log reveals hack attempt: HEAD /manager/html HTTP/1.0 404

2013-04-15 Thread Mark Eggers
On 4/15/2013 10:15 AM, André Warnier wrote: Neven Cvetkovic wrote: How about creating a fake manager application :))) That takes X minutes/seconds to get back a 404 ;))) Just for the sake of the discussion : - a fake manager application would apply to just the /manager webapp, not to other

Apache HTTPD + Tomcat restarts

2013-04-15 Thread Shanti Suresh
All, I made a simple change to the Apache HTTPD configs - I reduced the number of loaded modules - and then stopped and started Apache. On the QA environment, Tomcat did not need a restart. On the PROD (production) environment, soon after Apache was restarted, the application URLs resolved

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-15 Thread Howard W. Smith, Jr.
On Mon, Apr 15, 2013 at 11:18 AM, Mark Eggers its_toas...@yahoo.com wrote: On 4/15/2013 7:25 AM, David kerber wrote: On 4/15/2013 10:10 AM, Howard W. Smith, Jr. wrote: On Mon, Apr 15, 2013 at 7:40 AM, David kerberdcker...@verizon.net wrote: On 4/14/2013 11:10 PM, Howard W. Smith, Jr.

Re: Apache HTTPD + Tomcat restarts

2013-04-15 Thread Mark Eggers
On 4/15/2013 12:14 PM, Shanti Suresh wrote: All, I made a simple change to the Apache HTTPD configs - I reduced the number of loaded modules - and then stopped and started Apache. On the QA environment, Tomcat did not need a restart. On the PROD (production) environment, soon after Apache

Re: Apache HTTPD + Tomcat restarts

2013-04-15 Thread André Warnier
Mark Eggers wrote: On 4/15/2013 12:14 PM, Shanti Suresh wrote: All, I made a simple change to the Apache HTTPD configs - I reduced the number of loaded modules - and then stopped and started Apache. On the QA environment, Tomcat did not need a restart. On the PROD (production) environment,

Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-15 Thread Howard W. Smith, Jr.
On Mon, Apr 15, 2013 at 1:08 PM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Howard, On 4/14/13 9:53 PM, Howard W. Smith, Jr. wrote: I am definitely relying on user HttpSessions, and I do JPA-level caching (statement cache

Re: Apache HTTPD + Tomcat restarts

2013-04-15 Thread Shanti Suresh
Hi all, Apologies :-) I was expecting a simple yes/no response. On Mon, Apr 15, 2013 at 4:01 PM, André Warnier a...@ice-sa.com wrote: Mark Eggers wrote: Apache HTTPD modules do not influence how Apache Tomcat runs. That's what I thought. If that cures your problem, then you

Re: path attribute from Context.xml is not working

2013-04-15 Thread Jakub 1983
Chuck, thank you for your help. Asterisks where from bolding as Neven wrote. When Context is defined in server.xml it's path attribute works fine. Actually I have read, but not understood doc. I concentrated on second part of sentace saying unless either the docBase is not located under the

Re: Apache HTTPD + Tomcat restarts

2013-04-15 Thread Shanti Suresh
On Mon, Apr 15, 2013 at 5:02 PM, Shanti Suresh sha...@umich.edu wrote: And Apr 11 21:05 is when I restarted Apache after removing several unused modules - hard stop and start. The way I restarted Apache is: sudo /usr/sbin/service httpd stop sudo /usr/bin/servive httpd start Typo.

RE: Re : Memory leak in Tomcat 6.0.35 ( 64 bit)

2013-04-15 Thread Jeffrey Janner
-Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Sunday, April 14, 2013 5:52 PM To: Tomcat Users List Subject: Re: Re : Memory leak in Tomcat 6.0.35 ( 64 bit) I've had people tell me that I should run with the biggest heap I can afford

Re: Apache HTTPD + Tomcat restarts

2013-04-15 Thread André Warnier
Shanti Suresh wrote: Hi all, Apologies :-) I was expecting a simple yes/no response. Well, you wrote that you wanted to know our thoughts. Yes or No would not have been an appropriate response to that, so we elaborated a bit. ;-) On Mon, Apr 15, 2013 at 4:01 PM, André Warnier

Re: Tomcat 5.0.28 documentation

2013-04-15 Thread M Eashwar
Thanks for your replies. Would like to refer only documentation for 5.0.28. Any other possibility? Regards, Eashwar On Mon, Apr 15, 2013 at 7:56 PM, Mark Eggers its_toas...@yahoo.com wrote: On 4/15/2013 5:03 AM, Ognjen Blagojevic wrote: M Eashwar, On 15.4.2013 13:25, M Eashwar wrote:

ParNew promotion failed in verbose GC logs

2013-04-15 Thread Techienote com
Hi Team, Recently I am seeing concurrent mode failure errors in my Verbose GC logs. For the same I have set NewSize to 512MB, still I am seeing concurrent mode failure in the Verbose GC logs 62230.611: [ParNew (promotion failed) Desired survivor size 32768 bytes, new threshold 0 (max 0) :