Chris, Mark, thanks for your suggestion. After setting the system property org.apache.catalina.connector.RECYCLE_FACADES to true, this issue disappeared.
-----Original Message----- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Saturday, February 22, 2014 2:13 AM To: Tomcat Users List Subject: Re: NullPointerException is thrown when executing org.apache.coyote.http11.InternalNioOutputBuffer.writeToSocket -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Eric, On 2/19/14, 2:40 AM, HU E wrote: > Thanks for your response. I will try your suggestion, i.e. setting > the system property org.apache.catalina.connector.RECYCLE_FACADES > to true(I guess I can set this in catalina.properties). I would set it as a command-line argument, probably in CATALINA_OPTS, assuming that you are using scripts to launch Tomcat. I'd do it this way because it's more obvious that it's being set. As I never modify catalina.properties, it would be one of the last places I'd ever check for customizations in case of a problem I was having. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJTB5ckAAoJEBzwKT+lPKRYjX0P+wTpVmj+EKB0RBAXMckTaHf6 TXWTtl8kgcDkeuGTPcng3Hia4+o96zJ50XqdztgWudiTjqK6Q8RDPKjcr9IcVQCd Uo+iT1ajlMvAtPSZqvw5bb0bt7hVaNB505WPE/9JdeHTTNAgTis0Q0muf/WhJQQU G25Va2XOuOBnkU7swkkQABMSqW7pBrf+ojqhEV3xZISYGxCJER4SIvLDzaT/tC2K NRQFlWWApxJwygrbzmgZfPV+STqvLfAOBEvuLH+ai4HXGnRkxlahQFhsubgDCgm9 1DE/aUxPLr/haufkNNmYZyDEr5NiDR3pOZaOuqwPU9KkVbFo8NlcqHKVNL+osRHN oQYsv6KDoF1L1c9XACOx5O8Siecb5R+rK21ugRoccG2d3yB2gKiCF17Th23FJYbC XPfGiJGMwm3zeKHKxgVwCu72+keaWN4tiXxA0Z/P1LP42+qzLwBCoEDLiZjaMQHq BX63cw+fWeNSJ/Sp37pNyO3wPypguVwSp2wWO+YmfQwwp89nUEct+1qNfTIOpuqC XTNLPzAlPNLACOp1yrGXYXabdhuhEEUPtE9wqHbu1XWXI6uuN796S0VH+Ffq+Vit t5kf5uMNR2WyWCwcCN46r9rJFSNlYlN5oqE3LkdalkZJ9wEtUjsprWyfOANQJbqv GzgdskRf07kucKSmorgw =wagN -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org