[GeoNode-users] Problems setting geofence in cluster
corina_ww at yahoo.com
Tue Oct 17 03:41:58 PDT 2017
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 message:"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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the geonode-users