Apache Tomcat 7.x: Host+Alias and HTTP 301

2013-07-19 Thread jieryn
Greetings, I'm using Apache Tomcat 7.0.42, with IBM Java 1.7.0-SR2, on SuSE SLED 11 Linux. I have multiple host names which resolve to the same application context, e.g. app.host1.com (host) and app.host2.com (alias). I have implemented this within conf/server.xml via Host and Alias definitions.

Re: Multiple instances of Tomcat 7.0 on one server

2013-07-19 Thread Leon Rosenberg
Hello Mr. Random, as usual there is no easy answer here. I think the most correct answer would be RATHER NOT. There is rather no performance to be gained but running multiple instances of the same app in multiple tomcats on the same physical machine except for: * you need a lot of heap per session

Re: SingleSignOn valve enabled by default?

2013-07-19 Thread Konstantin Kolinko
2013/7/19 Chao Wang : > > > > Hi all, > > I have an issue with SSO configuration in tomcat 7.0.42. > > According to the doc [1], it requires to enable SSO valve inside > server.xml. However, without making such modification, I deployed two > web-app test.war and test2.war (see attached file). Then

Re: FAIL - Deploy Upload Failed, Exception: Error invoking method check

2013-07-19 Thread Konstantin Kolinko
2013/7/19 Jonathan Rosenberg : > People, > > I am using > > Apache Tomcat/7.0.221.6.0_20-b20Sun Microsystems Inc. > Linux 2.6.34.7-56.40.amzn1.i686 i386 > > on an AWS EC2 instance. > > This is a staging server & for many months now it has been running 2 > small, ligh

Multiple instances of Tomcat 7.0 on one server

2013-07-19 Thread Tomcat Random
We currently are setting a site that receives fairly heavy traffic (5000 simultaneous users). We have two physical servers. As a general idea, is there performance to be gained by running multiple instances of Tomcat 7.0? For example, two instances on one physical server and two instances on the o

FAIL - Deploy Upload Failed, Exception: Error invoking method check

2013-07-19 Thread Jonathan Rosenberg
People, I am using Apache Tomcat/7.0.221.6.0_20-b20Sun Microsystems Inc. Linux 2.6.34.7-56.40.amzn1.i686 i386 on an AWS EC2 instance. This is a staging server & for many months now it has been running 2 small, lightly-used apps. Recently, I have been fooling wit

Re: Capture request/response bandwidth of webapp deployed in Tomcat

2013-07-19 Thread Shariq
Hi André, Many thanks for all the help and suggestions, I'll try to further dig in and see if I can find a breakthrough. On Fri, Jul 19, 2013 at 12:53 PM, André Warnier wrote: > Shariq wrote: > >> On Thu, Jul 18, 2013 at 2:59 PM, André Warnier wrote: >> >> Shariq wrote: >>> ... >>> >>> >>>

Re: Re:[OT] tomcat 7 maven plugin run on a installed tomcat not embedded

2013-07-19 Thread Olivier Lamy
2013/7/18 fachhoch : > tomcat7 maven plugin goal tomcat7:run, documentation says its starts > an embedded tomcat , is it possible to configure this goal to use use an > installed server ? I want to use an installed server as > my app has dependency on other app which should run on the same >

Re: Capture request/response bandwidth of webapp deployed in Tomcat

2013-07-19 Thread André Warnier
Shariq wrote: On Thu, Jul 18, 2013 at 2:59 PM, André Warnier wrote: Shariq wrote: ... Can I please get some more help with this, as I'm not sure how to proceed further?? Shariq, I note that you say please, but you've already got 3 answers, 2 of them pretty detailed, in just over 24 hours