I looked at the source code and looks like this is where the Exception is thrown:
core/src/main/java/org/apache/oozie/action/hadoop/JavaActionExecutor.java
protected void addSystemShareLibForAction(Configuration conf) throws ActionExecutorException {
ShareLibService shareLibService = Services.get().get(ShareLibService.class);
// ShareLibService is null for test cases
if (shareLibService != null) {
try {
List<Path> listOfPaths = shareLibService.getSystemLibJars(JavaActionExecutor.OOZIE_COMMON_LIBDIR);
if (listOfPaths.isEmpty()) {
throw new ActionExecutorException(ActionExecutorException.ErrorType.FAILED, "EJ001",
"Could not locate Oozie sharelib");
}
addLibPathsToClassPath(conf, listOfPaths);
addLibPathsToClassPath(conf, shareLibService.getSystemLibJars(getType()));
}
catch (IOException ex) {
throw new ActionExecutorException(ActionExecutorException.ErrorType.FAILED,
"Failed to add action specific sharelib", ex.getMessage());
}
}
}