[GeoNode-users] Problems setting geofence in cluster
alessio.fabiani at geo-solutions.it
Wed Oct 18 07:21:29 PDT 2017
Well not that easy actually :)
I personally still did not tested deeply geoserver instance of GeoNode in a
cluster. By the way, which version of GeoServer you using?
Try to take a look at some GeoServer documentation around in order to
better understand how to setup a cluster, i.e.:
The latter is a plugin currently not available on GeoServer for GeoNode
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information.
Ing. Alessio Fabiani
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 331 6233686
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.
The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
On Tue, Oct 17, 2017 at 5:11 PM, Corina Tudorache <corina_ww at yahoo.com>
> After enabling disk quota , I was able to successfully test connection of
> GeoFence to one of my instances. But still I can not make it work in a
> cluster. Disk quota doesn't work in cluster too. When trying to enable it
> on the other GeoServer instance, I receive the following error message:
> "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 (Database may be already in use: Locked by
> another process. Possible solutions: close all other connection(s); use the
> server mode [90020-119])
> I still don't know what I am missing in the configuration. Any help is
> much appreciated. :)
> Kind regards,
> On Tuesday, October 17, 2017, 11:41:58 AM GMT+1, Corina Tudorache <
> corina_ww at yahoo.com> wrote:
> I have a working GeoServer 2.10.x in cluster (the version that does
> include GeoNode) that include two GeoServer istances, for now, and I am
> trying to get geofence to work with this cluster.
> Reading the documentation, I understand that I have to make some changes
> in the file "geofence-server.properties", changing the lines
> "instanceName=default-gs" "servicesUrl=internal:/ " with the instance name
> of my cluster and the url that coresponds to my IP (and eventualy the port
> as well), but it doesn't work.
> At first one of my instances worked with the default configuration, this
> lines "instanceName=default-gs" "servicesUrl=internal:/, when I changed to
> my cluster name and machine ip, it didn't work . I get the following error
> "org.springframework.transaction.CannotCreateTransactionException: Could
> not open JPA EntityManager for transaction; nested exception is
> javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException:
> Cannot open connection"
> When I changed the serviceURL to my own IP, it didn't show up in the
> GeoFence Admin Page. It was still the default option "default-gs".
> Now it doesn't even work with the default configuration for the instances
> that used to work at the beginning.
> I am missing something with the configuration and I don't know what.
> geonode-users mailing list
> geonode-users at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the geonode-users