<?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 Strange issue in Alfresco-while executing code. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/strange-issue-in-alfresco-while-executing-code/m-p/192185#M145315</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Recently 1 strange issue I encountered in Alfresco. Suppose&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1)&amp;nbsp;&amp;nbsp;&amp;nbsp;When I run a sample program (say FirstJCRClient.java) it executes properly giving correct result. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2)&amp;nbsp;&amp;nbsp;&amp;nbsp;After that I start Alfresco server and then stop it (using alf_stop script); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3)&amp;nbsp;&amp;nbsp;&amp;nbsp;Go back to eclipse and try running FirstFoundationClient, it throws error (as below). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;** Note that this is not the case when I perform 1st step –&amp;gt; skip 2nd step and perform 3rd step. FirstFoundationClient executes properly giving correct result.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;###################################################################################################&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Log details:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;17:53:30,965 WARN&amp;nbsp; [remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;17:53:33,589 WARN&amp;nbsp; [alfresco.util.OpenOfficeConnectionTester] A connection to OpenOffice could not be established.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;17:53:36,589 INFO&amp;nbsp; [domain.schema.SchemaBootstrap] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;17:53:38,027 INFO&amp;nbsp; [domain.schema.SchemaBootstrap] Executing database script C:\DOCUME~1\AMIT~1.KAR\LOCALS~1\Temp\Alfresco\AlfrescoSchemaUpdate-org.hibernate.dialect.MySQLInnoDBDialect-60166.sql (Generated).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;17:53:43,011 ERROR [domain.schema.SchemaBootstrap] Statement execution failed:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; SQL:&amp;nbsp; alter table alf_access_control_entry add index FKFFF41F99B25A50BF (authority_id), add constraint FKFFF41F99B25A50BF foreign key (authority_id) references alf_authority (recipient)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Error: Can't create table '.\alfresco\#sql-464_542.frm' (errno: 150)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; File: C:\DOCUME~1\AMIT~1.KAR\LOCALS~1\Temp\Alfresco\AlfrescoSchemaUpdate-org.hibernate.dialect.MySQLInnoDBDialect-60166.sql&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Line: 26&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;17:53:43,043 ERROR [domain.schema.SchemaBootstrap] Schema auto-update failed&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;java.sql.SQLException: Can't create table '.\alfresco\#sql-464_542.frm' (errno: 150)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:946)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;###################################################################################################&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1 thing skeptical to me is when I stop alfresco server, it every time throwing error like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;***********************************************************************************************************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Server log details:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;“LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository”&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;***********************************************************************************************************************&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does the prior issue is because of the later one? Any comments or suggestions? Work around I got for this drop database, create it again things will be back on track. But this is temporary solution. I cannot think of dropping my db in production&amp;nbsp; :roll: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks n reg-&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Amit.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Oct 2008 13:32:48 GMT</pubDate>
    <dc:creator>amit_wmw</dc:creator>
    <dc:date>2008-10-08T13:32:48Z</dc:date>
    <item>
      <title>Strange issue in Alfresco-while executing code.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/strange-issue-in-alfresco-while-executing-code/m-p/192185#M145315</link>
      <description>Hello Recently 1 strange issue I encountered in Alfresco. Suppose1)&amp;nbsp;&amp;nbsp;&amp;nbsp;When I run a sample program (say FirstJCRClient.java) it executes properly giving correct result. 2)&amp;nbsp;&amp;nbsp;&amp;nbsp;After that I start Alfresco server and then stop it (using alf_stop script); 3)&amp;nbsp;&amp;nbsp;&amp;nbsp;Go back to eclipse and try running FirstFound</description>
      <pubDate>Wed, 08 Oct 2008 13:32:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/strange-issue-in-alfresco-while-executing-code/m-p/192185#M145315</guid>
      <dc:creator>amit_wmw</dc:creator>
      <dc:date>2008-10-08T13:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Strange issue in Alfresco-while executing code.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/strange-issue-in-alfresco-while-executing-code/m-p/192186#M145316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Amit, the LogMananger.repositorySelector (note: "mananger" instead of "manager", always makes me giggle) is unrelated, and is a sort of well-known log4j/tomcat handoff bug. Here's a &lt;/SPAN&gt;&lt;A href="http://www.mail-archive.com/log4j-user@logging.apache.org/msg09782.html" rel="nofollow noopener noreferrer"&gt;succinct explanation of the bug&lt;/A&gt;&lt;SPAN&gt; and here's &lt;/SPAN&gt;&lt;A href="https://issues.apache.org/bugzilla/show_bug.cgi?id=43867" rel="nofollow noopener noreferrer"&gt;a representative discussion of the bug&lt;/A&gt;&lt;SPAN&gt;. Maybe someone else on the boards has figured out how to hide it, but I suspect it's going to be showing up in our logs for a while yet.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looking at your error log, I wonder if the issue is that alfresco's MySQL account has insufficient permission to create new tables. Have you tried running MySQLInnoDBDialect-60166.sql from the MySQL command line, logged in with alfresco's MySQL account?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2009 20:44:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/strange-issue-in-alfresco-while-executing-code/m-p/192186#M145316</guid>
      <dc:creator>nadaoneal</dc:creator>
      <dc:date>2009-01-26T20:44:46Z</dc:date>
    </item>
  </channel>
</rss>

