Re: seeing RemoteEndpoint.Basic BINARY_FULL_WRITING errors under load in Tomcat 7.0.48-dev (trunk)

2013-12-10 Thread André Warnier
Mark Thomas wrote: On 09/12/2013 22:16, Bob DeRemer wrote: It appears that we are getting the following IOException: java.io.IOException: java.util.concurrent.TimeoutException immediately before we got the BINARY_FULL_WRITING errors. Would this TimeoutException be caused because the

Re: Notification strategy for OutOfMemoryError

2013-12-10 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Bill, On 12/9/13, 5:38 PM, Bill Davidson wrote: Last week, one of my servers got an OutOfMemoryError at approximately 1:21pm. :( It's worth pointing out that this is not a trivial issue. My monitoring software

Precompiling JSPs while deploying the application in Tomcat

2013-12-10 Thread Tapajyoti Roybarman
Hi Team, Is there any Tomcat setting through which all the JSPs available in my package will get compiled while I deploy the application. Normally a JSP gets compiled while it is being requested and gets collected inside Work folder. I want that all the JSPs in my package should get compiled

Re: Precompiling JSPs while deploying the application in Tomcat

2013-12-10 Thread java developer
Thishttp://tomcat.apache.org/tomcat-7.0-doc/jasper-howto.html#Production_Configurationmight help you. On Tue, Dec 10, 2013 at 3:28 PM, Tapajyoti Roybarman tapajyoti.roybar...@tcs.com wrote: Hi Team, Is there any Tomcat setting through which all the JSPs available in my package will get

Re: Configure Tomcat Logging Programmatically

2013-12-10 Thread java developer
Hi, Calling tomcat.setSilent(false) might help. Just try this and see if this helps. Below is small funcation from Tomcat class. /** * Controls if the loggers will be silenced or not. * @param silentcodetrue/code sets the log level to WARN for the *

Single Signon without Cookies

2013-12-10 Thread Brian Burch
Some background first: I made a lot of changes to the Authenticator test classes some time ago. That led to changes to some of the Authenticator classes. The test classes are basically in pairs - with and without SSO. I decided to revisit the entire test suite, trying to make them more

Re: Single Signon without Cookies

2013-12-10 Thread Mark Thomas
On 10/12/2013 17:13, Brian Burch wrote: Some background first: I made a lot of changes to the Authenticator test classes some time ago. That led to changes to some of the Authenticator classes. The test classes are basically in pairs - with and without SSO. I decided to revisit the entire

Re: Notification strategy for OutOfMemoryError

2013-12-10 Thread Bill Davidson
On 12/9/2013 5:20 PM, Bill Davidson wrote: On 12/9/2013 3:12 PM, Christopher Schultz wrote: 1. Use -XX:OnOutOfMemoryError=cmd args;cmd args Rig this to email you, register a passive-check data point with your monitoring server, etc. Just remember that OOMEs happen for a number of reasons. You

Re: Setting unloadDelay within embedded Tomcat

2013-12-10 Thread java developer
unloadDelay property is specific to a web application deployed on the the tomcat. A web application is represented by Context type. What you can do is get a reference to the concerned webapp deployed on tomcat and then set the property. You can do something like below Container ctx =