cancel
Showing results for 
Search instead for 
Did you mean: 

webscripts.WebScriptException

vikasjain0106
Champ in-the-making
Champ in-the-making

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
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
Why did you think reindexing SOLR was required?

What did you do to reindex?

I got a complaint from my customer that there are problems in saving and retrieving documents, I analysed the logs and found that any of my document location was not being identified, and I was getting error on location not found, I checked all other possible reasons of the problem and later concluded that indexes have problem, hence I had to do reindexing. Since the volume of documents was to high, indexing was taking time, i couldnt buy in the down time and agreed to run alfresco on read only mode while indexes are being created in order to impact the business to minimum. I guess keeping the server on in read only mode while reindexing has created problem in reindexing and hence I am getting the error.

I deleted the workspace/index content and workspaceSpaceStore model content after shutting down alfresco and then restarted.

I have another concern here is, while I don't do any transaction on alfresco server how can I be sure that indexes are completely built and are ready to use. If I have to buy in time for reindexing i should be able to estimate it.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.