Re: Tomcat 7 Maven plugin: deploy fails with tomcatManager status code:401, ReasonPhrase:Unauthorized

2012-04-13 Thread Olivier Lamy
Hi, Can you try with: mvn tomcat7:deploy -Dtomcat.username=Administrator -Dtomcat.password=a See Mojo documentation: http://tomcat.apache.org/maven-plugin-2.0-SNAPSHOT/tomcat7-maven-plugin/deploy-mojo.html 2012/4/13 Matt Munz matt.m.m...@gmail.com: Olivier,  When I try to deploy from Maven,

Re: Tomcat7-maven-plugin 2.0-beta1 and useSeparateTomcatClassloader fails with run goal

2012-04-13 Thread Leigh Anderson
Hi Olivier, It's actually the act of declaring a context.xml with a Loader element that causes the application to fail. A new instance of WebAppLoader is created, overriding the one carefully created by the plugin, without the benefit of a properly configured class path. I've included a small

Re: Tomcat7-maven-plugin 2.0-beta1 and useSeparateTomcatClassloader fails with run goal

2012-04-13 Thread Olivier Lamy
Hi, 2012/4/13 Leigh Anderson leigh.ander...@betfair.com: Hi Olivier, It's actually the act of declaring a context.xml with a Loader element that causes the application to fail. A new instance of WebAppLoader is created, overriding the one carefully created by the plugin, without the benefit

determining cause of MaxThreads exhausted

2012-04-13 Thread Miguel González Castaños
Dear all, A server that I manage has a Struts webapp with a Tomcat 5.5.x standalone server. No JMX or whatsoever has been configured. The app sends massive emails to users with some info that requires users to log on the webapp and fill in some forms. It seems (without any logs or

Re: determining cause of MaxThreads exhausted

2012-04-13 Thread Pid *
On 13 Apr 2012, at 09:09, Miguel González Castaños miguel_3_gonza...@yahoo.es wrote: Dear all, A server that I manage has a Struts webapp with a Tomcat 5.5.x standalone server. No JMX or whatsoever has been configured. The app sends massive emails to users with some info that requires

Re: Tomcat7-maven-plugin 2.0-beta1 and useSeparateTomcatClassloader fails with run goal

2012-04-13 Thread Leigh Anderson
I'd added classLoaderClassorg.springframework.instrument.classloading.tomcat.Tomc at InstrumentableClassLoader/classLoaderClass to the plugin configuration, which was then picked up correctly and used by the WebAppLoader. Could you attach the patch to an issue ? MTOMCAT-140 created.

Re: determining cause of MaxThreads exhausted

2012-04-13 Thread Miguel González Castaños
On 13/04/2012 10:14, Pid * wrote: On 13 Apr 2012, at 09:09, Miguel González Castaños miguel_3_gonza...@yahoo.es wrote: Dear all, A server that I manage has a Struts webapp with a Tomcat 5.5.x standalone server. No JMX or whatsoever has been configured. The app sends massive emails to

Multipart over ajp btwn apache-tomcat fails sometimes...

2012-04-13 Thread Svante Kumlien
Hi all, My stuff: Windows Server 2008 R2 64 bit Apache 2.2.22 with mod_proxy_ajp Tomcat 7.0.25 (On same server as Apache) I have an Apache acting as reverse proxy for a Tomcat over ajp. Apache conf for the proxyPass: Location /tomcatSite ProxyPass ajp://127.0.0.1:8009/tomcatSite ProxyPassReverse

RE: StandardHostValve kills custom error message

2012-04-13 Thread Osipov, Michael
Konstantin Kolinko wrote: The message is not diplayed because in line 282 to 286 the message is killed by: else {            // A custom error-page has not been defined for the exception            // that was thrown during request processing. Check if an            // error-page for

Re: Tomcat 7 Maven plugin: deploy fails with tomcatManager status code:401, ReasonPhrase:Unauthorized

2012-04-13 Thread Konstantin Kolinko
2012/4/13 Matt Munz matt.m.m...@gmail.com: Olivier,  When I try to deploy from Maven, the following message appears in the access log. [1]  There are no other messages in any of the other logs for this event. [1] 127.0.0.1 - - [12/Apr/2012:21:15:59 -0700] PUT /manager/html/deploy?path=%2F

Re: 7.0.25 to 7.0.27 requires -Xmx32m to go to -Xmx512m

2012-04-13 Thread markt
Peter peterdni...@yahoo.com wrote: Thanks for the response Mark - it is consistent with both observations that i noted in the original email (heap post startup was near 0, and disabling scanning resolves). I looked in the changelog in 26/27 and did not see anything in there that fits this?  If

Re: 7.0.25 to 7.0.27 requires -Xmx32m to go to -Xmx512m

2012-04-13 Thread Konstantin Kolinko
2012/4/13 ma...@apache.org: The specification requires that every class and its hierarchy is scanned for annotations when the web app start. It was the Spring folks complaining about the slow start time when we didn't cache anything during the scan process. As I have said before: - If

Re: determining cause of MaxThreads exhausted

2012-04-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miguel, On 4/13/12 4:27 AM, Miguel González Castaños wrote: The app sends massive emails to users with some info that requires users to log on the webapp and fill in some forms. It seems (without any logs or metrics) that people tend to fill the

Re: determining cause of MaxThreads exhausted

2012-04-13 Thread Miguel González Castaños
The app sends massive emails to users with some info that requires users to log on the webapp and fill in some forms. It seems (without any logs or metrics) that people tend to fill the forms right away after they got the emails and together with the mailing process (that requires DB use to get

Re: Multipart over ajp btwn apache-tomcat fails sometimes...

2012-04-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Svante, On 4/13/12 5:16 AM, Svante Kumlien wrote: I have an Apache acting as reverse proxy for a Tomcat over ajp. Standard stupid question: are you sure you need Apache httpd in the mix? (Gaahhh, the stack trace is swallowed, I only have the