You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Mark Thomas <ma...@apache.org> on 2016/10/06 20:33:39 UTC

[VOTE] Release Apache Tomcat 8.5.6

The proposed Apache Tomcat 8.5.6 release is now available for voting.

The major changes compared to the 8.5.5 release are:

- Refactoring the non-container thread Async complete()/dispatch()
  handling to remove the possibility of deadlock

- Update the packaged version of the Tomcat Native Library to
  1.2.10 to pick up the latest Windows binaries built with
  OpenSSL 1.0.2j

- Improved UTF-8 handling for the RewriteValve


It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.6/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1097/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tc8.5.x/tags/TOMCAT_8_5_6/

The proposed 8.5.6 release is:
[ ] Broken - do not release
[ ] Alpha  - go ahead and release as 8.5.6
[ ] Beta   - go ahead and release as 8.5.6
[ ] Stable - go ahead and release as 8.5.6

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: [VOTE] Release Apache Tomcat 8.5.6

Posted by Mark Thomas <ma...@apache.org>.
On 08/10/2016 20:39, Christopher Schultz wrote:
> Mark,
> 
> On 10/8/16 3:35 PM, Christopher Schultz wrote:
>> Mark,
>>
>> On 10/6/16 4:33 PM, Mark Thomas wrote:
>>> The proposed Apache Tomcat 8.5.6 release is now available for voting.
>>>
>>> The major changes compared to the 8.5.5 release are:
>>>
>>> - Refactoring the non-container thread Async complete()/dispatch()
>>>   handling to remove the possibility of deadlock
>>>
>>> - Update the packaged version of the Tomcat Native Library to
>>>   1.2.10 to pick up the latest Windows binaries built with
>>>   OpenSSL 1.0.2j
>>>
>>> - Improved UTF-8 handling for the RewriteValve
>>
>> Plus support for the war: UTL protocol, right?

Right. However, that really only affects users running with packed WARs
under a SecurityManager. Each of those use cases is only used by a small
minority of users. The proportion of users that use both is likely to be
very small indeed. Therefore, I didn't think it merited a mention under
major changes.

> Actually, should we try to suggest support for this "protocol" be added
> to the JRE?

Hmm. That could get interesting because a similar argument could be made
for ear files. You could end up with "jar:war:ear:file:...".

Allowing nesting of JARs (i.e. "jar:jar:...") is probably the best
'generic' solution here.

A quick search later...
https://bugs.openjdk.java.net/browse/JDK-4735639

I suggest starting a new thread, cc Rory so he sees it and ask whether
the decision to not fix could be revisited.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: [VOTE] Release Apache Tomcat 8.5.6

Posted by Christopher Schultz <ch...@christopherschultz.net>.
Mark,

On 10/8/16 3:35 PM, Christopher Schultz wrote:
> Mark,
> 
> On 10/6/16 4:33 PM, Mark Thomas wrote:
>> The proposed Apache Tomcat 8.5.6 release is now available for voting.
>>
>> The major changes compared to the 8.5.5 release are:
>>
>> - Refactoring the non-container thread Async complete()/dispatch()
>>   handling to remove the possibility of deadlock
>>
>> - Update the packaged version of the Tomcat Native Library to
>>   1.2.10 to pick up the latest Windows binaries built with
>>   OpenSSL 1.0.2j
>>
>> - Improved UTF-8 handling for the RewriteValve
> 
> Plus support for the war: UTL protocol, right?

Actually, should we try to suggest support for this "protocol" be added
to the JRE?

-chris


Re: [VOTE] Release Apache Tomcat 8.5.6

Posted by Christopher Schultz <ch...@christopherschultz.net>.
Mark,

