protected void createCRL(String issuerdn) throws NamingException, CreateException, RemoteException {
protected void createCRL(String issuerdn) {
    protected void createCRL(String issuerdn) throws NamingException, CreateException, RemoteException {        debug(">createCRL()");        try {            Context context = getInitialContext();            ICreateCRLSessionHome home = (ICreateCRLSessionHome) javax.rmi.PortableRemoteObject.narrow(context.lookup(                        "CreateCRLSession"), ICreateCRLSessionHome.class);            if(issuerdn != null){              home.create().run(administrator, issuerdn);              ICertificateStoreSessionHome storehome = (ICertificateStoreSessionHome) javax.rmi.PortableRemoteObject.narrow(context.lookup(                        "CertificateStoreSession"), ICertificateStoreSessionHome.class);              ICertificateStoreSessionRemote storeremote = storehome.create();              int number = storeremote.getLastCRLNumber(administrator, issuerdn);              System.out.println("CRL with number " + number + " generated.");            }else{            	int createdcrls = home.create().createCRLs(administrator);            	System.out.println("  " + createdcrls + " CRLs have been created.");	            }        } catch (Exception e) {            error("Error while getting certficate chain from CA.", e);        }        debug(">createCRL()");   } // createCRL