This content has been marked as final.
Show 2 replies
-
1. Re: Container Interceptor runs as Client Interceptor
sagi7 Nov 20, 2005 5:30 AM (in response to sagi7)Hello,
i am no more sure, if the interceptor runs in Client or server VM.
I get System.out messages in JBOSS Console and the Exception in Client VM (in the same Method).
org.hibernate.HibernateException: Unable to locate current JTA transaction
Maybe a wrong Bean Configuration that i cannot obtain the session?
Please Help!! -
2. Re: Container Interceptor runs as Client Interceptor
sagi7 Nov 21, 2005 4:40 AM (in response to sagi7)Hello,
here the solution for others with the same problem:
i use sessionFactory.openSession() instead of sessionFactory.getCurrentSession() and it works fine.