Hello Alessio

Thanks for your response. Here is the stacktrace:
SEVERE:org.springframework.batch.core.UnexpectedJobExecutionException:
Exception occurred while storing GeoServer globals and services settings!
java.util.concurrent.ExecutionException:
org.springframework.batch.core.UnexpectedJobExecutionException: Exception
occurred while storing GeoServer globals and services settings!
        at java.util.concurrent.FutureTask.report(Unknown Source)
        at java.util.concurrent.FutureTask.get(Unknown Source)
        at
org.geoserver.backuprestore.tasklet.AbstractCatalogBackupRestoreTasklet.execute(AbstractCatalogBackupRestoreTasklet.java:168)
        at
org.springframework.batch.core.step.tasklet.TaskletStep$ChunkTransactionCallback.doInTransaction(TaskletStep.java:406)
        at
org.springframework.batch.core.step.tasklet.TaskletStep$ChunkTransactionCallback.doInTransaction(TaskletStep.java:330)
        at
org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)
        at
org.springframework.batch.core.step.tasklet.TaskletStep$2.doInChunkContext(TaskletStep.java:271)
        at
org.springframework.batch.core.scope.context.StepContextRepeatCallback.doInIteration(StepContextRepeatCallback.java:81)
        at
org.springframework.batch.repeat.support.RepeatTemplate.getNextResult(RepeatTemplate.java:374)
        at
org.springframework.batch.repeat.support.RepeatTemplate.executeInternal(RepeatTemplate.java:215)
        at
org.springframework.batch.repeat.support.RepeatTemplate.iterate(RepeatTemplate.java:144)
        at
org.springframework.batch.core.step.tasklet.TaskletStep.doExecute(TaskletStep.java:257)
        at
org.springframework.batch.core.step.AbstractStep.execute(AbstractStep.java:200)
        at
org.springframework.batch.core.job.SimpleStepHandler.handleStep(SimpleStepHandler.java:148)
        at
org.springframework.batch.core.job.flow.JobFlowExecutor.executeStep(JobFlowExecutor.java:64)
        at
org.springframework.batch.core.job.flow.support.state.StepState.handle(StepState.java:67)
        at
org.springframework.batch.core.job.flow.support.SimpleFlow.resume(SimpleFlow.java:169)
        at
org.springframework.batch.core.job.flow.support.SimpleFlow.start(SimpleFlow.java:144)
        at
org.springframework.batch.core.job.flow.support.state.SplitState$1.call(SplitState.java:93)
        at
org.springframework.batch.core.job.flow.support.state.SplitState$1.call(SplitState.java:90)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at
org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:50)
        at
org.springframework.batch.core.job.flow.support.state.SplitState.handle(SplitState.java:100)
        at
org.springframework.batch.core.configuration.xml.SimpleFlowFactoryBean$DelegateState.handle(SimpleFlowFactoryBean.java:207)
        at
org.springframework.batch.core.job.flow.support.SimpleFlow.resume(SimpleFlow.java:169)
        at
org.springframework.batch.core.job.flow.support.SimpleFlow.start(SimpleFlow.java:144)
        at
org.springframework.batch.core.job.flow.FlowJob.doExecute(FlowJob.java:134)
        at
org.springframework.batch.core.job.AbstractJob.execute(AbstractJob.java:306)
        at
org.springframework.batch.core.launch.support.SimpleJobLauncher$1.run(SimpleJobLauncher.java:135)
        at
org.springframework.core.task.SimpleAsyncTaskExecutor$ConcurrencyThrottlingRunnable.run(SimpleAsyncTaskExecutor.java:251)
        at java.lang.Thread.run(Unknown Source)
Caused by: org.springframework.batch.core.UnexpectedJobExecutionException:
Exception occurred while storing GeoServer globals and services settings!
        at
org.geoserver.backuprestore.tasklet.CatalogBackupRestoreTasklet.doExecute(CatalogBackupRestoreTasklet.java:98)
        at
org.geoserver.backuprestore.tasklet.AbstractCatalogBackupRestoreTasklet$3.call(AbstractCatalogBackupRestoreTasklet.java:148)
        at
org.geoserver.backuprestore.tasklet.AbstractCatalogBackupRestoreTasklet$3.call(AbstractCatalogBackupRestoreTasklet.java:144)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        ... 1 more
Caused by: org.springframework.batch.core.UnexpectedJobExecutionException:
Exception occurred while storing GeoServer globals and services settings!
        at
org.geoserver.backuprestore.tasklet.CatalogBackupRestoreTasklet.doBackup(CatalogBackupRestoreTasklet.java:218)
        at
org.geoserver.backuprestore.tasklet.CatalogBackupRestoreTasklet.doExecute(CatalogBackupRestoreTasklet.java:93)
        ... 4 more
Caused by:
org.springframework.security.authentication.InsufficientAuthenticationException:
Cannot access layer_001 as anonymous
        at
org.geoserver.security.SecureCatalogImpl.unauthorizedAccess(SecureCatalogImpl.java:933)
        at
org.geoserver.security.SecureCatalogImpl.buildWrapperPolicy(SecureCatalogImpl.java:910)
        at
org.geoserver.security.SecureCatalogImpl.buildWrapperPolicy(SecureCatalogImpl.java:807)
        at
org.geoserver.security.SecureCatalogImpl.checkAccess(SecureCatalogImpl.java:607)
        at
org.geoserver.security.SecureCatalogImpl.checkAccess(SecureCatalogImpl.java:489)
        at
org.geoserver.security.SecureCatalogImpl.getLayerByName(SecureCatalogImpl.java:296)
        at
org.geoserver.catalog.impl.AbstractFilteredCatalog.getLayerByName(AbstractFilteredCatalog.java:225)
        at
org.geoserver.catalog.impl.AbstractCatalogDecorator.getLayerByName(AbstractCatalogDecorator.java:384)
        at
org.geoserver.catalog.impl.LocalWorkspaceCatalog.getLayerByName(LocalWorkspaceCatalog.java:92)
        at
org.geoserver.backuprestore.tasklet.CatalogBackupRestoreTasklet.backupGWCSettings(CatalogBackupRestoreTasklet.java:782)
        at
org.geoserver.backuprestore.tasklet.CatalogBackupRestoreTasklet.doBackup(CatalogBackupRestoreTasklet.java:212)
        ... 5 more

SEVERE:Exception occurred while storing GeoServer globals and services
settings!
SEVERE:Exception occurred while storing GeoServer globals and services
settings!
SEVERE:Cannot access layer_001 as anonymous
NO Warnings Detected.



Thanks for your help

Best regards Rene





--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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

Reply via email to