log.error( String.format("Invalid service configuration: Cannot find %s", filename ));
foundAllRequiredFiles = false;
}
}
if( !foundAllRequiredFiles ) {
throw new ASException(ErrorCode.AS_CONFIGURATION_ERROR, "Cannot find aikverify files");
}
// we must be able to write to the data folder in order to save certificates, nones, public keys, etc.
File datafolder = new File(aikverifyhomeData);
if( !datafolder.canWrite() ) {
throw new ASException(ErrorCode.AS_CONFIGURATION_ERROR, String.format(" Cannot write to %s", aikverifyhomeData));
}
// this.setEntityManagerFactory(entityManagerFactory);
}