On 10/6/16 4:33 PM, Mark Thomas wrote:
> The proposed Apache Tomcat 8.5.6 release is now available for voting.
> 
> The major changes compared to the 8.5.5 release are:
> 
> - Refactoring the non-container thread Async complete()/dispatch()
>   handling to remove the possibility of deadlock
> 
> - Update the packaged version of the Tomcat Native Library to
>   1.2.10 to pick up the latest Windows binaries built with
>   OpenSSL 1.0.2j
> 
> - Improved UTF-8 handling for the RewriteValve

Plus support for the war: UTL protocol, right?

-chris


Re: [VOTE] Release Apache Tomcat 8.5.6

Posted by Mark Thomas <ma...@apache.org>.
> The proposed 8.5.6 release is:
> [ ] Broken - do not release
> [ ] Alpha  - go ahead and release as 8.5.6
> [ ] Beta   - go ahead and release as 8.5.6
> [X] Stable - go ahead and release as 8.5.6

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: [VOTE] Release Apache Tomcat 8.5.6

Posted by Felix Schumacher <fe...@internetallee.de>.
Am 06.10.2016 um 22:33 schrieb Mark Thomas:
> The proposed Apache Tomcat 8.5.6 release is now available for voting.
>
> The major changes compared to the 8.5.5 release are:
>
> - Refactoring the non-container thread Async complete()/dispatch()
>    handling to remove the possibility of deadlock
>
> - Update the packaged version of the Tomcat Native Library to
>    1.2.10 to pick up the latest Windows binaries built with
>    OpenSSL 1.0.2j
>
> - Improved UTF-8 handling for the RewriteValve
>
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.6/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1097/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tc8.5.x/tags/TOMCAT_8_5_6/
>
> The proposed 8.5.6 release is:
> [ ] Broken - do not release
> [ ] Alpha  - go ahead and release as 8.5.6
> [ ] Beta   - go ahead and release as 8.5.6
> [x] Stable - go ahead and release as 8.5.6
Regards,
  Felix
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: [VOTE] Release Apache Tomcat 8.5.6

Posted by Mark Thomas <ma...@apache.org>.
On 07/10/2016 21:38, Martin Grigorov wrote:
> Hi Mark,
> 
> On Fri, Oct 7, 2016 at 6:39 PM, Mark Thomas <ma...@apache.org> wrote:
> 
>> On 07/10/2016 15:51, Mark Thomas wrote:
>>> On 07/10/2016 14:50, Martin Grigorov wrote:
>>>> On Thu, Oct 6, 2016 at 10:33 PM, Mark Thomas <ma...@apache.org> wrote:
>>>>
>>>>> The proposed Apache Tomcat 8.5.6 release is now available for voting.
>>>>>
>>>>> The major changes compared to the 8.5.5 release are:
>>>>>
>>>>> - Refactoring the non-container thread Async complete()/dispatch()
>>>>>   handling to remove the possibility of deadlock
>>>>>
>>>>> - Update the packaged version of the Tomcat Native Library to
>>>>>   1.2.10 to pick up the latest Windows binaries built with
>>>>>   OpenSSL 1.0.2j
>>>>>
>>>>> - Improved UTF-8 handling for the RewriteValve
>>>>>
>>>>>
>>>>> It can be obtained from:
>>>>> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.6/
>>>>> The Maven staging repo is:
>>>>> https://repository.apache.org/content/repositories/
>> orgapachetomcat-1097/
>>>>> The svn tag is:
>>>>> http://svn.apache.org/repos/asf/tomcat/tc8.5.x/tags/TOMCAT_8_5_6/
>>>>>
>>>>> The proposed 8.5.6 release is:
>>>>> [ ] Broken - do not release
>>>>> [ ] Alpha  - go ahead and release as 8.5.6
>>>>> [ ] Beta   - go ahead and release as 8.5.6
>>>>> [ X ] Stable - go ahead and release as 8.5.6
>>>>>
>>>>
>>>> The only thing that bothers me a bit is that I have a lot of those
>> during
>>>> start:
>>>>
>>>> 07-Oct-2016 15:27:58.342 WARNING [RMI TCP Connection(4)-127.0.0.1]
>>>> org.apache.catalina.webresources.Cache.getResource Unable to add the
>>>> resource at [/WEB-INF/lib/lucene-memory-5.5.2.jar] to the cache because
>>>> there was insufficient free space available after evicting expired cache
>>>> entries - consider increasing the maximum size of the cache
>>>
>>> I suspect that this is the cause:
>>>
>>> https://bz.apache.org/bugzilla/show_bug.cgi?id=60146
>>>
>>> We might need to tweak the caching algorithm and/or config.
>>
>> I haven't been able to reproduce this with a simple test. Can you do
>> some debugging and see what code path is triggering the loading of the
>> JAR files this way.
>>
> 
> Here is the stacktrace: http://imgur.com/a/ioRY4
> I use the sources of the voted 8.5.6, not the latest 8.5.x.

