Quantcast
Channel: Pentaho Community Forums - BI Platform
Viewing all articles
Browse latest Browse all 2893

CAS integration failing with IPentahoSession

$
0
0
I have set up Pentaho 5. I have followed the instructions for using CAS for authentication. I am using the inMemory User Details service. (Actually I have tried different ones and I get the same error) When I log on, I get redirected to CAS, i log in, I get reirected back fine. But then I get the message, "Sorry. We really did try."

I look at the logs and I get see this:
org.springframework.transaction.CannotCreateTransactionException: Could not open JCR session for transaction; nested exception is java.lang.IllegalStateException: this method cannot be called with a null IPentahoSession
at org.springframework.extensions.jcr.jackrabbit.LocalTransactionManager.doBegin(LocalTransactionManager.java:160)
at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:374)
at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:263)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:101)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy27.getBoundLogicalRoleNames(Unknown Source)
at org.pentaho.platform.security.policy.rolebased.RoleAuthorizationPolicy.isAllowed(RoleAuthorizationPolicy.java:84)
at org.pentaho.platform.dataaccess.datasource.wizard.service.impl.SimpleDataAccessPermissionHandler.hasDataAccessPermission(SimpleDataAccessPermissionHandler.java:39)
at org.pentaho.platform.dataaccess.datasource.utils.DataAccessPermissionUtil.hasManageAccess(DataAccessPermissionUtil.java:28)
at org.pentaho.platform.dataaccess.metadata.service.MetadataService.getDatasourcePermissions(MetadataService.java:83)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)

I am basically having the same problem as this post:

http://forums.pentaho.com/showthread...-5-2-With-LDAP

Can someone point me in the right direction?

Viewing all articles
Browse latest Browse all 2893

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>