getLogSession().log(admin, admin.getCAId(), LogEntry.MODULE_CA, new java.util.Date(), null, null,
getLogSession().log(admin, admin.getCaId(), LogEntry.MODULE_CA, new java.util.Date(), null, null,
    public void testConnection(Admin admin, int publisherid) throws PublisherConnectionException {        debug(">testConnection(id: " + publisherid + ")");        try {            PublisherDataLocal pdl = publisherhome.findByPrimaryKey(new Integer(publisherid));            try {                pdl.getPublisher().testConnection(admin);                getLogSession().log(admin, admin.getCAId(), LogEntry.MODULE_CA, new java.util.Date(), null,                        null, LogEntry.EVENT_INFO_PUBLISHERDATA,                        "Successfully tested the connection with publisher " + pdl.getName() + ".");            } catch (PublisherConnectionException pe) {                getLogSession().log(admin, admin.getCAId(), LogEntry.MODULE_CA, new java.util.Date(), null, null,                        LogEntry.EVENT_ERROR_PUBLISHERDATA, "Error when testing the connection with publisher " + pdl.getName() + " : " + pe.getMessage());                throw new PublisherConnectionException(pe.getMessage());            }        } catch (FinderException fe) {            getLogSession().log(admin, admin.getCAId(), LogEntry.MODULE_CA, new java.util.Date(), null, null,                    LogEntry.EVENT_ERROR_PUBLISHERDATA, "Publisher with id " + publisherid + " doesn't exist.");        }        debug("<testConnection(id: " + publisherid + ")");    }