Fórum

java.nio.file.AccessDeniedException:

a g, modificado 6 Anos atrás.

java.nio.file.AccessDeniedException:

Expert Postagens: 442 Data de Entrada: 02/03/12 Postagens Recentes
16:31:45,408 WARN [elasticsearch[Lockheed][clusterService#updateTask][T#1]][gateway:138] [Lockheed] [albert]: failed to write index state
java.nio.file.AccessDeniedException: /opt/bitnami/apps/liferay/data/data/elasticsearch/indices/LiferayElasticsearchCluster/nodes/0/indices/albert/_state/state-33.st.tmp
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214)
at java.nio.file.spi.FileSystemProvider.newOutputStream(FileSystemProvider.java:434)
at java.nio.file.Files.newOutputStream(Files.java:216)
at org.elasticsearch.gateway.MetaDataStateFormat.write(MetaDataStateFormat.java:112)
at org.elasticsearch.gateway.MetaStateService.writeIndex(MetaStateService.java:135)
at org.elasticsearch.gateway.GatewayMetaState.clusterChanged(GatewayMetaState.java:160)
at org.elasticsearch.gateway.Gateway.clusterChanged(Gateway.java:185)
at org.elasticsearch.cluster.service.InternalClusterService.runTasksForExecutor(InternalClusterService.java:600)
at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:762)
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:231)
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:194)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
thumbnail
Jorge Díaz, modificado 6 Anos atrás.

RE: java.nio.file.AccessDeniedException:

Liferay Master Postagens: 753 Data de Entrada: 09/01/14 Postagens Recentes
That is a Elasticsearch error.

When and where are you seeing that exception?

It seems you are using embedded Elasticsearch, please note that Liferay don't support that configuration, you should always install a separate Elasticsearch server.