/**
* Can fail on Linux machines due to firewall problems (and thus disabled).
* @throws Exception
*/
public void tstJiniServiceLocator() throws Exception {
JiniServiceFactoryBean serviceFactory = new JiniServiceFactoryBean();
serviceFactory.setServiceClass(JavaSpace.class);
serviceFactory.afterPropertiesSet();
JavaSpace jiniSpace = (JavaSpace) serviceFactory.getObject();
assertNotNull(space);
assertNotNull(jiniSpace);
// check class
assertSame(space.getClass(), jiniSpace.getClass());