RE: FW: Re: tomcat 6.0.41 heap size issue

2016-01-29 Thread Akbar Thanakalacheruvu
Take heap dump using jvisualvm and analyze the objects that stayed in the memory. You might get a rootcause to your problem. What is the total RAM of your machine? How much you allocated to Tomcat? Is any of your users running an application which requires huge amount of heap memory? Either

Re: Application throwing ClassCast Exception while upgrading from tomcat 8.0.18 to tomcat 8.0.30

2016-01-29 Thread Adhavan Mathiyalagan
Hi Mark, Kindly let me know if any further information required apart from the information that i have provided in the above mail. Thanks & Regards, Adhavan.M On Wed, Jan 27, 2016 at 4:09 PM, Adhavan Mathiyalagan wrote: > Hi Mark, > > Kindly find my answer for your

Tomcat Rewrite Valve

2016-01-29 Thread Joe Aldrich
Hello, I am using Tomcat 8.0.28 on Windows 10 and am having a problem with the Rewrite Value. I must include the escaped form of an ampersand '%26' in the output URL. My rewrite.config has the following: RewriteCond %{QUERY_STRING} ^(.*&)?SCID=8(&.*)?$ RewriteRule

WebAppClassLoaderBase.clearReferencesThreads warning

2016-01-29 Thread Yuval Schwartz
Hello, tomcat version: 8.0.22 java: jdk1.8.0_05 server: Amazon Linux AMI I get the following warning message in my catalina log when I undeploy a web application: *WARNING [ContainerBackgroundProcessor[StandardEngine[Catalina]]]

RE: FW: Re: tomcat 6.0.41 heap size issue

2016-01-29 Thread Guo, Denny
We have total 64G physical memory on that server. We are running 2 tomcat instances on that server, and each one has 24G heap size and 512M PermSize. We capture the memory dump when we see the heap size message in the log, we send dump to developer, however, they could not pinpoint what is

Re: Application throwing ClassCast Exception while upgrading from tomcat 8.0.18 to tomcat 8.0.30

2016-01-29 Thread Mark Thomas
On 29/01/2016 14:09, Adhavan Mathiyalagan wrote: > Hi Mark, > > Kindly let me know if any further information required apart from the > information that i have provided in the above mail. You haven't answered my question. How are you inserting the non-String data into the request parameter map?

Re: FW: Re: tomcat 6.0.41 heap size issue

2016-01-29 Thread Mark Thomas
On 29/01/2016 11:07, Guo, Denny wrote: > Yes, we do have this option on for MaxPermSize, it is set to 512M. > > If that is related to PermSize, should we get this message " > java.lang.OutOfMemoryError: PermGen space". However we never see this message > in the log. Use a profiler. Find out

RE: FW: Re: tomcat 6.0.41 heap size issue

2016-01-29 Thread Guo, Denny
Yes, we do have this option on for MaxPermSize, it is set to 512M. If that is related to PermSize, should we get this message " java.lang.OutOfMemoryError: PermGen space". However we never see this message in the log. -Original Message- From: kidambi madhu

Re: HTTP communication

2016-01-29 Thread Christoph Nenning
> I have a problem with my java application related to HTTP communication. > > Application description: > > 1. Client – server. Server is running in servlet container. We > use Tomcat. > > Client use java HTTP library to communicate with the server. > > 2. When client establish

Re: HTTP communication

