Re: Performance degrades on tomcat7 for the same runs of a sample performance 60 user test

2015-11-03 Thread Mark Thomas
On 03/11/2015 06:17, dimple ranka wrote: > ## > On tomcat7 number of requests fullfilled per second > ## > * RUN1 ** ==> ** 38128.97704918033 runs/sec* > *RUN2 ==> ** 19040.35947712418 runs/sec* > *RUN3

Re: Performance degrades on tomcat7 for the same runs of a sample performance 60 user test

2015-11-03 Thread dimple ranka
Hi Mark, The test client is running on another machine. The server side test code is written using jersey 1.17. Will try out with playing with maxKeepAliveRequests. My only concern is that if jmeter is doing spoofy things then why it doesnt show up on tomcat6. Thanks, Dimple On Tue, Nov 3,

Re: Newbie tomcat 8.0.28 question

2015-11-03 Thread Mark Thomas
On 03/11/2015 04:47, Linux Support wrote: > greetings all, > > Running CentOS 6.4. Configured the /opt/tomcat-latest to be owned by a > system user(tomcat8) other than root. > > Planning of keeping the tomcat instance running as a non-root owned > process. > > How can i get another

Re: Monitoring Connections

2015-11-03 Thread Christopher Schultz
Aurelien, On 11/2/15 5:54 PM, Aurélien Terrestris wrote: > Either my reply was not read, or I'm surprised nobody is answering here. > > "1. Java doesn't directly support SNMP;" > > It does, officially : http://docs.oracle.com/javase/7/docs/technotes/guides/ > management/snmp.html and it's

Re: Newbie tomcat 8.0.28 question

2015-11-03 Thread Christopher Schultz
To whom it may concern, On 11/3/15 6:39 AM, Linux Support wrote: > not having a clear text password in the users.xml ( i think ) for the admin > user. My understanding is that the admin user logging in through the > default page can do a deployment. Do you mean like this?

Re: Newbie tomcat 8.0.28 question

2015-11-03 Thread Christopher Schultz
To whom it may concern, On 11/3/15 6:39 AM, Linux Support wrote: > not having a clear text password in the users.xml ( i think ) for the admin > user. My understanding is that the admin user logging in through the > default page can do a deployment. Do you mean like this?

Re: Newbie tomcat 8.0.28 question

2015-11-03 Thread Linux Support
not having a clear text password in the users.xml ( i think ) for the admin user. My understanding is that the admin user logging in through the default page can do a deployment. On Tue, Nov 3, 2015 at 9:50 PM, Mark Thomas wrote: > On 03/11/2015 10:45, Linux Support wrote: > >

Re: Newbie tomcat 8.0.28 question

2015-11-03 Thread Linux Support
Thanks Mark. I might be struggle in setting up the hashed passwords. I have not been able to find a good read detailing how to do that. Will you be able to kindly point me in the direction of something worth the time and effort. cheers osp On Tue, Nov 3, 2015 at 7:41 PM, Mark Thomas

Re: Newbie tomcat 8.0.28 question

2015-11-03 Thread Mark Thomas
On 03/11/2015 10:45, Linux Support wrote: > Thanks Mark. I might be struggle in setting up the hashed passwords. I have > not been able to find a good read detailing how to do that. Will you be > able to kindly point me in the direction of something worth the time and > effort. What, exactly, do

Re: [OT] RE: 80ms delay switching between worker threads

2015-11-03 Thread Farzad Panahi
That's correct André. That is my point. On Tue, Nov 3, 2015 at 8:18 AM, André Warnier (tomcat) wrote: > On 02.11.2015 21:23, David kerber wrote: >> >> On 11/2/2015 3:09 PM, Farzad Panahi wrote: >>> >>> Quoting from David Holme's blog: >>> The nanoTime method uses the

Re: [OT] RE: 80ms delay switching between worker threads

2015-11-03 Thread Farzad Panahi
I wish I could get my hands on a real server : ) On Mon, Nov 2, 2015 at 12:23 PM, David kerber wrote: > On 11/2/2015 3:09 PM, Farzad Panahi wrote: >> >> Quoting from David Holme's blog: >> >>> The nanoTime method uses the highest resolution clock available on the >>>

Making fail-over work with PermGen errors

2015-11-03 Thread Stephen Booth
Does anyone have any advice about how to make fail-over work more cleanly with PermGen errors (other than the obvious one of not letting PermGen errors occur) I'm using apache ModProxy to connect to tomcat over ajp with additional hot-spare servers confgured for fail-over but if I mess up and let

Does Tomcat support clustering for automatic fail over?

2015-11-03 Thread javier_espana
Good day all: I would like to setup a couple of servers for automatic fail-over. In case one fails the other can take over. Does Tomcat support that kind of setup? If so, can you direct me to where I can find some documentation about it? Thank you Javier España Sr. Technical Analyst Honda

Re: Performance degrades on tomcat7 for the same runs of a sample performance 60 user test

2015-11-03 Thread dimple ranka
Hi Mark, Another observation to be noted here is that system CPU usage shoots up for subsequent runs, especially for later runs. We have been looking into this issue for couple of weeks now and it is clear in the same environment with the same setup it doesn't reproduce on tomcat6. The moment we

Re: Performance degrades on tomcat7 for the same runs of a sample performance 60 user test

2015-11-03 Thread dimple ranka
Also forgot to mention that setting maxKeepAliveRequests to -1 did not help. As expected from the connector documentation the default value for this attribute is 100 and we have a 60 user test set up. On Wed, Nov 4, 2015 at 8:18 AM, dimple ranka wrote: > Hi Mark, > >

Re: Does Tomcat support clustering for automatic fail over?

2015-11-03 Thread Mike Guo
Hi, Javier. I guess you need a load balance for this. Tomcat can be setup as cluster. You can find it in official document. But you have to take care of the session for you application. Mike From my iPhone > 在 2015年11月4日,08:56,javier_esp...@hna.honda.com 写道: > > > Good day all: > I

Re: Tomcat Server and PHP Extensions

2015-11-03 Thread Mike Guo
Chris Tomcat doesn't support php, For your issue, the solution is configure Apache + ajp+ php+ tomcat, Use Apache in front of , as you main web server, and use ajp forward Java ee request to tomcat , and use mod proxy forward php request to php ( php run as php-fm Damon) It will a better

Facing issue with web socket client in Tomcat 7

2015-11-03 Thread sambit nayak
Hi I am trying to run a Web socket client under the context of Tomcat. So the scenario is, I have a Web socket Server Endpoint deployed on Tomcat, as part of App-1. App-2, which is also deployed on Tomcat (obviously under different context root), wants to send a message. The class in App-2 works

Re: Does Tomcat support clustering for automatic fail over?

2015-11-03 Thread Mike Guo
And I think the important thing is the load balance setup, you can check the Apache proxy module and ajp module , all of them can be found in official document Mike Sent from my iPhone > 在 2015年11月4日,11:59,Mike Guo 写道: > > Hi, Javier. > > I guess you need a load

Re: [OT] RE: 80ms delay switching between worker threads

2015-11-03 Thread tomcat
On 02.11.2015 21:23, David kerber wrote: On 11/2/2015 3:09 PM, Farzad Panahi wrote: Quoting from David Holme's blog: The nanoTime method uses the highest resolution clock available on the platform, and while its return value is in nanoseconds, the update resolution is typically only