boolean success = false;
    public void clonePublisher(Admin admin, String oldname, String newname) throws PublisherExistsException {        debug(">clonePublisher(name: " + oldname + ")");        BasePublisher publisherdata = null;        boolean success = false;        try {            PublisherDataLocal htp = publisherhome.findByName(oldname);            publisherdata = (BasePublisher) htp.getPublisher().clone();            try {                addPublisher(admin, newname, publisherdata);                getLogSession().log(admin, admin.getCAId(), LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_INFO_PUBLISHERDATA, "New publisher " + newname + ", used publisher " + oldname + " as template.");            } catch (PublisherExistsException f) {                getLogSession().log(admin, admin.getCAId(), LogEntry.MODULE_CA, new java.util.Date(), null, null, LogEntry.EVENT_ERROR_PUBLISHERDATA, "Error adding publisher " + newname + " using publisher " + oldname + " as template.");                throw f;            }        } catch (Exception e) {            throw new EJBException(e);        }        debug("<clonePublisher()");    } // clonePublisher