tags:

views:

878

answers:

3

Does anyone know the root cause of this error? I am feeding known good data to the fmt:parseDate tag (its db driven data controlled by us), and yet this error randomly pops up. I can't seem to find a way to replicate what causes this exception.

A: 

Is it because the default Locale is not setup?

Joel
As I understand it, at start-up time, the default locale is automatically set by the Java runtime to match the host's current locale and if this is not possible, the en_US locale is used.
Rich Kroll
+1  A: 

How open is the website - the Locale comes from the user preferences in some cases Accept--Language header - perhaps the user is sending a bad value, maybe its from a Chrome browser :) . Here is a similar example

Chris Kimpton
A: 

I got the below exception what you had.

16:39:45:813 - ERROR - ? - javax.servlet.ServletException: javax.servlet.jsp.JspException: ServletException in '/test.jsp': In <parseDate>, a parse locale can not be established

Does this exception cause the server down?