I've almost tried everything including:

  1. Change system region and language to be 'english US'
  2. Use Locale.setDefaultLocale()
  3. Pass in JVM arguments

It prints out:

Default locale is : en_US

BUT my application is still throwing exception with Chinese exception message

Does this have anything to do with Spring? (my app is based on Spring, but there is no locale-related config whatsover, so it should be just using whatever is default)

Can anyone help me with this?

UPDATE:

I'm basically getting a java.io.IOException with Chinese message equivalent to

An existing connection was forcibly closed by the remote host

changing the locale didn't seem to affect this, maybe this is indeed an OS level thing?

Edit
Report