solved JNDI configuration error
lifecycle support refactored to allow for persistence