Hi,
(Unique index or primary key violation: PRIMARY_KEY_D ON
> PUBLIC.TILESET(KEY); SQL statement: CREATE PRIMARY KEY ON
> PUBLIC.TILESET(KEY) [23001-119])
>
This means that disk quota is trying to insert info about the same tile set
twice, why is this happening ? Hard to say without looking at the actual
environment.
That say, you are using a relatively old unsupported GeoServer version
(2.10.0), the current stable release series are 2.14.x.
Suggestions:
- backup and clean your existing H2 database, if the error persists it
means that you are hitting some limitation \ bug in GeoServer
- backup your data directory and give it a try with a more recent version
GeoServer
By the way, in a production environment you should strive to use a more
mature \ production ready database, e.g. PostgreSQL.
Hope it helps,
Nuno Oliveira
On Tue, Nov 27, 2018 at 6:16 PM Robert Douglas wrote:
> Hello all,
>
>
>
> We experiencing some issues with disk quota.
>
>
>
> First we were seeing this error:
>
> Loading quota store failed, the disk quota subsystem is disabled, please
> re-configure: Could not open JDBC Connection for transaction; nested
> exception is java.lang.OutOfMemoryError: Java heap space
>
>
>
> After increasing Tomcat’s max memory settings to 2048m and restarting
> Tomcat we are seeing this error:
>
> Loading quota store failed, the disk quota subsystem is disabled, please
> re-configure: Could not open JDBC Connection for transaction; nested
> exception is org.apache.commons.dbcp.SQLNestedException: Cannot create
> PoolableConnectionFactory (Unique index or primary key violation:
> PRIMARY_KEY_D ON PUBLIC.TILESET(KEY); SQL statement: CREATE PRIMARY KEY ON
> PUBLIC.TILESET(KEY) [23001-119])
>
>
>
> We are on GeoServer 2.10.0 and are using the In process database (H2)
> option on the Disk Quota page.
>
>
>
> Any help sorting this out would be greatly appreciated!
>
>
>
>
>
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
Regards,
Nuno Oliveira
==
GeoServer Professional Services from the experts!
Visit http://goo.gl/it488V for more information.
==
Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer
GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
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.
___
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this
list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
If you want to request a feature or an improvement, also see this:
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users