javax.jcr.LoginException: Workspace access denied

Stack Overflow | MGorgon | 3 months ago
  1. 0

    Jackrabbit unclosed session detected on AccessDeniedException but session is null

    Stack Overflow | 3 months ago | MGorgon
    javax.jcr.LoginException: Workspace access denied
  2. 0

    No matching username found in principals - Open Knowledge Management

    openkm.com | 1 year ago
    javax.jcr.LoginException: CallbackHandler does not support: javax.security.auth.callback.NameCallback@f157b0: CallbackHandler does not support: javax.security.auth.callback.NameCallback@f157b0: CallbackHandler does not support: javax.security.auth.callback.NameCallback@f157b0
  3. 0

    There are samples that demonstrate global startup actions in /public/bi-developers/Secure/ By default, none of the samples work because there are no values in the session (which would be injected by way of global action). To enable this, edit pentaho-solutions/system/sessionStartupActions.xml Find the section for the global startup actions and uncomment the SessionStartupAction bean (should be at the bottom). The actionPath will have to be updated, as it is not correct, make sure it is: /public/bi-developers/Secure/global-department-list.xaction Now start (or restart) your BI-SERVER. The system will actually fail to startup properly and will spew a few exceptions, and thanks to the way we are doing logging, the real exception is lost. I have added some extra debugging to my build so as to capture the real exception causing this to happen: org.springframework.transaction.CannotCreateTransactionException: Could not open JCR session for transaction; nested exception is javax.jcr.LoginException: Logi nModule ignored Credentials 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 $Proxy27.getFile(Unknown Source) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator$21.call(ExceptionLoggingDecorator.java:244) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator$21.call(ExceptionLoggingDecorator.java:242) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.callLogThrow(ExceptionLoggingDecorator.java:457) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.getFile(ExceptionLoggingDecorator.java:242) at org.pentaho.platform.engine.services.ActionSequenceJCRHelper.getSolutionDocument(ActionSequenceJCRHelper.java:104) at org.pentaho.platform.engine.services.ActionSequenceJCRHelper.getActionSequence(ActionSequenceJCRHelper.java:89) at org.pentaho.platform.engine.services.solution.SolutionEngine.createActionSequence(SolutionEngine.java:426) at org.pentaho.platform.engine.services.solution.SolutionEngine.executeInternal(SolutionEngine.java:348) at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:301) at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:180) at org.pentaho.platform.engine.core.system.PentahoSystem.globalStartup(PentahoSystem.java:891) at org.pentaho.platform.engine.core.system.PentahoSystem$2$1.call(PentahoSystem.java:844) at org.pentaho.platform.engine.core.system.PentahoSystem$2$1.call(PentahoSystem.java:841) at org.pentaho.platform.engine.core.system.PentahoSystem.runAsSystem(PentahoSystem.java:353) at org.pentaho.platform.engine.core.system.PentahoSystem.access$100(PentahoSystem.java:71) at org.pentaho.platform.engine.core.system.PentahoSystem$2.run(PentahoSystem.java:841) at java.lang.Thread.run(Thread.java:722) Caused by: javax.jcr.LoginException: LoginModule ignored Credentials at org.apache.jackrabbit.core.RepositoryImpl.login(RepositoryImpl.java:1493) at org.pentaho.platform.repository2.unified.jcr.sejcr.CredentialsStrategySessionFactory.getSession(CredentialsStrategySessionFactory.java:324) at org.springframework.extensions.jcr.jackrabbit.LocalTransactionManager.doBegin(LocalTransactionManager.java:120) ... 23 more Caused by: javax.security.auth.login.FailedLoginException: LoginModule ignored Credentials at org.apache.jackrabbit.core.security.authentication.LocalAuthContext.login(LocalAuthContext.java:87) at org.apache.jackrabbit.core.RepositoryImpl.login(RepositoryImpl.java:1465) ... 25 more Exception in thread "Thread-35" java.lang.RuntimeException: org.pentaho.platform.api.repository2.unified.UnifiedRepositoryException: exception while getting fil e with path "/public/bi-developers/Secure/global-department-list.xaction" Reference number: 8ef5d81e-0c85-4563-99ae-800000cee96a at org.pentaho.platform.engine.core.system.PentahoSystem$2.run(PentahoSystem.java:849) at java.lang.Thread.run(Thread.java:722) Caused by: org.pentaho.platform.api.repository2.unified.UnifiedRepositoryException: exception while getting file with path "/public/bi-developers/Secure/global- department-list.xaction" Reference number: 8ef5d81e-0c85-4563-99ae-800000cee96a at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.callLogThrow(ExceptionLoggingDecorator.java:483) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.getFile(ExceptionLoggingDecorator.java:242) at org.pentaho.platform.engine.services.ActionSequenceJCRHelper.getSolutionDocument(ActionSequenceJCRHelper.java:104) at org.pentaho.platform.engine.services.ActionSequenceJCRHelper.getActionSequence(ActionSequenceJCRHelper.java:89) at org.pentaho.platform.engine.services.solution.SolutionEngine.createActionSequence(SolutionEngine.java:426) at org.pentaho.platform.engine.services.solution.SolutionEngine.executeInternal(SolutionEngine.java:348) at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:301) at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:180) at org.pentaho.platform.engine.core.system.PentahoSystem.globalStartup(PentahoSystem.java:891) at org.pentaho.platform.engine.core.system.PentahoSystem$2$1.call(PentahoSystem.java:844) at org.pentaho.platform.engine.core.system.PentahoSystem$2$1.call(PentahoSystem.java:841) at org.pentaho.platform.engine.core.system.PentahoSystem.runAsSystem(PentahoSystem.java:353) at org.pentaho.platform.engine.core.system.PentahoSystem.access$100(PentahoSystem.java:71) at org.pentaho.platform.engine.core.system.PentahoSystem$2.run(PentahoSystem.java:841) ... 1 more From my personal experience, this is something which is going to affect plenty of customers and will have to be addressed ASAP.

    Pentaho BI Platform Tracking | 3 years ago | Michael D'Amour
    org.springframework.transaction.CannotCreateTransactionException: Could not open JCR session for transaction; nested exception is javax.jcr.LoginException: Logi nModule ignored Credentials
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    There are samples that demonstrate global startup actions in /public/bi-developers/Secure/ By default, none of the samples work because there are no values in the session (which would be injected by way of global action). To enable this, edit pentaho-solutions/system/sessionStartupActions.xml Find the section for the global startup actions and uncomment the SessionStartupAction bean (should be at the bottom). The actionPath will have to be updated, as it is not correct, make sure it is: /public/bi-developers/Secure/global-department-list.xaction Now start (or restart) your BI-SERVER. The system will actually fail to startup properly and will spew a few exceptions, and thanks to the way we are doing logging, the real exception is lost. I have added some extra debugging to my build so as to capture the real exception causing this to happen: org.springframework.transaction.CannotCreateTransactionException: Could not open JCR session for transaction; nested exception is javax.jcr.LoginException: Logi nModule ignored Credentials 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 $Proxy27.getFile(Unknown Source) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator$21.call(ExceptionLoggingDecorator.java:244) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator$21.call(ExceptionLoggingDecorator.java:242) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.callLogThrow(ExceptionLoggingDecorator.java:457) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.getFile(ExceptionLoggingDecorator.java:242) at org.pentaho.platform.engine.services.ActionSequenceJCRHelper.getSolutionDocument(ActionSequenceJCRHelper.java:104) at org.pentaho.platform.engine.services.ActionSequenceJCRHelper.getActionSequence(ActionSequenceJCRHelper.java:89) at org.pentaho.platform.engine.services.solution.SolutionEngine.createActionSequence(SolutionEngine.java:426) at org.pentaho.platform.engine.services.solution.SolutionEngine.executeInternal(SolutionEngine.java:348) at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:301) at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:180) at org.pentaho.platform.engine.core.system.PentahoSystem.globalStartup(PentahoSystem.java:891) at org.pentaho.platform.engine.core.system.PentahoSystem$2$1.call(PentahoSystem.java:844) at org.pentaho.platform.engine.core.system.PentahoSystem$2$1.call(PentahoSystem.java:841) at org.pentaho.platform.engine.core.system.PentahoSystem.runAsSystem(PentahoSystem.java:353) at org.pentaho.platform.engine.core.system.PentahoSystem.access$100(PentahoSystem.java:71) at org.pentaho.platform.engine.core.system.PentahoSystem$2.run(PentahoSystem.java:841) at java.lang.Thread.run(Thread.java:722) Caused by: javax.jcr.LoginException: LoginModule ignored Credentials at org.apache.jackrabbit.core.RepositoryImpl.login(RepositoryImpl.java:1493) at org.pentaho.platform.repository2.unified.jcr.sejcr.CredentialsStrategySessionFactory.getSession(CredentialsStrategySessionFactory.java:324) at org.springframework.extensions.jcr.jackrabbit.LocalTransactionManager.doBegin(LocalTransactionManager.java:120) ... 23 more Caused by: javax.security.auth.login.FailedLoginException: LoginModule ignored Credentials at org.apache.jackrabbit.core.security.authentication.LocalAuthContext.login(LocalAuthContext.java:87) at org.apache.jackrabbit.core.RepositoryImpl.login(RepositoryImpl.java:1465) ... 25 more Exception in thread "Thread-35" java.lang.RuntimeException: org.pentaho.platform.api.repository2.unified.UnifiedRepositoryException: exception while getting fil e with path "/public/bi-developers/Secure/global-department-list.xaction" Reference number: 8ef5d81e-0c85-4563-99ae-800000cee96a at org.pentaho.platform.engine.core.system.PentahoSystem$2.run(PentahoSystem.java:849) at java.lang.Thread.run(Thread.java:722) Caused by: org.pentaho.platform.api.repository2.unified.UnifiedRepositoryException: exception while getting file with path "/public/bi-developers/Secure/global- department-list.xaction" Reference number: 8ef5d81e-0c85-4563-99ae-800000cee96a at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.callLogThrow(ExceptionLoggingDecorator.java:483) at org.pentaho.platform.repository2.unified.ExceptionLoggingDecorator.getFile(ExceptionLoggingDecorator.java:242) at org.pentaho.platform.engine.services.ActionSequenceJCRHelper.getSolutionDocument(ActionSequenceJCRHelper.java:104) at org.pentaho.platform.engine.services.ActionSequenceJCRHelper.getActionSequence(ActionSequenceJCRHelper.java:89) at org.pentaho.platform.engine.services.solution.SolutionEngine.createActionSequence(SolutionEngine.java:426) at org.pentaho.platform.engine.services.solution.SolutionEngine.executeInternal(SolutionEngine.java:348) at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:301) at org.pentaho.platform.engine.services.solution.SolutionEngine.execute(SolutionEngine.java:180) at org.pentaho.platform.engine.core.system.PentahoSystem.globalStartup(PentahoSystem.java:891) at org.pentaho.platform.engine.core.system.PentahoSystem$2$1.call(PentahoSystem.java:844) at org.pentaho.platform.engine.core.system.PentahoSystem$2$1.call(PentahoSystem.java:841) at org.pentaho.platform.engine.core.system.PentahoSystem.runAsSystem(PentahoSystem.java:353) at org.pentaho.platform.engine.core.system.PentahoSystem.access$100(PentahoSystem.java:71) at org.pentaho.platform.engine.core.system.PentahoSystem$2.run(PentahoSystem.java:841) ... 1 more From my personal experience, this is something which is going to affect plenty of customers and will have to be addressed ASAP.

    Pentaho BI Platform Tracking | 3 years ago | Michael D'Amour
    org.springframework.transaction.CannotCreateTransactionException: Could not open JCR session for transaction; nested exception is javax.jcr.LoginException: Logi nModule ignored Credentials
  6. 0

    New Hippo install; Essentials error

    Google Groups | 1 month ago | scott.wannarka
    javax.jcr.LoginException: Wrong username or password.

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.jcr.AccessDeniedException

      Not allowed to access Workspace default

      at org.apache.jackrabbit.core.security.DefaultAccessManager.init()
    2. Jackrabbit Core
      RepositoryImpl.login
      1. org.apache.jackrabbit.core.security.DefaultAccessManager.init(DefaultAccessManager.java:159)
      2. org.apache.jackrabbit.core.DefaultSecurityManager.getAccessManager(DefaultSecurityManager.java:280)
      3. org.apache.jackrabbit.core.SessionImpl.createAccessManager(SessionImpl.java:356)
      4. org.apache.jackrabbit.core.SessionImpl.<init>(SessionImpl.java:273)
      5. org.apache.jackrabbit.core.SessionImpl.<init>(SessionImpl.java:239)
      6. org.apache.jackrabbit.core.XASessionImpl.<init>(XASessionImpl.java:101)
      7. org.apache.jackrabbit.core.RepositoryImpl.createSessionInstance(RepositoryImpl.java:1613)
      8. org.apache.jackrabbit.core.RepositoryImpl.createSession(RepositoryImpl.java:956)
      9. org.apache.jackrabbit.core.RepositoryImpl.login(RepositoryImpl.java:1501)
      9 frames