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-unsubscr...@tomcat.apache.org > >>> For additional commands, e-mail: dev-h...@tomcat.apache.org > >>> > >>> > >> > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > > For additional commands, e-mail: dev-h...@tomcat.apache.org > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > >