Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload Layer Issue #2975

Closed
pjdufour opened this issue Mar 27, 2017 · 2 comments
Closed

Upload Layer Issue #2975

pjdufour opened this issue Mar 27, 2017 · 2 comments

Comments

@pjdufour
Copy link
Member

pjdufour commented Mar 27, 2017

I'm getting the following issue when uploading a shapefile using webui and importlayers. Django will create a layer object, but a layer won't be created in GeoServer. Looks like a geofence sync issue.

2017-03-27 20:34:45.050:WARN:oejs.ServletHandler:/geoserver/geofence/rest/rules
org.geoserver.geofence.core.dao.DuplicateKeyException: Duplicate Rule Rule[id:null pri:0 ws:geonode l:nepal_tracks acc:ALLOW]
	at org.geoserver.geofence.core.dao.impl.RuleDAOImpl.persist(RuleDAOImpl.java:55)
	at org.geoserver.geofence.core.dao.impl.RuleDAOImpl.persist(RuleDAOImpl.java:31)
	at sun.reflect.GeneratedMethodAccessor292.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
	at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
	at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281)
	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
	at com.sun.proxy.$Proxy58.persist(Unknown Source)
	at org.geoserver.geofence.services.RuleAdminServiceImpl.insert(RuleAdminServiceImpl.java:63)
	at org.geoserver.geofence.rest.RulesRestController.insert(RulesRestController.java:134)
	at sun.reflect.GeneratedMethodAccessor291.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)

@simod
Copy link
Member

simod commented Mar 28, 2017

@pjdufour I guess you are on master. It requires rabbitmq at the moment in order to load the layers. That gs warning is not a big deal I think

@afabiani
Copy link
Member

afabiani commented May 5, 2017

Please have a look at

#3032

afabiani pushed a commit that referenced this issue May 8, 2017
 - Fix kombu dep

 - Remove kombu dependencies
simod added a commit that referenced this issue May 8, 2017
Fix for ISSUE #2975 - Upload Layer Issue #2975
afabiani pushed a commit to geosolutions-it/geonode that referenced this issue May 10, 2017
 - Fix kombu dep

 - Remove kombu dependencies

 - merge
afabiani pushed a commit that referenced this issue May 10, 2017
 - Fix kombu dep

 - Remove kombu dependencies

 - merge

 - Fix PR for ISSUE #3035
travislbrundage pushed a commit to travislbrundage/geonode that referenced this issue Oct 20, 2017
 - Fix kombu dep

 - Remove kombu dependencies

 - merge

 - Fix PR for ISSUE GeoNode#3035
travislbrundage pushed a commit to travislbrundage/geonode that referenced this issue Oct 20, 2017
 - Fix kombu dep

 - Remove kombu dependencies
travislbrundage pushed a commit to travislbrundage/geonode that referenced this issue Oct 23, 2017
 - Fix kombu dep

 - Remove kombu dependencies

 - merge

 - Fix PR for ISSUE GeoNode#3035
travislbrundage pushed a commit to travislbrundage/geonode that referenced this issue Oct 23, 2017
 - Fix kombu dep

 - Remove kombu dependencies
travislbrundage pushed a commit to travislbrundage/geonode that referenced this issue Oct 24, 2017
 - Fix kombu dep

 - Remove kombu dependencies

 - merge

 - Fix PR for ISSUE GeoNode#3035
travislbrundage pushed a commit to travislbrundage/geonode that referenced this issue Jun 22, 2018
 - Fix kombu dep

 - Remove kombu dependencies

 - merge

 - Fix PR for ISSUE GeoNode#3035
@afabiani afabiani removed bug labels Sep 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants