cancel
Showing results for 
Search instead for 
Did you mean: 

Error while checkin using CMIS

nerajd
Champ in-the-making
Champ in-the-making
This is my sample code

Dictionary<string, string> parameters = new Dictionary<string, string>();
        parameters[DotCMIS.SessionParameter.BindingType] = BindingType.AtomPub;
        parameters[DotCMIS.SessionParameter.AtomPubUrl] = "http://127.0.0.1:8080/alfresco/service/cmis";
        parameters[DotCMIS.SessionParameter.User] = "admin";
        parameters[DotCMIS.SessionParameter.Password] = "1234";
        SessionFactory factory = SessionFactory.NewInstance();
        ISession session = factory.GetRepositories(parameters)[0].CreateSession();
        // get / define the document, which you would want to update with versioning
        IItemEnumerable<IQueryResult> result = session.Query(@"SELECT * from cmis:document where cmis:name =  'Doc17.doc'", true);
        string strObjectId = string.Empty;
        foreach (QueryResult item in result)
        {
            strObjectId = item.GetPropertyValueById("cmisSmiley SurprisedbjectId").ToString();
        }

        Document doc = ((Document)session.GetObject(strObjectId));
        string objId = string.Empty;
        try
        {
            // checkout the doc
            IObjectId Iobj = doc.CheckOut();
            objId = Iobj.Id;
            Response.Write("Checked out doc ID: " + objId);
        }
        catch (Exception cbe)
        {
            // cancel the checkout incase of exception
            doc.CancelCheckOut();
            Response.Write("Exception checking out; must be checked out already: " + cbe.Message);
        }
        // define dictionary for document
        IDictionary<string, object> properties = new Dictionary<string, object>();
        properties.Add(PropertyIds.Name, "Doc171.doc");
        properties.Add(PropertyIds.ObjectTypeId, "cmis:document");
        properties.Add(PropertyIds.ObjectId, objId);
        IFolder folder = session.GetRootFolder();
        // define new document stream object
        ContentStream contentStream = new ContentStream
        {
            FileName = "Doc171.doc",
            MimeType = "application/msword",
            Length = FileUpload1.FileBytes.Length,
            Stream = new MemoryStream(FileUpload1.FileBytes)
        };
        // create/update the document with new stream & version
        folder.CreateDocument(properties, contentStream, DotCMIS.Enums.VersioningState.Minor);       
        // finally check in the document
        IObjectId ob = doc.CheckIn(false, properties, null, "testing check in: " + Convert.ToString(DateTime.Now));


