myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Ivankovits <>
Subject Re: [Orchestra] Session is closed
Date Wed, 21 May 2008 13:42:49 GMT
Hi Cagatay!
> I'm trying to convert an existing application to use Orchestra.
> Followed the installation documentation but I'm getting
> org.hibernate.SessionException: Session is closed! exception after I
> add Orchestra. Just cant make it work so far.
Unfortunately I can't see anything obviously wrong in your configuration

Is the Session closed issued after the first request or after an exception?

Normally I'd think that there is some filter active which will close the
session and that your application do not really use the Orchestra
provided persistence context.
No clue why this can happen.

Probably debugging into Orchestra's JpaPersistenceContextFactory and see
if the created PersistenceContext is the same you'll use in your method
then will help.

If you can't solve your problem and nobody else has a better idea we
need to get in touch with your application, I think :-(


View raw message