Thanks. I think I see what is happening now. The Cache entry size is
calculated based on file size regardless of whether the content of the
entry is cached or not.

What isn't clear is why you saw this with 8.5.6 but not earlier releases.

I think the correct solution here is to make JAR files in WEB-INF/lib
non-cacheable. I'll try that for the next release

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: [VOTE] Release Apache Tomcat 8.5.6

Posted by Martin Grigorov <mg...@apache.org>.
Hi Mark,

On Fri, Oct 7, 2016 at 6:39 PM, Mark Thomas <ma...@apache.org> wrote:

> On 07/10/2016 15:51, Mark Thomas wrote:
> > On 07/10/2016 14:50, Martin Grigorov wrote:
> >> On Thu, Oct 6, 2016 at 10:33 PM, Mark Thomas <ma...@apache.org> wrote:
> >>
> >>> The proposed Apache Tomcat 8.5.6 release is now available for voting.
> >>>
> >>> The major changes compared to the 8.5.5 release are:
> >>>
> >>> - Refactoring the non-container thread Async complete()/dispatch()
> >>>   handling to remove the possibility of deadlock
> >>>
> >>> - Update the packaged version of the Tomcat Native Library to
> >>>   1.2.10 to pick up the latest Windows binaries built with
> >>>   OpenSSL 1.0.2j
> >>>
> >>> - Improved UTF-8 handling for the RewriteValve
> >>>
> >>>
> >>> It can be obtained from:
> >>> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.6/
> >>> The Maven staging repo is:
> >>> https://repository.apache.org/content/repositories/
> orgapachetomcat-1097/
> >>> The svn tag is:
> >>> http://svn.apache.org/repos/asf/tomcat/tc8.5.x/tags/TOMCAT_8_5_6/
> >>>
> >>> The proposed 8.5.6 release is:
> >>> [ ] Broken - do not release
> >>> [ ] Alpha  - go ahead and release as 8.5.6
> >>> [ ] Beta   - go ahead and release as 8.5.6
> >>> [ X ] Stable - go ahead and release as 8.5.6
> >>>
> >>
> >> The only thing that bothers me a bit is that I have a lot of those
> during
> >> start:
> >>
> >> 07-Oct-2016 15:27:58.342 WARNING [RMI TCP Connection(4)-127.0.0.1]
> >> org.apache.catalina.webresources.Cache.getResource Unable to add the
> >> resource at [/WEB-INF/lib/lucene-memory-5.5.2.jar] to the cache because
> >> there was insufficient free space available after evicting expired cache
> >> entries - consider increasing the maximum size of the cache
> >
> > I suspect that this is the cause:
> >
> > https://bz.apache.org/bugzilla/show_bug.cgi?id=60146
> >
> > We might need to tweak the caching algorithm and/or config.
>
> I haven't been able to reproduce this with a simple test. Can you do
> some debugging and see what code path is triggering the loading of the
> JAR files this way.
>

Here is the stacktrace: http://imgur.com/a/ioRY4
I use the sources of the voted 8.5.6, not the latest 8.5.x.


