After upgraded to Automic Workload Automation v12.1:At first JWP and JCP were unable to be started by user UC4, but can only be started by root (This was later found to be caused by an issue with Java)
After the another version of Java was installed, JWP and JCP can be started by UC4, however they are started with the following recursive error messages:
---------- JWP ----------
20180927/144510.741 - 24 U00003620 Routine 'com.automic.search.lucene.builder.IndexBuilder' forces trace because of error.
20180927/144521.070 - 24 U00045014 Exception 'java.lang.RuntimeException: "java.nio.file.AccessDeniedException: /applications/uc4/v12/server/bin/indexCache-12.1/0/segments_fv3q"' at 'com.automic.search.lucene.builder.IndexBuilderTransaction.createIndexWriterForClient():165'.
20180927/144521.073 - 24 U00045015 The previous error was caused by 'java.nio.file.AccessDeniedException: "/applications/uc4/v12/server/bin/indexCache-12.1/0/segments_fv3q"' at 'sun.nio.fs.UnixException.translateToIOException():84'.
---------- JCP ----------
20180927/152514.659 - 29 U00003620 Routine 'com.automic.search.lucene.searcher.IndexSearch' forces trace because of error.
20180927/152515.176 - 30 U00045014 Exception 'java.nio.file.AccessDeniedException: "/applications/uc4/v12/server/bin/indexCache-12.1/116/segments_fve2"' at 'sun.nio.fs.UnixException.translateToIOException():84'.
---------- --- ----------