Getting "Permissions Denied” exception while Deploying Components with GDS as Persistent Storage

C_19

15-12-2016

Hi,

We are installing AEM forms 6.2 on linux machine.

We are using GDS for storing persistent documents(Not Database). We are getting below errors while deploying components

07:39:10,400 ERROR [com.adobe.idp.Document] (http-/0.0.0.0:8080-1) DOCS001: Unexpected exception. java.io.IOException: Permission denied.
07:39:10,400 ERROR [com.adobe.idp.dsc.upload.UploadServlet] (http-/0.0.0.0:8080-1) DOCS001: Unexpected exception. during upload which started at 12/15/16 7:39 AM... See the stack trace for details.: com.adob
e.idp.DocumentError: java.io.IOException: Permission denied
        at com.adobe.idp.DocumentFileBackend.getTimeSkewDelta(DocumentFileBackend.java:131) [adobe-docmanager.jar:6.2.0.20160407.2.331851]
        at com.adobe.idp.DocumentFileBackend.<init>(DocumentFileBackend.java:86) [adobe-docmanager.jar:6.2.0.20160407.2.331851]
        at com.adobe.idp.Document.getGlobalBackend(Document.java:3205) [adobe-docmanager.jar:6.2.0.20160407.2.331851]
        at com.adobe.idp.NewTempFileManager.global(NewTempFileManager.java:50) [adobe-docmanager.jar:6.2.0.20160407.2.331851]
        at com.adobe.idp.dsc.upload.UploadServlet.doPut(UploadServlet.java:160) [adobe-dscf.jar:6.2.0.20160407.2.331851]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:757) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-2.jar:1.0.2.Final-redhat-2]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-2.jar:1.0.2.Final-redhat-2]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295) [jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
        at com.adobe.idp.um.auth.filter.DocumentUploadSecurityFilter.doFilter(DocumentUploadSecurityFilter.java:139) [um.jar:]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246) [jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) [jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231) [jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149) [jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
        at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169) [jboss-as-web-7.5.5.Final-redhat-3.jar:7.5.5.Final-redhat-3]
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:150) [jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97) [jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102) [jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:344) [jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:854) [jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653) [jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926) [jbossweb-7.5.12.Final-redhat-1.jar:7.5.12.Final-redhat-1]
        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_71]
Caused by: java.io.IOException: Permission denied
        at java.io.UnixFileSystem.createFileExclusively(Native Method) [rt.jar:1.8.0_71]
        at java.io.File.createTempFile(File.java:2024) [rt.jar:1.8.0_71]
        at com.adobe.idp.DocumentFileBackend.createTempFile(DocumentFileBackend.java:139) [adobe-docmanager.jar:6.2.0.20160407.2.331851]
        at com.adobe.idp.DocumentFileBackend.getTimeSkewDelta(DocumentFileBackend.java:117) [adobe-docmanager.jar:6.2.0.20160407.2.331851]

Configurations:
JBoss-6.4.5
JDK8
Red Hat Enterprise Linux Server release 6.8

Accepted Solutions (0)

Answers (0)