
When we encounter a failure while importing workflows in AutomationEdge. The system throws an unexpected runtime exception due to the inability to create a temporary directory on the application server.
The logs reveal the following error during the workflow import:
com.automationedge.aeutil.exception.AECustomRuntimeException: Unexpected error occurred. Please contact AutomationEdge Administrator.
Caused by:
java.nio.file.AccessDeniedException:
E:\AutomationEdge\tools\apache-tomcat-9.0.65\temp\AE_ImportWflow_<random_id>
Error Message:
Could not create temp directoryThe issue occurs when the Tomcat server does not have sufficient permissions to create directories in its configured temporary directory:
E:\AutomationEdge\tools\apache-tomcat-9.0.65\tempThis typically happens when:
Resolution :Navigate to the Tomcat temp directory:
E:\AutomationEdge\tools\apache-tomcat-9.0.65\tempAccessDeniedException appears in logs.