[Bug 58173] New: Failed to flush writer / No space left on device
https://bz.apache.org/bugzilla/show_bug.cgi?id=58173 Bug ID: 58173 Summary: Failed to flush writer / No space left on device Product: Tomcat 7 Version: 7.0.50 Hardware: Other OS: AIX Status: NEW Severity: normal Priority: P2 Component: Catalina Assignee: dev@tomcat.apache.org Reporter: w.s.vi...@live.com Hi, I have a tomcat 7.0.50, running on a Aix, at one point, there was the unexpected drop in log files is only displayed the following message log4j: ERROR Failed to flush writer, java.io.IOException: In space left on device , however there is no occurrence of lack of disk space. [2015-Jul-21 03:47:54.566] Log service deinit method is called. [2015-Jul-21 03:47:54.567] Domain Configuration service deinit method is called. at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:274) at org.apache.log4j.helpers.QuietWriter.flush(QuietWriter.java:57) at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:315) at org.apache.log4j.WriterAppender.append(WriterAppender.java:159) at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230) at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65) at org.apache.log4j.Category.callAppenders(Category.java:203) at org.apache.log4j.Category.forcedLog(Category.java:388) at org.apache.log4j.Category.log(Category.java:823) at com.informatica.isp.logservice.logserviceclient.loggers.AbstractLog4JBasedLogger.log(AbstractLog4JBasedLogger.java:59) at com.informatica.isp.logservice.logserviceclient.LogServiceLogger.nodelog(LogServiceLogger.java:486) at com.informatica.isp.logservice.LogServiceImpl.writeLog(LogServiceImpl.java:518) at sun.reflect.GeneratedMethodAccessor228.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at com.informatica.pcsf.servicesframework.service.impl.ServiceRequestHandler.getMethodResult(ServiceRequestHandler.java:321) at com.informatica.pcsf.servicesframework.service.impl.ServiceRequestHandler.onReceiveRequest(ServiceRequestHandler.java:214) at com.informatica.pcsf.datatransport.impl.inmemory.InMemoryDataTransportChannelImpl.sendRequest(InMemoryDataTransportChannelImpl.java:65) at com.informatica.pcsf.servicesframework.client.impl.InMemoryInvocationHandler.invoke(InMemoryInvocationHandler.java:151) at com.sun.proxy.$Proxy17.writeLog(Unknown Source) at com.informatica.pcsf.coreserviceadapters.LogServiceAdapter.logevent(LogServiceAdapter.java:39) at sun.reflect.GeneratedMethodAccessor249.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:611) at com.informatica.pcsf.coreservlet.PCSFBaseServlet.executeOper(PCSFBaseServlet.java:360) at com.informatica.pcsf.coreservlet.PCSFBaseServlet.doPost(PCSFBaseServlet.java:164) at javax.servlet.http.HttpServlet.service(HttpServlet.java:647) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:409) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1044) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:906) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:929) at java.lang.Thread.run(Thread.java:761) log4j:ERROR Failed to flush writer, java.io.IOException: No space left on device -- You are receiving this mail because: You are the assignee for the bug.
[Bug 58151] High CPU Usage randomly on ajp-apr-8009-Poller
https://bz.apache.org/bugzilla/show_bug.cgi?id=58151 --- Comment #1 from gregh gregh3...@gmail.com --- Will give version 8.0.24 a test. TBA. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1692224 - in /tomcat/tc7.0.x/trunk: modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java webapps/docs/changelog.xml
Author: kfujino Date: Wed Jul 22 06:31:19 2015 New Revision: 1692224 URL: http://svn.apache.org/r1692224 Log: The fairness attribute and ignoreExceptionOnPreLoad attribute do not allow a change via JMX. Modified: tomcat/tc7.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Modified: tomcat/tc7.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java?rev=1692224r1=1692223r2=1692224view=diff == --- tomcat/tc7.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java (original) +++ tomcat/tc7.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java Wed Jul 22 06:31:19 2015 @@ -489,7 +489,8 @@ public class ConnectionPool extends Noti @Override public void setFairQueue(boolean fairQueue) { -getPoolProperties().setFairQueue(fairQueue); +// noop - this pool is already running +throw new UnsupportedOperationException(); } @@ -856,7 +857,8 @@ public class ConnectionPool extends Noti */ @Override public void setIgnoreExceptionOnPreLoad(boolean ignoreExceptionOnPreLoad) { - getPoolProperties().setIgnoreExceptionOnPreLoad(ignoreExceptionOnPreLoad); +// noop - this pool is already running +throw new UnsupportedOperationException(); } /** Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?rev=1692224r1=1692223r2=1692224view=diff == --- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original) +++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Wed Jul 22 06:31:19 2015 @@ -126,6 +126,11 @@ fix Add support for stopping the pool cleaner via JMX. (kfujino) /fix + fix +The codefairness/code attribute and +codeignoreExceptionOnPreLoad/code attribute do not allow a change +via JMX. (kfujino) + /fix /changelog /subsection subsection name=Other - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
buildbot success in ASF Buildbot on tomcat-8-trunk
The Buildbot has detected a restored build on builder tomcat-8-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/tomcat-8-trunk/builds/28 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: silvanus_ubuntu Build Reason: The AnyBranchScheduler scheduler named 'on-tomcat-8-commit' triggered this build Build Source Stamp: [branch tomcat/tc8.0.x/trunk] 1692220 Blamelist: kfujino Build succeeded! Sincerely, -The Buildbot - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
buildbot success in ASF Buildbot on tomcat-trunk
The Buildbot has detected a restored build on builder tomcat-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/tomcat-trunk/builds/69 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: silvanus_ubuntu Build Reason: The AnyBranchScheduler scheduler named 'on-tomcat-commit' triggered this build Build Source Stamp: [branch tomcat/trunk] 169 Blamelist: kfujino Build succeeded! Sincerely, -The Buildbot - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
Re: svn commit: r1692057 - in /tomcat/tc7.0.x/trunk: modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/interceptor/QueryTimeoutInterceptor.java webapps/docs/changelog.xml
2015-07-21 21:09 GMT+09:00 Konstantin Kolinko knst.koli...@gmail.com: 2015-07-21 10:01 GMT+03:00 kfuj...@apache.org: Author: kfujino Date: Tue Jul 21 07:01:44 2015 New Revision: 1692057 URL: http://svn.apache.org/r1692057 Log: Fix potential NPE in QueryTimeoutInterceptor. Modified: tomcat/tc7.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/interceptor/QueryTimeoutInterceptor.java tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Modified: tomcat/tc7.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/interceptor/QueryTimeoutInterceptor.java URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/interceptor/QueryTimeoutInterceptor.java?rev=1692057r1=1692056r2=1692057view=diff == --- tomcat/tc7.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/interceptor/QueryTimeoutInterceptor.java (original) +++ tomcat/tc7.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/interceptor/QueryTimeoutInterceptor.java Tue Jul 21 07:01:44 2015 @@ -28,12 +28,13 @@ import org.apache.tomcat.jdbc.pool.PoolP public class QueryTimeoutInterceptor extends AbstractCreateStatementInterceptor { private static Log log = LogFactory.getLog(QueryTimeoutInterceptor.class); -int timeout; +int timeout = 1; @Override public void setProperties(MapString,InterceptorProperty properties) { super.setProperties(properties); -timeout = properties.get(queryTimeout).getValueAsInt(-1); +InterceptorProperty p = properties.get(queryTimeout); +if (p!=null) timeout = p.getValueAsInt(timeout); Old code has default value of -1. The new code has default value of +1. dev-h...@tomcat.apache.org Thanks for the comment. Actually, the old code did not work correctly. If queryTimeout has not been set, the old code threw NullpointerException instead of returning -1. So I fixed this potential NPE and aligned the behavior with the document. -- Keiichi.Fujino dev-h...@tomcat.apache.org dev-h...@tomcat.apache.org
svn commit: r1692226 - /tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java
Author: kfujino Date: Wed Jul 22 07:16:42 2015 New Revision: 1692226 URL: http://svn.apache.org/r1692226 Log: If the timeBetweenEvictionRunsMillis attribute is changed via jmx, it should restart the pool cleaner because this attribute affects the execution interval of the pool cleaner. Modified: tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java Modified: tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java URL: http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java?rev=1692226r1=1692225r2=1692226view=diff == --- tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java (original) +++ tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java Wed Jul 22 07:16:42 2015 @@ -633,8 +633,14 @@ public class ConnectionPool extends Noti getPoolProperties().setTimeBetweenEvictionRunsMillis(timeBetweenEvictionRunsMillis); boolean shouldBeEnabled = getPoolProperties().isPoolSweeperEnabled(); //make sure pool cleaner starts/stops when it should -if (!wasEnabled shouldBeEnabled) pool.initializePoolCleaner(getPoolProperties()); -else if (wasEnabled !shouldBeEnabled) pool.terminatePoolCleaner(); +if (!wasEnabled shouldBeEnabled) { +pool.initializePoolCleaner(getPoolProperties()); +} else if (wasEnabled) { +pool.terminatePoolCleaner(); +if (shouldBeEnabled) { +pool.initializePoolCleaner(getPoolProperties()); +} +} } - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1692228 - in /tomcat/tc7.0.x/trunk: modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java webapps/docs/changelog.xml
Author: kfujino Date: Wed Jul 22 07:19:13 2015 New Revision: 1692228 URL: http://svn.apache.org/r1692228 Log: If the timeBetweenEvictionRunsMillis attribute is changed via jmx, it should restart the pool cleaner because this attribute affects the execution interval of the pool cleaner. Modified: tomcat/tc7.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Modified: tomcat/tc7.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java?rev=1692228r1=1692227r2=1692228view=diff == --- tomcat/tc7.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java (original) +++ tomcat/tc7.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java Wed Jul 22 07:19:13 2015 @@ -634,8 +634,14 @@ public class ConnectionPool extends Noti getPoolProperties().setTimeBetweenEvictionRunsMillis(timeBetweenEvictionRunsMillis); boolean shouldBeEnabled = getPoolProperties().isPoolSweeperEnabled(); //make sure pool cleaner starts/stops when it should -if (!wasEnabled shouldBeEnabled) pool.initializePoolCleaner(getPoolProperties()); -else if (wasEnabled !shouldBeEnabled) pool.terminatePoolCleaner(); +if (!wasEnabled shouldBeEnabled) { +pool.initializePoolCleaner(getPoolProperties()); +} else if (wasEnabled) { +pool.terminatePoolCleaner(); +if (shouldBeEnabled) { +pool.initializePoolCleaner(getPoolProperties()); +} +} } Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?rev=1692228r1=1692227r2=1692228view=diff == --- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original) +++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Wed Jul 22 07:19:13 2015 @@ -131,6 +131,11 @@ codeignoreExceptionOnPreLoad/code attribute do not allow a change via JMX. (kfujino) /fix + fix +If the codetimeBetweenEvictionRunsMillis/code attribute is changed +via jmx, it should restart the pool cleaner because this attribute +affects the execution interval of the pool cleaner. (kfujino) + /fix /changelog /subsection subsection name=Other - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1692221 - in /tomcat/tc7.0.x/trunk: modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/Connect
Author: kfujino Date: Wed Jul 22 06:11:46 2015 New Revision: 1692221 URL: http://svn.apache.org/r1692221 Log: Add support for stopping the pool cleaner via JMX. Modified: tomcat/tc7.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java tomcat/tc7.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Modified: tomcat/tc7.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java?rev=1692221r1=1692220r2=1692221view=diff == --- tomcat/tc7.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java (original) +++ tomcat/tc7.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java Wed Jul 22 06:11:46 2015 @@ -514,6 +514,12 @@ public class ConnectionPool { } //end if } +public void terminatePoolCleaner() { +if (poolCleaner!= null) { +poolCleaner.stopRunning(); +poolCleaner = null; +} +} //=== // CONNECTION POOLING IMPL LOGIC Modified: tomcat/tc7.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java?rev=1692221r1=1692220r2=1692221view=diff == --- tomcat/tc7.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java (original) +++ tomcat/tc7.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java Wed Jul 22 06:11:46 2015 @@ -552,8 +552,9 @@ public class ConnectionPool extends Noti boolean wasEnabled = getPoolProperties().isPoolSweeperEnabled(); getPoolProperties().setMinEvictableIdleTimeMillis(minEvictableIdleTimeMillis); boolean shouldBeEnabled = getPoolProperties().isPoolSweeperEnabled(); -//make sure pool cleaner starts when it should +//make sure pool cleaner starts/stops when it should if (!wasEnabled shouldBeEnabled) pool.initializePoolCleaner(getPoolProperties()); +else if (wasEnabled !shouldBeEnabled) pool.terminatePoolCleaner(); } @@ -580,8 +581,9 @@ public class ConnectionPool extends Noti boolean wasEnabled = getPoolProperties().isPoolSweeperEnabled(); getPoolProperties().setRemoveAbandoned(removeAbandoned); boolean shouldBeEnabled = getPoolProperties().isPoolSweeperEnabled(); -//make sure pool cleaner starts when it should +//make sure pool cleaner starts/stops when it should if (!wasEnabled shouldBeEnabled) pool.initializePoolCleaner(getPoolProperties()); +else if (wasEnabled !shouldBeEnabled) pool.terminatePoolCleaner(); } @@ -590,8 +592,9 @@ public class ConnectionPool extends Noti boolean wasEnabled = getPoolProperties().isPoolSweeperEnabled(); getPoolProperties().setRemoveAbandonedTimeout(removeAbandonedTimeout); boolean shouldBeEnabled = getPoolProperties().isPoolSweeperEnabled(); -//make sure pool cleaner starts when it should +//make sure pool cleaner starts/stops when it should if (!wasEnabled shouldBeEnabled) pool.initializePoolCleaner(getPoolProperties()); +else if (wasEnabled !shouldBeEnabled) pool.terminatePoolCleaner(); } @@ -618,8 +621,9 @@ public class ConnectionPool extends Noti boolean wasEnabled = getPoolProperties().isPoolSweeperEnabled(); getPoolProperties().setTestWhileIdle(testWhileIdle); boolean shouldBeEnabled = getPoolProperties().isPoolSweeperEnabled(); -//make sure pool cleaner starts when it should +//make sure pool cleaner starts/stops when it should if (!wasEnabled shouldBeEnabled) pool.initializePoolCleaner(getPoolProperties()); +else if (wasEnabled !shouldBeEnabled) pool.terminatePoolCleaner(); } @@ -628,8 +632,9 @@ public class ConnectionPool extends Noti boolean wasEnabled = getPoolProperties().isPoolSweeperEnabled(); getPoolProperties().setTimeBetweenEvictionRunsMillis(timeBetweenEvictionRunsMillis); boolean shouldBeEnabled = getPoolProperties().isPoolSweeperEnabled(); -//make sure pool cleaner starts when it should +//make sure pool cleaner starts/stops when it should if (!wasEnabled shouldBeEnabled) pool.initializePoolCleaner(getPoolProperties()); +else if (wasEnabled !shouldBeEnabled)
svn commit: r1692219 - in /tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool: ConnectionPool.java jmx/ConnectionPool.java
Author: kfujino Date: Wed Jul 22 06:08:01 2015 New Revision: 1692219 URL: http://svn.apache.org/r1692219 Log: Add support for stopping the pool cleaner via JMX. Modified: tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java Modified: tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java URL: http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java?rev=1692219r1=1692218r2=1692219view=diff == --- tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java (original) +++ tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java Wed Jul 22 06:08:01 2015 @@ -512,6 +512,13 @@ public class ConnectionPool { } //end if } +public void terminatePoolCleaner() { +if (poolCleaner!= null) { +poolCleaner.stopRunning(); +poolCleaner = null; +} +} + //=== // CONNECTION POOLING IMPL LOGIC Modified: tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java URL: http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java?rev=1692219r1=1692218r2=1692219view=diff == --- tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java (original) +++ tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java Wed Jul 22 06:08:01 2015 @@ -551,8 +551,9 @@ public class ConnectionPool extends Noti boolean wasEnabled = getPoolProperties().isPoolSweeperEnabled(); getPoolProperties().setMinEvictableIdleTimeMillis(minEvictableIdleTimeMillis); boolean shouldBeEnabled = getPoolProperties().isPoolSweeperEnabled(); -//make sure pool cleaner starts when it should +//make sure pool cleaner starts/stops when it should if (!wasEnabled shouldBeEnabled) pool.initializePoolCleaner(getPoolProperties()); +else if (wasEnabled !shouldBeEnabled) pool.terminatePoolCleaner(); } @@ -579,8 +580,9 @@ public class ConnectionPool extends Noti boolean wasEnabled = getPoolProperties().isPoolSweeperEnabled(); getPoolProperties().setRemoveAbandoned(removeAbandoned); boolean shouldBeEnabled = getPoolProperties().isPoolSweeperEnabled(); -//make sure pool cleaner starts when it should +//make sure pool cleaner starts/stops when it should if (!wasEnabled shouldBeEnabled) pool.initializePoolCleaner(getPoolProperties()); +else if (wasEnabled !shouldBeEnabled) pool.terminatePoolCleaner(); } @@ -589,8 +591,9 @@ public class ConnectionPool extends Noti boolean wasEnabled = getPoolProperties().isPoolSweeperEnabled(); getPoolProperties().setRemoveAbandonedTimeout(removeAbandonedTimeout); boolean shouldBeEnabled = getPoolProperties().isPoolSweeperEnabled(); -//make sure pool cleaner starts when it should +//make sure pool cleaner starts/stops when it should if (!wasEnabled shouldBeEnabled) pool.initializePoolCleaner(getPoolProperties()); +else if (wasEnabled !shouldBeEnabled) pool.terminatePoolCleaner(); } @@ -617,8 +620,9 @@ public class ConnectionPool extends Noti boolean wasEnabled = getPoolProperties().isPoolSweeperEnabled(); getPoolProperties().setTestWhileIdle(testWhileIdle); boolean shouldBeEnabled = getPoolProperties().isPoolSweeperEnabled(); -//make sure pool cleaner starts when it should +//make sure pool cleaner starts/stops when it should if (!wasEnabled shouldBeEnabled) pool.initializePoolCleaner(getPoolProperties()); +else if (wasEnabled !shouldBeEnabled) pool.terminatePoolCleaner(); } @@ -627,8 +631,9 @@ public class ConnectionPool extends Noti boolean wasEnabled = getPoolProperties().isPoolSweeperEnabled(); getPoolProperties().setTimeBetweenEvictionRunsMillis(timeBetweenEvictionRunsMillis); boolean shouldBeEnabled = getPoolProperties().isPoolSweeperEnabled(); -//make sure pool cleaner starts when it should +//make sure pool cleaner starts/stops when it should if (!wasEnabled shouldBeEnabled) pool.initializePoolCleaner(getPoolProperties()); +else if (wasEnabled !shouldBeEnabled) pool.terminatePoolCleaner(); } - To unsubscribe, e-mail:
svn commit: r1692220 - in /tomcat/tc8.0.x/trunk: modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/Connect
Author: kfujino Date: Wed Jul 22 06:10:21 2015 New Revision: 1692220 URL: http://svn.apache.org/r1692220 Log: Add support for stopping the pool cleaner via JMX. Modified: tomcat/tc8.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java tomcat/tc8.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml Modified: tomcat/tc8.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java URL: http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java?rev=1692220r1=1692219r2=1692220view=diff == --- tomcat/tc8.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java (original) +++ tomcat/tc8.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/ConnectionPool.java Wed Jul 22 06:10:21 2015 @@ -512,6 +512,12 @@ public class ConnectionPool { } //end if } +public void terminatePoolCleaner() { +if (poolCleaner!= null) { +poolCleaner.stopRunning(); +poolCleaner = null; +} +} //=== // CONNECTION POOLING IMPL LOGIC Modified: tomcat/tc8.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java URL: http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java?rev=1692220r1=1692219r2=1692220view=diff == --- tomcat/tc8.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java (original) +++ tomcat/tc8.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java Wed Jul 22 06:10:21 2015 @@ -551,8 +551,9 @@ public class ConnectionPool extends Noti boolean wasEnabled = getPoolProperties().isPoolSweeperEnabled(); getPoolProperties().setMinEvictableIdleTimeMillis(minEvictableIdleTimeMillis); boolean shouldBeEnabled = getPoolProperties().isPoolSweeperEnabled(); -//make sure pool cleaner starts when it should +//make sure pool cleaner starts/stops when it should if (!wasEnabled shouldBeEnabled) pool.initializePoolCleaner(getPoolProperties()); +else if (wasEnabled !shouldBeEnabled) pool.terminatePoolCleaner(); } @@ -579,8 +580,9 @@ public class ConnectionPool extends Noti boolean wasEnabled = getPoolProperties().isPoolSweeperEnabled(); getPoolProperties().setRemoveAbandoned(removeAbandoned); boolean shouldBeEnabled = getPoolProperties().isPoolSweeperEnabled(); -//make sure pool cleaner starts when it should +//make sure pool cleaner starts/stops when it should if (!wasEnabled shouldBeEnabled) pool.initializePoolCleaner(getPoolProperties()); +else if (wasEnabled !shouldBeEnabled) pool.terminatePoolCleaner(); } @@ -589,8 +591,9 @@ public class ConnectionPool extends Noti boolean wasEnabled = getPoolProperties().isPoolSweeperEnabled(); getPoolProperties().setRemoveAbandonedTimeout(removeAbandonedTimeout); boolean shouldBeEnabled = getPoolProperties().isPoolSweeperEnabled(); -//make sure pool cleaner starts when it should +//make sure pool cleaner starts/stops when it should if (!wasEnabled shouldBeEnabled) pool.initializePoolCleaner(getPoolProperties()); +else if (wasEnabled !shouldBeEnabled) pool.terminatePoolCleaner(); } @@ -617,8 +620,9 @@ public class ConnectionPool extends Noti boolean wasEnabled = getPoolProperties().isPoolSweeperEnabled(); getPoolProperties().setTestWhileIdle(testWhileIdle); boolean shouldBeEnabled = getPoolProperties().isPoolSweeperEnabled(); -//make sure pool cleaner starts when it should +//make sure pool cleaner starts/stops when it should if (!wasEnabled shouldBeEnabled) pool.initializePoolCleaner(getPoolProperties()); +else if (wasEnabled !shouldBeEnabled) pool.terminatePoolCleaner(); } @@ -627,8 +631,9 @@ public class ConnectionPool extends Noti boolean wasEnabled = getPoolProperties().isPoolSweeperEnabled(); getPoolProperties().setTimeBetweenEvictionRunsMillis(timeBetweenEvictionRunsMillis); boolean shouldBeEnabled = getPoolProperties().isPoolSweeperEnabled(); -//make sure pool cleaner starts when it should +//make sure pool cleaner starts/stops when it should if (!wasEnabled shouldBeEnabled) pool.initializePoolCleaner(getPoolProperties()); +else if (wasEnabled !shouldBeEnabled)
buildbot failure in ASF Buildbot on tomcat-trunk
The Buildbot has detected a new failure on builder tomcat-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/tomcat-trunk/builds/68 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: silvanus_ubuntu Build Reason: The AnyBranchScheduler scheduler named 'on-tomcat-commit' triggered this build Build Source Stamp: [branch tomcat/trunk] 1692219 Blamelist: kfujino BUILD FAILED: failed compile_1 Sincerely, -The Buildbot - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1692222 - /tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java
Author: kfujino Date: Wed Jul 22 06:28:41 2015 New Revision: 169 URL: http://svn.apache.org/r169 Log: The fairness attribute and IgnoreExceptionOnPreLoad attribute do not allow a change via JMX. Modified: tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java Modified: tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java URL: http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java?rev=169r1=1692221r2=169view=diff == --- tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java (original) +++ tomcat/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java Wed Jul 22 06:28:41 2015 @@ -488,7 +488,8 @@ public class ConnectionPool extends Noti @Override public void setFairQueue(boolean fairQueue) { -getPoolProperties().setFairQueue(fairQueue); +// noop - this pool is already running +throw new UnsupportedOperationException(); } @@ -855,7 +856,8 @@ public class ConnectionPool extends Noti */ @Override public void setIgnoreExceptionOnPreLoad(boolean ignoreExceptionOnPreLoad) { - getPoolProperties().setIgnoreExceptionOnPreLoad(ignoreExceptionOnPreLoad); +// noop - this pool is already running +throw new UnsupportedOperationException(); } /** - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1692223 - in /tomcat/tc8.0.x/trunk: modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java webapps/docs/changelog.xml
Author: kfujino Date: Wed Jul 22 06:30:23 2015 New Revision: 1692223 URL: http://svn.apache.org/r1692223 Log: The fairness attribute and ignoreExceptionOnPreLoad attribute do not allow a change via JMX. Modified: tomcat/tc8.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml Modified: tomcat/tc8.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java URL: http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java?rev=1692223r1=169r2=1692223view=diff == --- tomcat/tc8.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java (original) +++ tomcat/tc8.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java Wed Jul 22 06:30:23 2015 @@ -488,7 +488,8 @@ public class ConnectionPool extends Noti @Override public void setFairQueue(boolean fairQueue) { -getPoolProperties().setFairQueue(fairQueue); +// noop - this pool is already running +throw new UnsupportedOperationException(); } @@ -855,7 +856,8 @@ public class ConnectionPool extends Noti */ @Override public void setIgnoreExceptionOnPreLoad(boolean ignoreExceptionOnPreLoad) { - getPoolProperties().setIgnoreExceptionOnPreLoad(ignoreExceptionOnPreLoad); +// noop - this pool is already running +throw new UnsupportedOperationException(); } /** Modified: tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml?rev=1692223r1=169r2=1692223view=diff == --- tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml (original) +++ tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml Wed Jul 22 06:30:23 2015 @@ -127,6 +127,11 @@ fix Add support for stopping the pool cleaner via JMX. (kfujino) /fix + fix +The codefairness/code attribute and +codeignoreExceptionOnPreLoad/code attribute do not allow a change +via JMX. (kfujino) + /fix /changelog /subsection subsection name=Other - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 57681] Allow parallel class loading in web application class loader by synchronizing on class specific object
https://bz.apache.org/bugzilla/show_bug.cgi?id=57681 Huxing Zhang huxing.zh...@gmail.com changed: What|Removed |Added CC||huxing.zh...@gmail.com --- Comment #11 from Huxing Zhang huxing.zh...@gmail.com --- Created attachment 32927 -- https://bz.apache.org/bugzilla/attachment.cgi?id=32927action=edit Back port parallel class loading to tomcat 7. Hi Mark, Christopher, and Konstantin: I have back ported the parallel class loading feature to tomcat7. Could you please take some time to review this? The basic idea here is: 1. Keep WebappClassLoader as default which is serial class loading enabled, and one can configure to use ParallelWebappClassloader by specifying loaderClass in context.xml (just as in Tomcat8). If user specified to use ParallelWebappClassloader, parallel class loading will only be enabled if tomcat is running on JRE7 or above. 2. Call ClassLoader.registerAsParallelCapable() via reflection, so that jdk7 is still not required to build tomcat 7 core code. 3. Call ClassLoader.getClassLoadingLock() via reflection to obtain a dedicated object lock if parallel class loading enabled, or return the WebappClassLoader object lock if not. 4. Introduce JreCompat.getInstance().isJre7Supported() to determine whether tomcat is running on JRE7 (or above) or not. 5. Remove StandardClassLoader as well as MBean registration in Bootstrap, since 1) it is deprecated 2) it can avoid adding JRECompat to Bootstrap class loader's classpath 6. Add unit test to make sure parallel class loading is working as expected. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
svn commit: r1692227 - in /tomcat/tc8.0.x/trunk: modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java webapps/docs/changelog.xml
Author: kfujino Date: Wed Jul 22 07:18:30 2015 New Revision: 1692227 URL: http://svn.apache.org/r1692227 Log: If the timeBetweenEvictionRunsMillis attribute is changed via jmx, it should restart the pool cleaner because this attribute affects the execution interval of the pool cleaner. Modified: tomcat/tc8.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml Modified: tomcat/tc8.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java URL: http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java?rev=1692227r1=1692226r2=1692227view=diff == --- tomcat/tc8.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java (original) +++ tomcat/tc8.0.x/trunk/modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/jmx/ConnectionPool.java Wed Jul 22 07:18:30 2015 @@ -633,8 +633,14 @@ public class ConnectionPool extends Noti getPoolProperties().setTimeBetweenEvictionRunsMillis(timeBetweenEvictionRunsMillis); boolean shouldBeEnabled = getPoolProperties().isPoolSweeperEnabled(); //make sure pool cleaner starts/stops when it should -if (!wasEnabled shouldBeEnabled) pool.initializePoolCleaner(getPoolProperties()); -else if (wasEnabled !shouldBeEnabled) pool.terminatePoolCleaner(); +if (!wasEnabled shouldBeEnabled) { +pool.initializePoolCleaner(getPoolProperties()); +} else if (wasEnabled) { +pool.terminatePoolCleaner(); +if (shouldBeEnabled) { +pool.initializePoolCleaner(getPoolProperties()); +} +} } Modified: tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml?rev=1692227r1=1692226r2=1692227view=diff == --- tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml (original) +++ tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml Wed Jul 22 07:18:30 2015 @@ -132,6 +132,11 @@ codeignoreExceptionOnPreLoad/code attribute do not allow a change via JMX. (kfujino) /fix + fix +If the codetimeBetweenEvictionRunsMillis/code attribute is changed +via jmx, it should restart the pool cleaner because this attribute +affects the execution interval of the pool cleaner. (kfujino) + /fix /changelog /subsection subsection name=Other - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
buildbot failure in ASF Buildbot on tomcat-trunk
The Buildbot has detected a new failure on builder tomcat-trunk while building ASF Buildbot. Full details are available at: http://ci.apache.org/builders/tomcat-trunk/builds/70 Buildbot URL: http://ci.apache.org/ Buildslave for this Build: silvanus_ubuntu Build Reason: The AnyBranchScheduler scheduler named 'on-tomcat-commit' triggered this build Build Source Stamp: [branch tomcat/trunk] 1692226 Blamelist: kfujino BUILD FAILED: failed compile_1 Sincerely, -The Buildbot - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 57681] Allow parallel class loading in web application class loader by synchronizing on class specific object
https://bz.apache.org/bugzilla/show_bug.cgi?id=57681 Huxing Zhang huxing.zh...@gmail.com changed: What|Removed |Added Resolution|DUPLICATE |--- Status|RESOLVED|REOPENED -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 58173] Failed to flush writer / No space left on device
https://bz.apache.org/bugzilla/show_bug.cgi?id=58173 Christopher Schultz ch...@christopherschultz.net changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #1 from Christopher Schultz ch...@christopherschultz.net --- Bugzilla is not a support forum. Please join the users' list for help. Also, log4j is not a Tomcat-provided component. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 58104] APR log error: org.apache.tomcat.jni.Error: 20005: An invalid socket was returned
https://bz.apache.org/bugzilla/show_bug.cgi?id=58104 Violeta Georgieva violet...@apache.org changed: What|Removed |Added OS||All --- Comment #4 from Violeta Georgieva violet...@apache.org --- Hi, I checked that in more details and it appeared that the exception in the original report is not the root cause. org.apache.coyote.http11.AbstractHttp11Processor.process(SocketWrapperS) row 1031 - IOException row 1038 - Throwable and in this block an http access log without information is created (bug 58105) Here are the stack traces: org.apache.tomcat.jni.Error: 20005: An invalid socket was returned at org.apache.tomcat.jni.Socket.recvbb(Native Method) at org.apache.coyote.http11.InternalAprInputBuffer.doReadSocket(InternalAprInputBuffer.java:631) at org.apache.coyote.http11.InternalAprInputBuffer.fill(InternalAprInputBuffer.java:583) at org.apache.coyote.http11.InternalAprInputBuffer.parseRequestLine(InternalAprInputBuffer.java:140) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1005) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2503) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2492) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) java.io.IOException: Read failed with APR/native error code [730,038] at org.apache.coyote.http11.InternalAprInputBuffer.fill(InternalAprInputBuffer.java:607) at org.apache.coyote.http11.InternalAprInputBuffer.parseRequestLine(InternalAprInputBuffer.java:140) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1005) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2503) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2492) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 23-Jul-2015 00:13:22.649 INFO [http-apr-8080-exec-10] org.apache.coyote.http11.AbstractHttp11Processor.process Error parsing HTTP request header Note: further occurrences of HTTP header parsing errors will be logged at DEBUG level. at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 58103] NIO2 warning: Incorrect connection count, multiple socket.close called on the same socket.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58103 --- Comment #5 from Ognjen Blagojevic ognjen.d.blagoje...@gmail.com --- I narrowed the problem to one single problematic example: /examples/servlets/nonblocking/numberwriter. It is example to demonstrate Servlet 3.1 Non-blocking IO. Crawling that single URL from Java using java.net.URL / URLConnection classes causes reported log messages. -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org
[Bug 58103] NIO2 warning: Incorrect connection count, multiple socket.close called on the same socket.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58103 --- Comment #6 from Ognjen Blagojevic ognjen.d.blagoje...@gmail.com --- (In reply to Ognjen Blagojevic from comment #5) Crawling that single URL from Java using java.net.URL / URLConnection classes causes reported log messages. s/Crawling/Reading/g -- You are receiving this mail because: You are the assignee for the bug. - To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org