>
> >> I believe there is an entry for each library of my applications and for
> >> (all ?!) .properties and .xml files in the classpath.
> >>
> >> If this is normal then the message could be improved to say which cache
> I
> >> need to touch.
> >
> > The message could be improved regardless.
>
> Done.
>

It is still not clear to me.
Where I can change the maxSize of this cache ?
https://tomcat.apache.org/tomcat-8.5-doc/index.html doesn't mention
"cache". It is not searchable in the content of the linked pages. Also
Google doesn't give me good results - it finds the javadoc of this class
but this doesn't tell me as a user what should I do.
Is it a good idea to add more details in the log message like "...increase
the max size at $CATALINA_BASE/conf/some.xml > Host > Cache" ?


>
> Mark
>
>
> >
> > Mark
> >
> >
> >>
> >> The only thing I've changed in the default configuration was to enable
> the
> >> HTTP2 connector:
> >>
> >> 07-Oct-2016 15:13:07.634 INFO [main]
> >> org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR
> >> based Apache Tomcat Native library 1.2.10 using APR version 1.5.2.
> >> 07-Oct-2016 15:13:07.634 INFO [main]
> >> org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR
> >> capabilities: IPv6 [true], sendfile [true], accept filters [false],
> random
> >> [true].
> >> 07-Oct-2016 15:13:07.634 INFO [main]
> >> org.apache.catalina.core.AprLifecycleListener.lifecycleEvent
> APR/OpenSSL
> >> configuration: useAprConnector [false], useOpenSSL [true]
> >> 07-Oct-2016 15:13:07.637 INFO [main]
> >> org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL
> >> successfully initialized (OpenSSL 1.0.2e 3 Dec 2015)
> >> 07-Oct-2016 15:13:07.756 INFO [main]
> >> org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
> >> ["http-nio-8080"]
> >> 07-Oct-2016 15:13:07.769 INFO [main]
> >> org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a
> shared
> >> selector for servlet write/read
> >> 07-Oct-2016 15:13:07.773 INFO [main]
> >> org.apache.coyote.http11.AbstractHttp11Protocol.
> configureUpgradeProtocol
> >> The ["https-openssl-apr-8443"] connector has been configured to support
> >> negotiation to [h2] via ALPN
> >> 07-Oct-2016 15:13:07.773 INFO [main]
> >> org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
> >> ["https-openssl-apr-8443"]
> >>
> >> <Connector port="8443" protocol="org.apache.coyote.
> http11.Http11AprProtocol"
> >>                maxThreads="150" SSLEnabled="true" >
> >>         <UpgradeProtocol className="org.apache.coyote.
> http2.Http2Protocol"
> >> />
> >>         <SSLHostConfig>
> >>             <Certificate certificateKeyFile="conf/private-key.pem"
> >>                          certificateFile="conf/cert.pem"
> >>                          certificateKeyPassword="tomcat"
> >>                          type="RSA" />
> >>         </SSLHostConfig>
> >>     </Connector>
> >>
> >>
> >>
> >>
> >>>
> >>> ---------------------------------------------------------------------
> >>> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> >>> For additional commands, e-mail: dev-help@tomcat.apache.org
> >>>
> >>>
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: dev-help@tomcat.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>

Re: [VOTE] Release Apache Tomcat 8.5.6

