Description of problem: /etc/ccm/ccm.classpath references directories in /usr/sharwe/java/[appname]/ for all applications, even though only Core & CMS actually contain these dirs. This causes ccm hostinit to fail with an NPE at the for() loop in HostInit.java: private static void copyDirectory(File dir, File dest) throws IOException { File[] files = dir.listFiles(); if (dir == null) { err("unable to get directory listing: " + dir); } for (int i = 0; i < files.length; i++) { Files.copy(files[i], dest, Files.IGNORE_EXISTING); } } Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Run ccm hostinit 2. 3. Actual results: NPE on first app which doesn't contain /usr/share/java/[appname] Expected results: Hostinit completes. Additional info:
@40218