<?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: Mail action User does not exists :  System in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/mail-action-user-does-not-exists-system/m-p/255076#M208206</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Some Updates:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was using following statement to set system user for executing the Job&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;authenticationComponent.setSystemUserAsCurrentUser();&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;And here is the issue. It could not find the System user.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I tried to execute Job with a user having admin rights.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;authenticationComponent.setCurrentUser("admin");&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;And it works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I am still not sure why it does not find System user with &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;tauthenticationComponent.setSystemUserAsCurrentUser();&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Oct 2011 17:41:56 GMT</pubDate>
    <dc:creator>nikes</dc:creator>
    <dc:date>2011-10-21T17:41:56Z</dc:date>
    <item>
      <title>Mail action User does not exists :  System</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mail-action-user-does-not-exists-system/m-p/255075#M208205</link>
      <description>Hello all,I have wriiten a Java scheduler which sends an email to some list of users using ActionService for mail.The code runs fine and sends email for Alfresco 3.2.r EE but fails for Alfresco 3.4.3 EEFollowing is the exception stacktrace from alfresco.log19:50:00,299 ERROR [org.alfresco.repo.actio</description>
      <pubDate>Fri, 21 Oct 2011 16:49:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mail-action-user-does-not-exists-system/m-p/255075#M208205</guid>
      <dc:creator>nikes</dc:creator>
      <dc:date>2011-10-21T16:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Mail action User does not exists :  System</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mail-action-user-does-not-exists-system/m-p/255076#M208206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Some Updates:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was using following statement to set system user for executing the Job&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;authenticationComponent.setSystemUserAsCurrentUser();&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;And here is the issue. It could not find the System user.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I tried to execute Job with a user having admin rights.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;authenticationComponent.setCurrentUser("admin");&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;And it works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I am still not sure why it does not find System user with &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;tauthenticationComponent.setSystemUserAsCurrentUser();&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Oct 2011 17:41:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mail-action-user-does-not-exists-system/m-p/255076#M208206</guid>
      <dc:creator>nikes</dc:creator>
      <dc:date>2011-10-21T17:41:56Z</dc:date>
    </item>
    <item>
      <title>Re: Mail action User does not exists :  System</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mail-action-user-does-not-exists-system/m-p/255077#M208207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I still could not find why System user does not exists.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could any one guide please to debug the same.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2011 07:51:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mail-action-user-does-not-exists-system/m-p/255077#M208207</guid>
      <dc:creator>nikes</dc:creator>
      <dc:date>2011-11-03T07:51:17Z</dc:date>
    </item>
  </channel>
</rss>

