JPASubscription.class.getName() + ")");
properties.put("openjpa.LockTimeout", locktimeout + "");
entityManagerFactory = OpenJPAPersistence.getEntityManagerFactory(properties);
JVMMailboxPathLocker locker = new JVMMailboxPathLocker();
JPAMailboxSessionMapperFactory mf = new JPAMailboxSessionMapperFactory(entityManagerFactory, new JPAUidProvider(locker, entityManagerFactory), new JPAModSeqProvider(locker, entityManagerFactory));
MailboxACLResolver aclResolver = new UnionMailboxACLResolver();
GroupMembershipResolver groupMembershipResolver = new SimpleGroupMembershipResolver();
mailboxManager = new OpenJPAMailboxManager(mf, null, aclResolver, groupMembershipResolver);