AnsweredAssumed Answered

webscripts.WebScriptException

Question asked by vikasjain0106 on Jun 18, 2015
Latest reply on Jun 19, 2015 by vikasjain0106

Hi all,

I am using alfresco 4.2.e community version in one of my applications. We use webscript to send and save documents in alfresco. I am getting following error while saving the documents. Previously this was working fine, however i tried reindexing the solr indexes  since the number of documents in the repository is too large, I am not sure when and how the indexing will be completed. I am regularly seeing the growth in the size of index folder, at a point when the size stopped growing, I pointed my application back to Alfresco.

Pleae help me to understand if the error is related to indexes not properly created or something else

2015-06-18 11:36:49,674  ERROR [extensions.webscripts.AbstractRuntime] [http-apr-8080-exec-135] Exception from executeScript - redirecting to status template error: 05183874 Location - /Head Quarter/Dhanbad/Dhanbad (Urban) does not exist in Alfresco
org.springframework.extensions.webscripts.WebScriptException: 05183874 Location - /Head Quarter/Dhanbad/Dhanbad (Urban) does not exist in Alfresco
   at com.tcs.digigov.tax.alfresco.core.utils.TaxationUtils.getLeafFolder(TaxationUtils.java:238)
   at com.tcs.digigov.tax.alfresco.core.service.impl.TaxRepositoryServiceImpl.saveTaxDocument(TaxRepositoryServiceImpl.java:109)
   at com.tcs.digigov.tax.alfresco.core.webscripts.repo.UploadPost.executeImpl(UploadPost.java:90)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:64)
   at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:429)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:452)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:491)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:529)
   at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:341)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:378)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
   at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
   at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
   at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
   at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
   at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
   at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:1810)
   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:724)


though when i browse through the alfresco and share I am able to access the location.

Please help

Outcomes