Everything is working fine. But the last line is giving me error. Below is the stack trace for the same.


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
   <head>
      <title>Web Script Status 500 - Internal Error</title>
      <link rel="stylesheet" href="/alfresco/css/webscripts.css" type="text/css" />
   </head>
   <body>
      <div>
         <table>
            <tr>
               <td><img src="/alfresco/images/logo/AlfrescoLogo32.png" alt="Alfresco" /></td>
               <td><span class="title">Web Script Status 500 - Internal Error</span></td>
            </tr>
         </table>
         <br/>
         <table>
            <tr><td>The Web Script <a href="%2Falfresco%2Fservice%2Fcmis%2Fs%2Fworkspace%3ASpacesStore%2Fi%2F66a12a5d-52c5-457e-a77f-108d428648f0%3FcheckinComment%3Dtesting%20check%20in%3A%209%2F24%2F2014%2012%3A00%3A57%20PM%26major%3Dfalse%26checkin%3Dtrue">/alfresco/service/cmis/s/workspaceSmiley FrustratedpacesStore/i/66a12a5d-52c5-457e-a77f-108d428648f0</a> has responded with a status of 500 - Internal Error.</td></tr>
         </table>
         <br/>
         <table>
            <tr><td><b>500 Description:</b></td><td> An error inside the HTTP server which prevented it from fulfilling the request.</td></tr>
            <tr><td> </td></tr>
            <tr><td><b>Message:</b></td><td>08240027 Wrapped Exception (with status template): 08240090 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/cmis/item.put.atom.js': 08240089 Cannot perform operation since the node (id:66a12a5d-52c5-457e-a77f-108d428648f0) is locked.</td></tr>
            <tr><td></td><td> </td></tr>
   <tr><td><b>Exception:</b></td><td>org.alfresco.service.cmr.lock.NodeLockedException - 08240089 Cannot perform operation since the node (id:66a12a5d-52c5-457e-a77f-108d428648f0) is locked.</td></tr>
   <tr><td></td><td> </td></tr>
         <tr><td></td><td>org.alfresco.repo.lock.LockServiceImpl.checkForLock(LockServiceImpl.java:652)</td></tr>
         <tr><td></td><td>org.alfresco.repo.lock.LockServiceImpl.beforeUpdateNode(LockServiceImpl.java:734)</td></tr>
         <tr><td></td><td>sun.reflect.GeneratedMethodAccessor1059.invoke(Unknown Source)</td></tr>
         <tr><td></td><td>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</td></tr>
         <tr><td></td><td>java.lang.reflect.Method.invoke(Method.java:606)</td></tr>
         <tr><td></td><td>org.alfresco.repo.policy.JavaBehaviour$JavaMethodInvocationHandler.invoke(JavaBehaviour.java:174)</td></tr>
         <tr><td></td><td>com.sun.proxy.$Proxy28.beforeUpdateNode(Unknown Source)</td></tr>
         <tr><td></td><td>sun.reflect.GeneratedMethodAccessor312.invoke(Unknown Source)</td></tr>
         <tr><td></td><td>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</td></tr>
         <tr><td></td><td>java.lang.reflect.Method.invoke(Method.java:606)</td></tr>
         <tr><td></td><td>org.alfresco.repo.policy.PolicyFactory$SingleHandler.invoke(PolicyFactory.java:266)</td></tr>
         <tr><td></td><td>com.sun.proxy.$Proxy28.beforeUpdateNode(Unknown Source)</td></tr>
         <tr><td></td><td>sun.reflect.GeneratedMethodAccessor312.invoke(Unknown Source)</td></tr>
         <tr><td></td><td>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</td></tr>
         <tr><td></td><td>java.lang.reflect.Method.invoke(Method.java:606)</td></tr>
         <tr><td></td><td>org.alfresco.repo.policy.PolicyFactory$MultiHandler.invoke(PolicyFactory.java:335)</td></tr>
         <tr><td></td><td>org.alfresco.repo.policy.$Proxy243.beforeUpdateNode(Unknown Source)</td></tr>
         <tr><td></td><td>org.alfresco.repo.node.AbstractNodeServiceImpl.invokeBeforeUpdateNode(AbstractNodeServiceImpl.java:358)</td></tr>
         <tr><td></td><td>org.alfresco.repo.node.db.DbNodeServiceImpl.setProperty(DbNodeServiceImpl.java:1612)</td></tr>
         <tr><td></td><td>sun.reflect.GeneratedMethodAccessor627.invoke(Unknown Source)</td></tr>
         <tr><td></td><td>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</td></tr>
         <tr><td></td><td>java.lang.reflect.Method.invoke(Method.java:606)</td></tr>
         <tr><td></td><td>org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)</td></tr>
         <tr><td></td><td>org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)</td></tr>
         <tr><td></td><td>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)</td></tr>
         <tr><td></td><td>org.alfresco.repo.lock.mem.LockableAspectInterceptor.invoke(LockableAspectInterceptor.java:221)</td></tr>
         <tr><td></td><td>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)</td></tr>
         <tr><td></td><td>org.alfresco.repo.lock.mem.LockableAspectInterceptor.invoke(LockableAspectInterceptor.java:221)</td></tr>
         <tr><td></td><td>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)</td></tr>
         <tr><td></td><td>org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)</td></tr>
         <tr><td></td><td>com.sun.proxy.$Proxy11.setProperty(Unknown Source)</td></tr>
         <tr><td></td><td>sun.reflect.GeneratedMethodAccessor627.invoke(Unknown Source)</td></tr>
         <tr><td></td><td>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</td></tr>
         <tr><td></td><td>java.lang.reflect.Method.invoke(Method.java:606)</td></tr>
         <tr><td></td><td>org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)</td></tr>
         <tr><td></td><td>org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)</td></tr>
         <tr><td></td><td>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)</td></tr>
         <tr><td></td><td>org.alfresco.repo.tenant.MultiTNodeServiceInterceptor.invoke(MultiTNodeServiceInterceptor.java:104)</td></tr>
         <tr><td></td><td>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)</td></tr>
         <tr><td></td><td>org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)</td></tr>
         <tr><td></td><td>com.sun.proxy.$Proxy11.setProperty(Unknown Source)</td></tr>
         <tr><td></td><td>sun.reflect.GeneratedMethodAccessor627.invoke(Unknown Source)</td></tr>
         <tr><td></td><td>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</td></tr>
         <tr><td></td><td>java.lang.reflect.Method.invoke(Method.java:606)</td></tr>
         <tr><td></td><td>org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:215)</td></tr>
         <tr><td></td><td>com.sun.proxy.$Proxy26.setProperty(Unknown Source)</td></tr>
         <tr><td></td><td>org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterceptor.java:252)</td></tr>
         <tr><td></td><td>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)</td></tr>
         <tr><td></td><td>org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRefPropertyMethodInterceptor.java:260)</td></tr>
         <tr><td></td><td>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)</td></tr>
         <tr><td></td><td>org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)</td></tr>
         <tr><td></td><td>com.sun.proxy.$Proxy11.setProperty(Unknown Source)</td></tr>
         <tr><td></td><td>sun.reflect.GeneratedMethodAccessor627.invoke(Unknown Source)</td></tr>
         <tr><td></td><td>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</td></tr>
         <tr><td></td><td>java.lang.reflect.Method.invoke(Method.java:606)</td></tr>
         <tr><td></td><td>org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)</td></tr>
         <tr><td></td><td>org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196)</td></tr>
         <tr><td></td><td>com.sun.proxy.$Proxy11.setProperty(Unknown Source)</td></tr>
         <tr><td></td><td>org.alfresco.repo.model.filefolder.FileFolderServiceImpl.moveOrCopy(FileFolderServiceImpl.java:1078)</td></tr>
         <tr><td></td><td>org.alfresco.repo.model.filefolder.FileFolderServiceImpl.rename(FileFolderServiceImpl.java:960)</td></tr>
         <tr><td></td><td>sun.reflect.GeneratedMethodAccessor1715.invoke(Unknown Source)</td></tr>
         <tr><td></td><td>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</td></tr>
         <tr><td></td><td>java.lang.reflect.Method.invoke(Method.java:606)</td></tr>
         <tr><td></td><td>org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)</td></tr>
         <tr><td></td><td>org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)</td></tr>
         <tr><td></td><td>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)</td></tr>
         <tr><td></td><td>org.alfresco.repo.model.ml.MLContentInterceptor.invoke(MLContentInterceptor.java:125)</td></tr>
         <tr><td></td><td>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)</td></tr>
         <tr><td></td><td>org.alfresco.repo.model.filefolder.MLTranslationInterceptor.invoke(MLTranslationInterceptor.java:268)</td></tr>
         <tr><td></td><td>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)</td></tr>
         <tr><td></td><td>net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)</td></tr>
         <tr><td></td><td>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)</td></tr>
         <tr><td></td><td>org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)</td></tr>
         <tr><td></td><td>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)</td></tr>
         <tr><td></td><td>org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:158)</td></tr>
         <tr><td></td><td>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)</td></tr>
         <tr><td></td><td>org.alfresco.repo.model.filefolder.FilenameFilteringInterceptor.invoke(FilenameFilteringInterceptor.java:359)</td></tr>
         <tr><td></td><td>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)</td></tr>
         <tr><td></td><td>org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)</td></tr>
         <tr><td></td><td>org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)</td></tr>
         <tr><td></td><td>org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)</td></tr>
         <tr><td></td><td>com.sun.proxy.$Proxy63.rename(Unknown Source)</td></tr>
         <tr><td></td><td>org.alfresco.repo.jscript.ScriptNode.setName(ScriptNode.java:414)</td></tr>
         <tr><td></td><td>sun.reflect.GeneratedMethodAccessor1714.invoke(Unknown Source)</td></tr>
         <tr><td></td><td>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)</td></tr>
         <tr><td></td><td>java.lang.reflect.Method.invoke(Method.java:606)</td></tr>
         <tr><td></td><td>org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)</td></tr>
         <tr><td></td><td>org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225)</td></tr>
         <tr><td></td><td>org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)</td></tr>
         <tr><td></td><td>org.mozilla.javascript.gen.classpath__alfresco_templates_webscripts_org_alfresco_cmis_item_put_atom_js_11._c_updateNode_7(classpath*:alfresco/templates/webscripts/org/alfresco/cmis/item.put.atom.js:233)</td></tr>
         <tr><td></td><td>org.mozilla.javascript.gen.classpath__alfresco_templates_webscripts_org_alfresco_cmis_item_put_atom_js_11.call(classpath*:alfresco/templates/webscripts/org/alfresco/cmis/item.put.atom.js)</td></tr>
         <tr><td></td><td>org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63)</td></tr>
         <tr><td></td><td>org.mozilla.javascript.gen.classpath__alfresco_templates_webscripts_org_alfresco_cmis_item_put_atom_js_11._c_script_0(classpath*:alfresco/templates/webscripts/org/alfresco/cmis/item.put.atom.js:543)</td></tr>
         <tr><td></td><td>org.mozilla.javascript.gen.classpath__alfresco_templates_webscripts_org_alfresco_cmis_item_put_atom_js_11.call(classpath*:alfresco/templates/webscripts/org/alfresco/cmis/item.put.atom.js)</td></tr>
         <tr><td></td><td>org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)</td></tr>
         <tr><td></td><td>org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)</td></tr>
         <tr><td></td><td>org.mozilla.javascript.gen.classpath__alfresco_templates_webscripts_org_alfresco_cmis_item_put_atom_js_11.call(classpath*:alfresco/templates/webscripts/org/alfresco/cmis/item.put.atom.js)</td></tr>
         <tr><td></td><td>org.mozilla.javascript.gen.classpath__alfresco_templates_webscripts_org_alfresco_cmis_item_put_atom_js_11.exec(classpath*:alfresco/templates/webscripts/org/alfresco/cmis/item.put.atom.js)</td></tr>
         <tr><td></td><td>org.alfresco.repo.jscript.RhinoScriptProcessor.executeScriptImpl(RhinoScriptProcessor.java:502)</td></tr>
         <tr><td></td><td>org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:200)</td></tr>
         <tr><td></td><td>org.alfresco.repo.processor.ScriptServiceImpl.execute(ScriptServiceImpl.java:212)</td></tr>
         <tr><td></td><td>org.alfresco.repo.processor.ScriptServiceImpl.executeScript(ScriptServiceImpl.java:174)</td></tr>
         <tr><td></td><td>org.alfresco.repo.web.scripts.RepositoryScriptProcessor.executeScript(RepositoryScriptProcessor.java:102)</td></tr>
         <tr><td></td><td>org.springframework.extensions.webscripts.AbstractWebScript.executeScript(AbstractWebScript.java:1364)</td></tr>
         <tr><td></td><td>org.alfresco.repo.cmis.rest.CMISWebScript.executeScript(CMISWebScript.java:46)</td></tr>
         <tr><td></td><td>org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:86)</td></tr>
         <tr><td></td><td>org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:433)</td></tr>
         <tr><td></td><td>org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:454)</td></tr>
         <tr><td></td><td>org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:495)</td></tr>
         <tr><td></td><td>org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:563)</td></tr>
         <tr><td></td><td>org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:343)</td></tr>
         <tr><td></td><td>org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:378)</td></tr>
         <tr><td></td><td>org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)</td></tr>
         <tr><td></td><td>org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)</td></tr>
         <tr><td></td><td>javax.servlet.http.HttpServlet.service(HttpServlet.java:727)</td></tr>
         <tr><td></td><td>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)</td></tr>
         <tr><td></td><td>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)</td></tr>
         <tr><td></td><td>org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)</td></tr>
         <tr><td></td><td>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)</td></tr>
         <tr><td></td><td>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)</td></tr>
         <tr><td></td><td>org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)</td></tr>
         <tr><td></td><td>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)</td></tr>
         <tr><td></td><td>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)</td></tr>
         <tr><td></td><td>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)</td></tr>
         <tr><td></td><td>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)</td></tr>
         <tr><td></td><td>org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)</td></tr>
         <tr><td></td><td>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)</td></tr>
         <tr><td></td><td>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)</td></tr>
         <tr><td></td><td>org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)</td></tr>
         <tr><td></td><td>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)</td></tr>
         <tr><td></td><td>org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)</td></tr>
         <tr><td></td><td>org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)</td></tr>
         <tr><td></td><td>org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)</td></tr>
         <tr><td></td><td>org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2441)</td></tr>
         <tr><td></td><td>org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2430)</td></tr>
         <tr><td></td><td>java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)</td></tr>
         <tr><td></td><td>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)</td></tr>
         <tr><td></td><td>java.lang.Thread.run(Thread.java:745)</td></tr>
   <tr><td></td><td> </td></tr>
   <tr><td><b>Exception:</b></td><td>org.alfresco.scripts.ScriptException - 08240090 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/cmis/item.put.atom.js': 08240089 Cannot perform operation since the node (id:66a12a5d-52c5-457e-a77f-108d428648f0) is locked.</td></tr>
   <tr><td></td><td> </td></tr>
      <tr><td></td><td>org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:204)</td></tr>
   <tr><td></td><td> </td></tr>
   <tr><td><b>Exception:</b></td><td>org.springframework.extensions.webscripts.WebScriptException - 08240027 Wrapped Exception (with status template): 08240090 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/cmis/item.put.atom.js': 08240089 Cannot perform operation since the node (id:66a12a5d-52c5-457e-a77f-108d428648f0) is locked.</td></tr>
   <tr><td></td><td> </td></tr>
      <tr><td></td><td>org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1126)</td></tr>
   <tr><td></td><td> </td></tr>
            <tr><td><b>Server</b>:</td><td>Community v5.0.0 (r75118-b23) schema 8,001</td></tr>
            <tr><td><b>Time</b>:</td><td>Sep 24, 2014 12:00:57 PM</td></tr>
            <tr><td></td><td> </td></tr>
            <tr><td><b>Diagnostics</b>:</td><td><a href="/alfresco/service/script/org/alfresco/cmis/item.put">Inspect Web Script (org/alfresco/cmis/item.put)</a></td></tr>
         </table>
      </div>
   </body>
</html>


I am using alfresco community version.


1 REPLY 1

kaynezhang
World-Class Innovator
World-Class Innovator