AnsweredAssumed Answered

Unable to see the collaboration area document

Question asked by Supriya.Chakraborty1 on Jun 18, 2015
Latest reply on Aug 26, 2015 by parpr08

Hi All,

 

 

We are on Clarity PMM V13.1.We are facing a strange issue with the collaboration area documents.

 

 

It is an issue with three templates in a partition . Below error occurs when we try to access collaboration documents of the these three templates.

 

 

ERROR:DMS-05117: You do not have permissions to read the documents in the folder. Contact the document owner for permission.

 

 

Also the projects which are created out of the following templates for them the documents are not visible .However the whole set of the documents can be downloaded.

However other templates works well along with the newly created templates .

 

 

Upon Checking the I found out the below error :

 

 

ERROR 2015-06-11 19:01:16,442 [http-bio-8043-exec-10655] niku.dms (clarity:admin:9722643__38D4FFA7-4AF3-48B5-B995-C5F7AFA7829E:projmgr.projectNewPost) error indexing file

com.niku.search.util.SearchException: SRCH-02001: Error while retrieving search contents. Contact your system administrator.

  at com.niku.search.engine.lucene.LuceneSearchEngine.addFileToIndex(LuceneSearchEngine.java:123)

  at com.niku.dms.service.DMSService.copyFileObjectWithoutPermCheck(DMSService.java:3308)

  at com.niku.dms.service.DMSService.copyFileObjectWithoutPermCheck(DMSService.java:3173)

  at com.niku.dms.service.DMSService.copyFolderHierarchy(DMSService.java:3491)

  at com.niku.dms.service.DMSService.copyFolderHierarchy(DMSService.java:3541)

  at com.niku.dms.service.DMSService.copyFolderHierarchy(DMSService.java:3541)

  at com.niku.dms.service.DocumentAPIService.copyDocumentsFromProjectTemplate(DocumentAPIService.java:151)

  at com.niku.projmgr.api.CopyProjectAPI.copyProjectFromTemplate(CopyProjectAPI.java:99)

  at com.niku.projmgr.xql2.handlers.CopyProjectHandler.preProcess(CopyProjectHandler.java:82)

  at com.niku.xql2.handlers.BaseHandler.preProcess(BaseHandler.java:38)

  at com.niku.xql2.XQLVisitor.preProcess(XQLVisitor.java:1342)

  at com.niku.union.xml.dom.DOMWalker.preProcess(DOMWalker.java:194)

  at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:74)

  at com.niku.union.xml.dom.DOMWalker.traverse(DOMWalker.java:51)

  at com.niku.xql2.handlers.LockHandler.preProcess(LockHandler.java:100)

  at com.niku.xql2.XQLVisitor.preProcess(XQLVisitor.java:1342)

  at com.niku.union.xml.dom.DOMWalker.preProcess(DOMWalker.java:194)

  at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:74)

  at com.niku.union.xml.dom.DOMWalker.traverse(DOMWalker.java:51)

  at com.niku.xql2.handlers.MatchHandler.preProcess(MatchHandler.java:129)

  at com.niku.xql2.XQLVisitor.preProcess(XQLVisitor.java:1342)

  at com.niku.union.xml.dom.DOMWalker.preProcess(DOMWalker.java:194)

  at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:74)

  at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:92)

  at com.niku.union.xml.dom.DOMWalker.traverseIntern(DOMWalker.java:92)

  at com.niku.union.xml.dom.DOMWalker.traverse(DOMWalker.java:36)

  at com.niku.xql2.XQLProcessor.process(XQLProcessor.java:257)

  at com.niku.xql2.XQLProcessor.process(XQLProcessor.java:283)

  at com.niku.xql2.binding.ServiceControlBindingXql.processFile(ServiceControlBindingXql.java:388)

  at com.niku.xql2.binding.ServiceControlBindingXql.getDocument(ServiceControlBindingXql.java:271)

  at com.niku.xql2.binding.ServiceControlBindingXql.processRequest(ServiceControlBindingXql.java:155)

  at com.niku.union.service.ServiceControlImpl.processRequest(ServiceControlImpl.java:749)

  at com.niku.union.service.ServiceControlImpl.processRequest(ServiceControlImpl.java:211)

  at com.niku.odf.object.Utils.execService(Utils.java:190)

  at com.niku.odf.object.Utils.execService(Utils.java:250)

  at com.niku.odf.object.ODFObjectImpl.insert(ODFObjectImpl.java:2268)

  at com.niku.odf.object.ODFObjectImpl.insert(ODFObjectImpl.java:2195)

  at com.niku.odf.service.ODFUpdateServiceBinding.process(ODFUpdateServiceBinding.java:99)

  at com.niku.odf.service.ODFService.doProcess(ODFService.java:197)

  at com.niku.odf.service.BaseODFService.processRequest(BaseODFService.java:111)

  at com.niku.union.service.binding.ServiceControlBindingJava.processRequest(ServiceControlBindingJava.java:58)

  at com.niku.union.service.ServiceControlImpl.processRequest(ServiceControlImpl.java:749)

  at com.niku.union.service.ServiceControlImpl.processRequest(ServiceControlImpl.java:211)

  at com.niku.union.web.WebServiceAdapter.processRequest(WebServiceAdapter.java:199)

  at com.niku.union.web.PortletController.processServiceRequest(PortletController.java:1405)

  at com.niku.union.web.PortletController.processProcessActionRequest(PortletController.java:232)

  at com.niku.union.web.PortletController.processRequest(PortletController.java:159)

  at com.niku.union.web.WebActionController.processAction(WebActionController.java:1242)

  at com.niku.union.web.WebActionController.processRequest(WebActionController.java:187)

  at com.ca.clarity.uif.service.vxml.VXMLService.processRequest(VXMLService.java:413)

  at com.ca.clarity.uif.UIServlet.service(UIServlet.java:64)

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

  at com.niku.union.web.filter.GZIPResponseFilter.doFilter(GZIPResponseFilter.java:130)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

  at com.niku.union.web.filter.CharsetFilter.doFilter(CharsetFilter.java:56)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

  at org.apache.catalina.filters.AddDefaultCharsetFilter.doFilter(AddDefaultCharsetFilter.java:89)

  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:224)

  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)

  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)

  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)

  at com.niku.union.web.valves.ErrorPageRedirectValve.invoke(ErrorPageRedirectValve.java:69)

  at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)

  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)

  at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)

  at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)

  at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307)

  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)

  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)

  at java.lang.Thread.run(Thread.java:722)

 

 

 

 

 

 

