<?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 Run Alfresco Using a non-root account in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/run-alfresco-using-a-non-root-account/m-p/81284#M54333</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I need to run the Tomcat instance supporting Alfresco using a non-root account.&amp;nbsp; When I attempt this the Alfresco application fails to start.&amp;nbsp; I have all relevant Alfresco files and directories owned my this user but, during startup the error below is encountered.&amp;nbsp; For brevity I have only pasted a portion of the stacktrace.&amp;nbsp; If the entire stacktrace is needed I can post.&amp;nbsp; I have noticed that when I start Tomcat as root several new files are created in the alf_data directory so I assume there must be some where in the configuration that specifies which user to use when creating/updating files in this directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Our other Tomcat instances run using this non-root account so this is not an issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Environment:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco Version:&amp;nbsp; Community Edition 2.0.0 build 185 schema 38&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tomcat Version:&amp;nbsp; 5.5.17&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;OS:&amp;nbsp; Linux - RedHat Enterprise v4 update 2&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;15:40:02,816 ERROR [util.transaction.SpringAwareUserTransaction] Transaction didn't commit&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.service.cmr.repository.ContentIOException: Failed to get writer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at org.alfresco.repo.content.filestore.FileContentStore.getWriter(FileContentStore.java:276)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at org.alfresco.repo.content.RoutingContentService.getTempWriter(RoutingContentService.java:396)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at org.alfresco.repo.search.impl.lucene.LuceneIndexerImpl2.indexProperty(LuceneIndexerImpl2.java:1632)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at org.alfresco.repo.search.impl.lucene.LuceneIndexerImpl2.createDocuments(LuceneIndexerImpl2.java:1277)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at org.alfresco.repo.search.impl.lucene.LuceneIndexerImpl2.indexImpl(LuceneIndexerImpl2.java:1170)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at org.alfresco.repo.search.impl.lucene.LuceneIndexerImpl2.indexImpl(LuceneIndexerImpl2.java:1158)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at org.alfresco.repo.search.impl.lucene.LuceneIndexerImpl2.flushPending(LuceneIndexerImpl2.java:961)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at org.alfresco.repo.search.impl.lucene.LuceneIndexerImpl2.prepare(LuceneIndexerImpl2.java:732)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at org.alfresco.repo.search.impl.lucene.LuceneIndexerAndSearcherFactory2.prepare(LuceneIndexerAndSearcherFactory2.java:706)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at org.alfresco.repo.transaction.AlfrescoTransactionSupport$TransactionSynchronizationImpl.beforeCommit(AlfrescoTransactionSupport.java:599)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:657)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Jul 2007 11:11:31 GMT</pubDate>
    <dc:creator>dbrands</dc:creator>
    <dc:date>2007-07-19T11:11:31Z</dc:date>
    <item>
      <title>Run Alfresco Using a non-root account</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/run-alfresco-using-a-non-root-account/m-p/81284#M54333</link>
      <description>I need to run the Tomcat instance supporting Alfresco using a non-root account.&amp;nbsp; When I attempt this the Alfresco application fails to start.&amp;nbsp; I have all relevant Alfresco files and directories owned my this user but, during startup the error below is encountered.&amp;nbsp; For brevity I have only pasted a p</description>
      <pubDate>Thu, 19 Jul 2007 11:11:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/run-alfresco-using-a-non-root-account/m-p/81284#M54333</guid>
      <dc:creator>dbrands</dc:creator>
      <dc:date>2007-07-19T11:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: Run Alfresco Using a non-root account</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/run-alfresco-using-a-non-root-account/m-p/81285#M54334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Solved.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Turned out the directory specified by java.io.tmpdir had some files owned by root.&amp;nbsp; Once those files were cleaned up the Alfresco application started with Tomcat running as a non-root account.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2007 10:47:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/run-alfresco-using-a-non-root-account/m-p/81285#M54334</guid>
      <dc:creator>dbrands</dc:creator>
      <dc:date>2007-07-20T10:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Run Alfresco Using a non-root account</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/run-alfresco-using-a-non-root-account/m-p/81286#M54335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the follow-up post with your solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2007 11:47:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/run-alfresco-using-a-non-root-account/m-p/81286#M54335</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2007-07-20T11:47:56Z</dc:date>
    </item>
  </channel>
</rss>