Posted by Mark Thomas <ma...@apache.org>.
On 07/10/2016 15:51, Mark Thomas wrote:
> On 07/10/2016 14:50, Martin Grigorov wrote:
>> On Thu, Oct 6, 2016 at 10:33 PM, Mark Thomas <ma...@apache.org> wrote:
>>
>>> The proposed Apache Tomcat 8.5.6 release is now available for voting.
>>>
>>> The major changes compared to the 8.5.5 release are:
>>>
>>> - Refactoring the non-container thread Async complete()/dispatch()
>>>   handling to remove the possibility of deadlock
>>>
>>> - Update the packaged version of the Tomcat Native Library to
>>>   1.2.10 to pick up the latest Windows binaries built with
>>>   OpenSSL 1.0.2j
>>>
>>> - Improved UTF-8 handling for the RewriteValve
>>>
>>>
>>> It can be obtained from:
>>> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.6/
>>> The Maven staging repo is:
>>> https://repository.apache.org/content/repositories/orgapachetomcat-1097/
>>> The svn tag is:
>>> http://svn.apache.org/repos/asf/tomcat/tc8.5.x/tags/TOMCAT_8_5_6/
>>>
>>> The proposed 8.5.6 release is:
>>> [ ] Broken - do not release
>>> [ ] Alpha  - go ahead and release as 8.5.6
>>> [ ] Beta   - go ahead and release as 8.5.6
>>> [ X ] Stable - go ahead and release as 8.5.6
>>>
>>
>> The only thing that bothers me a bit is that I have a lot of those during
>> start:
>>
>> 07-Oct-2016 15:27:58.342 WARNING [RMI TCP Connection(4)-127.0.0.1]
>> org.apache.catalina.webresources.Cache.getResource Unable to add the
>> resource at [/WEB-INF/lib/lucene-memory-5.5.2.jar] to the cache because
>> there was insufficient free space available after evicting expired cache
>> entries - consider increasing the maximum size of the cache
> 
> I suspect that this is the cause:
> 
> https://bz.apache.org/bugzilla/show_bug.cgi?id=60146
> 
> We might need to tweak the caching algorithm and/or config.

I haven't been able to reproduce this with a simple test. Can you do
some debugging and see what code path is triggering the loading of the
JAR files this way.

>> I believe there is an entry for each library of my applications and for
>> (all ?!) .properties and .xml files in the classpath.
>>
>> If this is normal then the message could be improved to say which cache I
>> need to touch.
> 
> The message could be improved regardless.

Done.

Mark


> 
> Mark
> 
> 
>>
>> The only thing I've changed in the default configuration was to enable the
>> HTTP2 connector:
>>
>> 07-Oct-2016 15:13:07.634 INFO [main]
>> org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR
>> based Apache Tomcat Native library 1.2.10 using APR version 1.5.2.
>> 07-Oct-2016 15:13:07.634 INFO [main]
>> org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR
>> capabilities: IPv6 [true], sendfile [true], accept filters [false], random
>> [true].
>> 07-Oct-2016 15:13:07.634 INFO [main]
>> org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL
>> configuration: useAprConnector [false], useOpenSSL [true]
>> 07-Oct-2016 15:13:07.637 INFO [main]
>> org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL
>> successfully initialized (OpenSSL 1.0.2e 3 Dec 2015)
>> 07-Oct-2016 15:13:07.756 INFO [main]
>> org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
>> ["http-nio-8080"]
>> 07-Oct-2016 15:13:07.769 INFO [main]
>> org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared
>> selector for servlet write/read
>> 07-Oct-2016 15:13:07.773 INFO [main]
>> org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol
>> The ["https-openssl-apr-8443"] connector has been configured to support
>> negotiation to [h2] via ALPN
>> 07-Oct-2016 15:13:07.773 INFO [main]
>> org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
>> ["https-openssl-apr-8443"]
>>
>> <Connector port="8443" protocol="org.apache.coyote.http11.Http11AprProtocol"
>>                maxThreads="150" SSLEnabled="true" >
>>         <UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol"
>> />
>>         <SSLHostConfig>
>>             <Certificate certificateKeyFile="conf/private-key.pem"
>>                          certificateFile="conf/cert.pem"
>>                          certificateKeyPassword="tomcat"
>>                          type="RSA" />
>>         </SSLHostConfig>
>>     </Connector>
>>
>>
>>
>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: dev-help@tomcat.apache.org
>>>
>>>
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: [VOTE] Release Apache Tomcat 8.5.6

