-
Bug
-
Resolution: Done
-
Major
-
JBossSecurity_2.0.4.SP3
-
None
A couple of users have run into issues with AS boot failure when using turkish locale. The boot fails with:
11:56:51,955 ERROR [AbstractKernelController] Error installing to Start: name=jboss-web-policy state=Create
java.lang.IllegalArgumentException: Invalid control flag: REQU?RED
at org.jboss.security.microcontainer.beans.Util.getControlFlag(Util.java:57)
at org.jboss.security.microcontainer.beans.AuthorizationPolicyBean.getPolicyInfo(AuthorizationPolicyBean.java:49)
at org.jboss.security.microcontainer.beans.ApplicationPolicyBean.getApplicationPolicy(ApplicationPolicyBean.java:459)
at org.jboss.security.microcontainer.beans.ApplicationPolicyBean.start(ApplicationPolicyBean.java:420)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
The complete details and the fix are mentioned in the comments of https://jira.jboss.org/jira/browse/JBAS-6651. I guess the Util class can just delegate the call to ControlFlag.valueOf(string), since the valueOf method does not have any locale specific implementation. Alternately, the Util class can be removed altogether, but it might be too much work if that class is being used in too many places.
- blocks
-
JBAS-6651 server startup gives error on TR locale
- Closed