cancel
Showing results for 
Search instead for 
Did you mean: 

What is userUsageBootstrapDetail ??

geoffrey1211
Champ in-the-making
Champ in-the-making
I've gotten the NTLM SSO working against an active directory server, but after my client moved around the machine within the network, or maybe did some changes to the AD, when I start up alfresco, I see the following exceptions, and my SSO doesn't work anymore.

One interesting thing is that I can still access individual service webscript pages, CIFS, and LDAP synchronization - just not the main alfresco dashboard site because of the failed login. Could someone please give me at least one clue to fix this?  I tried searching on this forum using the keyword "userUsageBootstrapDetail" but the silly search wouldn't let me.

In stdout:

10:21:21,361  WARN  [authentication.ldap.LDAPInitialDirContextFactoryImpl] LDAP server supports anonymous bind ldap://192.168.1.10:389
10:21:21,377  INFO  [authentication.ldap.LDAPInitialDirContextFactoryImpl] LDAP server does not fall back to anonymous bind for a string uid and password at ldap://192.168.1.10:389
10:21:21,392  INFO  [authentication.ldap.LDAPInitialDirContextFactoryImpl] LDAP server does not fall back to anonymous bind for a simple dn and password at ldap://192.168.1.10:389
10:21:21,392  INFO  [authentication.ldap.LDAPInitialDirContextFactoryImpl] LDAP server does not fall back to anonymous bind for known principal and invalid credentials at ldap://192.168.1.10:389
10:21:22,690  ERROR [quartz.core.JobRunShell] Job DEFAULT.userUsageBootstrapDetail threw an unhandled Exception:
java.lang.NullPointerException
   at org.alfresco.repo.search.IndexerComponent.updateNode(IndexerComponent.java:79)
   at org.alfresco.repo.node.index.NodeIndexer.indexUpdateNode(NodeIndexer.java:99)
   at org.alfresco.repo.node.db.DbNodeServiceImpl.setProperty(DbNodeServiceImpl.java:1122)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
   at org.alfresco.repo.transaction.SingleEntryTransactionResourceInterceptor.invokeInternal(SingleEntryTransactionResourceInterceptor.java:163)
   at org.alfresco.repo.transaction.SingleEntryTransactionResourceInterceptor.invoke(SingleEntryTransactionResourceInterceptor.java:138)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
   at $Proxy7.setProperty(Unknown Source)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
   at org.alfresco.repo.tenant.MultiTNodeServiceInterceptor.invoke(MultiTNodeServiceInterceptor.java:110)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
   at $Proxy7.setProperty(Unknown Source)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:221)
   at $Proxy8.setProperty(Unknown Source)
   at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterceptor.java:252)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRefPropertyMethodInterceptor.java:265)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRefPropertyMethodInterceptor.java:265)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
   at $Proxy7.setProperty(Unknown Source)
   at org.alfresco.repo.usage.ContentUsageImpl.setUserStoredUsage(ContentUsageImpl.java:408)
   at org.alfresco.repo.usage.UserUsageTrackingComponent$6.execute(UserUsageTrackingComponent.java:476)
   at org.alfresco.repo.usage.UserUsageTrackingComponent$6.execute(UserUsageTrackingComponent.java:467)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:320)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:246)
   at org.alfresco.repo.usage.UserUsageTrackingComponent.updateUsages(UserUsageTrackingComponent.java:486)
   at org.alfresco.repo.usage.UserUsageTrackingComponent.recalculateUsages(UserUsageTrackingComponent.java:452)
   at org.alfresco.repo.usage.UserUsageTrackingComponent.calculateMissingUsages(UserUsageTrackingComponent.java:352)
   at org.alfresco.repo.usage.UserUsageTrackingComponent.bootstrapInternal(UserUsageTrackingComponent.java:190)
   at org.alfresco.repo.usage.UserUsageTrackingComponent.bootstrap(UserUsageTrackingComponent.java:156)
   at org.alfresco.repo.usage.UserUsageBootstrapJob.execute(UserUsageBootstrapJob.java:54)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)

In catalina:

Apr 9, 2009 10:14:48 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet externalAccess threw exception
net.sf.acegisecurity.AuthenticationServiceException: Failed to open passthru auth session
   at org.alfresco.repo.security.authentication.ntlm.NTLMAuthenticationComponentImpl.authenticatePassthru(NTLMAuthenticationComponentImpl.java:833)
   at org.alfresco.repo.security.authentication.ntlm.NTLMAuthenticationComponentImpl.authenticate(NTLMAuthenticationComponentImpl.java:604)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:296)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:177)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)
   at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
   at $Proxy21.authenticate(Unknown Source)
   at org.alfresco.repo.webdav.auth.BaseNTLMAuthenticationFilter.processType1(BaseNTLMAuthenticationFilter.java:435)
   at org.alfresco.repo.webdav.auth.BaseNTLMAuthenticationFilter.doFilter(BaseNTLMAuthenticationFilter.java:335)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
   at java.lang.Thread.run(Unknown Source)