Posted by Mark Thomas <ma...@apache.org>.
On 07/10/2016 14:50, Martin Grigorov wrote:
> On Thu, Oct 6, 2016 at 10:33 PM, Mark Thomas <ma...@apache.org> wrote:
> 
>> The proposed Apache Tomcat 8.5.6 release is now available for voting.
>>
>> The major changes compared to the 8.5.5 release are:
>>
>> - Refactoring the non-container thread Async complete()/dispatch()
>>   handling to remove the possibility of deadlock
>>
>> - Update the packaged version of the Tomcat Native Library to
>>   1.2.10 to pick up the latest Windows binaries built with
>>   OpenSSL 1.0.2j
>>
>> - Improved UTF-8 handling for the RewriteValve
>>
>>
>> It can be obtained from:
>> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.6/
>> The Maven staging repo is:
>> https://repository.apache.org/content/repositories/orgapachetomcat-1097/
>> The svn tag is:
>> http://svn.apache.org/repos/asf/tomcat/tc8.5.x/tags/TOMCAT_8_5_6/
>>
>> The proposed 8.5.6 release is:
>> [ ] Broken - do not release
>> [ ] Alpha  - go ahead and release as 8.5.6
>> [ ] Beta   - go ahead and release as 8.5.6
>> [ X ] Stable - go ahead and release as 8.5.6
>>
> 
> The only thing that bothers me a bit is that I have a lot of those during
> start:
> 
> 07-Oct-2016 15:27:58.342 WARNING [RMI TCP Connection(4)-127.0.0.1]
> org.apache.catalina.webresources.Cache.getResource Unable to add the
> resource at [/WEB-INF/lib/lucene-memory-5.5.2.jar] to the cache because
> there was insufficient free space available after evicting expired cache
> entries - consider increasing the maximum size of the cache

I suspect that this is the cause:

https://bz.apache.org/bugzilla/show_bug.cgi?id=60146

We might need to tweak the caching algorithm and/or config.

> I believe there is an entry for each library of my applications and for
> (all ?!) .properties and .xml files in the classpath.
> 
> If this is normal then the message could be improved to say which cache I
> need to touch.

The message could be improved regardless.

Mark


> 
> The only thing I've changed in the default configuration was to enable the
> HTTP2 connector:
> 
> 07-Oct-2016 15:13:07.634 INFO [main]
> org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR
> based Apache Tomcat Native library 1.2.10 using APR version 1.5.2.
> 07-Oct-2016 15:13:07.634 INFO [main]
> org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR
> capabilities: IPv6 [true], sendfile [true], accept filters [false], random
> [true].
> 07-Oct-2016 15:13:07.634 INFO [main]
> org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL
> configuration: useAprConnector [false], useOpenSSL [true]
> 07-Oct-2016 15:13:07.637 INFO [main]
> org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL
> successfully initialized (OpenSSL 1.0.2e 3 Dec 2015)
> 07-Oct-2016 15:13:07.756 INFO [main]
> org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
> ["http-nio-8080"]
> 07-Oct-2016 15:13:07.769 INFO [main]
> org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared
> selector for servlet write/read
> 07-Oct-2016 15:13:07.773 INFO [main]
> org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol
> The ["https-openssl-apr-8443"] connector has been configured to support
> negotiation to [h2] via ALPN
> 07-Oct-2016 15:13:07.773 INFO [main]
> org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
> ["https-openssl-apr-8443"]
> 
> <Connector port="8443" protocol="org.apache.coyote.http11.Http11AprProtocol"
>                maxThreads="150" SSLEnabled="true" >
>         <UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol"
> />
>         <SSLHostConfig>
>             <Certificate certificateKeyFile="conf/private-key.pem"
>                          certificateFile="conf/cert.pem"
>                          certificateKeyPassword="tomcat"
>                          type="RSA" />
>         </SSLHostConfig>
>     </Connector>
> 
> 
> 
> 
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: dev-help@tomcat.apache.org
>>
>>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Re: [VOTE] Release Apache Tomcat 8.5.6

