Hi,
yes maybe the docs are not clear about this;
anyway the examples are not Seam-specific.
To clarify:
Code:
Search.createFullTextSession(session);
does not open a new session, it wraps the existing session to add additional functionality (fulltext search).
Se when you close() it your are going to close the one you got from the entitymanager; the lifecycle of this session is managed by the container.
Documentation examples are mostly about simple tests, not J2EE environments; it's simpler there, you don't open connections, you don't close them, you don't start transactions and don't need to commit.
Anyway, did you solve the problem removing the close() statement?