2016-01-23 7:21 GMT+09:00 Mark Thomas <[email protected]>:
> The proposed Apache Tomcat 8.0.31 release is now available for voting.
>
> The main changes since 8.0.30 are:
>
> - Restore the default for mapperContextRootRedirectEnabled to true
>
> - Update the packaged version of the Tomcat Native Library to 1.2.4
> to pick up the Windows binaries that are based on OpenSSL 1.0.2e
>
> - Expand session attribute filtering on load/unload to all managers
>
> It can be obtained from:
> https://dist.apache.org/repos/dist/dev/tomcat/tomcat-8/v8.0.31/
> The Maven staging repo is:
> https://repository.apache.org/content/repositories/orgapachetomcat-1060/
> The svn tag is:
> http://svn.apache.org/repos/asf/tomcat/tc8.0.x/tags/TOMCAT_8_0_31/
>
> The proposed 8.0.31 release is:
> [ ] Broken - do not release
> [ ] Stable - go ahead and release as 8.0.31
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
Hi.
Tested enable DeltaManager.
Occured following NPE.
------------------------------
25-Jan-2016 09:41:42.279 SEVERE [localhost-startStop-1]
org.apache.catalina.ha.tcp.SimpleTcpCluster.createManager Unable to
clone cluster manager, defaulting to
org.apache.catalina.ha.session.DeltaManager
java.lang.NullPointerException
at java.util.regex.Pattern.<init>(Pattern.java:1350)
at java.util.regex.Pattern.compile(Pattern.java:1028)
at
org.apache.catalina.session.ManagerBase.setSessionAttributeNameFilter(ManagerBase.java:267)
at
org.apache.catalina.ha.session.ClusterManagerBase.clone(ClusterManagerBase.java:193)
at
org.apache.catalina.ha.session.DeltaManager.cloneFromTemplate(DeltaManager.java:1436)
at
org.apache.catalina.ha.tcp.SimpleTcpCluster.createManager(SimpleTcpCluster.java:407)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5180)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:585)
at
org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1794)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
------------------------------
I made pache.
------------------------------
Index: java/org/apache/catalina/session/ManagerBase.java
===================================================================
--- java/org/apache/catalina/session/ManagerBase.java (revision 1726569)
+++ java/org/apache/catalina/session/ManagerBase.java (working copy)
@@ -263,8 +263,9 @@
public void setSessionAttributeNameFilter(String
sessionAttributeNameFilter) {
if (sessionAttributeNameFilter == null ||
sessionAttributeNameFilter.length() == 0) {
sessionAttributeNamePattern = null;
+ } else {
+ sessionAttributeNamePattern =
Pattern.compile(sessionAttributeNameFilter);
}
- sessionAttributeNamePattern =
Pattern.compile(sessionAttributeNameFilter);
}
------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]