Error 500 Share 3.3 comunity edition
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2010 10:41 AM
Hi,
I've installed Alfresco 3.3 Comunity Edition in a full mode install in a Windows Vista SP1 32 bits. Only I've changed de Tomcat HTTP port from 8080 to 8888.
When I try to access to Share through the URL http://localhost:8888/share I find the next exception:
Notice I find the "slingshot.site.configuration.xml" file in the application share\WEB-INF\classes\alfresco\site-data\configurations.
Besides I've wroten the file <TOMCAT_HOME>\shared\classes\alfresco\web-extension\webscript-framework-config-custom.xml in order to change the endpoint URL to access to alfresco from share.
It doesn't work.
Can enybody help me please?
I've installed Alfresco 3.3 Comunity Edition in a full mode install in a Windows Vista SP1 32 bits. Only I've changed de Tomcat HTTP port from 8080 to 8888.
When I try to access to Share through the URL http://localhost:8888/share I find the next exception:
Estado HTTP 500 -org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.extensions.surf.exception.PlatformRuntimeException: 03200000 Unable to retrieve object: slingshot.site.configuration of type: configuration org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:659) org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:552) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717)root causeorg.springframework.extensions.surf.exception.PlatformRuntimeException: 03200000 Unable to retrieve object: slingshot.site.configuration of type: configuration org.springframework.extensions.surf.ObjectPersistenceService.getObject(ObjectPersistenceService.java:130) org.springframework.extensions.surf.ModelObjectService.getObject(ModelObjectService.java:507) org.springframework.extensions.surf.ModelObjectService.getConfiguration(ModelObjectService.java:135) org.springframework.extensions.surf.site.SiteUtil.getSiteConfiguration(SiteUtil.java:99) org.springframework.extensions.surf.support.AbstractRequestContext.getSiteConfiguration(AbstractRequestContext.java:138) org.springframework.extensions.surf.mvc.ThemeInterceptor.preHandle(ThemeInterceptor.java:66) org.springframework.web.servlet.handler.WebRequestHandlerInterceptorAdapter.preHandle(WebRequestHandlerInterceptorAdapter.java:54) org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:761) org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716) org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:647) org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:552) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717)root causeorg.springframework.extensions.surf.exception.ModelObjectPersisterException: Error loading object id: slingshot.site.configuration from persister id: webframework.slingshot.persister.remote org.springframework.extensions.surf.persister.MultiObjectPersister.getObject(MultiObjectPersister.java:102) org.springframework.extensions.surf.ObjectPersistenceService.getObject(ObjectPersistenceService.java:126) org.springframework.extensions.surf.ModelObjectService.getObject(ModelObjectService.java:507) org.springframework.extensions.surf.ModelObjectService.getConfiguration(ModelObjectService.java:135) org.springframework.extensions.surf.site.SiteUtil.getSiteConfiguration(SiteUtil.java:99) org.springframework.extensions.surf.support.AbstractRequestContext.getSiteConfiguration(AbstractRequestContext.java:138) org.springframework.extensions.surf.mvc.ThemeInterceptor.preHandle(ThemeInterceptor.java:66) org.springframework.web.servlet.handler.WebRequestHandlerInterceptorAdapter.preHandle(WebRequestHandlerInterceptorAdapter.java:54) org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:761) org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716) org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:647) org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:552) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717)root causeorg.springframework.extensions.surf.exception.ModelObjectPersisterException: Failure to load model object for path: alfresco/site-data/configurations/slingshot.site.configuration.xml org.springframework.extensions.surf.persister.PathStoreObjectPersister.getObject(PathStoreObjectPersister.java:251) org.springframework.extensions.surf.persister.MultiObjectPersister.getObject(MultiObjectPersister.java:98) org.springframework.extensions.surf.ObjectPersistenceService.getObject(ObjectPersistenceService.java:126) org.springframework.extensions.surf.ModelObjectService.getObject(ModelObjectService.java:507) org.springframework.extensions.surf.ModelObjectService.getConfiguration(ModelObjectService.java:135) org.springframework.extensions.surf.site.SiteUtil.getSiteConfiguration(SiteUtil.java:99) org.springframework.extensions.surf.support.AbstractRequestContext.getSiteConfiguration(AbstractRequestContext.java:138) org.springframework.extensions.surf.mvc.ThemeInterceptor.preHandle(ThemeInterceptor.java:66) org.springframework.web.servlet.handler.WebRequestHandlerInterceptorAdapter.preHandle(WebRequestHandlerInterceptorAdapter.java:54) org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:761) org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716) org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:647) org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:552) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717)root causejava.io.IOException: Unable to test document path: alfresco/site-data/configurations/slingshot.site.configuration.xml in remote store: alfresco due to error: 404 org.springframework.extensions.webscripts.RemoteStore.hasDocument(RemoteStore.java:347) org.springframework.extensions.surf.persister.PathStoreObjectPersister.getObject(PathStoreObjectPersister.java:216) org.springframework.extensions.surf.persister.MultiObjectPersister.getObject(MultiObjectPersister.java:98) org.springframework.extensions.surf.ObjectPersistenceService.getObject(ObjectPersistenceService.java:126) org.springframework.extensions.surf.ModelObjectService.getObject(ModelObjectService.java:507) org.springframework.extensions.surf.ModelObjectService.getConfiguration(ModelObjectService.java:135) org.springframework.extensions.surf.site.SiteUtil.getSiteConfiguration(SiteUtil.java:99) org.springframework.extensions.surf.support.AbstractRequestContext.getSiteConfiguration(AbstractRequestContext.java:138) org.springframework.extensions.surf.mvc.ThemeInterceptor.preHandle(ThemeInterceptor.java:66) org.springframework.web.servlet.handler.WebRequestHandlerInterceptorAdapter.preHandle(WebRequestHandlerInterceptorAdapter.java:54) org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:761) org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716) org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:647) org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:552) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
Notice I find the "slingshot.site.configuration.xml" file in the application share\WEB-INF\classes\alfresco\site-data\configurations.
Besides I've wroten the file <TOMCAT_HOME>\shared\classes\alfresco\web-extension\webscript-framework-config-custom.xml in order to change the endpoint URL to access to alfresco from share.
It doesn't work.
Can enybody help me please?
Labels:
- Labels:
-
Archive
7 REPLIES 7
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2010 12:29 AM
I am also facing the same issue.
If you have found solution, please let me know. Appreciate your help!
If you have found solution, please let me know. Appreciate your help!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2010 11:24 PM
I am also facing the same issue.
I've wroten the file <TOMCAT_HOME>\shared\classes\alfresco\web-extension\webscript-framework-config-custom.xml in order to change the endpoint URL to access to alfresco from share but, it doesn't work either.
In a linux machine and mysql database 'Alfresco' (3.3) is working fine, but 'share' show log,
In my windows machine both 'alfresco and 'share' ( same version 3.3 ) work's fine.
I've wroten the file <TOMCAT_HOME>\shared\classes\alfresco\web-extension\webscript-framework-config-custom.xml in order to change the endpoint URL to access to alfresco from share but, it doesn't work either.
In a linux machine and mysql database 'Alfresco' (3.3) is working fine, but 'share' show log,
In my windows machine both 'alfresco and 'share' ( same version 3.3 ) work's fine.
java.io.IOException: Unable to test document path: alfresco/site-data/configurations/default.site.configuration.xml in remote store: alfresco due to error: 404 org.springframework.extensions.webscripts.RemoteStore.hasDocument(RemoteStore.java:347) org.springframework.extensions.surf.persister.PathStoreObjectPersister.getObject(PathStoreObjectPersister.java:216) org.springframework.extensions.surf.persister.MultiObjectPersister.getObject(MultiObjectPersister.java:98) org.springframework.extensions.surf.ObjectPersistenceService.getObject(ObjectPersistenceService.java:126) org.springframework.extensions.surf.ModelObjectService.getObject(ModelObjectService.java:507) org.springframework.extensions.surf.ModelObjectService.getConfiguration(ModelObjectService.java:135) org.springframework.extensions.surf.site.SiteUtil.getSiteConfiguration(SiteUtil.java:99) org.springframework.extensions.surf.support.AbstractRequestContext.getSiteConfiguration(AbstractRequestContext.java:138) org.springframework.extensions.surf.mvc.ThemeInterceptor.preHandle(ThemeInterceptor.java:66) org.springframework.web.servlet.handler.WebRequestHandlerInterceptorAdapter.preHandle(WebRequestHandlerInterceptorAdapter.java:54) org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:761) org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716) org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:647) org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:552) javax.servlet.http.HttpServlet.service(HttpServlet.java:690) javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 11:03 AM
I think the issue is that Share does not know where to find your Alfresco server - i.e. the port.
The file <TOMCAT_HOME>\shared\classes\alfresco\web-extension\webscript-framework-config-custom.xml
in 3.3 is now called: share-config-custom.xml (in the same location)
Unfortunately this is a side-effect of contributing Surf to SpringSource - many files got renamed, sorry for the inconvenience.
Rename your custom config as above and make sure the port settings are correct in it.
Cheers,
Kev
The file <TOMCAT_HOME>\shared\classes\alfresco\web-extension\webscript-framework-config-custom.xml
in 3.3 is now called: share-config-custom.xml (in the same location)
Unfortunately this is a side-effect of contributing Surf to SpringSource - many files got renamed, sorry for the inconvenience.
Rename your custom config as above and make sure the port settings are correct in it.
Cheers,
Kev
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2010 04:45 AM
Hi,
is "share-config-custom.xml" the only file we are supposed to change? its still not working for share.
is "share-config-custom.xml" the only file we are supposed to change? its still not working for share.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2010 09:39 AM
I downloaded and installed Alfresco Community Edition 3.3 yesterday and got the same error with Share that is mentioned above.
I attempted your suggested fix, renaming "share-config-custom.xml" to "webscript-framework-config-custom.xml", and editing the file to point to the correct port. I then restarted Alfresco but it still give me the error:
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.extensions.surf.exception.PlatformRuntimeException: 04180001 Unable to retrieve object: slingshot.site.configuration of type: configuration
What is missing? Also, it would be nice if the error messages were a little less cryptic, something like "Error: Can not find file 'webscript-framework-config-custom.xml'" or something.
I attempted your suggested fix, renaming "share-config-custom.xml" to "webscript-framework-config-custom.xml", and editing the file to point to the correct port. I then restarted Alfresco but it still give me the error:
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.extensions.surf.exception.PlatformRuntimeException: 04180001 Unable to retrieve object: slingshot.site.configuration of type: configuration
What is missing? Also, it would be nice if the error messages were a little less cryptic, something like "Error: Can not find file 'webscript-framework-config-custom.xml'" or something.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2010 09:57 AM
It is a fault with the installer - see https://issues.alfresco.com/jira/browse/ALF-2451
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2010 02:49 PM
