Re: HttpNIO error

2021-08-31 Thread Christopher Schultz

Rinilnath,

On 8/31/21 09:54, rinilnath r wrote:

Hi Chris,

Java : 1.8.0_45
OS : Windows 7

  

Also, can you please post the full stack trace of the 
UnsupportedOperationException?


-chris

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: HttpNIO error

2021-08-31 Thread Christopher Schultz

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  configuration, minus any secrets you may have

>
> [Tomcat 9.0.5]
> Java : 1.8.0_45
> OS : Windows 7
>
>protocol="org.apache.coyote.http11.Http11Nio2Protocol"
> connectionTimeout="6" maxConnections "1" 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="2" 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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: HttpNIO error

2021-08-31 Thread rinilnath r
@chris,

Tomcat 9.0.50

Thanks and Regards,
Rinilnath
Mobile#9786285451

On Tue, 31 Aug, 2021, 19:24 rinilnath r,  wrote:

> Hi Chris,
>
> Java : 1.8.0_45
> OS : Windows 7
>
>   protocol="org.apache.coyote.http11.Http11Nio2Protocol"
> connectionTimeout="6" maxConnections "1" 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="2" tepNoDelay= "true" connectioniLinger="5" server
> ="Server Version 11.0"/>
>
>
>
> Thanks and Regards,
> Rinilnath
> Mobile#9786285451
>
> On Tue, 31 Aug, 2021, 19:16 Christopher Schultz, <
> ch...@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  configuration, minus any secrets you may have
>>
>> -chris
>>
>> -
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>>


Re: HttpNIO error

2021-08-31 Thread rinilnath r
Hi Chris,

Java : 1.8.0_45
OS : Windows 7

 



Thanks and Regards,
Rinilnath
Mobile#9786285451

On Tue, 31 Aug, 2021, 19:16 Christopher Schultz, <
ch...@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  configuration, minus any secrets you may have
>
> -chris
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


Re: HttpNIO error

2021-08-31 Thread Christopher Schultz

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  configuration, minus any secrets you may have

-chris

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



HttpNIO error

2021-08-31 Thread rinilnath r
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