Locale not recognized on Oracle configuration in Netbeans

Problem

When i try to create a new connection to my Oracle database i get following error: Cannot establish a connection to jdbc:oracle:thin:@oracle:1521:SOMEDB using oracle.jdbc.OracleDriver (Locale not recognized)

Solution

Check that default_options in your <Netbeasns install dir>/etc/openesb.conf file doesn't contain --locale=EN_us option. It may be the cause of such error. Try to use -J-Duser.language=en -J-Duser.region=US instead of --locale=EN_us