01-23-2009 09:53 AM
02-13-2009 01:45 PM
HTTP Status 500 -
——————————————————————————–
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.alfresco.error.AlfrescoRuntimeException: Unable to retrieve object: site-index of type: page
org.alfresco.web.framework.ModelObjectManager.getObject(ModelObjectManager.java:140)
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:197)
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:188)
org.alfresco.web.site.servlet.NTLMAuthenticationFilter.doFilter(NTLMAuthenticationFilter.java:144)
root cause
org.alfresco.web.framework.exception.ModelObjectPersisterException: Error loading object id: site-index from persister id: RemoteStore_alfresco/site-data/pages_page
org.alfresco.web.framework.MultiModelObjectPersister.getObject(MultiModelObjectPersister.java:110)
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:197)
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:188)
org.alfresco.web.site.servlet.NTLMAuthenticationFilter.doFilter(NTLMAuthenticationFilter.java:144)
root cause
org.alfresco.web.framework.exception.ModelObjectPersisterException: Failure to load model object for path: site-index.xml
org.alfresco.web.framework.StoreModelObjectPersister.getObjectByPath(StoreModelObjectPersister.java:170)
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:197)
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:188)
org.alfresco.web.site.servlet.NTLMAuthenticationFilter.doFilter(NTLMAuthenticationFilter.java:144)
root cause
java.lang.IllegalArgumentException: UserId is mandatory.
org.alfresco.connector.ConnectorService.getCredentialVault(ConnectorService.java:510)
org.alfresco.connector.ConnectorService.getCredentialVault(ConnectorService.java:491)
org.alfresco.web.site.FrameworkHelper.getCredentialVault(FrameworkHelper.java:296)
org.alfresco.web.site.FrameworkHelper.getCredentialVault(FrameworkHelper.java:310)
org.alfresco.web.site.AbstractRequestContext.getCredentialVault(AbstractRequestContext.java:435)
org.alfresco.web.framework.WebFrameworkConnectorProvider.provide(WebFrameworkConnectorProvider.java:80)
org.alfresco.web.scripts.RemoteStore.getConnector(RemoteStore.java:739)
org.alfresco.web.scripts.RemoteStore.callGet(RemoteStore.java:693)
org.alfresco.web.scripts.RemoteStore.hasDocument(RemoteStore.java:344)
org.alfresco.web.framework.StoreModelObjectPersister.getObjectByPath(StoreModelObjectPersister.java:136)
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:197)
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:188)
org.alfresco.web.site.servlet.NTLMAuthenticationFilter.doFilter(NTLMAuthenticationFilter.java:144)
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<bean id="authenticationDao" class="org.alfresco.repo.security.authentication.DefaultMutableAuthenticationDao" >
<property name="allowSetEnabled" value="true" />
<property name="allowGetEnabled" value="true" />
<property name="allowDeleteUser" value="true" />
<property name="allowCreateUser" value="true" />
</bean>
<!– The authentication component. –>
<!– Use the passthru authentication component to authenticate using –>
<!– user accounts on one or more Windows servers. –>
<!– Properties that specify the server(s) to use for passthru –>
<!– authentication :- –>
<!– useLocalServer use the local server for authentication –>
<!– domain use domain controllers from the specified domain–>
<!– servers comma delimted list of server addresses or –>
<!– names –>
<bean id="authenticationComponent"
class="org.alfresco.repo.security.authentication.ntlm.NTLMAuthenticationComponentImpl"
parent="authenticationComponentBase">
<property name="useLocalServer">
<value>false</value>
</property>
<property name="servers">
<value>DOMAIN\<IP of DC 1>,DOMAIN\<IP of DC 2>,<IP of DC 1></value>
</property>
<property name="personService">
<ref bean="personService" />
</property>
<property name="nodeService">
<ref bean="nodeService" />
</property>
<property name="transactionService">
<ref bean="transactionComponent" />
</property>
<property name="guestAccess">
<value>false</value>
</property>
</bean>
</beans>
<alfresco-config>
<!– Overriding endpoints to reference a remote Alfresco server –>
<!–
<config evaluator="string-compare" condition="Remote">
<remote>
<endpoint>
<id>alfresco-noauth</id>
<name>Alfresco - unauthenticated access</name>
<description>Access to Alfresco Repository WebScripts that do not require authentication</description>
<connector-id>alfresco</connector-id>
<endpoint-url>http://<server>:8080/alfresco/s</endpoint-url>
<identity>none</identity>
</endpoint>
<endpoint>
<id>alfresco</id>
<name>Alfresco - user access</name>
<description>Access to Alfresco Repository WebScripts that require user authentication</description>
<connector-id>alfresco</connector-id>
<endpoint-url>http://<server>:8080/alfresco/s</endpoint-url>
<identity>user</identity>
</endpoint>
<endpoint>
<id>alfresco-feed</id>
<name>Alfresco Feed</name>
<description>Alfresco Feed - supports basic HTTP authentication</description>
<connector-id>http</connector-id>
<endpoint-url>http://<server>:8080/alfresco/s</endpoint-url>
<basic-auth>true</basic-auth>
<identity>user</identity>
</endpoint>
</remote>
</config>
–>
<!– Overriding endpoints to reference an Alfresco server with NTLM filter enabled –>
<!– NOTE: the NTLM Authentication Filter must be enabled for both repository and web-tier web.xml –>
<!– NOTE: if utilising a load balancer between web-tier and repository cluster, the "sticky –>
<!– sessions" feature of your load balancer must be used when NTLM filter is active –>
<!—->
<config evaluator="string-compare" condition="Remote">
<remote>
<endpoint>
<id>alfresco</id>
<name>Alfresco - user access</name>
<description>Access to Alfresco Repository WebScripts that require user authentication</description>
<connector-id>alfresco</connector-id>
<endpoint-url>http://server.domain.local:8080/alfresco/wcs</endpoint-url>
<identity>user</identity>
<external-auth>true</external-auth>
</endpoint>
</remote>
</config>
<!—->
</alfresco-config>
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>Alfresco Project Slingshot</display-name>
<description>Alfresco Project Slingshot application</description>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
classpath:alfresco/webscript-framework-application-context.xml
classpath:alfresco/web-framework-application-context.xml
classpath:alfresco/web-framework-model-context.xml
classpath:alfresco/slingshot-application-context.xml
</param-value>
<description>Spring config file locations</description>
</context-param>
<!– For NTLM authentication support use the following filter –>
<!– –>
<filter>
<filter-name>Authentication Filter</filter-name>
<filter-class>org.alfresco.web.site.servlet.NTLMAuthenticationFilter</filter-class>
<init-param>
<param-name>endpoint</param-name>
<param-value>alfresco</param-value>
</init-param>
</filter>
<!– –>
<!– For NTLM authentication support enable the following mappings –>
<!– after enabling the NTLMAuthenticationFilter filter class above –>
<!– –>
<filter-mapping>
<filter-name>Authentication Filter</filter-name>
<url-pattern>/page/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>Authentication Filter</filter-name>
<url-pattern>/p/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>Authentication Filter</filter-name>
<url-pattern>/s/*</url-pattern>
</filter-mapping>
<!—->
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<servlet>
<servlet-name>apiServlet</servlet-name>
<servlet-class>org.alfresco.web.scripts.servlet.WebScriptServlet</servlet-class>
<init-param>
<param-name>container</param-name>
<param-value>webframework.webscripts.container</param-value>
</init-param>
<!–
<init-param>
<param-name>authenticator</param-name>
<param-value>webscripts.authenticator.basic</param-value>
</init-param>
–>
</servlet>
<servlet>
<servlet-name>feedApiServlet</servlet-name>
<servlet-class>org.alfresco.web.site.servlet.WebScriptFeedServlet</servlet-class>
<init-param>
<param-name>container</param-name>
<param-value>webframework.webscripts.container</param-value>
</init-param>
<init-param>
<param-name>authenticator</param-name>
<param-value>webscripts.authenticator.delegatingbasic</param-value>
</init-param>
</servlet>
<servlet>
<servlet-name>proxyServlet</servlet-name>
<servlet-class>org.alfresco.web.scripts.servlet.EndPointProxyServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>uriTemplateServlet</servlet-name>
<servlet-class>org.alfresco.web.uri.UriTemplateServlet</servlet-class>
</servlet>
<!– The Web Framework Dispatcher Servlet –>
<servlet>
<servlet-name>pageRendererServlet</servlet-name>
<servlet-class>org.alfresco.web.site.servlet.DispatcherServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>frameworkControlServlet</servlet-name>
<servlet-class>org.alfresco.web.site.servlet.FrameworkControlServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>loginServlet</servlet-name>
<servlet-class>org.alfresco.web.site.servlet.LoginServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>logoutServlet</servlet-name>
<servlet-class>org.alfresco.web.site.servlet.LogoutServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>logoutServlet</servlet-name>
<url-pattern>/logout</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>loginServlet</servlet-name>
<url-pattern>/login/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>apiServlet</servlet-name>
<url-pattern>/service/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>feedApiServlet</servlet-name>
<url-pattern>/feedservice/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>proxyServlet</servlet-name>
<url-pattern>/proxy/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>pageRendererServlet</servlet-name>
<url-pattern>/page/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>pageRendererServlet</servlet-name>
<url-pattern>/p/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>uriTemplateServlet</servlet-name>
<url-pattern>/s/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>frameworkControlServlet</servlet-name>
<url-pattern>/control/*</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>60</session-timeout>
</session-config>
<!– welcome file list precedence order is index.jsp, then index.html –>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
</web-app>
02-16-2009 03:28 AM
02-16-2009 07:32 AM
02-17-2009 03:33 AM
02-23-2009 03:22 PM
02-23-2009 04:06 PM
03-18-2009 01:10 PM
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.alfresco.error.AlfrescoRuntimeException: Unable to retrieve object: site-index of type: page
org.alfresco.web.framework.ModelObjectManager.getObject(ModelObjectManager.java:140)
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:197)
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:188)
org.alfresco.web.site.servlet.NTLMAuthenticationFilter.doFilter(NTLMAuthenticationFilter.java:144)
root cause
org.alfresco.web.framework.exception.ModelObjectPersisterException: Error loading object id: site-index from persister id: RemoteStore_alfresco/site-data/pages_page
org.alfresco.web.framework.MultiModelObjectPersister.getObject(MultiModelObjectPersister.java:110)
org.alfresco.web.framework.ModelObjectManager.getObject(ModelObjectManager.java:136
03-18-2009 01:21 PM
03-18-2009 01:31 PM
Share SSO doesn't work when configured by wiki http://wiki.alfresco.com/wiki/3.0_Configuring_NTLM#Alfresco_Share_SSO_using_NTLMdoes worry me that a change sneaked into Labs that shouldn't have… If so I'll try and find out exactly what it was and provide you with a patched class or new config if at all possible.
Alfresco version is Labs 3 Stable, build 1526. Note that share.war from a bit older nightly releases does work with same config. Also check http://forums.alfresco.com/en/viewtopic.php?f=47&t=16472&st=0&sk=t&sd=a&start=15
03-19-2009 06:48 AM
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.