Re: NPE instead of '400 Bad Request' response when sending invalid request on Tomcat 7.0.7

2011-02-03 Thread Konstantin Kolinko
2011/2/4 eurotrans-Verlag : > I noticed that when sending an invalid request to Tomcat 7.0.7 (e.g. without > a HTTP method), Tomcat throws a NullPointerException, instead of responding > with a "400 Bad Request". > > If you do a request like this for example: > > /invalidRequest HTTP/1.1 > Host: lo

Re: CLIENT-CERT configuration doesn't work for servlet.

2011-02-03 Thread Kannan J
>>> You have http://host/ClientCertSignServlet configured to redirect to https://host/ClientCertSignServlet due to the . Did you expect some other response than 302?   <   When I enable client authentication on tomcat, I'm not able to open the https url, it says page cannot be displayed. I can

NPE instead of '400 Bad Request' response when sending invalid request on Tomcat 7.0.7

2011-02-03 Thread eurotrans-Verlag
Hi all, I noticed that when sending an invalid request to Tomcat 7.0.7 (e.g. without a HTTP method), Tomcat throws a NullPointerException, instead of responding with a "400 Bad Request". If you do a request like this for example: /invalidRequest HTTP/1.1 Host: localhost Then Tomcat prints: 04

JNDIRealm userPattern DOMAIN/username

2011-02-03 Thread Brandon DuRette
Hello, One of our customers had configured JNDIRealm to authenticate against Active Directory using the userPattern="DOMAIN/{0}". This was working great with Tomcat 6.0.20 (with my patch for 42579 applied (IIRC, the first time it was applied in the trunk it was misapplied)). However, when we upgra

Re: Tomcat on Windows XP: WAR file not fully unpacked

2011-02-03 Thread Jonathan Rosenberg
Thanks to all for the help,. The problem has gone away since I set antiJARLocking='true' -- Jonathan Rosenberg Founder & Executive Director Tabby's Place, a Cat Sanctuary http://www.tabbysplace.org/ On Tue, Feb 1, 2011 at 1:00 PM, Caldarale, Charles R wrote: >> From: shmol...@gmail.com [mailto

Re: Tomcat Service configuration for running sites

2011-02-03 Thread Mark Eggers
This will be long - read at your own risk. - Original Message Begin Hi, Thanks to all who answered my previous post regarding running Tomcat with IIS7. I am still quite confused about the whole thing, so I think I should try to forget about IIS for the time being, and concentrate fir

Re: The request was rejected because its size (102811565) exceeds the configured maximum (52428800)

2011-02-03 Thread Alejo
Christopher Schultz christopherschultz.net> writes: > > > http://catb.org/esr/faqs/smart-questions.html > > On 8/25/2010 9:05 AM, Razvan Poenaru wrote: > > type Exception report > > message > > description The server encountered an internal error () that prevented it from fulfilling this requ

Re: Tomcat Service configuration for running sites

