<?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: Getting FirstFoundationClient running in V4.0 in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/getting-firstfoundationclient-running-in-v4-0/m-p/273736#M226866</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Then I suspect that the FirstFoundationClient is out of step with the 4.0d release database schema on MySQL. Looking at the log you put into PasteBin the key lines for me are&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;### Error querying database.&amp;nbsp; Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'node.node_deleted' in 'field list'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### The error may involve alfresco.node.select_NodeByNodeRef-Inline&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### The error occurred while setting parameters&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'node.node_deleted' in 'field list'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To me, this says that the error is that FirstFoundationClient is trying to query your database and asking it to return information in a column node.node_deleted (so I'm guessing that means a table called node and a column within that table called node_deleted) and the issue is that this table / column combination isn't there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, I am running 4.0a on postgresql and I have just had a quick look at my database structure using psql and I can tell you that there is no table called node, there is one called alf_node and there is one called avm_node and alf_node does have a column called node_deleted in it. I suggest that you have a peek at the MySQL database and see what tables you have got in it because it looks to me as if your SDK is trying to access a table that isn't there and based on the error message it looks as if the SQL statement created for MySQL is wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck and let me know how you get on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Jan 2013 11:47:09 GMT</pubDate>
    <dc:creator>rjohnson</dc:creator>
    <dc:date>2013-01-14T11:47:09Z</dc:date>
    <item>
      <title>Getting FirstFoundationClient running in V4.0</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-firstfoundationclient-running-in-v4-0/m-p/273730#M226860</link>
      <description>I have recently struggled to get the Alfresco SDK V4.0 working properly, and whilst there are a fair few posts on the subject of getting the SDK example applications working, few of them cover V4.0 and many of them end without a fix.This post is for those who might benefit from my experience of gett</description>
      <pubDate>Fri, 09 Mar 2012 21:21:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-firstfoundationclient-running-in-v4-0/m-p/273730#M226860</guid>
      <dc:creator>rjohnson</dc:creator>
      <dc:date>2012-03-09T21:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Getting FirstFoundationClient running in V4.0</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-firstfoundationclient-running-in-v4-0/m-p/273731#M226861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the posting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've updated the wiki page to point to 4.0.d and raised an issue in JIRA to consider how the introduction of SOLR affects the Embedded projects of the SDK.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2012 23:20:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-firstfoundationclient-running-in-v4-0/m-p/273731#M226861</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2012-03-09T23:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Getting FirstFoundationClient running in V4.0</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-firstfoundationclient-running-in-v4-0/m-p/273732#M226862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks very much indeed for posting - I too spent ages trying to get this working (which is pretty demoralising for a 'Hello World' type example!).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On Windows XP, with Alfresco Community V4.0.d, I did not need to add the hibernate settings, though I did need to manually start PostgreSQL since the scripts in the Start Menu shut down both Tomcat and Postgres. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I didn't get any exceptions about missing classes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I didn't put &lt;/SPAN&gt;&lt;STRONG&gt;alfresco-global.properties&lt;/STRONG&gt;&lt;SPAN&gt; into &lt;/SPAN&gt;&lt;STRONG&gt;{alfresco-root}/SDK/samples/FirstFoundationClient/build&lt;/STRONG&gt;&lt;SPAN&gt; - this folder doesn't seem to exist? I am still not sure what the correct location(s) are - because of earlier trial-and-error (and sheer desperation) I have one copy in &lt;/SPAN&gt;&lt;STRONG&gt;{alfresco-root}/SDK/samples/FirstFoundationClient &lt;/STRONG&gt;&lt;SPAN&gt;and another in &lt;/SPAN&gt;&lt;STRONG&gt;{alfresco-root}/SDK/samples/FirstFoundationClient/source/alfresco/extension &lt;/STRONG&gt;&lt;SPAN&gt;(which I created because it was mentioned in the wiki documentation, but is missing) and another in &lt;/SPAN&gt;&lt;STRONG&gt;SDK AlfrescoEmbedded/config&lt;/STRONG&gt;&lt;SPAN&gt;!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also ran into the cryptic "CreateProcess error=87" problem which is due to the classpath being too long - workaround is to move the SDK nearer to the root of the filesystem (e.g. C:\Alfresco) so that the paths are shorter (!).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2012 15:26:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-firstfoundationclient-running-in-v4-0/m-p/273732#M226862</guid>
      <dc:creator>dnallsopp</dc:creator>
      <dc:date>2012-05-16T15:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: Getting FirstFoundationClient running in V4.0</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-firstfoundationclient-running-in-v4-0/m-p/273733#M226863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, i'm having problem to run FirstFoundationClient.java as Java application from Eclipse.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have my alfresco working even before implementing this sample.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First, I added mysql-connector-java-5.1-22.bin.jar in my build path.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Second, i cant find alfresco-vti-4.0.d.jar, jetty-6.1.26.jar, jetty-util-6.1.26.jar in downloaded {alfresco-root}/SDK/lib/server directory&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I already run my ant build.xml&amp;gt;Run as Ant build&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Eclipse giving me org.springframework.jdbc.BadSqlGrammarException error&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I bet theres sth to do with&amp;nbsp;&amp;nbsp; ApplicationContext ctx = ApplicationContextHelper.getApplicationContext();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the error message : &lt;/SPAN&gt;&lt;A href="http://pastebin.com/cCQmMY2H" rel="nofollow noopener noreferrer"&gt;http://pastebin.com/cCQmMY2H&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm thankful if someone can help me. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 03:28:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-firstfoundationclient-running-in-v4-0/m-p/273733#M226863</guid>
      <dc:creator>melttech</dc:creator>
      <dc:date>2013-01-11T03:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: Getting FirstFoundationClient running in V4.0</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-firstfoundationclient-running-in-v4-0/m-p/273734#M226864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Your error suggests that your database schema and your Alfresco instance are out of step. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The default database is now Postgresql so I'm guessing that you elected to use MySql on the install instead or that you have upgraded from an earlier version.&amp;nbsp; I can't think of a reason why that would be a problem but…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you managed to log into Alfresco and do "some work" i.e. add, update and delete a document or 2?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Jan 2013 11:05:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-firstfoundationclient-running-in-v4-0/m-p/273734#M226864</guid>
      <dc:creator>rjohnson</dc:creator>
      <dc:date>2013-01-11T11:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Getting FirstFoundationClient running in V4.0</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-firstfoundationclient-running-in-v4-0/m-p/273735#M226865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;HI,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sry for late reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using Mysql as database. My alfresco is working normally. I can do whatever i want in alfresco. I already copy paste alfresco-global.properties into Eclipse. This error driving me crazy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2013 08:23:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-firstfoundationclient-running-in-v4-0/m-p/273735#M226865</guid>
      <dc:creator>melttech</dc:creator>
      <dc:date>2013-01-14T08:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Getting FirstFoundationClient running in V4.0</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-firstfoundationclient-running-in-v4-0/m-p/273736#M226866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Then I suspect that the FirstFoundationClient is out of step with the 4.0d release database schema on MySQL. Looking at the log you put into PasteBin the key lines for me are&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;### Error querying database.&amp;nbsp; Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'node.node_deleted' in 'field list'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### The error may involve alfresco.node.select_NodeByNodeRef-Inline&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### The error occurred while setting parameters&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column 'node.node_deleted' in 'field list'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To me, this says that the error is that FirstFoundationClient is trying to query your database and asking it to return information in a column node.node_deleted (so I'm guessing that means a table called node and a column within that table called node_deleted) and the issue is that this table / column combination isn't there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, I am running 4.0a on postgresql and I have just had a quick look at my database structure using psql and I can tell you that there is no table called node, there is one called alf_node and there is one called avm_node and alf_node does have a column called node_deleted in it. I suggest that you have a peek at the MySQL database and see what tables you have got in it because it looks to me as if your SDK is trying to access a table that isn't there and based on the error message it looks as if the SQL statement created for MySQL is wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck and let me know how you get on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2013 11:47:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-firstfoundationclient-running-in-v4-0/m-p/273736#M226866</guid>
      <dc:creator>rjohnson</dc:creator>
      <dc:date>2013-01-14T11:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Getting FirstFoundationClient running in V4.0</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-firstfoundationclient-running-in-v4-0/m-p/273737#M226867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I took a peek into mySQL and alf_node does not have a column called node_deleted in it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What can go wrong?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2013 07:24:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-firstfoundationclient-running-in-v4-0/m-p/273737#M226867</guid>
      <dc:creator>melttech</dc:creator>
      <dc:date>2013-01-15T07:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Getting FirstFoundationClient running in V4.0</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-firstfoundationclient-running-in-v4-0/m-p/273738#M226868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Based on a very quick search of this forum it seems like you have a database from Alfresco V4.1 Schema 5113 or later and a development kit that pre-dates that because at V4.1 Schema 5113 the column node_deleted was removed from alf_nodes and replaced by another mechanism for tracking deleted nodes. See this JIRA&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://issues.alfresco.com/jira/browse/DOC-410?page=com.atlassian.jira.plugin.system.issuetabpanels:changehistory-tabpanel" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/DOC-410?page=com.atlassian.jira.plugin.system.issuetabpanels:changehistory-tabpanel&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would start by checking to see if there is a later version of the SDK. If there isn't, ask a separate question in the relevant forum about when a new version might be available.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 09:35:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-firstfoundationclient-running-in-v4-0/m-p/273738#M226868</guid>
      <dc:creator>rjohnson</dc:creator>
      <dc:date>2013-01-17T09:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: Getting FirstFoundationClient running in V4.0</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-firstfoundationclient-running-in-v4-0/m-p/273739#M226869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks rjohnson for your help. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Appreciated it. Now it is clear the reason why i cant make the SDK running. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the nutshell, available SDK wont work with Alfresco V4.1 Schema 5113 and later. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 01:21:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-firstfoundationclient-running-in-v4-0/m-p/273739#M226869</guid>
      <dc:creator>melttech</dc:creator>
      <dc:date>2013-01-21T01:21:11Z</dc:date>
    </item>
  </channel>
</rss>

