AnsweredAssumed Answered

Hi all, after installation of Pentaho Server 8.1 on linux red hat using Jboss we are facing with this error:

Question asked by Gian Paolo Perillo on Sep 26, 2018

14:59:36,371 ERROR [CompositeUserRoleListService] User/Role List could not be obtained.

java.lang.IllegalStateException: Target of Bean was never resolved: org.springframework.security.core.userdetails.UserDetailsService

        at org.pentaho.platform.engine.core.system.objfac.spring.BeanBuilder$1.invoke(BeanBuilder.java:159)

        at com.sun.proxy.$Proxy105.loadUserByUsername(Unknown Source)

        at org.pentaho.platform.plugin.services.security.userrole.ChainedUserDetailsService.loadUserByUsername(ChainedUserDetailsService.java:50)

        at org.pentaho.platform.plugin.services.security.userrole.PentahoCachingUserDetailsService.loadUserByUsername(PentahoCachingUserDetailsService.java:77)

        at org.pentaho.platform.security.userroledao.service.UserRoleDaoUserRoleListService.getRolesForUser(UserRoleDaoUserRoleListService.java:146)

        at org.pentaho.platform.plugin.services.security.userrole.ExtraRolesUserRoleListServiceDecorator.getRolesForUser(ExtraRolesUserRoleListServiceDecorator.java:116)

        at org.pentaho.platform.plugin.services.security.userrole.CompositeUserRoleListService$7.perform(CompositeUserRoleListService.java:125)

        at org.pentaho.platform.plugin.services.security.userrole.CompositeUserRoleListService.collectResultsForOperation(CompositeUserRoleListService.java:134)

        at org.pentaho.platform.plugin.services.security.userrole.CompositeUserRoleListService.getRolesForUser(CompositeUserRoleListService.java:123)

        at org.pentaho.platform.engine.security.SecurityHelper.createAuthentication(SecurityHelper.java:354)

        at org.pentaho.platform.engine.security.SecurityHelper.becomeUser(SecurityHelper.java:138)

        at org.pentaho.platform.engine.security.SecurityHelper.becomeUser(SecurityHelper.java:116)

        at org.pentaho.platform.engine.security.SecurityHelper.runAsUser(SecurityHelper.java:176)

        at org.pentaho.platform.engine.security.SecurityHelper.runAsUser(SecurityHelper.java:166)

        at org.pentaho.platform.scheduler2.action.DefaultActionInvoker.invokeActionImpl(DefaultActionInvoker.java:166)

        at org.pentaho.platform.scheduler2.action.DefaultActionInvoker.invokeAction(DefaultActionInvoker.java:110)

        at org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob.invokeAction(ActionAdapterQuartzJob.java:178)

        at org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob.execute(ActionAdapterQuartzJob.java:79)

        at org.pentaho.platform.scheduler2.quartz.BlockingQuartzJob.execute(BlockingQuartzJob.java:56)

        at org.quartz.core.JobRunShell.run(JobRunShell.java:199)

        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546)

14:59:36,377 ERROR [CompositeUserRoleListService] User/Role List could not be obtained.

java.lang.IllegalStateException: Target of Bean was never resolved: org.springframework.security.core.userdetails.UserDetailsService

        at org.pentaho.platform.engine.core.system.objfac.spring.BeanBuilder$1.invoke(BeanBuilder.java:159)

        at com.sun.proxy.$Proxy105.loadUserByUsername(Unknown Source)

        at org.pentaho.platform.plugin.services.security.userrole.ChainedUserDetailsService.loadUserByUsername(ChainedUserDetailsService.java:50)

        at org.pentaho.platform.plugin.services.security.userrole.PentahoCachingUserDetailsService.loadUserByUsername(PentahoCachingUserDetailsService.java:77)

        at org.pentaho.platform.security.userroledao.service.UserRoleDaoUserRoleListService.getRolesForUser(UserRoleDaoUserRoleListService.java:146)

        at org.pentaho.platform.plugin.services.security.userrole.ExtraRolesUserRoleListServiceDecorator.getRolesForUser(ExtraRolesUserRoleListServiceDecorator.java:116)

        at org.pentaho.platform.plugin.services.security.userrole.CompositeUserRoleListService$7.perform(CompositeUserRoleListService.java:125)

        at org.pentaho.platform.plugin.services.security.userrole.CompositeUserRoleListService.collectResultsForOperation(CompositeUserRoleListService.java:134)

        at org.pentaho.platform.plugin.services.security.userrole.CompositeUserRoleListService.getRolesForUser(CompositeUserRoleListService.java:123)

        at org.pentaho.platform.engine.security.SecurityHelper.createAuthentication(SecurityHelper.java:354)

        at org.pentaho.platform.engine.security.SecurityHelper.becomeUser(SecurityHelper.java:138)

        at org.pentaho.platform.engine.security.SecurityHelper.becomeUser(SecurityHelper.java:116)

        at org.pentaho.platform.engine.security.SecurityHelper.runAsUser(SecurityHelper.java:176)

        at org.pentaho.platform.engine.security.SecurityHelper.runAsUser(SecurityHelper.java:166)

        at org.pentaho.platform.scheduler2.action.DefaultActionInvoker.invokeActionImpl(DefaultActionInvoker.java:166)

        at org.pentaho.platform.scheduler2.action.DefaultActionInvoker.invokeAction(DefaultActionInvoker.java:110)

        at org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob.invokeAction(ActionAdapterQuartzJob.java:178)

        at org.pentaho.platform.scheduler2.quartz.ActionAdapterQuartzJob.execute(ActionAdapterQuartzJob.java:79)

        at org.pentaho.platform.scheduler2.quartz.BlockingQuartzJob.execute(BlockingQuartzJob.java:56)

        at org.quartz.core.JobRunShell.run(JobRunShell.java:199)

        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:546)

Outcomes