3 REPLIES 3

geoffrey1211
Champ in-the-making
Champ in-the-making
Two pieces of info:

1.  If I use mozilla to access dashboard, it will prompt me for the credentials, and then no problem.  The problem is with IE specifically.

2.  I changed the window domain password for this user today.  Is there anyway to refresh the password cache (which I have no idea where - I already cleared out IE's and my local machine's passwords)  SO THAT the bootstrap job doesn't fail?

Please help!

geoffrey1211
Champ in-the-making
Champ in-the-making
OK, I've changed the "startDelayMinutes" property of "scheduled-jobs-context.xml" to 2 minutes, and I don't see the exception anymore - but I still cannot login from IE.

I am going to try this again tomorrow, assuming it's a cache problem.  I've already cleared the cache for IE and local windows.  Please let me know if you have any clue on how to fix this so that I don't have to hope it will magically get fixed tomorrow.  I'd appreciate it.

Attached log from both IE and firefox login attempts for comparison:
IE:

12:07:00,949 User:guest DEBUG [app.servlet.NTLMAuthenticationFilter] New NTLM auth request from 127.0.0.1 (127.0.0.1:2054)
12:07:00,949 User:guest DEBUG [app.servlet.NTLMAuthenticationFilter] Received type1 [Type1:0xa208b207,Domain:MYDOMAIN,Wks:D8XW0Z91]
12:07:00,949 User:guest DEBUG [app.servlet.NTLMAuthenticationFilter] Client domain MYDOMAIN
12:07:01,059 User:guest DEBUG [app.servlet.NTLMAuthenticationFilter] Processing request: /alfresco/wcservice/api/search/keyword/description.xml SID:786F93F8A949EE00C925EDB28A3B3674
12:07:01,059 User:guest DEBUG [app.servlet.NTLMAuthenticationFilter] Found webscript with no authentication - set NO_AUTH_REQUIRED flag.
12:07:01,059 User:guest DEBUG [app.servlet.NTLMAuthenticationFilter] Authentication not required (filter), chaining …
Firefox:

12:16:45,878 User:ttorsney DEBUG [app.servlet.NTLMAuthenticationFilter] New NTLM auth request from 127.0.0.1 (127.0.0.1:2087)
12:16:45,878 User:ttorsney DEBUG [app.servlet.NTLMAuthenticationFilter] Received type1 [Type1:0x88207,Domain:<NotSet>,Wks:<NotSet>]
12:16:45,878 User:ttorsney DEBUG [app.servlet.NTLMAuthenticationFilter] Client domain null
12:16:45,988 User:ttorsney DEBUG [app.servlet.NTLMAuthenticationFilter] Sending NTLM type2 to client - [Type2:0x203,Target:D8XW0Z91A,Ch:d61b139a18fe15b5]
12:16:45,988 User:ttorsney DEBUG [app.servlet.NTLMAuthenticationFilter] Received type3 [Type3:,LM:d67e75186bd2097b523ac78ce66760157b7b27d62f2bcafb,NTLM:d67e75186bd2097b523ac78ce66760157b7b27d62f2bcafb,Dom:,User:ttorsney,Wks:D8XW0Z91]
12:16:45,988 User:ttorsney DEBUG [app.servlet.NTLMAuthenticationFilter] Updated cached NTLM details
12:16:45,988 User:ttorsney DEBUG [app.servlet.NTLMAuthenticationFilter] User logged on via NTLM, [ttorsney,Wks:D8XW0Z91,Dom:,AuthSrv:D8XW0Z91A,Thu Apr 09 12:16:45 EDT 2009]

zapatdlo
Champ in-the-making
Champ in-the-making
Hi geoffrey1211,

did you found solution to your problem?
I'm facing the same issue and can't find what is the problem. On boot up system don't show any errors and configuration looks good, but can't auto login on IE and Firefox:
net.sf.acegisecurity.AuthenticationServiceException: Failed to open passthru auth session

Hide Details

net.sf.acegisecurity.AuthenticationServiceException: Failed to open passthru auth session
at org.alfresco.repo.security.authentication.ntlm.NTLMAuthenticationComponentImpl.authenticatePassthru(NTLMAuthenticationComponentImpl.java:783)
at org.alfresco.repo.security.authentication.ntlm.NTLMAuthenticationComponentImpl.authenticate(NTLMAuthenticationComponentImpl.java:554)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
at $Proxy198.authenticate(Unknown Source)
at org.alfresco.repo.webdav.auth.BaseNTLMAuthenticationFilter.processType1(BaseNTLMAuthenticationFilter.java:395)
at org.alfresco.repo.webdav.auth.BaseNTLMAuthenticationFilter.doFilter(BaseNTLMAuthenticationFilter.java:307)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:103)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.