<?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: irregular error with RepositoryService in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/irregular-error-with-repositoryservice/m-p/164036#M117800</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Oooooookeyyyy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;got it. After months…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As my setup is x users (with x sessions) connect to 1 application which connects (with 1 session) to alfresco, I couldn't use the standard way of session handling as in AuthenticationUtils. I really wonder how a ThreadLocal variable for authenticationDetails can help at all. Since it is stored "in a thread" of a pool of which the threads are assigned to users rather randomly it's not for sure the respective user is getting it back, is it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyways, we don't have the authenticationDetails available which causes the &lt;/SPAN&gt;&lt;STRONG&gt;CookieHandler&lt;/STRONG&gt;&lt;SPAN&gt; to fail. Thus, I just removed it from the &lt;/SPAN&gt;&lt;EM&gt;WS_SECURITY_INFO&lt;/EM&gt;&lt;SPAN&gt;. Now, everything works fine. Is that an issue regarding session management? Or is it really just one session I have between my application an alfresco?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought such a setup (server talks to server) is a rather common setup. However, it seems the API is not really prepared for that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Apr 2008 08:43:38 GMT</pubDate>
    <dc:creator>tim-erwin</dc:creator>
    <dc:date>2008-04-22T08:43:38Z</dc:date>
    <item>
      <title>irregular error with RepositoryService</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/irregular-error-with-repositoryservice/m-p/164035#M117799</link>
      <description>Hi,I have Alfresco (2.9, but was the same with 2.1) instances running on tomcats on 4 machines as well as 1 virtual machine (xen). Operating systems are Windows XP and debian linux. My application is also running in the tomcats and connects to Alfresco. So I make connections from machine A to B, B t</description>
      <pubDate>Mon, 21 Apr 2008 14:02:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/irregular-error-with-repositoryservice/m-p/164035#M117799</guid>
      <dc:creator>tim-erwin</dc:creator>
      <dc:date>2008-04-21T14:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: irregular error with RepositoryService</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/irregular-error-with-repositoryservice/m-p/164036#M117800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Oooooookeyyyy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;got it. After months…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As my setup is x users (with x sessions) connect to 1 application which connects (with 1 session) to alfresco, I couldn't use the standard way of session handling as in AuthenticationUtils. I really wonder how a ThreadLocal variable for authenticationDetails can help at all. Since it is stored "in a thread" of a pool of which the threads are assigned to users rather randomly it's not for sure the respective user is getting it back, is it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyways, we don't have the authenticationDetails available which causes the &lt;/SPAN&gt;&lt;STRONG&gt;CookieHandler&lt;/STRONG&gt;&lt;SPAN&gt; to fail. Thus, I just removed it from the &lt;/SPAN&gt;&lt;EM&gt;WS_SECURITY_INFO&lt;/EM&gt;&lt;SPAN&gt;. Now, everything works fine. Is that an issue regarding session management? Or is it really just one session I have between my application an alfresco?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought such a setup (server talks to server) is a rather common setup. However, it seems the API is not really prepared for that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2008 08:43:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/irregular-error-with-repositoryservice/m-p/164036#M117800</guid>
      <dc:creator>tim-erwin</dc:creator>
      <dc:date>2008-04-22T08:43:38Z</dc:date>
    </item>
  </channel>
</rss>

