You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2007/10/26 12:01:23 UTC
DO NOT REPLY [Bug 43701] New: - Error while starting tomcat
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43701>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43701
Summary: Error while starting tomcat
Product: Tomcat 6
Version: 6.0.14
Platform: Other
OS/Version: Windows Server 2003
Status: NEW
Severity: critical
Priority: P2
Component: Connectors
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: singh.prabhat@gmail.com
this is my NIO Connector configuration in server.xml
<Connector acceptCount="100" enableLookups="false" port="80"
protocol="org.apache.coyote.http11.Http11NioProtocol"
acceptorThreadCount="2" socket.bufferPool="-1" connectionTimeout="60000"
maxKeepAliveRequests="-1" maxThreads="200"
minSpareThreads="25" redirectPort="8443" />
when I am starting my tomcat it is giving following error in the console several
time
SEVERE:
java.lang.NullPointerException
at org.apache.tomcat.util.net.NioEndpoint.setSocketOptions(NioEndpoint.java:985)
at org.apache.tomcat.util.net.NioEndpoint$Acceptor.run(NioEndpoint.java:1169)
at java.lang.Thread.run(Thread.java:595)
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 43701] - Error while starting tomcat
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43701>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43701
pavangunaganti@gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
OS/Version|Windows Server 2003 |Windows XP
Priority|P2 |P1
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 43701] - Error while starting tomcat
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43701>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43701
------- Additional Comments From singh.prabhat@gmail.com 2007-10-26 03:47 -------
One more important thing I missed out .
The condition when this bug is comming is if there is any preexisting connection
which is trying to connect to the server but server is down and when I start it
again it will give this error.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 43701] - Error while starting tomcat
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43701>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43701
------- Additional Comments From pzuev@naumen.ru 2007-10-30 14:22 -------
I've stumbled upon this bug too.
Looks like it is being caused by the race condition between the main thread and
the newly created acceptor thread. I'm getting this error quite often on my
Core 2 Duo/WinXP 32-bit/Java 6u02.
I think that's what happens here:
1) Acceptor thread is started at NioEndpoint:792;
2) Main thread allocates the pollers array (initially filled with nulls) at
NioEndpoint:796;
3) Acceptor thread immediately catches an incoming connection and accesses the
still uninitialized pollers array (inside the setSocketOptions method called at
NioEndpoint:1169).
Seems that poller threads should be created before starting acceptors; also,
poller-related fields shall be marked volatile.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 43701] - Error while starting tomcat
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43701>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43701
------- Additional Comments From pzuev@naumen.ru 2007-10-30 14:29 -------
Http11AprProtocol has the same bug.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org