You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by rinilnath r <ri...@gmail.com> on 2021/08/31 13:23:13 UTC
HttpNIO error
Hi,
I am using tomcat Http11nio2protocol. I configured it in server XML.
When I start the server it failed to start
UnsupportedOperationException. SO_LINGER not supported
Any help please?
Thanks and Regards,
Rinilnath
Mobile#9786285451
Re: HttpNIO error
Posted by rinilnath r <ri...@gmail.com>.
@chris,
Tomcat 9.0.50
Thanks and Regards,
Rinilnath
Mobile#9786285451
On Tue, 31 Aug, 2021, 19:24 rinilnath r, <ri...@gmail.com> wrote:
> Hi Chris,
>
> Java : 1.8.0_45
> OS : Windows 7
>
> <Connector executor="tomcatThreadPool" port="8080"
> protocol="org.apache.coyote.http11.Http11Nio2Protocol"
> connectionTimeout="60000" maxConnections "10000" redirect Port="8443"
> enableLookups "false" acceptCount="100" maxPostSize "10485760"
> maxHttpHeaderSize="8192" compression="on" disableUploadrimeout="true"
> compressionMinSize="2048" acceptor ThreadCount="2" compressableMimeType=
> "text/html,text/plain, text/css, application/javascript, application/json,
> application/x-font-ttf, application/x-font-otf, imag e/svg+xml image/jpeg,
> image/png,image/gif, audio/mpeg, video/mp4" URIEncoding="utf-8"
> processorCache="20000" tepNoDelay= "true" connectioniLinger="5" server
> ="Server Version 11.0"/>
>
>
>
> Thanks and Regards,
> Rinilnath
> Mobile#9786285451
>
> On Tue, 31 Aug, 2021, 19:16 Christopher Schultz, <
> chris@christopherschultz.net> wrote:
>
>> Rinilnath,
>>
>> On 8/31/21 09:23, rinilnath r wrote:
>> > I am using tomcat Http11nio2protocol. I configured it in server XML.
>> >
>> > When I start the server it failed to start
>> >
>> > UnsupportedOperationException. SO_LINGER not supported
>> >
>> > Any help please?
>>
>> Please post:
>>
>> 1. Your Java version
>> 2. Your OS and version
>> 3. Your <Connector> configuration, minus any secrets you may have
>>
>> -chris
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
Re: HttpNIO error
Posted by Christopher Schultz <ch...@christopherschultz.net>.
Rinilnath,
On 8/31/21 09:54, rinilnath r wrote:
>> On 8/31/21 09:23, rinilnath r wrote:
>>> I am using tomcat Http11nio2protocol. I configured it in server XML.
>>>
>>> When I start the server it failed to start
>>>
>>> UnsupportedOperationException. SO_LINGER not supported
>>>
>>> Any help please?
>>
>> Please post:
>>
>> 1. Your Java version
>> 2. Your OS and version
>> 3. Your <Connector> configuration, minus any secrets you may have
>
> [Tomcat 9.0.5]
> Java : 1.8.0_45
> OS : Windows 7
>
> <Connector executor="tomcatThreadPool" port="8080"
> protocol="org.apache.coyote.http11.Http11Nio2Protocol"
> connectionTimeout="60000" maxConnections "10000" redirect Port="8443"
> enableLookups "false" acceptCount="100" maxPostSize "10485760"
> maxHttpHeaderSize="8192" compression="on" disableUploadrimeout="true"
> compressionMinSize="2048" acceptor ThreadCount="2" compressableMimeType=
> "text/html,text/plain, text/css, application/javascript,
application/json,
> application/x-font-ttf, application/x-font-otf, imag e/svg+xml
image/jpeg,
> image/png,image/gif, audio/mpeg, video/mp4" URIEncoding="utf-8"
> processorCache="20000" tepNoDelay= "true" connectioniLinger="5" server
> ="Server Version 11.0"/>
There are some typos in that configuration (e.g. "tepNoDelay",
"connectioniLinger", missing = signs, extra spaces, etc.). Did you
copy/paste, or did you re-type it?
-chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: HttpNIO error
Posted by Christopher Schultz <ch...@christopherschultz.net>.
Rinilnath,
On 8/31/21 09:54, rinilnath r wrote:
> Hi Chris,
>
> Java : 1.8.0_45
> OS : Windows 7
>
> <Connector executor="tomcatThreadPool" port="8080"
> protocol="org.apache.coyote.http11.Http11Nio2Protocol"
> connectionTimeout="60000" maxConnections "10000" redirect Port="8443"
> enableLookups "false" acceptCount="100" maxPostSize "10485760"
> maxHttpHeaderSize="8192" compression="on" disableUploadrimeout="true"
> compressionMinSize="2048" acceptor ThreadCount="2" compressableMimeType=
> "text/html,text/plain, text/css, application/javascript, application/json,
> application/x-font-ttf, application/x-font-otf, imag e/svg+xml image/jpeg,
> image/png,image/gif, audio/mpeg, video/mp4" URIEncoding="utf-8"
> processorCache="20000" tepNoDelay= "true" connectioniLinger="5" server
> ="Server Version 11.0"/>
>
Also, can you please post the full stack trace of the
UnsupportedOperationException?
-chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: HttpNIO error
Posted by rinilnath r <ri...@gmail.com>.
Hi Chris,
Java : 1.8.0_45
OS : Windows 7
<Connector executor="tomcatThreadPool" port="8080"
protocol="org.apache.coyote.http11.Http11Nio2Protocol"
connectionTimeout="60000" maxConnections "10000" redirect Port="8443"
enableLookups "false" acceptCount="100" maxPostSize "10485760"
maxHttpHeaderSize="8192" compression="on" disableUploadrimeout="true"
compressionMinSize="2048" acceptor ThreadCount="2" compressableMimeType=
"text/html,text/plain, text/css, application/javascript, application/json,
application/x-font-ttf, application/x-font-otf, imag e/svg+xml image/jpeg,
image/png,image/gif, audio/mpeg, video/mp4" URIEncoding="utf-8"
processorCache="20000" tepNoDelay= "true" connectioniLinger="5" server
="Server Version 11.0"/>
Thanks and Regards,
Rinilnath
Mobile#9786285451
On Tue, 31 Aug, 2021, 19:16 Christopher Schultz, <
chris@christopherschultz.net> wrote:
> Rinilnath,
>
> On 8/31/21 09:23, rinilnath r wrote:
> > I am using tomcat Http11nio2protocol. I configured it in server XML.
> >
> > When I start the server it failed to start
> >
> > UnsupportedOperationException. SO_LINGER not supported
> >
> > Any help please?
>
> Please post:
>
> 1. Your Java version
> 2. Your OS and version
> 3. Your <Connector> configuration, minus any secrets you may have
>
> -chris
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
Re: HttpNIO error
Posted by Christopher Schultz <ch...@christopherschultz.net>.
Rinilnath,
On 8/31/21 09:23, rinilnath r wrote:
> I am using tomcat Http11nio2protocol. I configured it in server XML.
>
> When I start the server it failed to start
>
> UnsupportedOperationException. SO_LINGER not supported
>
> Any help please?
Please post:
1. Your Java version
2. Your OS and version
3. Your <Connector> configuration, minus any secrets you may have
-chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org