Re: Apache 7, Logrotate

2013-10-25 Thread Urfan Alimov
On Fri, Oct 25, 2013 at 1:33 AM, Web2 Solutions m...@web2-solutions.comwrote: Hallo All, I've installed tomcat 7.0.42 and due heavy use my catalina.out and localhost_access-jjj-mm-dd.txt grows quit big. I've successfully configured logrotate to rotate both files. I've removed the date from

Tomcat 7 - requested resource is not available

2013-10-25 Thread Donaldson, John
The problem I'm facing is this: when I make a request on my application running on Tomcat I get status 404 - the requested resource is not available. Some background: This is a large and old application that I've been asked to modernize. It runs fine on an earlier Tomcat (v5 I think). The

Re: So You Want High Performance ( cont )

2013-10-25 Thread Felix Schumacher
On Do, 2013-10-24 at 11:29 -0400, Stephen More wrote: I came across this paper by Peter Lin ( http://tomcat.apache.org/articles/performance.pdf ). In a simple xml addressbook war he summarizes how different variables affect the speed of the application. In one test he compares: Sun X1

Re: Tomcat 7 - requested resource is not available

2013-10-25 Thread Urfan Alimov
On Fri, Oct 25, 2013 at 12:07 PM, Donaldson, John john.m.donald...@hp.comwrote: The problem I'm facing is this: when I make a request on my application running on Tomcat I get status 404 - the requested resource is not available. Some background: This is a large and old application that

Re: Apache 7, Logrotate

2013-10-25 Thread Konstantin Kolinko
2013/10/25 Web2 Solutions m...@web2-solutions.com: Hallo All, I've installed tomcat 7.0.42 and due heavy use my catalina.out and localhost_access-jjj-mm-dd.txt grows quit big. I've successfully configured logrotate to rotate both files. I've removed the date from the access log. So Tomcat

Re: Apache 7, Logrotate

2013-10-25 Thread Internet Lösungen für Klein Gross
On Fri, Oct 25, 2013 at 1:33 AM, Web2 Solutions m...@web2-solutions.comwrote: Hallo All, I've installed tomcat 7.0.42 and due heavy use my catalina.out and localhost_access-jjj-mm-dd.txt grows quit big. I've successfully configured logrotate to rotate both files. I've removed

RE: Tomcat 7 - requested resource is not available

2013-10-25 Thread Donaldson, John
Urfan, Hi, With standard Tomcat configuration you should invoke jsp pages as localhost:port/MyProj/MyJsp.jsp Also check out how Context/ tag is configured in server.xml file of your tomcat. Regards, My one and only html page (URL is like this:

Re: Apache 7, Logrotate

2013-10-25 Thread Konstantin Kolinko
2013/10/25 Internet Lösungen für Klein Gross m...@web2-solutions.com: On Fri, Oct 25, 2013 at 1:33 AM, Web2 Solutions m...@web2-solutions.comwrote: Hallo All, I've installed tomcat 7.0.42 and due heavy use my catalina.out and localhost_access-jjj-mm-dd.txt grows quit big. I've

Re: Apache 7, Logrotate

2013-10-25 Thread Internet Lösungen für Klein Gross
Hi Konstatin, thanks for the explanation. 2013/10/25 Web2 Solutions m...@web2-solutions.com: Hallo All, I've installed tomcat 7.0.42 and due heavy use my catalina.out and localhost_access-jjj-mm-dd.txt grows quit big. I've successfully configured logrotate to rotate both files. I've

Tomcat logging, request

2013-10-25 Thread André Warnier
Hi. This is a humble request to the Tomcat developers. First an introduction : This is a mailing list dedicated to helping people use Tomcat, and by extension java webapps and java itself. So it is normal that an overwhelming number of the people who are accessing this list and its archives

Re: Apache 7, Logrotate

2013-10-25 Thread David N. Smith
On Oct 25, 2013, at 6:56 AM, Internet Lösungen für Klein Gross m...@web2-solutions.com wrote: Renaming the file is futile, because Tomcat (for access logs) or the shell (for catalina.out) has the file open and continues to write to it, regardless of the file name. Ok, got that. I could

Re: So You Want High Performance ( cont )

2013-10-25 Thread Stephen More
On Fri, Oct 25, 2013 at 5:14 AM, Felix Schumacher felix.schumac...@internetallee.de wrote: On Do, 2013-10-24 at 11:29 -0400, Stephen More wrote: I came across this paper by Peter Lin ( http://tomcat.apache.org/articles/performance.pdf ). In a simple xml addressbook war he summarizes how

Re: So You Want High Performance ( cont )

2013-10-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Stephen, On 10/24/13, 5:35 PM, Stephen More wrote: On Thu, Oct 24, 2013 at 4:14 PM, Christopher Schultz ch...@christopherschultz.net wrote: Stephen, On 10/24/13, 11:29 AM, Stephen More wrote: I came across this paper by Peter Lin (

Re: Apache Tomcat 7, Logrotate

2013-10-25 Thread Web2 Solutions
Hallo David, David N. Smith 25 Oct 2013 13:42 I think here is where you get confused. The "original (empty) file" is not the original file. It is a new file that happens to have the same name as the the one that was renamed. The true original file is the one that

Re: So You Want High Performance ( cont )

2013-10-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Stephen, On 10/25/13, 9:13 AM, Stephen More wrote: On Fri, Oct 25, 2013 at 5:14 AM, Felix Schumacher felix.schumac...@internetallee.de wrote: On Do, 2013-10-24 at 11:29 -0400, Stephen More wrote: I came across this paper by Peter Lin (

Strange behaviour when redeploying

2013-10-25 Thread Christophe Carpentier
Hello everyone! I've come into a strange problem using tomcat with one of our company's WAR file. The application works as a charm, but when using the manager to redeploy it, roughly one time out of two, the heap size explodes: [image: Images intégrées 1] Please note that the *used* heap does not

Re: Problems with Clustering / Session Replication

2013-10-25 Thread Nicholas Violi
On Tue, Sep 24, 2013 at 5:21 PM, Daniel Mikusa dmik...@gopivotal.comwrote: A couple general thoughts... 1.) When looking at log statements at the FINE lower levels, recognize that these are not reporting problems. They just give you the ability to trace the flow of what is happening in the

Re: So You Want High Performance ( cont )

2013-10-25 Thread Stephen More
On Fri, Oct 25, 2013 at 10:30 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Stephen, On 10/25/13, 9:13 AM, Stephen More wrote: On Fri, Oct 25, 2013 at 5:14 AM, Felix Schumacher felix.schumac...@internetallee.de wrote: On Do,

Re: So You Want High Performance ( cont )

2013-10-25 Thread Stephen More
On Fri, Oct 25, 2013 at 10:30 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Stephen, On 10/25/13, 9:13 AM, Stephen More wrote: On Fri, Oct 25, 2013 at 5:14 AM, Felix Schumacher felix.schumac...@internetallee.de wrote: On Do,

Re: So You Want High Performance ( cont )

2013-10-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Stephen, On 10/25/13, 11:15 AM, Stephen More wrote: I agree with everything you have said...perhaps I am not looking for a benchmark but perhaps a real world - full stack reference web application with included jmeter plan: - JSF - rest, soap

Re: Strange behaviour when redeploying

2013-10-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Christophe, On 10/25/13, 11:00 AM, Christophe Carpentier wrote: I've come into a strange problem using tomcat with one of our company's WAR file. The application works as a charm, but when using the manager to redeploy it, roughly one time out

Re: Apache Tomcat 7, Logrotate

2013-10-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Michael, On 10/25/13, 10:21 AM, Web2 Solutions wrote: David N. Smith mailto:david.sm...@cornell.edu 25 Oct 2013 13:42 Configuring your apps to use a true logging system and configuring the log system to rotate is the best option. Barring

Re: Tomcat logging, request

2013-10-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 10/25/13, 7:18 AM, André Warnier wrote: For example, a utility such as logrotate, in the sysadmin world, is like a gift of God. Most server-like programs allow logrotate to rotate their logfiles, compress old ones, remove even older

Re: Tomcat logging, request

2013-10-25 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 10/25/13, 7:18 AM, André Warnier wrote: For example, a utility such as logrotate, in the sysadmin world, is like a gift of God. Most server-like programs allow logrotate to rotate their logfiles, compress old