AnsweredAssumed Answered

http status 500 when trying to access content.

Question asked by bigmaneric97 on Oct 27, 2015
With our new alfresco 5.0.1 installation when using a web browser to get content we get the following error in the browser:

HTTP Status 500 - No bean named 'webClientConfigService' is defined

type Exception report

message No bean named 'webClientConfigService' is defined

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

exception

org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'webClientConfigService' is defined
   org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:575)
   org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition(AbstractBeanFactory.java:1111)
   org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:276)
   org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
   org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1117)
   org.alfresco.web.app.Application.getErrorPage(Application.java:1207)
   org.alfresco.web.app.Application.getErrorPage(Application.java:318)
   org.alfresco.web.app.Application.handleSystemError(Application.java:235)
   org.alfresco.web.app.servlet.BaseDownloadContentServlet.processDownloadRequest(BaseDownloadContentServlet.java:161)
   org.alfresco.web.app.servlet.DownloadContentServlet$2.execute(DownloadContentServlet.java:141)
   org.alfresco.web.app.servlet.DownloadContentServlet$2.execute(DownloadContentServlet.java:138)
   org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:454)
   org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:342)
   org.alfresco.web.app.servlet.DownloadContentServlet.doGet(DownloadContentServlet.java:145)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
   org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)

note The full stack trace of the root cause is available in the Apache Tomcat/7.0.52 (Ubuntu) logs.


The following is from the catalina.out logs:

2015-10-27 09:00:29,911  WARN  [app.servlet.BaseServlet]
[http-nio-8080-exec-5] Failed to resolve webdav path
org.alfresco.service.cmr.model.FileNotFoundException: Folder not found:
        at
org.alfresco.repo.model.filefolder.FileFolderServiceImpl.resolveNamePath
(FileFolderServiceImpl.java:1548)
        at
org.alfresco.repo.model.filefolder.FileFolderServiceImpl.resolveNamePath
(FileFolderServiceImpl.java:1527)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection
(AopUtils.java:317)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
(ReflectiveMethodInvocation.java:183)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
(ReflectiveMethodInvocation.java:150)
        at org.alfresco.repo.model.ml.MLContentInterceptor.invoke
(MLContentInterceptor.java:129)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
(ReflectiveMethodInvocation.java:172)
        at
org.alfresco.repo.model.filefolder.MLTranslationInterceptor.invoke
(MLTranslationInterceptor.java:268)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
(ReflectiveMethodInvocation.java:172)
        at
net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke
(MethodSecurityInterceptor.java:80)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
(ReflectiveMethodInvocation.java:172)
        at
org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke
(ExceptionTranslatorMethodInterceptor.java:46)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
(ReflectiveMethodInvocation.java:172)
        at org.alfresco.repo.audit.AuditMethodInterceptor.invoke
(AuditMethodInterceptor.java:159)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
(ReflectiveMethodInvocation.java:172)
        at
org.alfresco.repo.model.filefolder.FilenameFilteringInterceptor.invoke
(FilenameFilteringInterceptor.java:382)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
(ReflectiveMethodInvocation.java:172)
        at
org.springframework.transaction.interceptor.TransactionInterceptor
$1.proceedWithInvocation(TransactionInterceptor.java:96)
        at
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction
(TransactionAspectSupport.java:260)
        at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke
(TransactionInterceptor.java:94)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed
(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke
(JdkDynamicAopProxy.java:204)
        at com.sun.proxy.$Proxy65.resolveNamePath(Unknown Source)
        at org.alfresco.web.app.servlet.BaseServlet$1.doWork
(BaseServlet.java:435)
        at org.alfresco.web.app.servlet.BaseServlet$1.doWork
(BaseServlet.java:392)
        at
org.alfresco.repo.security.authentication.AuthenticationUtil.runAs
(AuthenticationUtil.java:548)
        at org.alfresco.web.app.servlet.BaseServlet.resolveWebDAVPath
(BaseServlet.java:391)
        at org.alfresco.web.app.servlet.BaseServlet.resolveWebDAVPath
(BaseServlet.java:379)
        at org.alfresco.web.app.servlet.BaseServlet.resolveNamePath
(BaseServlet.java:475)
        at
org.alfresco.web.app.servlet.BaseDownloadContentServlet.processDownloadRequest
(BaseDownloadContentServlet.java:155)
        at org.alfresco.web.app.servlet.DownloadContentServlet$2.execute
(DownloadContentServlet.java:141)
        at org.alfresco.web.app.servlet.DownloadContentServlet$2.execute
(DownloadContentServlet.java:138)
        at
org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction
(RetryingTransactionHelper.java:454)
        at
org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction
(RetryingTransactionHelper.java:342)
        at org.alfresco.web.app.servlet.DownloadContentServlet.doGet
(DownloadContentServlet.java:145)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:303)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:208)
        at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter
