[jboss-jira] [JBoss JIRA] (AS7-3970) Failure when using queueless-thread-pool as the pool for a web connector
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Wed Feb 29 10:23:36 EST 2012
Brian Stansberry created AS7-3970:
-------------------------------------
Summary: Failure when using queueless-thread-pool as the pool for a web connector
Key: AS7-3970
URL: https://issues.jboss.org/browse/AS7-3970
Project: Application Server 7
Issue Type: Bug
Components: Server, Web
Affects Versions: 7.1.0.Final
Reporter: Brian Stansberry
Assignee: Jason Greene
User is reporting a failure when configuring a queueless-thread-pool as the pool for a web connector.
The report is for a SIGSEGV but I believe that is just because the native connector is being used; if it weren't this would just show up as a normal java exception.
The relevant code in QueuelessExecutor is here:
if (executor != null) {
executor.execute(task);
} else {
throw new RejectedExecutionException();
}
The exception is thrown because 'executor' is null. We'll need configuration information from the user to understand why that is the case.
Here's the user report:
SIGSEGV occurs when specify queueless-thread-pool to executor of connector
This is a piece of log when the error occurs.
10:13:44,590 ERROR [org.apache.tomcat.util.net.AprEndpoint] (ajp-0.0.0.0-0.0.0.0-8009-Poller) Error allocating socket processor: java.util.concurrent.RejectedExecutionException
at org.jboss.threads.QueuelessExecutor.execute(QueuelessExecutor.java:370) [jboss-threads-2.0.0.GA-redhat-1.jar:2.0.0.GA-redhat-1]
at org.jboss.threads.DelegatingBlockingExecutorService.execute(DelegatingBlockingExecutorService.java:42) [jboss-threads-2.0.0.GA-redhat-1.jar:2.0.0.GA-redhat-1]
at org.jboss.as.threads.ManagedExecutorService.execute(ManagedExecutorService.java:64) [jboss-as-threads-7.1.0.CR1-redhat-1.jar:7.1.0.CR1-redhat-1]
at org.apache.tomcat.util.net.AprEndpoint.processSocket(AprEndpoint.java:1007) [jbossweb-7.0.7.Final-redhat-1.jar:]
at org.apache.tomcat.util.net.AprEndpoint$Poller.run(AprEndpoint.java:1819) [jbossweb-7.0.7.Final-redhat-1.jar:]
at java.lang.Thread.run(Thread.java:636) [:1.6.0_20]
10:13:44,581 ERROR [org.apache.coyote.ajp.AjpAprProtocol] (web-threads - 51) Error reading request, ignored: org.apache.tomcat.jni.Error: Socket operation on non-socket
at org.apache.tomcat.jni.Socket.setrbb(Native Method) [jbossweb-7.0.7.Final-redhat-1.jar:]
at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:422) [jbossweb-7.0.7.Final-redhat-1.jar:]
at org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:480) [jbossweb-7.0.7.Final-redhat-1.jar:]
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2510) [jbossweb-7.0.7.Final-redhat-1.jar:]
at org.jboss.threads.SimpleDirectExecutor.execute(SimpleDirectExecutor.java:33) [jboss-threads-2.0.0.GA-redhat-1.jar:2.0.0.GA-redhat-1]
at org.jboss.threads.QueuelessExecutor$Worker.run(QueuelessExecutor.java:614) [jboss-threads-2.0.0.GA-redhat-1.jar:2.0.0.GA-redhat-1]
at java.lang.Thread.run(Thread.java:636) [:1.6.0_20]
at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.0.0.GA-redhat-1.jar:2.0.0.GA-redhat-1]
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00002aaac0e94a31, pid=29121, tid=1120581952
#
# JRE version: 6.0_20-b20
# Java VM: OpenJDK 64-Bit Server VM (19.0-b09 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea6 1.9.8
# Distribution: CentOS release 5.6 (Final), package rhel-1.22.1.9.8.el5_6-x86_64
# Problematic frame:
# C [libtcnative-1.so+0x17a31] Java_org_apache_tomcat_jni_Socket_destroy+0x11
#
# An error report file with more information is saved as:
# /root/jboss-eap-6.0/bin/hs_err_pid29121.log
10:13:44,588 ERROR [org.apache.tomcat.util.net.AprEndpoint] (ajp-0.0.0.0-0.0.0.0-8009-Acceptor) Error allocating socket processor: java.util.concurrent.RejectedExecutionException
at org.jboss.threads.QueuelessExecutor.execute(QueuelessExecutor.java:370) [jboss-threads-2.0.0.GA-redhat-1.jar:2.0.0.GA-redhat-1]
at org.jboss.threads.DelegatingBlockingExecutorService.execute(DelegatingBlockingExecutorService.java:42) [jboss-threads-2.0.0.GA-redhat-1.jar:2.0.0.GA-redhat-1]
at org.jboss.as.threads.ManagedExecutorService.execute(ManagedExecutorService.java:64) [jboss-as-threads-7.1.0.CR1-redhat-1.jar:7.1.0.CR1-redhat-1]
at org.apache.tomcat.util.net.AprEndpoint.processSocketWithOptions(AprEndpoint.java:982) [jbossweb-7.0.7.Final-redhat-1.jar:]
at org.apache.tomcat.util.net.AprEndpoint$Acceptor.run(AprEndpoint.java:1132) [jbossweb-7.0.7.Final-redhat-1.jar:]
at java.lang.Thread.run(Thread.java:636) [:1.6.0_20]
[thread 1115580736 also had an error]
[thread 1115580736 also had an error]
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# http://icedtea.classpath.org/bugzilla
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list