Context c = getInitialContext(); Object obj = c.lookup("RSASignSession");
Object obj = ctx.lookup("RSASignSession");
    	public void run() {            try {                Context c = getInitialContext();                Object obj = c.lookup("RSASignSession");                ISignSessionHome rsahome = (ISignSessionHome) javax.rmi.PortableRemoteObject.narrow(obj, ISignSessionHome.class);                ISignSessionRemote rsaremote = rsahome.create();                String user = "performancefoo"+Thread.currentThread().getName();				long before = System.currentTimeMillis();				for (int i = 0; i<1000;i++) {			        // user that we know exists...				    X509Certificate cert = (X509Certificate) rsaremote.createCertificate(admin, user, "foo123", keys.getPublic());				    assertNotNull("Misslyckades skapa cert", cert);				    if ((i % 100) == 0) {				    	long mellantid = System.currentTimeMillis() - before;				    	System.out.println(Thread.currentThread().getName()+" har skapat "+i+", tid="+mellantid);				    					    }				}				long after = System.currentTimeMillis();				long diff = after - before;				System.out.println("Tidstgng ("+Thread.currentThread().getName()+"): "+diff);			} catch (Exception e) {				// TODO Auto-generated catch block				e.printStackTrace();			}    		    	}