Skip to content

Persist Extension: PersistService.start() cannot be called multiple times #598

@gissuebot

Description

@gissuebot

From michal.galet on February 02, 2011 04:06:48

The PersistService.start() method claims that it is possible to call this method multiple times. The implementation however throws "java.lang.IllegalStateException: Persistence service was already initialized." on second call.

This is a problem since it is not possible to determine if the service was already started. Moreover the PersistFilter starts the PersistService in initialization. Therefore it is not possible to use the persistence in any ServletContextListener!

Original issue: http://code.google.com/p/google-guice/issues/detail?id=598

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions