cat.debug(">setUp()");
log.debug(">setUp()");
    protected void setUp() throws Exception {        cat.debug(">setUp()");        ctx = getInitialContext();        Object obj = ctx.lookup("CertificateData");        home = (CertificateDataHome) javax.rmi.PortableRemoteObject.narrow(obj, CertificateDataHome.class);        Object obj2 = ctx.lookup("CertificateStoreSession");        storehome = (ICertificateStoreSessionHome) javax.rmi.PortableRemoteObject.narrow(obj2, ICertificateStoreSessionHome.class);        cert = CertTools.getCertfromByteArray(testcert);        cat.debug("<setUp()");    }