Help on HTTP Error 500 & Change default port no. in Share
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2010 02:47 AM
Hi,
We have installed Alfresco Community Edition 3.3 on Windows Server 2008 OS.
While installing Alfresco, we have given the Tomcat a different port no. ( 8099 ).
The issue is that after installation, Alfresco Share isn't accessible.
The Alfresco web client works fine. But when we tried opening up Alfresco Share page, it threw the following exception:
****************************
exception
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.extensions.surf.exception.PlatformRuntimeException: 06090000 Unable to retrieve object: slingshot.site.configuration of type: configuration
root cause
org.springframework.extensions.surf.exception.PlatformRuntimeException: 06090000 Unable to retrieve object: slingshot.site.configuration of type: configuration
root cause
org.springframework.extensions.surf.exception.ModelObjectPersisterException: Failure to load model object for path: alfresco/site-data/configurations/slingshot.site.configuration.xml
root cause
java.io.IOException: Unable to test document path: alfresco/site-data/configurations/slingshot.site.configuration.xml in remote store: alfresco due to error: 404
***************************
We have gone thru some of the responses over this issue in this forum,
and changed the port no in the file: " $_Alfresco\tomcat\shared\classes\alfresco\web-extension\share-config-custom.xml " to 8099 as well. Still it odesnt work.
Would be really great if someone could help resolving this issue.
It would be great if anyone could reply with the process ( if any ) to change the default port settings so that both these apps can run simultaneously without any conflict.
Thanks,
Shiv
We have installed Alfresco Community Edition 3.3 on Windows Server 2008 OS.
While installing Alfresco, we have given the Tomcat a different port no. ( 8099 ).
The issue is that after installation, Alfresco Share isn't accessible.
The Alfresco web client works fine. But when we tried opening up Alfresco Share page, it threw the following exception:
****************************
exception
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.extensions.surf.exception.PlatformRuntimeException: 06090000 Unable to retrieve object: slingshot.site.configuration of type: configuration
root cause
org.springframework.extensions.surf.exception.PlatformRuntimeException: 06090000 Unable to retrieve object: slingshot.site.configuration of type: configuration
root cause
org.springframework.extensions.surf.exception.ModelObjectPersisterException: Failure to load model object for path: alfresco/site-data/configurations/slingshot.site.configuration.xml
root cause
java.io.IOException: Unable to test document path: alfresco/site-data/configurations/slingshot.site.configuration.xml in remote store: alfresco due to error: 404
***************************
We have gone thru some of the responses over this issue in this forum,
and changed the port no in the file: " $_Alfresco\tomcat\shared\classes\alfresco\web-extension\share-config-custom.xml " to 8099 as well. Still it odesnt work.
Would be really great if someone could help resolving this issue.
It would be great if anyone could reply with the process ( if any ) to change the default port settings so that both these apps can run simultaneously without any conflict.
Thanks,
Shiv
Labels:
- Labels:
-
Archive
4 REPLIES 4

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2010 07:20 AM
Hi Shiv,
If you've changed the port in which alfresco is running then the webscripts are listening in that same port. Alfresco Share uses Alfresco's webscript, so you'll have to change the configuration so that share send requests to the proper port number.
For that purpose you have to change the webscript-framework-config-custom.xml file in TOMCAT_HOME/shared/classes/alfresco/web-extension
You'll find a webscript-framework-config-custom.xml.sample file, rename it as webscript-framework-config-custom.xml and make the proper changes
Hope this helps
If you've changed the port in which alfresco is running then the webscripts are listening in that same port. Alfresco Share uses Alfresco's webscript, so you'll have to change the configuration so that share send requests to the proper port number.
For that purpose you have to change the webscript-framework-config-custom.xml file in TOMCAT_HOME/shared/classes/alfresco/web-extension
You'll find a webscript-framework-config-custom.xml.sample file, rename it as webscript-framework-config-custom.xml and make the proper changes
Hope this helps
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2010 12:36 AM
Thanks for your help. We have renamed the file and made appropriate changes to the port numbers . But still the problem persists when we open the Share URL. it throws the following exception:
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.extensions.surf.exception.PlatformRuntimeException: 06120001 Unable to retrieve object: slingshot.site.configuration of type: configuration
root cause
org.springframework.extensions.surf.exception.PlatformRuntimeException: 06120001 Unable to retrieve object: slingshot.site.configuration of type: configuration
root cause
org.springframework.extensions.surf.exception.ModelObjectPersisterException: Error loading object id: slingshot.site.configuration from persister id: webframework.slingshot.persister.remote
root cause
org.springframework.extensions.surf.exception.ModelObjectPersisterException: Failure to load model object for path: alfresco/site-data/configurations/slingshot.site.configuration.xml
root cause
java.io.IOException: Unable to test document path: alfresco/site-data/configurations/slingshot.site.configuration.xml in remote store: alfresco due to error: 404
i appreciate your help and looking forward for your solution.
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.extensions.surf.exception.PlatformRuntimeException: 06120001 Unable to retrieve object: slingshot.site.configuration of type: configuration
root cause
org.springframework.extensions.surf.exception.PlatformRuntimeException: 06120001 Unable to retrieve object: slingshot.site.configuration of type: configuration
root cause
org.springframework.extensions.surf.exception.ModelObjectPersisterException: Error loading object id: slingshot.site.configuration from persister id: webframework.slingshot.persister.remote
root cause
org.springframework.extensions.surf.exception.ModelObjectPersisterException: Failure to load model object for path: alfresco/site-data/configurations/slingshot.site.configuration.xml
root cause
java.io.IOException: Unable to test document path: alfresco/site-data/configurations/slingshot.site.configuration.xml in remote store: alfresco due to error: 404
i appreciate your help and looking forward for your solution.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2013 08:34 AM
Dear Sirs,
I've just installed Alfresco 3.3 to explore the functionalities of it in my Win7 notebook. Installation was ok, MYSQL installation was also ok, but when I try to launch Alfresco, I got the error (see below) when I type http://localhost:8080/share.
I changed the ports in Alfresco/Tomcat/shared/conf/server to 1234, as well in Alfresco/Tomcat/shared/classes/alfresco/web-extension/share-config-custom to 1234, but I still get the same error. Nothing happens.
I checked a lot of other responses and apparently see no other solution to this problem.
Any help is greatly appreciated!
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.extensions.surf.exception.PlatformRuntimeException: 09310000 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 cause
org.springframework.extensions.surf.exception.PlatformRuntimeException: 09310000 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 cause
org.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 cause
org.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 cause
java.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)
I've just installed Alfresco 3.3 to explore the functionalities of it in my Win7 notebook. Installation was ok, MYSQL installation was also ok, but when I try to launch Alfresco, I got the error (see below) when I type http://localhost:8080/share.
I changed the ports in Alfresco/Tomcat/shared/conf/server to 1234, as well in Alfresco/Tomcat/shared/classes/alfresco/web-extension/share-config-custom to 1234, but I still get the same error. Nothing happens.
I checked a lot of other responses and apparently see no other solution to this problem.
Any help is greatly appreciated!
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.extensions.surf.exception.PlatformRuntimeException: 09310000 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 cause
org.springframework.extensions.surf.exception.PlatformRuntimeException: 09310000 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 cause
org.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 cause
org.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 cause
java.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)
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2010 03:48 AM
Are you sure Tomcat's configured to look in the shared/classes folder? Tomcat6 isn't by default. In catalina.properties
Mike
shared.loader=${catalina.base}/shared/classes,${catalina.base}/shared/lib/*.jar
Mike
