-
Bug
-
Resolution: Fixed
-
Low
-
3.0.2
-
None
Hello,
Confluence fails to bootstrap when run on a system defaulting to the Turkish locale.
To reproduce add: -Duser.language=tr -Duser.region=TR to JAVA_OPTS and resulting exception is:
SEVERE: Exception starting filter filter-plugin-dispatcher-after-encoding java.lang.IllegalArgumentException: No enum const class com.atlassian.plugin.servlet.filter.FilterLocation.AFTER_ENCOD?NG at java.lang.Enum.valueOf(Enum.java:196) at com.atlassian.plugin.servlet.filter.FilterLocation.valueOf(FilterLocation.java:9) at com.atlassian.plugin.servlet.filter.FilterLocation.parse(FilterLocation.java:27) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.init(ServletFilterModuleContainerFilter.java:36) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3696) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4343) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:566) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) 08.Eki.2009 12:15:19 org.apache.catalina.core.StandardContext filterStart SEVERE: Exception starting filter filter-plugin-dispatcher-before-decoration java.lang.IllegalArgumentException: No enum const class com.atlassian.plugin.servlet.filter.FilterLocation.BEFORE_DECORAT?ON at java.lang.Enum.valueOf(Enum.java:196) at com.atlassian.plugin.servlet.filter.FilterLocation.valueOf(FilterLocation.java:9) at com.atlassian.plugin.servlet.filter.FilterLocation.parse(FilterLocation.java:27) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.init(ServletFilterModuleContainerFilter.java:36) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3696) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4343) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:566) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) 08.Eki.2009 12:15:19 org.apache.catalina.core.StandardContext filterStart SEVERE: Exception starting filter filter-plugin-dispatcher-before-login java.lang.IllegalArgumentException: No enum const class com.atlassian.plugin.servlet.filter.FilterLocation.BEFORE_LOG?N at java.lang.Enum.valueOf(Enum.java:196) at com.atlassian.plugin.servlet.filter.FilterLocation.valueOf(FilterLocation.java:9) at com.atlassian.plugin.servlet.filter.FilterLocation.parse(FilterLocation.java:27) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.init(ServletFilterModuleContainerFilter.java:36) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3696) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4343) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:566) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) 08.Eki.2009 12:15:20 org.apache.catalina.core.StandardContext filterStart SEVERE: Exception starting filter filter-plugin-dispatcher-before-dispatch java.lang.IllegalArgumentException: No enum const class com.atlassian.plugin.servlet.filter.FilterLocation.BEFORE_D?SPATCH at java.lang.Enum.valueOf(Enum.java:196) at com.atlassian.plugin.servlet.filter.FilterLocation.valueOf(FilterLocation.java:9) at com.atlassian.plugin.servlet.filter.FilterLocation.parse(FilterLocation.java:27) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.init(ServletFilterModuleContainerFilter.java:36) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3696) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4343) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:566) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) 08.Eki.2009 12:15:20 org.apache.catalina.core.StandardContext start SEVERE: Error filterStart 08.Eki.2009 12:15:20 org.apache.catalina.core.StandardContext start SEVERE: Context [] startup failed due to previous errors
The problem is a known particularity of the Turkish locale (see PLUG-400)
Regards,
Edoardo
- is related to
-
CONFSERVER-19453 Turkish locale causing System Error when Global Permission is edited
- Closed