<?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 Failed to run Alfresco SDK sample -SDK FirstFoundationClient in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/failed-to-run-alfresco-sdk-sample-sdk-firstfoundationclient/m-p/34768#M18225</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Guys&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I downloaded the Alfresco SDK and followed the instructions from the wiki site &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Alfresco_SDK" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Alfresco_SDK&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Following the "Running your first Alfresco Client" from the wiki site above&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It gave me the following errors&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using elipse 3.1,mysql database&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I got no syntax errors but I got some runtime errors below&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I already copied and pasted my properties below after the errors&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;01:43:38,955 ERROR [tool.hbm2ddl.SchemaUpdate] Unsuccessful: alter table access_control_list add index FK18486D3B7F2C8017 (node_id), add constraint FK18486D3B7F2C8017 foreign key (node_id) references node (id)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01:43:38,975 ERROR [tool.hbm2ddl.SchemaUpdate] Can't create table '.\alfresco\#sql-e48_fa.frm' (errno: 150)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01:43:39,076 ERROR [tool.hbm2ddl.SchemaUpdate] Unsuccessful: alter table child_assoc add index FKC6EFFF3274173FF4 (child_node_id), add constraint FKC6EFFF3274173FF4 foreign key (child_node_id) references node (id)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01:43:39,076 ERROR [tool.hbm2ddl.SchemaUpdate] Can't create table '.\alfresco\#sql-e48_fa.frm' (errno: 150)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01:43:39,186 ERROR [tool.hbm2ddl.SchemaUpdate] Unsuccessful: alter table child_assoc add index FKC6EFFF328E50E582 (parent_node_id), add constraint FKC6EFFF328E50E582 foreign key (parent_node_id) references node (id)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01:43:39,186 ERROR [tool.hbm2ddl.SchemaUpdate] Can't create table '.\alfresco\#sql-e48_fa.frm' (errno: 150)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01:43:39,286 ERROR [tool.hbm2ddl.SchemaUpdate] Unsuccessful: alter table node_aspects add index FK2B91A9DE7F2C8017 (node_id), add constraint FK2B91A9DE7F2C8017 foreign key (node_id) references node (id)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01:43:39,286 ERROR [tool.hbm2ddl.SchemaUpdate] Can't create table '.\alfresco\#sql-e48_fa.frm' (errno: 150)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01:43:39,386 ERROR [tool.hbm2ddl.SchemaUpdate] Unsuccessful: alter table node_assoc add index FK5BAEF398B69C43F3 (source_node_id), add constraint FK5BAEF398B69C43F3 foreign key (source_node_id) references node (id)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01:43:39,386 ERROR [tool.hbm2ddl.SchemaUpdate] Can't create table '.\alfresco\#sql-e48_fa.frm' (errno: 150)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01:43:39,516 ERROR [tool.hbm2ddl.SchemaUpdate] Unsuccessful: alter table node_assoc add index FK5BAEF398A8FC7769 (target_node_id), add constraint FK5BAEF398A8FC7769 foreign key (target_node_id) references node (id)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01:43:39,516 ERROR [tool.hbm2ddl.SchemaUpdate] Can't create table '.\alfresco\#sql-e48_fa.frm' (errno: 150)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01:43:39,656 ERROR [tool.hbm2ddl.SchemaUpdate] Unsuccessful: alter table node_properties add index FKC962BF907F2C8017 (node_id), add constraint FKC962BF907F2C8017 foreign key (node_id) references node (id)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01:43:39,656 ERROR [tool.hbm2ddl.SchemaUpdate] Can't create table '.\alfresco\#sql-e48_fa.frm' (errno: 150)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01:43:39,747 ERROR [tool.hbm2ddl.SchemaUpdate] Unsuccessful: alter table node_status add index FK38ECB8CF7F2C8017 (node_id), add constraint FK38ECB8CF7F2C8017 foreign key (node_id) references node (id)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01:43:39,747 ERROR [tool.hbm2ddl.SchemaUpdate] Can't create table '.\alfresco\#sql-e48_fa.frm' (errno: 150)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01:43:39,867 ERROR [tool.hbm2ddl.SchemaUpdate] Unsuccessful: alter table store add index FK68AF8E122DBA5BA (root_node_id), add constraint FK68AF8E122DBA5BA foreign key (root_node_id) references node (id)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01:43:39,867 ERROR [tool.hbm2ddl.SchemaUpdate] Can't create table '.\alfresco\#sql-e48_fa.frm' (errno: 150)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01:43:44,083 ERROR [transform.magick.AbstractImageMagickContentTransformer] ImageMagickContentTransformer not available: Failed to execute command: imconvert "C:\DOCUME~1\Chi\LOCALS~1\Temp\Alfresco\ImageMagickContentTransformer_init_source_37943.gif"&amp;nbsp; "C:\DOCUME~1\Chi\LOCALS~1\Temp\Alfresco\ImageMagickContentTransformer_init_target_37944.png"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jun 16, 2006 1:43:44 AM net.sf.joott.uno.UnoConnection connect&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;INFO: connecting using "socket,host=localhost,port=8100,tcpNoDelay=1"…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jun 16, 2006 1:43:45 AM net.sf.joott.uno.UnoConnection connect&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SEVERE: connection failed: com.sun.star.connection.NoConnectException: java.net.ConnectException: Connection refused: connect&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jun 16, 2006 1:43:46 AM net.sf.joott.uno.UnoConnection connect&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;INFO: connecting using "socket,host=localhost,port=8100,tcpNoDelay=1"…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jun 16, 2006 1:43:47 AM net.sf.joott.uno.UnoConnection connect&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SEVERE: connection failed: com.sun.star.connection.NoConnectException: java.net.ConnectException: Connection refused: connect&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;01:43:47,808 ERROR [hibernate.util.JDBCExceptionReporter] Cannot add or update a child row: a foreign key constraint fails&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;—————————————————–&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;.properties file&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Sample custom content and index data location&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;dir.root=./alf_data&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;db.username=alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;db.password=alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# MySQL connection (This is default and requires mysql-connector-java-3.1.12-bin.jar, which ships with the Alfresco server)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;db.driver=org.gjt.mm.mysql.Driver&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;db.url=jdbc:mysql://localhost/alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Oracle connection (requires ojdbc14_g.jar or equivalent jar in shared libraries location)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#db.driver=oracle.jdbc.OracleDriver&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#db.url=jdbc&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;racle:thin:@localhost:1521:alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# Sybase connection (requires jconn2d.jar or equivalent jar in shared libraries location)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#db.driver=com.sybase.jdbc2.jdbc.SybDriver&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#db.url=jdbc:sybase:Tds:localhost:2638/alfresco&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Jun 2006 05:51:54 GMT</pubDate>
    <dc:creator>chi</dc:creator>
    <dc:date>2006-06-16T05:51:54Z</dc:date>
    <item>
      <title>Failed to run Alfresco SDK sample -SDK FirstFoundationClient</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/failed-to-run-alfresco-sdk-sample-sdk-firstfoundationclient/m-p/34768#M18225</link>
      <description>Hi GuysI downloaded the Alfresco SDK and followed the instructions from the wiki site http://wiki.alfresco.com/wiki/Alfresco_SDKFollowing the "Running your first Alfresco Client" from the wiki site aboveIt gave me the following errorsI am using elipse 3.1,mysql databaseI got no syntax errors but I g</description>
      <pubDate>Fri, 16 Jun 2006 05:51:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/failed-to-run-alfresco-sdk-sample-sdk-firstfoundationclient/m-p/34768#M18225</guid>
      <dc:creator>chi</dc:creator>
      <dc:date>2006-06-16T05:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to run Alfresco SDK sample -SDK FirstFoundationClient</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/failed-to-run-alfresco-sdk-sample-sdk-firstfoundationclient/m-p/34769#M18226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The messages imply an exising Alfresco database schema already exists and that the auto-schema migration has failed; this will be the case, if the existing schema was created with a pre-v1.3 release.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you try on a clean database, or (if you were using 1.2), upgrade the database to 1.3 using &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Upgrading_to_1.3.0" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Upgrading_to_1.3.0&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jun 2006 08:31:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/failed-to-run-alfresco-sdk-sample-sdk-firstfoundationclient/m-p/34769#M18226</guid>
      <dc:creator>davidc</dc:creator>
      <dc:date>2006-06-16T08:31:11Z</dc:date>
    </item>
  </channel>
</rss>

