Hi Paul, I've had the same problem after installing Java 9++. It's related to the nordic countries and our representation of minus.
https://bugs.openjdk.java.net/browse/JDK-8214926 You can avoid it by specifying -Djava.locale.providers=COMPAT, CLDR when you start java. Regards, Roar Brænden tir. 10. nov. 2020 kl. 09:49 skrev Andrea Aime <andrea.a...@geo-solutions.it >: > Hi Paul, > in your message there seems to be two references to charset issues, see > below. > > On Tue, Nov 10, 2020 at 9:09 AM <paul.m...@lfv.se> wrote: > >> Caused by: *java.sql.SQLException*: *org.postgresql.util.PSQLException*: >> FEL: parse error - invalid geometry (pgjdbc: autodetected server-encoding >> to be ISO-8859-1, if the message is not readable, please check database >> logs and/or host, port, dbname, user, password, pg_hba.conf) >> > > "autodetected server-encoding to be ISO-8859-1, if the message is not > readable..." > > The JDBC driver logging itself is expressing concern that the charset > could be mis-setup, and its error messages might not come back correctly. > > >> Hint: "POLYGON ((âˆ" <-- parse error at position 12 within geometry >> > > I don't think GeoServer has an opportunity to write out a WKT Geometry > looking like "POLYGON ((âˆ", after the second parenthesis a number is > expected instead. > > Long story short, I would check the system, GeoServer and PostgreSQL > default charsets and make sure they do line up. > > Cheers > Andrea > > == GeoServer Professional Services from the experts! Visit > http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf > Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa > (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 > http://www.geo-solutions.it http://twitter.com/geosolutions_it > ------------------------------------------------------- *Con riferimento > alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - > Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni > circostanza inerente alla presente email (il suo contenuto, gli eventuali > allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i > destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per > errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le > sarei comunque grato se potesse darmene notizia. This email is intended > only for the person or entity to which it is addressed and may contain > information that is privileged, confidential or otherwise protected from > disclosure. We remind that - as provided by European Regulation 2016/679 > “GDPR” - copying, dissemination or use of this e-mail or the information > herein by anyone other than the intended recipient is prohibited. If you > have received this email by mistake, please notify us immediately by > telephone or e-mail.* > _______________________________________________ > GeoTools-GT2-Users mailing list > GeoTools-GT2-Users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users >
_______________________________________________ GeoTools-GT2-Users mailing list GeoTools-GT2-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users