I've created a bundle for locale pt-PT and now sometimes the error java.lang.IllegalArgumentException: Invalid locale format appears I've found out that after removing a cookie the server starts responding correctly. But cookie is readded and then the error reappears. Any idea of what's happening? Regards