Posted by Martin Grigorov <mg...@apache.org>.
On Thu, Oct 6, 2016 at 10:33 PM, Mark Thomas <ma...@apache.org> wrote:

> The proposed Apache Tomcat 8.5.6 release is now available for voting.
>
> The major changes compared to the 8.5.5 release are:
>
> - Refactoring the non-container thread Async complete()/dispatch()
>   handling to remove the possibility of deadlock
>
> - Update the packaged version of the Tomcat Native Library to
>   1.2.10 to pick up the latest Windows binaries built with
>   OpenSSL 1.0.2j
>
> - Improved UTF-8 handling for the RewriteValve
>
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.6/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1097/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tc8.5.x/tags/TOMCAT_8_5_6/
>
> The proposed 8.5.6 release is:
> [ ] Broken - do not release
> [ ] Alpha  - go ahead and release as 8.5.6
> [ ] Beta   - go ahead and release as 8.5.6
> [ X ] Stable - go ahead and release as 8.5.6
>

The only thing that bothers me a bit is that I have a lot of those during
start:

07-Oct-2016 15:27:58.342 WARNING [RMI TCP Connection(4)-127.0.0.1]
org.apache.catalina.webresources.Cache.getResource Unable to add the
resource at [/WEB-INF/lib/lucene-memory-5.5.2.jar] to the cache because
there was insufficient free space available after evicting expired cache
entries - consider increasing the maximum size of the cache

I believe there is an entry for each library of my applications and for
(all ?!) .properties and .xml files in the classpath.

If this is normal then the message could be improved to say which cache I
need to touch.

The only thing I've changed in the default configuration was to enable the
HTTP2 connector:

07-Oct-2016 15:13:07.634 INFO [main]
org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR
based Apache Tomcat Native library 1.2.10 using APR version 1.5.2.
07-Oct-2016 15:13:07.634 INFO [main]
org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR
capabilities: IPv6 [true], sendfile [true], accept filters [false], random
[true].
07-Oct-2016 15:13:07.634 INFO [main]
org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL
configuration: useAprConnector [false], useOpenSSL [true]
07-Oct-2016 15:13:07.637 INFO [main]
org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL
successfully initialized (OpenSSL 1.0.2e 3 Dec 2015)
07-Oct-2016 15:13:07.756 INFO [main]
org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
["http-nio-8080"]
07-Oct-2016 15:13:07.769 INFO [main]
org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared
selector for servlet write/read
07-Oct-2016 15:13:07.773 INFO [main]
org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol
The ["https-openssl-apr-8443"] connector has been configured to support
negotiation to [h2] via ALPN
07-Oct-2016 15:13:07.773 INFO [main]
org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler
["https-openssl-apr-8443"]

<Connector port="8443" protocol="org.apache.coyote.http11.Http11AprProtocol"
               maxThreads="150" SSLEnabled="true" >
        <UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol"
/>
        <SSLHostConfig>
            <Certificate certificateKeyFile="conf/private-key.pem"
                         certificateFile="conf/cert.pem"
                         certificateKeyPassword="tomcat"
                         type="RSA" />
        </SSLHostConfig>
    </Connector>




>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>
>

Re: [VOTE] Release Apache Tomcat 8.5.6

Posted by Violeta Georgieva <mi...@gmail.com>.
Hi,