2011-02-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Conway, On 2/3/2011 2:10 AM, Conway Liu wrote: > Tomcat service is installed [in]: > C:\Tomcat\ > My Java web application is placed in: > C:\WebApp1\ > > With subfolders: > C:\WebApp1\bin\... (contains tomcat5.exe and tomcat5w.exe and many .sh an

Re: CLIENT-CERT configuration doesn't work for servlet.

2011-02-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kannan, On 2/3/2011 2:20 PM, Kannan J wrote: > In web.xml of a war file I’m forcing ssl to be used for a particular > servlet. Tomcat has been configured for client authentication. > > > > > RUSA Authentication > /ClientCertSignServlet >

CLIENT-CERT configuration doesn't work for servlet.

2011-02-03 Thread Kannan J
In web.xml of a war file I’m forcing ssl to be used for a particular servlet. Tomcat has been configured for client authentication.           RUSA Authentication     /ClientCertSignServlet               CON

Re: memory leak in tomcat?

2011-02-03 Thread Konstantin Kolinko
2011/2/3 maxxe...@gmail.com : > Hi, > > Tomcat 6.0.26 on a solaris. > > After I unloaded a webapp and asked tomcat to 'find leaks', it > reported a webapp leaked memory. However, when I ran a profiler on the > heapdump, there are only 2 references to the webappclassloader. Both > are weak and are t

Re: memory leak in tomcat?

2011-02-03 Thread maxxe...@gmail.com
uploaded the screenshot here: http://i.imgur.com/OqCBv.png On Thu, Feb 3, 2011 at 9:29 AM, maxxe...@gmail.com wrote: > oh and here is a screenshot (not sure if attachments are allowed) > > -m > > On Thu, Feb 3, 2011 at 9:28 AM, maxxe...@gmail.com wrote: >> Hi, >> >> Tomcat 6.0.26 on a solaris. >

Re: memory leak in tomcat?

2011-02-03 Thread maxxe...@gmail.com
oh and here is a screenshot (not sure if attachments are allowed) -m On Thu, Feb 3, 2011 at 9:28 AM, maxxe...@gmail.com wrote: > Hi, > > Tomcat 6.0.26 on a solaris. > > After I unloaded a webapp and asked tomcat to 'find leaks', it > reported a webapp leaked memory. However, when I ran a profile

RE: Unregistering context mbean twice

2011-02-03 Thread Ming_Chang
Thanks. I will wait for 7.0.7. But I still suspect it's only me having this problem. I might need do some more debugging. -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Wednesday, February 02, 2011 3:30 PM To: Tomcat Users List Subject: Re: Unregisterin

memory leak in tomcat?

2011-02-03 Thread maxxe...@gmail.com
Hi, Tomcat 6.0.26 on a solaris. After I unloaded a webapp and asked tomcat to 'find leaks', it reported a webapp leaked memory. However, when I ran a profiler on the heapdump, there are only 2 references to the webappclassloader. Both are weak and are tomcat classes. The reference chain look lik

Re: FamWarDeployer - Just in development state

2011-02-03 Thread Mark Thomas
On 03/02/2011 15:17, Alexander Diedler wrote: > Hello, > > In some advanced trainings we talked about (and use!) the farm war deployer > for Cluster Deployment. But in the documentation I cannot find much more > about this feature. Is it not for production? It isn't widely used but bugs are fixed

Re: RMI reaper thread prevents JVM from exiting

2011-02-03 Thread sebbaz
On 27/01/2010 07:43, Thomas Chabaud wrote: Le 25/01/2010 20:53, Christopher Schultz a écrit : You've reached way beyond my understanding of RMI at this point. Is it possible that, like JNDI, you might have trees of objects instead of just a flat list? In that case, you'd have to recursively unex

Birthday Please

2011-02-03 Thread Radha Maddula
Hi Please click on the link below and enter your birthday into my calendar. It's quick, easy, and you'll be helping me out. http://www.birthdayalarm.com/bd2/83743041a750226794b1533154130c566084062d1386 Radha - To unsubscribe, e

FamWarDeployer - Just in development state

2011-02-03 Thread Alexander Diedler
Hello, In some advanced trainings we talked about (and use!) the farm war deployer for Cluster Deployment. But in the documentation I cannot find much more about this feature. Is it not for production? Greetings Alexander smime.p7s Description: S/MIME cryptographic signature

[ANN] Apache Tomcat 6.0.32 released

2011-02-03 Thread jean-frederic clere
The Apache Tomcat team announces the immediate availability of Apache Tomcat 6.0.32 stable. Apache Tomcat 6.0.32 is primarily a security and bug fix release. All users of older versions of the Tomcat 6.0 family should upgrade to 6.0.32. Note that is version has 4 zip binaries: a generic one a

Re: Monitoring production tomcat

2011-02-03 Thread Mark Thomas
On 03/02/2011 09:57, Adam Lipscombe wrote: > What would help is some kind of management or monitoring facility > that allows us to see which virtual site is getting into trouble. > Ideally it should give enough information to help us track down what is > causing the issue. Memory usage per site, th

RE: Monitoring production tomcat

2011-02-03 Thread Martin Gainty
you may want to consider a MySQL best respponse connection algorithm such as MySQL LoadBalancingConnectionProxy.java (allocates multiple connections and selects which connection to use based on least response time) or allocate a number of connections upfront with DBCP http://commons.apache.org/

Re: CLOSE_WAIT

2011-02-03 Thread Michael Ludwig
Peter Crowther schrieb am 03.02.2011 um 11:47 (+): > On 3 February 2011 11:35, Pid wrote: > > > What factor caused so many people to hijack this thread? > > > Using a mail client such as Gmail, which performs its own threading > and doesn't respect or even show the thread ID. Or something "P

Re: CLOSE_WAIT

2011-02-03 Thread Peter Crowther
On 3 February 2011 11:35, Pid wrote: > What factor caused so many people to hijack this thread? > > Using a mail client such as Gmail, which performs its own threading and doesn't respect or even show the thread ID. (And, Andre, you're right, I was confusing the two states - my bad) - Peter