2016-01-29 Thread Olaf Kock
I'll second Andre's answer: Just because you declare a 10d timeout, you can't rely on the connection to stay up for that long. You can't even rely on a connection to stay up during the download of a simple gif (although that's so quick that the odds for connection termination are a lot lower).

Re: HTTP communication

2016-01-29 Thread tomcat
On 28.01.2016 18:38, Maxim Neshcheret wrote: I have a problem with my java application related to HTTP communication. Application description: 1. Client – server. Server is running in servlet container. We use Tomcat. Client use java HTTP library to communicate with the server. 2.

Re: WebAppClassLoaderBase.clearReferencesThreads warning

2016-01-29 Thread Mark Thomas
On 29/01/2016 14:34, Yuval Schwartz wrote: > Hello, > > tomcat version: 8.0.22 > java: jdk1.8.0_05 > server: Amazon Linux AMI > > I get the following warning message in my catalina log when I undeploy a > web application: > > *WARNING [ContainerBackgroundProcessor[StandardEngine[Catalina]]] >

Re: WebEx meeting invitation: Apache Tomcat: TLS key and certificate generation

2016-01-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 1/27/16 7:31 AM, Mark Thomas wrote: > The recording for this is now available on the Apache Tomcat > YouTube channel: > https://www.youtube.com/channel/UCpqpJ0-G1lYfUBQ6_36Au_g I missed the live presentation due to scheduling incompetence

RE: client ssl renegotiation after invalidating session

2016-01-29 Thread George Stanchev
-Original Message- From: Gael Abadin [mailto:gael.aba...@imatia.com] Sent: Friday, January 29, 2016 10:33 AM To: Tomcat Users List Subject: client ssl renegotiation after invalidating session I want to invalidate the client ssl cert authentication after the user logs out of my

Tomcat https answers by hostname, but not by IP number

2016-01-29 Thread Hubert Hickman
I am running Tomcat 7.0.67 on RHEL 6.7 I have a tomcat app that is deployed and listening on port 6443 for https traffic. tomcat answers fine by request URLS of the form https://hostname:port/rest of URL/etc. However, it does not answer on https://IP Number:port/rest of URL/etc

Re: Tomcat https answers by hostname, but not by IP number

2016-01-29 Thread David kerber
On 1/29/2016 12:09 PM, Hubert Hickman wrote: I am running Tomcat 7.0.67 on RHEL 6.7 I have a tomcat app that is deployed and listening on port 6443 for https traffic. tomcat answers fine by request URLS of the form https://hostname:port/rest of URL/etc. However, it does not answer on

client ssl renegotiation after invalidating session

2016-01-29 Thread Gael Abadin
I want to invalidate the client ssl cert authentication after the user logs out of my application. There is nothing about it in the docs and google just digs out this unanswered old thread from this users list in 2007:

Re: Tomcat https answers by hostname, but not by IP number

2016-01-29 Thread Hubert Hickman
Hi Dave ! The app is specified to run on 6443 - with openings in firewalls between installations only for this port. Tomcat does answer and return data if the call is made by hostname to port 6443 - just not by IP number to port 6443. Regular Apache is running https on 443 and works fine.

Re: Tomcat https answers by hostname, but not by IP number

2016-01-29 Thread Jeff Jennings
quick question. in tomcat can I username/password protect directories with .htaccess like I can in Apache? On Fri, Jan 29, 2016 at 12:09 PM, Hubert Hickman wrote: > I am running Tomcat 7.0.67 on RHEL 6.7 > > I have a tomcat app that is deployed and listening on port

RE: [PossibleSpam] Re: Tomcat Rewrite Valve

2016-01-29 Thread Joe Aldrich
Hello, -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe, >On 1/29/16 9:34 AM, Joe Aldrich wrote: >> I am using Tomcat 8.0.28 on Windows 10 and am having a problem with >> the Rewrite Value. I must include the escaped form of an ampersand >> '%26' in the output URL. >> >> My rewrite.config

Re: TLSv1.2 handshake failure on outgoing connections

2016-01-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan, On 1/29/16 3:55 PM, Hrivnak, Dan wrote: > In case anyone was following this or seeing similar issues, I was > able to track it down. When debugging into the Axis library code > itself I was able to see one more frame of the stack trace >

Re: Tomcat 8.0.15

2016-01-29 Thread Mark Thomas
On 29/01/2016 18:18, juliesur wrote: > My webapp does show poor performance and stops responding after a while , > with these errors in the log. > I have been unable to replicate the issue in my testing environment during > load testing. > The error appears only in production . > > I haven't

Re: Tomcat 8: NPE In InternalNioOutputBuffer.java:234

2016-01-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Julie, On 1/29/16 2:15 PM, Julie Sur wrote: > Hi Mark, > > I see your comment that the fix will be back ported to 8.0.x and > 7.0.x. I checked this link > http://qnalist.com/questions/5638245/tomcat-8-npe-in-internalniooutput buffer-java-234 > >

Re: Tomcat https answers by hostname, but not by IP number

2016-01-29 Thread Mark Thomas
On 29/01/2016 17:36, Hubert Hickman wrote: > Hi Dave ! > > > The app is specified to run on 6443 - with openings in firewalls between > installations only for this port. Tomcat does answer and return data if > the call is made by hostname to port 6443 - just not by IP number to port > 6443. >

Tomcat 8: NPE In InternalNioOutputBuffer.java:234

2016-01-29 Thread Julie Sur
Hi Mark, I see your comment that the fix will be back ported to 8.0.x and 7.0.x. I checked this link http://qnalist.com/questions/5638245/tomcat-8-npe-in-internalniooutputbuffer-java-234 I am using 8.0.15 and I am seeing this error in my log. Which version should I upgrade to for this ? Thank

Re: NullPointerException when using NIO connector

2016-01-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 João, On 1/28/16 3:09 PM, João Sávio wrote: > I'm using Tomcat 7.0.53 and I've changed it to use the NIO > connector recently. So, the following error start appearing on the > logs (few per day) > > Jan 25, 2016 3:10:16 PM

RE: Tomcat 8.0.15

2016-01-29 Thread juliesur
My webapp does show poor performance and stops responding after a while , with these errors in the log. I have been unable to replicate the issue in my testing environment during load testing. The error appears only in production . I haven't tried another connector or diff tomcat version. I want

Re: Tomcat Rewrite Valve

2016-01-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe, On 1/29/16 9:34 AM, Joe Aldrich wrote: > I am using Tomcat 8.0.28 on Windows 10 and am having a problem with > the Rewrite Value. I must include the escaped form of an ampersand > '%26' in the output URL. > > My rewrite.config has the

Re: TLSv1.2 handshake failure on outgoing connections

2016-01-29 Thread Hrivnak, Dan
In case anyone was following this or seeing similar issues, I was able to track it down. When debugging into the Axis library code itself I was able to see one more frame of the stack trace (java.security.InvalidAlgorithmParameterException: parameter object not a ECParameterSpec) before it got