2016-10-06 23:33 GMT+03:00 Mark Thomas <ma...@apache.org>:
>
> The proposed Apache Tomcat 8.5.6 release is now available for voting.
>
> The major changes compared to the 8.5.5 release are:
>
> - Refactoring the non-container thread Async complete()/dispatch()
>   handling to remove the possibility of deadlock
>
> - Update the packaged version of the Tomcat Native Library to
>   1.2.10 to pick up the latest Windows binaries built with
>   OpenSSL 1.0.2j
>
> - Improved UTF-8 handling for the RewriteValve
>
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.6/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1097/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tc8.5.x/tags/TOMCAT_8_5_6/
>
> The proposed 8.5.6 release is:
> [ ] Broken - do not release
> [ ] Alpha  - go ahead and release as 8.5.6
> [ ] Beta   - go ahead and release as 8.5.6
> [X] Stable - go ahead and release as 8.5.6

+1 my tests passed

Regards,
Violeta

>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>

Re: [VOTE] Release Apache Tomcat 8.5.6

Posted by Huxing Zhang <hu...@alibaba-inc.com>.
The proposed 8.5.6 release is:
[ ] Broken - do not release
[ ] Alpha  - go ahead and release as 8.5.6
[ ] Beta   - go ahead and release as 8.5.6
[ X ] Stable - go ahead and release as 8.5.6

------------------------------------------------------------------
From:Mark Thomas <ma...@apache.org>
Time:2016 Oct 7 (Fri) 04:34
To:dev@tomcat.apache.org <de...@tomcat.apache.org>
Subject:[VOTE] Release Apache Tomcat 8.5.6


The proposed Apache Tomcat 8.5.6 release is now available for voting.

The major changes compared to the 8.5.5 release are:

- Refactoring the non-container thread Async complete()/dispatch()
  handling to remove the possibility of deadlock

- Update the packaged version of the Tomcat Native Library to
  1.2.10 to pick up the latest Windows binaries built with
  OpenSSL 1.0.2j

- Improved UTF-8 handling for the RewriteValve


It can be obtained from:
https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.6/
The Maven staging repo is:
https://repository.apache.org/content/repositories/orgapachetomcat-1097/
The svn tag is:
http://svn.apache.org/repos/asf/tomcat/tc8.5.x/tags/TOMCAT_8_5_6/

The proposed 8.5.6 release is:
[ ] Broken - do not release
[ ] Alpha  - go ahead and release as 8.5.6
[ ] Beta   - go ahead and release as 8.5.6
[ ] Stable - go ahead and release as 8.5.6

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org

Re: [VOTE] Release Apache Tomcat 8.5.6

Posted by Rémy Maucherat <re...@apache.org>.
2016-10-06 22:33 GMT+02:00 Mark Thomas <ma...@apache.org>:

> The proposed 8.5.6 release is:
> [ ] Broken - do not release
> [ ] Alpha  - go ahead and release as 8.5.6
> [ ] Beta   - go ahead and release as 8.5.6
> [X] Stable - go ahead and release as 8.5.6
>
> No problem found.

Rémy

[VOTE][RESULT] Release Apache Tomcat 8.5.6

Posted by Mark Thomas <ma...@apache.org>.
The following votes were cast:

Binding:
Stable: violetagg, remm, mgrigorov, fschumacher, markt

Non-binding:
Stable: huxing

No other votes were cast.

Thanks to everyone who supported the release.

Mark


On 06/10/2016 21:33, Mark Thomas wrote:
> The proposed Apache Tomcat 8.5.6 release is now available for voting.
> 
> The major changes compared to the 8.5.5 release are:
> 
> - Refactoring the non-container thread Async complete()/dispatch()
>   handling to remove the possibility of deadlock
> 
> - Update the packaged version of the Tomcat Native Library to
>   1.2.10 to pick up the latest Windows binaries built with
>   OpenSSL 1.0.2j
> 
> - Improved UTF-8 handling for the RewriteValve
> 
> 
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.5.6/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1097/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tc8.5.x/tags/TOMCAT_8_5_6/
> 
> The proposed 8.5.6 release is:
> [ ] Broken - do not release
> [ ] Alpha  - go ahead and release as 8.5.6
> [ ] Beta   - go ahead and release as 8.5.6
> [ ] Stable - go ahead and release as 8.5.6
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org