Re: Get the following error: NoClassDefFoundError: org/apache/log4j/Logger

2011-02-03 Thread Pid
On 02/02/2011 09:40, henry human wrote: > Hi I get the following error when I try to call a smal java application(hello > friends!) which i placed in a jar file. the application has the log4j.jar in > its lib directory (and classpath) and calls the log4j.logger like this: > private static final L

Re: apache question

2011-02-03 Thread Pid
On 02/02/2011 19:00, Lava Saleem wrote: > Hi everyone, > I'm sorry for not providing the system informations earlier, the linux I'm > using is centos 2.6.18 and the apache tomcat is 7.0.4 java is 1.6.0_22 I > know the difference between apache tomcat and apache httpd, I need > to configure apach

Re: CLOSE_WAIT

2011-02-03 Thread Pid
What factor caused so many people to hijack this thread? Dear Bw57899, Please, in future, do not edit the subject line & body of a reply to an existing thread, create a new email and address it to users@tomcat.apache.org - otherwise you leave all of the mail headers intact. This frowned-upon pr

Re: how to refresh connection pool before it gets completely busy

2011-02-03 Thread Pid
On 02/02/2011 06:53, Rhonny David wrote: > Dear All, > > We are facing connection pool busy problem in tomcat 6.0.29. Till we finalize > our investigation, we need connection pool to be refreshed before all > connections get busy. Say for example if we have connection pool size 60, > then > it

Re: Monitoring production tomcat

2011-02-03 Thread Leon Rosenberg
There is clearly only one solution ;-) http://moskito.anotheria.net Ok, advertisement aside, there are multiple, but moskito provides most information of all the available tools. Feel free to ask offlist too. regards Leon On Thu, Feb 3, 2011 at 10:57 AM, Adam Lipscombe wrote: > > Folks > > > W

Re: Monitoring production tomcat

2011-02-03 Thread Mikolaj Rydzewski
On Thu, 03 Feb 2011 09:57:59 +, Adam Lipscombe wrote: What would help is some kind of management or monitoring facility that allows us to see which virtual site is getting into trouble. Ideally it should give enough information to help us track down what is causing the issue. Memory us

Re: Monitoring production tomcat

2011-02-03 Thread Brett Delle Grazie
Hi, See interleaved. On 3 February 2011 09:57, Adam Lipscombe wrote: > > Folks > > > We have a several production servers, each of which runs 1 instance of > tomcat. Within each instance of tomcat there are approximately 10 > virtual websites. Each virtual website runs a copy of our web app. > T

Re: Monitoring production tomcat

2011-02-03 Thread M . H . G . Emmerig
Hello Maybe Tcat from mulesoft is something to look into regards Milko Adam Lipscombe To

Monitoring production tomcat

2011-02-03 Thread Adam Lipscombe
Folks We have a several production servers, each of which runs 1 instance of tomcat. Within each instance of tomcat there are approximately 10 virtual websites. Each virtual website runs a copy of our web app. Therefore each server hosts @ 10 instances of our web app On a couple of the servers

Re: Multiple struts action servlet mapping 404ing behind Apache with Tomcat 7.0.6

2011-02-03 Thread Forum Accounts
Yes! I see it now, thanks! On Wed, Feb 2, 2011 at 11:46 PM, André Warnier wrote: > Forum Accounts wrote: > >> I'm looking for a way to allow us to rename our .do struts extensions to >> something else, without having to do them all at once. Tomcat 7.0.6, >> jdk1.6, solaris 10, behind Apache 2.