cancel
Showing results for 
Search instead for 
Did you mean: 

4.2.d 'My Files' and 'Shared Files' Internal Server Error

eswbitto
Confirmed Champ
Confirmed Champ
I'm having an issue with 4.2.d and getting an error when trying to click on "My Files" and "Shared Files" links at the navigation bar.

When I click on the link it tries to take me to this location.

https://fqdn/share/page/context/mine/myfiles

The output is the following:

A server error has occured.

There are a number of reasons why this could have happened:

    You have attempted to access a page that does not exist - check the URL in the address bar.
    You have attempted to access a page that is not accessible to you, such as a private Site dashboard.
    A valid page has been requested but the server was unable to render it due to an internal error - contact your administrator.

1. The user is a regular AD account joined to a site with permissions.
2. I imported a file in that users home directory (through repository) with appropriate permissions.
3. The same for the Shared Files

The only thing that I find that could be the culprit is when I go to "Home" I can see an error from firebug.

Here is the following:


https://documents.onlineschool.ca/share/proxy/alfresco/slingshot/doclib/doclist/documents/node/alfre...
This comes up as a 500 Internal Server Error.

Response:


{
    "status" :
  {
    "code" : 500,
    "name" : "Internal Error",
    "description" : "An error inside the HTTP server which prevented it from fulfilling the request."
  }, 
 
  "message" : "08230051 Wrapped Exception (with status template): 08230961 Failed to execute script 'classpath*:alfresco\/templates\/webscripts\/org\/alfresco\/slingshot\/documentlibrary\/doclist.get.js': 08230960 Failed to execute search: +PATH:\"\/app:company_home\/st:sites\/\/cm:*\" +@cm\\:modified:[2013\\-9\\-16T00\\:00\\:00.000 TO 2013\\-9\\-23T23\\:59\\:59.999] +@cm\\:modifier:\"admin\" +TYPE:\"cm:content\" -TYPE:\"cm:systemfolder\" -TYPE:\"fm:forums\" -TYPE:\"fm:forum\" -TYPE:\"fm:topic\" -TYPE:\"fm:post\" +(TYPE:\"content\" OR TYPE:\"app:filelink\" OR TYPE:\"folder\")", 
  "exception" : "org.springframework.extensions.webscripts.WebScriptException - 08230051 Wrapped Exception (with status template): 08230961 Failed to execute script 'classpath*:alfresco\/templates\/webscripts\/org\/alfresco\/slingshot\/documentlibrary\/doclist.get.js': 08230960 Failed to execute search: +PATH:\"\/app:company_home\/st:sites\/\/cm:*\" +@cm\\:modified:[2013\\-9\\-16T00\\:00\\:00.000 TO 2013\\-9\\-23T23\\:59\\:59.999] +@cm\\:modifier:\"admin\" +TYPE:\"cm:content\" -TYPE:\"cm:systemfolder\" -TYPE:\"fm:forums\" -TYPE:\"fm:forum\" -TYPE:\"fm:topic\" -TYPE:\"fm:post\" +(TYPE:\"content\" OR TYPE:\"app:filelink\" OR TYPE:\"folder\")",
 
  "callstack" :
  [
       ""      ,"java.net.ConnectException: Connection refused"
      ,"java.net.PlainSocketImpl.socketConnect(Native Method)"
      ,"java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)"
      ,"java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)"
      ,"java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)"
      ,"java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)"
      ,"java.net.Socket.connect(Socket.java:579)"
      ,"sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)"
      ,"sun.security.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:451)"
      ,"sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:140)"
      ,"org.alfresco.encryption.ssl.AuthSSLProtocolSocketFactory.createSocket(AuthSSLProtocolSocketFactory.java:168)"
      ,"org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)"
      ,"org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)"
      ,"org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)"
      ,"org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)"
      ,"org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)"
      ,"org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)"
      ,"org.alfresco.repo.search.impl.solr.SolrQueryHTTPClient.executeQuery(SolrQueryHTTPClient.java:444)"
      ,"org.alfresco.repo.search.impl.solr.SolrQueryLanguage.executeQuery(SolrQueryLanguage.java:49)"
      ,"org.alfresco.repo.search.impl.solr.SolrSearchService.query(SolrSearchService.java:348)"
      ,"org.alfresco.repo.search.SearcherComponent.query(SearcherComponent.java:78)"
      ,"sun.reflect.GeneratedMethodAccessor689.invoke(Unknown Source)"
      ,"sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)"
      ,"java.lang.reflect.Method.invoke(Method.java:606)"
      ,"org.alfresco.repo.management.subsystems.SubsystemProxyFactory$1.invoke(SubsystemProxyFactory.java:72)"
      ,"org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)"
      ,"org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)"
      ,"com.sun.proxy.$Proxy30.query(Unknown Source)"
      ,"sun.reflect.GeneratedMethodAccessor689.invoke(Unknown Source)"
      ,"sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)"
      ,"java.lang.reflect.Method.invoke(Method.java:606)"
      ,"org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)"
      ,"org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)"
      ,"org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)"
      ,"net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)"
      ,"org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)"
      ,"org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)"
      ,"org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)"
      ,"org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:161)"
      ,"org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)"
      ,"org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)"
      ,"org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)"
      ,"org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)"
      ,"com.sun.proxy.$Proxy30.query(Unknown Source)"
      ,"org.alfresco.repo.jscript.Search.query(Search.java:807)"
      ,"org.alfresco.repo.jscript.Search.query(Search.java:690)"
      ,"sun.reflect.GeneratedMethodAccessor1273.invoke(Unknown Source)"
      ,"sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)"
      ,"java.lang.reflect.Method.invoke(Method.java:606)"
      ,"org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155)"
      ,"org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243)"
      ,"org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)"
      ,"org.mozilla.javascript.gen.c5._c20(file:\/opt\/alfresco-42d\/tomcat\/webapps\/alfresco\/WEB-INF\/classes\/alfresco\/templates\/webscripts\/org\/alfresco\/slingshot\/documentlibrary\/doclist.get.js:1208)"
      ,"org.mozilla.javascript.gen.c5.call(file:\/opt\/alfresco-42d\/tomcat\/webapps\/alfresco\/WEB-INF\/classes\/alfresco\/templates\/webscripts\/org\/alfresco\/slingshot\/documentlibrary\/doclist.get.js)"
      ,"org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)"
      ,"org.mozilla.javascript.gen.c5._c0(file:\/opt\/alfresco-42d\/tomcat\/webapps\/alfresco\/WEB-INF\/classes\/alfresco\/templates\/webscripts\/org\/alfresco\/slingshot\/documentlibrary\/doclist.get.js:1421)"
      ,"org.mozilla.javascript.gen.c5.call(file:\/opt\/alfresco-42d\/tomcat\/webapps\/alfresco\/WEB-INF\/classes\/alfresco\/templates\/webscripts\/org\/alfresco\/slingshot\/documentlibrary\/doclist.get.js)"
      ,"org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)"
      ,"org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)"
      ,"org.mozilla.javascript.gen.c5.call(file:\/opt\/alfresco-42d\/tomcat\/webapps\/alfresco\/WEB-INF\/classes\/alfresco\/templates\/webscripts\/org\/alfresco\/slingshot\/documentlibrary\/doclist.get.js)"
      ,"org.mozilla.javascript.gen.c5.exec(file:\/opt\/alfresco-42d\/tomcat\/webapps\/alfresco\/WEB-INF\/classes\/alfresco\/templates\/webscripts\/org\/alfresco\/slingshot\/documentlibrary\/doclist.get.js)"
      ,"org.alfresco.repo.jscript.RhinoScriptProcessor.executeScriptImpl(RhinoScriptProcessor.java:502)"
      ,"org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:200)"
      ,"org.alfresco.repo.processor.ScriptServiceImpl.execute(ScriptServiceImpl.java:212)"
      ,"org.alfresco.repo.processor.ScriptServiceImpl.executeScript(ScriptServiceImpl.java:174)"
      ,"org.alfresco.repo.web.scripts.RepositoryScriptProcessor.executeScript(RepositoryScriptProcessor.java:102)"
      ,"org.springframework.extensions.webscripts.AbstractWebScript.executeScript(AbstractWebScript.java:1305)"
      ,"org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:86)"
      ,"org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:439)"
      ,"org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:447)"
      ,"org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:508)"
      ,"org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:546)"
      ,"org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:358)"
      ,"org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:376)"
      ,"org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)"
      ,"org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)"
      ,"javax.servlet.http.HttpServlet.service(HttpServlet.java:728)"
      ,"org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)"
      ,"org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)"
      ,"org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)"
      ,"org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)"
      ,"org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)"
      ,"org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)"
      ,"org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)"
      ,"org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)"
      ,"org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)"
      ,"org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)"
      ,"org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)"
      ,"org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)"
      ,"org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)"
      ,"org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)"
      ,"org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)"
      ,"org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:1810)"
      ,"java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)"
      ,"java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)"
      ,"java.lang.Thread.run(Thread.java:724)"
      ,"org.alfresco.repo.search.impl.lucene.LuceneQueryParserException: 08230959 "
      ,"org.alfresco.repo.search.impl.solr.SolrQueryHTTPClient.executeQuery(SolrQueryHTTPClient.java:490)"
      ,"org.alfresco.error.AlfrescoRuntimeException: 08230960 Failed to execute search: +PATH:\"\/app:company_home\/st:sites\/\/cm:*\" +@cm\\:modified:[2013\\-9\\-16T00\\:00\\:00.000 TO 2013\\-9\\-23T23\\:59\\:59.999] +@cm\\:modifier:\"admin\" +TYPE:\"cm:content\" -TYPE:\"cm:systemfolder\" -TYPE:\"fm:forums\" -TYPE:\"fm:forum\" -TYPE:\"fm:topic\" -TYPE:\"fm:post\" +(TYPE:\"content\" OR TYPE:\"app:filelink\" OR TYPE:\"folder\")"
      ,"org.alfresco.repo.jscript.Search.query(Search.java:827)"
      ,"org.alfresco.scripts.ScriptException: 08230961 Failed to execute script 'classpath*:alfresco\/templates\/webscripts\/org\/alfresco\/slingshot\/documentlibrary\/doclist.get.js': 08230960 Failed to execute search: +PATH:\"\/app:company_home\/st:sites\/\/cm:*\" +@cm\\:modified:[2013\\-9\\-16T00\\:00\\:00.000 TO 2013\\-9\\-23T23\\:59\\:59.999] +@cm\\:modifier:\"admin\" +TYPE:\"cm:content\" -TYPE:\"cm:systemfolder\" -TYPE:\"fm:forums\" -TYPE:\"fm:forum\" -TYPE:\"fm:topic\" -TYPE:\"fm:post\" +(TYPE:\"content\" OR TYPE:\"app:filelink\" OR TYPE:\"folder\")"
      ,"org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:204)"
      ,"org.springframework.extensions.webscripts.WebScriptException: 08230051 Wrapped Exception (with status template): 08230961 Failed to execute script 'classpath*:alfresco\/templates\/webscripts\/org\/alfresco\/slingshot\/documentlibrary\/doclist.get.js': 08230960 Failed to execute search: +PATH:\"\/app:company_home\/st:sites\/\/cm:*\" +@cm\\:modified:[2013\\-9\\-16T00\\:00\\:00.000 TO 2013\\-9\\-23T23\\:59\\:59.999] +@cm\\:modifier:\"admin\" +TYPE:\"cm:content\" -TYPE:\"cm:systemfolder\" -TYPE:\"fm:forums\" -TYPE:\"fm:forum\" -TYPE:\"fm:topic\" -TYPE:\"fm:post\" +(TYPE:\"content\" OR TYPE:\"app:filelink\" OR TYPE:\"folder\")"
      ,"org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1067)"

  ],
 
  "server" : "Community v4.2.0 (r54676-b4795) schema 6,032",
  "time" : "Sep 23, 2013 10:35:58 AM"


I'm not sure if that is related or not.

3 REPLIES 3

digcat
Confirmed Champ
Confirmed Champ
We saw this issue on 4.2.d, upgrading to latest HEAD fixed the issue, 4.2.e is current community release on HEAD, if you are building from source.  Not sure what you can do to fix 4.2.d, other than upgrade, I know 4.2.e the issue is fixed.

digcat
Confirmed Champ
Confirmed Champ
We saw this issue on 4.2.d, upgrading to latest HEAD fixed the issue, 4.2.e is current community release on HEAD, if you are building from source.  Not sure what you can do to fix 4.2.d, other than upgrade, I know 4.2.e the issue is fixed.

eswbitto
Confirmed Champ
Confirmed Champ
Actually after modifying the share-config-custom.xml from this THREAD has fixed this issue.