}
public void startService() throws Exception
{
File storeFile = new File(fileName);
store = new SerialObjectStore(storeFile);
log.info("Created SerialObjectStore at: "+storeFile.getAbsolutePath());
// Bind a reference to store using NonSerializableFactory as the ObjectFactory
InitialContext ctx = new InitialContext();
Name name = ctx.getNameParser("").parse(jndiName);
NonSerializableFactory.rebind(name, store, true);