<?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: admin and hibernate problem in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/admin-and-hibernate-problem/m-p/95491#M65507</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm afraid I can't help you on the hibernate issue, but to restore your admin account you could try the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Assumptions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- There is no other admin account available&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- You have full access to the Alfresco db schema&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Obtain the nodereference of a valid space (eg. company home)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can do this by logging in with another user account that can access company home.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Look up your account's username row in the 'alf_node_properties' table. It should look something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;714, 'STRING', b'0', 'STRING', b'0', 0, 0, 0, 'myAccountName', '', '{&lt;A href="http://www.alfresco.org/model/content/1.0}userName" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}userName&lt;/A&gt;'&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Use this id (714 in this example) to look up the row in the 'alf_node_properties' table that contains the homeFolder for your admin account. It looks something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;714, 'NODEREF', b'0', 'STRING', b'0', 0, 0, 0, 'workspace://SpacesStore/a9c268ee-0dc9-11dc-90f6-dd72221b1cb4', '', '{&lt;A href="http://www.alfresco.org/model/content/1.0}homeFolder" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}homeFolder&lt;/A&gt;'&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Execute an update statement on this row:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;update 'alf_node_properties' set string_value = 'newHomeRef' where node_id = 714 and qname = '{&lt;A href="http://www.alfresco.org/model/content/1.0}homeFolder" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}homeFolder&lt;/A&gt;'&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Replacing newHomeRef with the reference of the valid space, and 714 with the id that corresponds to your node in the db.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;5. Restart alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now your homefolder should have changed to the valid space (eg. company home).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 May 2007 13:56:06 GMT</pubDate>
    <dc:creator>frederick</dc:creator>
    <dc:date>2007-05-29T13:56:06Z</dc:date>
    <item>
      <title>admin and hibernate problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/admin-and-hibernate-problem/m-p/95490#M65506</link>
      <description>Hi,I tried to build a new tree in the alfresco using the java APIs, starting with a new root space and adding some new sub trees recursively. after about 50 cycles i got the following exception:java.lang.NoSuchMethodError: java.lang.Object.getHibernateLazyInitializer()Lorg/hibernate/proxy/LazyInitia</description>
      <pubDate>Tue, 29 May 2007 13:12:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/admin-and-hibernate-problem/m-p/95490#M65506</guid>
      <dc:creator>shay</dc:creator>
      <dc:date>2007-05-29T13:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: admin and hibernate problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/admin-and-hibernate-problem/m-p/95491#M65507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm afraid I can't help you on the hibernate issue, but to restore your admin account you could try the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Assumptions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- There is no other admin account available&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- You have full access to the Alfresco db schema&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Obtain the nodereference of a valid space (eg. company home)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can do this by logging in with another user account that can access company home.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Look up your account's username row in the 'alf_node_properties' table. It should look something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;714, 'STRING', b'0', 'STRING', b'0', 0, 0, 0, 'myAccountName', '', '{&lt;A href="http://www.alfresco.org/model/content/1.0}userName" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}userName&lt;/A&gt;'&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Use this id (714 in this example) to look up the row in the 'alf_node_properties' table that contains the homeFolder for your admin account. It looks something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;714, 'NODEREF', b'0', 'STRING', b'0', 0, 0, 0, 'workspace://SpacesStore/a9c268ee-0dc9-11dc-90f6-dd72221b1cb4', '', '{&lt;A href="http://www.alfresco.org/model/content/1.0}homeFolder" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}homeFolder&lt;/A&gt;'&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Execute an update statement on this row:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;update 'alf_node_properties' set string_value = 'newHomeRef' where node_id = 714 and qname = '{&lt;A href="http://www.alfresco.org/model/content/1.0}homeFolder" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}homeFolder&lt;/A&gt;'&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Replacing newHomeRef with the reference of the valid space, and 714 with the id that corresponds to your node in the db.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;5. Restart alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now your homefolder should have changed to the valid space (eg. company home).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 13:56:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/admin-and-hibernate-problem/m-p/95491#M65507</guid>
      <dc:creator>frederick</dc:creator>
      <dc:date>2007-05-29T13:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: admin and hibernate problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/admin-and-hibernate-problem/m-p/95492#M65508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thank you Frederick, that was very helpful and solved the admin problem&amp;nbsp; &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i'm still looking for an answer about the hibernate issue&amp;nbsp; :? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;about the delete issue…when i tries to delete a space (via the web client) i get the following error in the log file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;17:41:06,173 ERROR [org.alfresco.web.ui.common.Utils] Unable to delete Space due to system error:&lt;BR /&gt;java.lang.OutOfMemoryError: Java heap space&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;how can i change the heap size?… this space size is about 100MB and in the future we'll have even bigger spaces (above 1G) is there any other solution to this problem? (the user tries to delete a root space which is above 1G via the web client)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 15:16:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/admin-and-hibernate-problem/m-p/95492#M65508</guid>
      <dc:creator>shay</dc:creator>
      <dc:date>2007-05-29T15:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: admin and hibernate problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/admin-and-hibernate-problem/m-p/95493#M65509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you installed Alfresco out of the box, the heap config is in alfresco.bat (or alfresco.sh I assume):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;set JAVA_OPTS=-Xms256m -Xmx512m -Xss2048k -server&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Xms is initial heap size, Xmx is maximum heap size, Xss is stack size per thread.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you do not use the alfresco batch or shell script, you must add these parameters to the place where java.exe is called (for tomcat in windows this is bin/catalina.bat).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 20:20:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/admin-and-hibernate-problem/m-p/95493#M65509</guid>
      <dc:creator>frederick</dc:creator>
      <dc:date>2007-05-29T20:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: admin and hibernate problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/admin-and-hibernate-problem/m-p/95494#M65510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The -server switch is a workaround for the hibernate issue - if you are setting the bigger heap size, set this switch also.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kevin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2007 09:59:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/admin-and-hibernate-problem/m-p/95494#M65510</guid>
      <dc:creator>kevinr</dc:creator>
      <dc:date>2007-05-30T09:59:00Z</dc:date>
    </item>
  </channel>
</rss>

