cancel
Showing results for 
Search instead for 
Did you mean: 

Error message 'HTTP Status 500'

xwu
Champ in-the-making
Champ in-the-making
Hi, guys,

     we have Alfresco 3.0 (Stable 1526) installed, and everything in Web Client (http://locallost:8080/alfresco) works fine. But in Alfresco Share, we get the following error message "HTTP Status 500 " from time to time, especially after creating a new space and doing something new in that space. Does anybody here experience the same problem as we have? thanks

HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Error during dispatch: org/apache/log4j/spi/ThrowableInformation
   org.alfresco.web.site.servlet.DispatcherServlet.service(DispatcherServlet.java:194)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

root cause

java.lang.NoClassDefFoundError: org/apache/log4j/spi/ThrowableInformation
   org.apache.log4j.spi.LoggingEvent.<init>(LoggingEvent.java:159)
   org.apache.log4j.Category.forcedLog(Category.java:391)
   org.apache.log4j.Category.log(Category.java:856)
   org.apache.commons.logging.impl.Log4JLogger.error(Log4JLogger.java:251)
   org.alfresco.web.framework.render.PresentationUtil.handlePageRenderProblem(PresentationUtil.java:214)
   org.alfresco.web.framework.render.PresentationUtil.renderPage(PresentationUtil.java:89)
   org.alfresco.web.site.servlet.DispatcherServlet.dispatchPage(DispatcherServlet.java:459)
   org.alfresco.web.site.servlet.DispatcherServlet.dispatch(DispatcherServlet.java:336)
   org.alfresco.web.site.servlet.DispatcherServlet.service(DispatcherServlet.java:153)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.18 logs.
Apache Tomcat/6.0.18
4 REPLIES 4

gronfelt
Champ in-the-making
Champ in-the-making
Have you looked in your log files for more information, catalina.out (in tomcat/logs) and of course alfresco.log would be a good place to start.

We've had some problems with HTTP status 500 and exception reports like that and I believe that the root of our problems was the fact that Alfresco creates more file connections than the underlying operating system allows. That could be something to look into, in that case you should find error messages stating "Too many open files" in catalina.out.

xwu
Champ in-the-making
Champ in-the-making
Thanks, my friend! it solved as you pointed out… The same error message "open too many files" was found in catalina.log, and thus, we update the system setting to allow more files opened by Alfresco. The site is running smoothly now.  Smiley Happy

aliens88us
Champ in-the-making
Champ in-the-making
Hi guy, i have a different HTTP Status 500

    HTTP Status 500 -

    type Exception report

    message

    description The server encountered an internal error () that prevented it from fulfilling this request.

    exception
    javax.servlet.ServletException: org.alfresco.error.AlfrescoRuntimeException: 03050000 Unable to retrieve object: site-index of type: page
    org.alfresco.web.site.servlet.DispatcherServlet.service(DispatcherServlet.java:146)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

    root cause
    org.alfresco.error.AlfrescoRuntimeException: 03050000 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: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.DispatcherServlet.service(DispatcherServlet.java:142)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

    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: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.DispatcherServlet.service(DispatcherServlet.java:142)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

    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: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.DispatcherServlet.service(DispatcherServlet.java:142)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

    root cause
    java.io.IOException: Unable to test document path: site-index.xml in remote store: alfresco due to error: 404
    org.alfresco.web.scripts.RemoteStore.hasDocument(RemoteStore.java:351)
    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: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.DispatcherServlet.service(DispatcherServlet.java:142)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

    note The full stack trace of the root cause is available in the Apache Tomcat/6.0.18 logs.

    Apache Tomcat/6.0.18
Please help me

joe_l3
Confirmed Champ
Confirmed Champ
Hi,
the same problem for me!!!!! :?

…………
javax.servlet.ServletException: org.alfresco.error.AlfrescoRuntimeException: 03300003 Unable to retrieve object: site-index of type: page
   org.alfresco.web.site.servlet.DispatcherServlet.service(DispatcherServlet.java:146)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
………….

Here my system:
- Alfresco Community 3.2r2
- Tomcat 6.0.18
- Mysql 5.0.27
- JDK 1.6.0.17

Any news? Thanks.