<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Java API error : 04100053 Access Denied.  The system is currently in read-only mode. in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/java-api-error-04100053-access-denied-the-system-is-currently-in/m-p/106594#M30081</link>
    <description>&lt;P&gt;I wish I had chosen Nuxeo.&lt;/P&gt;&lt;P&gt;your documentation is poor.&lt;/P&gt;</description>
    <pubDate>Mon, 11 May 2020 01:04:04 GMT</pubDate>
    <dc:creator>4rsenaltt</dc:creator>
    <dc:date>2020-05-11T01:04:04Z</dc:date>
    <item>
      <title>Java API error : 04100053 Access Denied.  The system is currently in read-only mode.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/java-api-error-04100053-access-denied-the-system-is-currently-in/m-p/106593#M30080</link>
      <description>&lt;P&gt;I am trying to use the Java public API :&lt;/P&gt;&lt;PRE&gt;    public EpicDocument upload(EpicDocument doc) {
        logger.info("creating new EpicDocument...");

        StoreRef storeRef = new StoreRef(StoreRef.PROTOCOL_WORKSPACE, "SpacesStore");
        NodeRef root = nodeService.getRootNode(storeRef);

        QName type = QName.createQName(EPIC_NAMESPACE_URI, "document");
        Map&amp;lt;QName, Serializable&amp;gt; props = new HashMap&amp;lt;&amp;gt;();
        props.put(ContentModel.PROP_NAME, doc.getPath());
        props.put(QName.createQName(EPIC_NAMESPACE_URI, "fileName"), "FILENAMEEEEEEE132423");
        NodeRef nodeRef = nodeService.createNode(root,
                ContentModel.ASSOC_CONTAINS,
                QName.createQName(NamespaceService.CONTENT_MODEL_1_0_URI, "myNameIsMehrdad"),
                type, props).getChildRef();

        ContentWriter contentWriter = contentService.getWriter(nodeRef, ContentModel.PROP_CONTENT, true);
        contentWriter.setMimetype(MimetypeMap.MIMETYPE_TEXT_PLAIN);
        contentWriter.setEncoding("UTF-8");
        contentWriter.putContent(new ByteArrayInputStream(doc.getBytes()));

        logger.info("EpicDocument created with NodeRef = {}", nodeRef.toString());
        return doc;
    }&lt;/PRE&gt;&lt;P&gt;but I get this error :&lt;/P&gt;&lt;PRE&gt;Caused by: org.alfresco.service.transaction.ReadOnlyServerException: 04100056 Access Denied.  The system is currently in read-only mode.
	at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.getCurrentTransaction(AbstractNodeDAOImpl.java:650)
	at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.newNodeImpl(AbstractNodeDAOImpl.java:1366)
	at org.alfresco.repo.domain.node.AbstractNodeDAOImpl.newNode(AbstractNodeDAOImpl.java:1290)
	at org.alfresco.repo.node.db.DbNodeServiceImpl.createNode_aroundBody24(DbNodeServiceImpl.java:392)
	at org.alfresco.repo.node.db.DbNodeServiceImpl$AjcClosure25.run(DbNodeServiceImpl.java:1)
	at org.aspectj.runtime.reflect.JoinPointImpl.proceed(JoinPointImpl.java:167)
	at org.alfresco.traitextender.RouteExtensions.intercept(RouteExtensions.java:100)
	at org.alfresco.repo.node.db.DbNodeServiceImpl.createNode(DbNodeServiceImpl.java:342)
	at jdk.internal.reflect.GeneratedMethodAccessor204.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
	at org.alfresco.repo.lock.mem.LockableAspectInterceptor.invoke(LockableAspectInterceptor.java:244)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
	at com.sun.proxy.$Proxy37.createNode(Unknown Source)
	at jdk.internal.reflect.GeneratedMethodAccessor204.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
	at org.alfresco.repo.tenant.MultiTNodeServiceInterceptor.invoke(MultiTNodeServiceInterceptor.java:111)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
	at com.sun.proxy.$Proxy37.createNode(Unknown Source)
	at jdk.internal.reflect.GeneratedMethodAccessor204.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:231)
	at com.sun.proxy.$Proxy58.createNode(Unknown Source)
	at org.alfresco.repo.node.MLPropertyInterceptor.invoke(MLPropertyInterceptor.java:284)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
	at org.alfresco.repo.node.NodeRefPropertyMethodInterceptor.invoke(NodeRefPropertyMethodInterceptor.java:190)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212)
	at com.sun.proxy.$Proxy37.createNode(Unknown Source)
	at jdk.internal.reflect.GeneratedMethodAccessor204.invoke(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:205)
	at com.sun.proxy.$Proxy37.createNode(Unknown Source)
	at com.mhr.alf.epic.service.EpicContentServiceImpl.upload(EpicContentServiceImpl.java:56)
	at com.mhr.alf.epic.listener.AlfUploadQueueListener.onUpload(AlfUploadQueueListener.java:43)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
	at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:171)
	at org.springframework.messaging.handler.invocation.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:120)
	at org.springframework.amqp.rabbit.listener.adapter.DelegatingInvocableHandler.invoke(DelegatingInvocableHandler.java:130)
	at org.springframework.amqp.rabbit.listener.adapter.HandlerAdapter.invoke(HandlerAdapter.java:61)
	at org.springframework.amqp.rabbit.listener.adapter.MessagingMessageListenerAdapter.invokeHandler(MessagingMessageListenerAdapter.java:196)

