Alfresco SHARE NTLM + SSO is not working for 3.2r2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-15-2010 11:39 AM
java.lang.NullPointerException
org.alfresco.web.framework.RemoteStoreModelObjectPersister.getCache(RemoteStoreModelObjectPersister.java:107)
org.alfresco.web.framework.StoreModelObjectPersister.cacheGet(StoreModelObjectPersister.java:532)
org.alfresco.web.framework.StoreModelObjectPersister.getObjectByPath(StoreModelObjectPersister.java:127)
org.alfresco.web.framework.StoreModelObjectPersister.getObject(StoreModelObjectPersister.java:108)
org.alfresco.web.framework.MultiModelObjectPersister.getObject(MultiModelObjectPersister.java:106)
org.alfresco.web.framework.ModelObjectManager.getObject(ModelObjectManager.java:136)
org.alfresco.web.site.Model.getObject(Model.java:513)
org.alfresco.web.site.Model.getPage(Model.java:165)
org.alfresco.web.site.SlingshotPageMapper.executeMapper(SlingshotPageMapper.java:188)
org.alfresco.web.site.AbstractPageMapper.execute(AbstractPageMapper.java:62)
org.alfresco.web.site.DefaultRequestContextFactory.newInstance(DefaultRequestContextFactory.java:109)
org.alfresco.web.site.FrameworkHelper.initRequestContext(FrameworkHelper.java:202)
org.alfresco.web.site.servlet.NTLMAuthenticationFilter.doFilter(NTLMAuthenticationFilter.java:147)
I followed the wiki to set this up. All I did was to uncomment the filter in web.xml and edit the \tomcat\shared\classes\alfresco\web-extension\webscript-framework-config-custom.xml as stated in the wiki.
I do not see any error when the share application is deployed.
I have been searching the forums and found out that https://issues.alfresco.com/jira/browse/ALFCOM-2579. There was a similar issue opened while back which is now closed. I am trying to figure out if Share 3.2r2 is suffering from the same issue. I tried to locate the RemoteStoreModelObjectPersister.java file in the public SVN repo but I could not. I cannot find a project called web-framework under projects directory.
thanks in advance.
- Labels:
-
Archive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2010 09:41 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2010 12:19 PM
…/org/alfresco/web/framework/RemoteStoreModelObjectPersister.class
but with the current bug. However, I don't see the class file anywhere in the alfresco installation. Is this class new?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2010 01:31 PM
tomcat/webapps/mobile/WEB-INF/lib/alfresco-web-framework-3.2r2.jar
2975 11-12-09 16:50 org/alfresco/web/framework/RemoteStoreModelObjectPersister.class
and
tomcat/webapps/share/WEB-INF/lib/alfresco-web-framework-3.2r2.jar
2975 11-12-09 16:50 org/alfresco/web/framework/RemoteStoreModelObjectPersister.class
Since kevinr mentioned Share, it looks like it should at least go in that jar. Should it be replaced in the mobile one as well?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-02-2010 02:29 PM
Should it be replaced in the mobile one as well?If you can get NTLM running on the iPhone 😉
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-01-2010 02:37 PM
java.lang.NullPointerException
org.alfresco.web.framework.RemoteStoreModelObjectPersister.getCache(RemoteStoreModelObjectPersister.java:107)
org.alfresco.web.framework.StoreModelObjectPersister.cacheGet(StoreModelObjectPersister.java:532)
org.alfresco.web.framework.StoreModelObjectPersister.getObjectByPath(StoreModelObjectPersister.java:127)
org.alfresco.web.framework.StoreModelObjectPersister.getObject(StoreModelObjectPersister.java:108)
org.alfresco.web.framework.MultiModelObjectPersister.getObject(MultiModelObjectPersister.java:106)
org.alfresco.web.framework.ModelObjectManager.getObject(ModelObjectManager.java:136)
org.alfresco.web.site.Model.getObject(Model.java:513)
org.alfresco.web.site.Model.getPage(Model.java:165)
org.alfresco.web.site.SlingshotPageMapper.executeMapper(SlingshotPageMapper.java:188)
org.alfresco.web.site.AbstractPageMapper.execute(AbstractPageMapper.java:62)
org.alfresco.web.site.DefaultRequestContextFactory.newInstance(DefaultRequestContextFactory.java:109)
org.alfresco.web.site.FrameworkHelper.initRequestContext(FrameworkHelper.java:202)
org.alfresco.web.site.servlet.NTLMAuthenticationFilter.doFilter(NTLMAuthenticationFilter.java:147)
So I downloaded the patch, unzipped the file, retained the directory structure and threw it under "$TOMCAT_HOME$/shared/classes". I also added it to the alfresco-web-framework-3.2r2.jar file. However I am still getting the above error. Should I be doing something with the sharesso.patch file as well?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-01-2010 03:00 PM
?
I think that the 'child first' classloading behaviour of Tomcat 6 may mean that the shared/classes idea may not work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-01-2010 03:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-26-2010 05:22 PM
I have looked around and the apache configuration. I am not really sure why this is not working on IE and Safari but working fine in FireFox. I am guessing it has to do how these broswers handling certain protocols. Does anyone have any guidance on this subject?
thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-12-2010 06:15 AM
Here is the updated config: http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems#Alfresco_Share_SSO_using_NTLM
Cheers,
Kev
