8 Replies Latest reply: Nov 7, 2013 5:17 PM by user10097244 RSS

    replicating content

    Mohan Basavarajappa
      Hi
      we're using NewFile service and updating the logic to create multiple copies on single service call. we're getting following error. couple of question
      - can't i make more than one copy in single service call due to internal restrictions of WCC
      - FileCopy used in NewItem service has any limitations

      below is the stacktrace of the error. though it says file exists we dont see any file when browsed through files location of ucm

      Event generated by user 'orcucmrm' at host 'virtualhostlocal:16200'. Invalid Metadata for 'punsezSIOrcUcm007006'. Item with name 'HelloWorld_txtE41366352010852.txt' already exists in folder '/Contribution Folders/Correspondences/2012/DONE/'. [ Details ]
      An error has occurred. The stack trace below shows more information.

      !csUserEventMessage,orcucmrm,punsezsiorcucm01:16200!$!csCollectionInvalidMeta,punsezSIOrcUcm007006!csCollectionContentAlreadyExists,HelloWorld_txtE41366352010852.txt,/Contribution Folders/Correspondences/2012/DONE/
      intradoc.common.ServiceException: !csCollectionInvalidMeta,punsezSIOrcUcm007006!csCollectionContentAlreadyExists,HelloWorld_txtE41366352010852.txt,/Contribution Folders/Correspondences/2012/DONE/
      *ScriptStack CHECKIN_NEW_SUB
      3:doNewItemCheckin,dID=6013,dDocName=PUNSEZSIORCUCM006413CHECKIN_NEW_SUB,dID=6605,dDocName=3:validateCheckinData,dID=6606,dDocName=punsezSIOrcUcm007006
      at intradoc.server.ServiceRequestImplementor.buildServiceException(ServiceRequestImplementor.java:2115)
      at intradoc.server.Service.buildServiceException(Service.java:2326)
      at intradoc.server.Service.createServiceExceptionEx(Service.java:2320)
      at collections.CollectionUserHandler.canPlaceInCollection(CollectionUserHandler.java:3187)
      at collections.CollectionUserHandler.canPlaceInCollection(CollectionUserHandler.java:3257)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
      at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:324)
      at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
      at intradoc.server.Service.doCodeEx(Service.java:603)
      at intradoc.server.Service.doCode(Service.java:575)
      at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
      at intradoc.server.Service.doAction(Service.java:547)
      at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
      at intradoc.server.Service.doActions(Service.java:542)
      at collections.CollectionValidateCheckinData.doFilter(CollectionValidateCheckinData.java:64)
      at intradoc.shared.PluginFilters.filterWithAction(PluginFilters.java:114)
      at intradoc.shared.PluginFilters.filter(PluginFilters.java:68)
      at intradoc.server.DocServiceHandler.validateCheckinData(DocServiceHandler.java:1677)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
      at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:324)
      at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
      at intradoc.server.Service.doCodeEx(Service.java:603)
      at intradoc.server.Service.doCode(Service.java:575)
      at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
      at intradoc.server.Service.doAction(Service.java:547)
      at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
      at intradoc.server.Service.doActions(Service.java:542)
      at intradoc.server.ServiceRequestImplementor.executeSubServiceCode(ServiceRequestImplementor.java:1322)
      at intradoc.server.Service.executeSubServiceCode(Service.java:4023)
      at intradoc.server.ServiceRequestImplementor.executeServiceEx(ServiceRequestImplementor.java:1200)
      at intradoc.server.Service.executeServiceEx(Service.java:4018)
      at intradoc.server.Service.executeService(Service.java:4002)
      at newitem.NewItemServiceHandler.doNewItemCheckin(NewItemServiceHandler.java:187)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
      at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:324)
      at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:79)
      at intradoc.server.Service.doCodeEx(Service.java:603)
      at intradoc.server.Service.doCode(Service.java:575)
      at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
      at intradoc.server.Service.doAction(Service.java:547)
      at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
      at intradoc.server.Service.doActions(Service.java:542)
      at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1391)
      at intradoc.server.Service.executeActions(Service.java:528)
      at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:737)
      at intradoc.server.Service.doRequest(Service.java:1956)
      at intradoc.server.ServiceManager.processCommand(ServiceManager.java:437)
      at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
      at intradoc.idcwls.IdcServletRequestUtils.doRequest(IdcServletRequestUtils.java:1354)
      at intradoc.idcwls.IdcServletRequestUtils.processFilterEvent(IdcServletRequestUtils.java:1731)
      at intradoc.idcwls.IdcIntegrateWrapper.processFilterEvent(IdcIntegrateWrapper.java:222)
      at sun.reflect.GeneratedMethodAccessor138.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)
      at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)
      at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)
      at idcservlet.ServletUtils.executeContentServerIntegrateMethodOnConfig(ServletUtils.java:1704)
      at idcservlet.IdcFilter.doFilter(IdcFilter.java:457)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)