&lt;/PRE&gt;&lt;P&gt;what is the problem?&lt;/P&gt;&lt;P&gt;I am using community version 6.2.0-ga&lt;/P&gt;</description>
      <pubDate>Sun, 10 May 2020 15:38:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/java-api-error-04100053-access-denied-the-system-is-currently-in/m-p/106593#M30080</guid>
      <dc:creator>4rsenaltt</dc:creator>
      <dc:date>2020-05-10T15:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: Java API error : 04100053 Access Denied.  The system is currently in read-only mode.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/java-api-error-04100053-access-denied-the-system-is-currently-in/m-p/106594#M30081</link>
      <description>&lt;P&gt;I wish I had chosen Nuxeo.&lt;/P&gt;&lt;P&gt;your documentation is poor.&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 01:04:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/java-api-error-04100053-access-denied-the-system-is-currently-in/m-p/106594#M30081</guid>
      <dc:creator>4rsenaltt</dc:creator>
      <dc:date>2020-05-11T01:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: Java API error : 04100053 Access Denied.  The system is currently in read-only mode.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/java-api-error-04100053-access-denied-the-system-is-currently-in/m-p/106595#M30082</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/80954"&gt;@4rsenaltt&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;What environment are you using?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 May 2020 04:34:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/java-api-error-04100053-access-denied-the-system-is-currently-in/m-p/106595#M30082</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-05-11T04:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: Java API error : 04100053 Access Denied.  The system is currently in read-only mode.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/java-api-error-04100053-access-denied-the-system-is-currently-in/m-p/106596#M30083</link>
      <description>&lt;P&gt;my OS is Linux and I deployed Alfresco content service (VERSION 6.2.0-GA) plus my module docker image mad by SDK version 4, then in the module Spring Context I defined some RabbitMQ beans to listen to an AMQP queue and create nodes(calling the upload() method above).&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 09:28:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/java-api-error-04100053-access-denied-the-system-is-currently-in/m-p/106596#M30083</guid>
      <dc:creator>4rsenaltt</dc:creator>
      <dc:date>2020-05-14T09:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Java API error : 04100053 Access Denied.  The system is currently in read-only mode.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/java-api-error-04100053-access-denied-the-system-is-currently-in/m-p/106597#M30084</link>
      <description>&lt;P&gt;is there any problem with this design?&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 09:29:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/java-api-error-04100053-access-denied-the-system-is-currently-in/m-p/106597#M30084</guid>
      <dc:creator>4rsenaltt</dc:creator>
      <dc:date>2020-05-14T09:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Java API error : 04100053 Access Denied.  The system is currently in read-only mode.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/java-api-error-04100053-access-denied-the-system-is-currently-in/m-p/106598#M30085</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/80954"&gt;@4rsenaltt&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;This error message is usually associated with running Enterprise without a valid licence.&lt;/P&gt;
&lt;P&gt;If you're looking to use Alfresco beyond the licence time limit, you can install the Community Edition using a &lt;A href="https://github.com/Alfresco/alfresco-docker-installer" target="_self" rel="nofollow noopener noreferrer"&gt;Docker installer&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HTH,&lt;/P&gt;</description>
      <pubDate>Fri, 15 May 2020 10:05:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/java-api-error-04100053-access-denied-the-system-is-currently-in/m-p/106598#M30085</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-05-15T10:05:50Z</dc:date>
    </item>
  </channel>
</rss>