Inorder to resolve that ,I did try to re-run the below steps :

 

 

-----------------------------------------------------------

 

 

 

 

1. Pause the "Index contents and documents for search" scheduled job.

 

2. Turn off synchronous indexing in the NSA. Restart services after doing this.

 

3. Edit /opt/ca/clarity/.setup/scripts/search.xml

 

4. Add the following line to recreate-index-files section of file search.xml: <jvmarg value="-Djava.io.tmpdir=/opt/ca/javatmp"/>

 

5. Using NSA add "-Djava.io.tmpdir=/opt/ca/javatmp" to app service jvm parameters

 

6. Using NSA add "-Djava.io.tmpdir=/opt/ca/javatmp" to bg service jvm parameters

 

7. Create folder /opt/ca/javatmp

 

8. Search for and delete any files that end in write.lock on your app server(s). On PROD there is only one write.lock file under directory /opt/ca/ClarityDMS/searchindex/clarity/nspiderfile.

 

9. Restart app and bg services.

 

10. Delete the nspider and nspiderfile folders from the file server on the filestore searchindex

 

11. Log into the app server as someone who has full control of the filestore folders including the ability to create new folders/files like the nspiderfiles folders

 

12. Run the "admin search recreate-index-data" command

 

13. Run the "admin search recreate-index-files" command

 

14. When this has completed, turn on synchronous indexing.

------------------------------------------------------------------------------------------------

 

 

While running the  admin search recreate-index-files below Warnings are appearing .

 

 

6/15/15 6:53 PM (admin) java.lang.Throwable: Warning: You did not close the PDF Document

6/15/15 6:53 PM (admin) at org.pdfbox.cos.COSDocument.finalize(COSDocument.java:420)

6/15/15 6:53 PM (admin) at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)

6/15/15 6:53 PM (admin) at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:101)

6/15/15 6:53 PM (admin) at java.lang.ref.Finalizer.access$100(Finalizer.java:32)

6/15/15 6:53 PM (admin) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:178)

6/15/15 6:53 PM (admin) java.lang.Throwable: Warning: You did not close the PDF Document

6/15/15 6:53 PM (admin) at org.pdfbox.cos.COSDocument.finalize(COSDocument.java:420)

6/15/15 6:53 PM (admin) at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)

6/15/15 6:53 PM (admin) at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:101)

6/15/15 6:53 PM (admin) at java.lang.ref.Finalizer.access$100(Finalizer.java:32)

6/15/15 6:53 PM (admin) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:178)

6/15/15 7:18 PM (admin) Indexing complete

 

We are unable to figure out what is going wrong .

 

 

The issue is still persisting .We have logged a Ca Case and yet to get an update from their end.

 

Any suggestion over this would be of great help .

 

 

 

Regards,

Supriya Chakraborty

Outcomes