(GlobalLocalizationFilter.java:61)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:208)
        at org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:220)
        at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:122)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke
(AuthenticatorBase.java:501)
        at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:170)
        at org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:98)
        at org.apache.catalina.valves.AccessLogValve.invoke
(AccessLogValve.java:950)
        at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:116)
        at org.apache.catalina.connector.CoyoteAdapter.service
(CoyoteAdapter.java:408)
        at org.apache.coyote.http11.AbstractHttp11Processor.process
(AbstractHttp11Processor.java:1041)
        at org.apache.coyote.AbstractProtocol
$AbstractConnectionHandler.process(AbstractProtocol.java:607)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun
(NioEndpoint.java:1721)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run
(NioEndpoint.java:1679)
        at java.util.concurrent.ThreadPoolExecutor.runWorker
(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Oct 27, 2015 9:00:29 AM org.apache.catalina.core.StandardWrapperValve
invoke
SEVERE: Servlet.service() for servlet [downloadContent] in context with
path [/alfresco] threw exception
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean
named 'webClientConfigService' is defined
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition
(DefaultListableBeanFactory.java:575)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getMergedLocalBeanDefinition
(AbstractBeanFactory.java:1111)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean
(AbstractBeanFactory.java:276)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:191)
        at
org.springframework.context.support.AbstractApplicationContext.getBean
(AbstractApplicationContext.java:1117)
        at org.alfresco.web.app.Application.getErrorPage
(Application.java:1207)
        at org.alfresco.web.app.Application.getErrorPage
(Application.java:318)
        at org.alfresco.web.app.Application.handleSystemError
(Application.java:235)
        at
org.alfresco.web.app.servlet.BaseDownloadContentServlet.processDownloadRequest
(BaseDownloadContentServlet.java:161)
        at org.alfresco.web.app.servlet.DownloadContentServlet$2.execute
(DownloadContentServlet.java:141)
        at org.alfresco.web.app.servlet.DownloadContentServlet$2.execute
(DownloadContentServlet.java:138)
        at
org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction
(RetryingTransactionHelper.java:454)
        at
org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction
(RetryingTransactionHelper.java:342)
        at org.alfresco.web.app.servlet.DownloadContentServlet.doGet
(DownloadContentServlet.java:145)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:303)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:208)
        at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter
(GlobalLocalizationFilter.java:61)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:241)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:208)
        at org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:220)
        at org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:122)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke
(AuthenticatorBase.java:501)
        at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:170)
        at org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:98)
        at org.apache.catalina.valves.AccessLogValve.invoke
(AccessLogValve.java:950)
        at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:116)
        at org.apache.catalina.connector.CoyoteAdapter.service
(CoyoteAdapter.java:408)
        at org.apache.coyote.http11.AbstractHttp11Processor.process
(AbstractHttp11Processor.java:1041)
        at org.apache.coyote.AbstractProtocol
$AbstractConnectionHandler.process(AbstractProtocol.java:607)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun
(NioEndpoint.java:1721)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run
(NioEndpoint.java:1679)
        at java.util.concurrent.ThreadPoolExecutor.runWorker
(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run
(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)

I have read in some other threads that the web client has been removed in version 5.0.  Is there a way that I configure alfresco to allow me to access content via a browser?

OS: Ubuntu 14.04
Tomcat7
Java 7

Thank you,
Eric Speake
Senior Systems Administrator
O'Reilly Auto Parts

Outcomes