<?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: Activit Version 5.2 with MySQL Exception at tomcat.start in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activit-version-5-2-with-mysql-exception-at-tomcat-start/m-p/39697#M21181</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;Try running this, to get the new configuration-jar build and copied to the REST-webapp&amp;nbsp; (containing the new MySQL config):&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;ant demo.clean cfg.create demo.start&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Feb 2011 09:21:23 GMT</pubDate>
    <dc:creator>frederikherema1</dc:creator>
    <dc:date>2011-02-22T09:21:23Z</dc:date>
    <item>
      <title>Activit Version 5.2 with MySQL Exception at tomcat.start</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activit-version-5-2-with-mysql-exception-at-tomcat-start/m-p/39696#M21180</link>
      <description>HelloI am setting up Activiti 5.2 locally. I switched the db from h2 to MySQL following the instructions in the manual. At starting up of tomcat I get a PersistenceException. SCHWERWIEGEND: Error while closing command contextorg.apache.ibatis.exceptions.PersistenceException:### Error opening session</description>
      <pubDate>Tue, 22 Feb 2011 09:17:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activit-version-5-2-with-mysql-exception-at-tomcat-start/m-p/39696#M21180</guid>
      <dc:creator>rberla</dc:creator>
      <dc:date>2011-02-22T09:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: Activit Version 5.2 with MySQL Exception at tomcat.start</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activit-version-5-2-with-mysql-exception-at-tomcat-start/m-p/39697#M21181</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;Try running this, to get the new configuration-jar build and copied to the REST-webapp&amp;nbsp; (containing the new MySQL config):&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;ant demo.clean cfg.create demo.start&lt;BR /&gt;&lt;/CODE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Feb 2011 09:21:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activit-version-5-2-with-mysql-exception-at-tomcat-start/m-p/39697#M21181</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-02-22T09:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: Activit Version 5.2 with MySQL Exception at tomcat.start</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activit-version-5-2-with-mysql-exception-at-tomcat-start/m-p/39698#M21182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Try running this, to get the new configuration-jar build and copied to the REST-webapp&amp;nbsp; (containing the new MySQL config):&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;ant demo.clean cfg.create demo.start&lt;BR /&gt;&lt;/CODE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi, ant demo.start fails because mysql-db already exists and is not empty. The error looks like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;internal.db.install.h2:&lt;BR /&gt;&lt;BR /&gt;internal.db.install.h2.unnecessary:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [echo] H2 is already installed&lt;BR /&gt;&lt;BR /&gt;internal.db.install.unsupported:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [echo] Automatic installation of mysql DB not supported.&amp;nbsp; It is assumed to be installed and running&lt;BR /&gt;&lt;BR /&gt;h2.install:&lt;BR /&gt;&lt;BR /&gt;internal.classpath.libs:&lt;BR /&gt;&lt;BR /&gt;internal.taskdef.launch:&lt;BR /&gt;&lt;BR /&gt;h2.start:&lt;BR /&gt;&lt;BR /&gt;db.create:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [echo] creating db&lt;BR /&gt;&lt;BR /&gt;internal.classpath.libs:&lt;BR /&gt;&lt;BR /&gt;internal.classpath.libs:&lt;BR /&gt;&lt;BR /&gt;internal.db.create.engine:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [sql] Executing resource: org/activiti/db/create/activiti.mysql.create.sql&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [sql] Failed to execute:&amp;nbsp; create table ACT_GE_PROPERTY ( NAME_ varchar(64), VALUE_ varchar(300), REV_ integer, primary key (NAME_) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin&lt;BR /&gt;&lt;BR /&gt;BUILD FAILED&lt;BR /&gt;C:\projects\activiti-5.2\setup\build.xml:155: The following error occurred while executing this line:&lt;BR /&gt;C:\projects\activiti-5.2\setup\build.xml:195: The following error occurred while executing this line:&lt;BR /&gt;C:\projects\activiti-5.2\setup\build.xml:205: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'act_ge_property' already exists&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.reflect.Constructor.newInstance(Constructor.java:513)&lt;BR /&gt;&lt;/CODE&gt;&lt;SPAN&gt;At the first attempt to create a mysql-db instance for activiti 'ant demo.start' failed. I had to …&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;mysql&amp;gt; create database activiti;&lt;BR /&gt;Query OK, 1 row affected (0.02 sec)&lt;BR /&gt;&lt;BR /&gt;mysql&amp;gt; grant all on activiti.* to 'activiti'@'localhost' identified by 'activiti' with grant option;&lt;BR /&gt;Query OK, 0 rows affected (0.00 sec)&lt;BR /&gt;&lt;BR /&gt;mysql&amp;gt; grant all on activiti.* to 'activiti'@'localhost.localdomain' identified by 'activiti' with grant option;&lt;BR /&gt;Query OK, 0 rows affected (0.00 sec)&lt;BR /&gt;&lt;BR /&gt;mysql&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;SPAN&gt;… myself using MySQL Command Line Client. After this, for one first time 'ant demo.start' worked and filled my mysql-db instance with your demo data.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Feb 2011 09:50:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activit-version-5-2-with-mysql-exception-at-tomcat-start/m-p/39698#M21182</guid>
      <dc:creator>rberla</dc:creator>
      <dc:date>2011-02-22T09:50:37Z</dc:date>
    </item>
  </channel>
</rss>

