Skip to Content.
Sympa Menu

grouper-users - [grouper-users] Grouper UI 1.6.1: "possible non-threadsafe access to the session"

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] Grouper UI 1.6.1: "possible non-threadsafe access to the session"


Chronological Thread 
  • From: "Snee, Tom" <>
  • To: "" <>
  • Subject: [grouper-users] Grouper UI 1.6.1: "possible non-threadsafe access to the session"
  • Date: Fri, 5 Sep 2014 17:21:21 +0000
  • Accept-language: en-US

I am trying to set up a new instance of the Grouper UI, version 1.6.1, to be identical to our production instance. I can't try any other version because that's what we have in production. Aside from the database URL, the environments should be exactly the same. Our DBAs dumped the production Grouper database schema and loaded it into a different Oracle instance, which I am using when I get the below error. Can anyone help me figure out what is going wrong?

Thank you.

Tom Snee


2014-09-05 12:52:13,715: [http-thread-pool-9205(3)] ERROR ErrorFilter.doFilter(143) - org.hibernate.AssertionFailure: possible non-threadsafe access to the session,
Problem in HibernateSession: HibernateSession: isNew: true, isReadonly: true, grouperTransactionType: READONLY_NEW,
Exception in list: (class [Ljava.lang.Object;), ByHqlStatic, query: 'select distinct ms, m from MembershipEntry as ms, Member as m, Field as field where       ms.ownerGroupId   = :owner            and  ms.memberUuid  = :member           and  ms.fieldId = :fuuid and  ms.memberUuid  = m.uuid     and ms.enabledDb = 'T'', cacheable: false, cacheRegion: edu.internet2.middleware.grouper.internal.dao.hib3.Hib3MembershipDAO.FindAllByGroupOwnerAndMemberAndField, tx type: null, tx type: nullBind var[0]: 'Param (class java.lang.String): 'owner'->'b486380c757446ef86644ec690792465', Bind var[1]: 'Param (class java.lang.String): 'member'->'0570ccbac3c24c44b1447858a2679a96'Bind var[2]: 'Param (class java.lang.String): 'fuuid'->'d3f1e88d3c974d1caf2adc9e26662123', 
	at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:104)
	at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:854)
	at org.hibernate.loader.Loader.doQuery(Loader.java:729)
	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
	at org.hibernate.loader.Loader.doList(Loader.java:2213)
	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
	at org.hibernate.loader.Loader.list(Loader.java:2099)
	at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)
	at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
	at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
	at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
	at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
	at edu.internet2.middleware.grouper.hibernate.ByHql.list(ByHql.java:304)
	at edu.internet2.middleware.grouper.hibernate.ByHqlStatic$2.callback(ByHqlStatic.java:356)
	at edu.internet2.middleware.grouper.hibernate.HibernateSession.callbackHibernateSession(HibernateSession.java:502)
	at edu.internet2.middleware.grouper.hibernate.ByHqlStatic.list(ByHqlStatic.java:346)
	at edu.internet2.middleware.grouper.hibernate.ByHqlStatic.listSet(ByHqlStatic.java:395)
	at edu.internet2.middleware.grouper.internal.dao.hib3.Hib3MembershipDAO.findAllByGroupOwnerAndMemberAndField(Hib3MembershipDAO.java:414)
	at edu.internet2.middleware.grouper.Member.isMember(Member.java:2296)
	at edu.internet2.middleware.grouper.Member.isMember(Member.java:2142)
	at edu.internet2.middleware.grouper.Group.hasMember(Group.java:3556)
	at edu.internet2.middleware.grouper.Group.hasMember(Group.java:3522)
	at edu.internet2.middleware.grouper.ui.actions.LowLevelGrouperCapableAction.isWheelGroupMember(LowLevelGrouperCapableAction.java:539)
	at edu.internet2.middleware.grouper.ui.actions.GrouperCapableAction.execute(GrouperCapableAction.java:254)
	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
	at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1554)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:339)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at edu.internet2.middleware.grouper.ui.LoginCheckFilter$2.callback(LoginCheckFilter.java:291)
	at edu.internet2.middleware.grouper.GrouperSession.callbackGrouperSession(GrouperSession.java:644)
	at edu.internet2.middleware.grouper.ui.LoginCheckFilter.doFilter(LoginCheckFilter.java:286)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at edu.internet2.middleware.grouper.ui.ErrorFilter.doFilter(ErrorFilter.java:133)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at edu.internet2.middleware.grouper.ui.GrouperUiFilter.doFilter(GrouperUiFilter.java:618)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
	at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
	at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:329)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
	at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:311)
	at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:189)
	at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:850)
	at com.sun.grizzly.http.ajp.AjpProcessorTask.invokeAdapter(AjpProcessorTask.java:130)
	at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:747)
	at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1036)
	at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:231)
	at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
	at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
	at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
	at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
	at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
	at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
	at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
	at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
	at java.lang.Thread.run(Thread.java:745)



Archive powered by MHonArc 2.6.16.

Top of Page