}
public void freeLicense(Long userId) throws LicenseException {
LicenseDao lDao = WOJServer.getInstance().getDataService().getLicenseDao();
try {
lDao.freeLicense(userId);
} catch (DataAccessException dae) {
LOGGER.warn("db error while freeing license for user:" + userId);
throw new LicenseException("cannot free license of user:" + userId);
}
}