Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Hibernate session management
somens
We are getting the following error while updating data in DB. Also while reading data, we are getting inconsistent data.
Error showing in weblogic logs :-
Illegal attempt to associate a collection with two open sessions
at com.interwoven.livesite.common.util.ClassUtils.executeMethod(ClassUtils.java:113)
at com.interwoven.livesite.common.pojo.PojoMethodCall.executeMethod(PojoMethodCall.java:400)
at com.interwoven.livesite.runtime.controller.RuntimeController.execute(RuntimeController.java:162)
at com.interwoven.livesite.runtime.controller.RuntimeControllerExecutor.executeComponentControllers(RuntimeControllerExecutor.java:140)
at com.interwoven.livesite.runtime.rendering.RenderingManager.doSetupRenderingObjects(RenderingManager.java:476)
at com.interwoven.livesite.runtime.rendering.RenderingManager.renderPageGoal(RenderingManager.java:297)
at com.interwoven.livesite.runtime.rendering.RenderingManager.render(RenderingManager.java:233)
Like to know some informations :-
1) In livesite wheather every request will create a new hibernate session or a single hibernate session will serve all requests ?
2) In which config/xml file the hibernate session management configurations are done ?
Environment used :-
--------------------
Teamsite 7.2.1
Runtime - Weblogic 10.3
JDK 1.6.0_25 --64 bit
Hibernate3
Oracle DB 10g
Thanks,
Somen
Find more posts tagged with
Comments
somens
Anybody has idea about the above error ?
Thanks,
Somen