hi all,
we have developped an app under tomcat with threadlocal strategy.
All works fine.
When we integrate it on 9IAS we get this
[code] /** * @see javax.servlet.Filter#doFilter(ServletRequest, ServletResponse, FilterChain) */ public void doFilter(ServletRequest request,ServletResponse response, FilterChain chain) throws IOException,ServletException { if (hibernateHolder.get() != null) { Session sess = (Session)hibernateHolder.get(); if (sess != null) { hibernateHolder.set(null); try { sess.close(); } catch (HibernateException ex) { throw new ServletException(ex); } } throw new IllegalStateException("A session is already associated with this thread!" + "Someone must have called getSession() outside of the context " + "of a servlet request."); } try { chain.doFilter(request, response); } finally { /* La session hibernate existe, elle a
|