I am trying to upgrade our OWF 7.0.1 instance in JBoss to OWF 7.17.0. Everything appears to be working fine except when I log in to Ozone I get this error message in the log, which is preventing my user from being registered with the XXX, YYY, and ZZZ groups, which are created automatically via the users.properties file. Subsequently, my user has no app component mappings:
2016-02-01 21:46:04,273 INFO [ozone.securitysample.authentication.basic.MyDetailsService] (http-/0.0.0.0:8443-1) successfully logged in user [First.User.9000080951], authorities [ROLE_ADMIN,ROLE_USER], groups [XXX,YYY,ZZZ]
2016-02-01 21:46:05,695 WARN [grails.app.filters.ozone.owf.grails.filters.SecurityFilters] (http-/0.0.0.0:8443-1) failed to update groups for user First.User.9000080951 in database, message: groovy.lang.MissingPropertyException: No such property: application for class: grails.util.Holders
Though I am nowhere near proficient in grails, it appears that line 210 of SecurityFilters.groovy is failing:
def hSession = AH.application.mainContext.sessionFactory.getCurrentSession()
where AH is defined as this at the top:
import grails.util.Holders as AH
Can you please tell me which groovy configuration file would be the culprit? I'm using JBoss EAP 6.4 (configured according to the
JBoss configuration wiki) and have a customized OWF security module.
Thanks,
Tom