<?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 Activiti Multitenant + Postgres in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-multitenant-postgres/m-p/218847#M171977</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;I'm trying to implement a solution based on Activiti 5.19.0 and PostgreSQL with multi-tenancy support. The solution works well with one schema, but when i'm going to create another tenant I got the following exception:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;00:32:19 | DEBUG | http-bio-9966-exec-1 | o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver | Resolving exception from handler [public void com.newco.teamwork2.activiti.controller.TenantController.registerTenant(com.newco.teamwork2.activiti.dto.TenantDTO) throws java.sql.SQLException]: org.apache.ibatis.exceptions.PersistenceException: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### Error querying database.&amp;nbsp; Cause: org.postgresql.util.PSQLException: ERRORE: la relazione "act_ge_property" non esiste&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Posizione: 20&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### The error may exist in org/activiti/db/mapping/entity/Property.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### The error may involve defaultParameterMap&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### The error occurred while setting parameters&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### SQL: select VALUE_ from ACT_GE_PROPERTY where NAME_ = 'schema.version'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### Cause: org.postgresql.util.PSQLException: ERRORE: la relazione "act_ge_property&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I create one datasource for tenant with the search path included in it. I use the property currentSchema, because i'm on Postgresql 9.4. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any clue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 01 May 2016 22:41:31 GMT</pubDate>
    <dc:creator>mario_gallo</dc:creator>
    <dc:date>2016-05-01T22:41:31Z</dc:date>
    <item>
      <title>Activiti Multitenant + Postgres</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-multitenant-postgres/m-p/218847#M171977</link>
      <description>Hi,I'm trying to implement a solution based on Activiti 5.19.0 and PostgreSQL with multi-tenancy support. The solution works well with one schema, but when i'm going to create another tenant I got the following exception:00:32:19 | DEBUG | http-bio-9966-exec-1 | o.s.w.s.m.m.a.ExceptionHandlerExcepti</description>
      <pubDate>Sun, 01 May 2016 22:41:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-multitenant-postgres/m-p/218847#M171977</guid>
      <dc:creator>mario_gallo</dc:creator>
      <dc:date>2016-05-01T22:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti Multitenant + Postgres</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-multitenant-postgres/m-p/218848#M171978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mario,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it seems that property table is not created in the second schema.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to reproduce the issue in the jUnit test?&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://forums.activiti.org/content/sticky-how-write-unit-test" rel="nofollow noopener noreferrer"&gt;https://forums.activiti.org/content/sticky-how-write-unit-test&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2016 04:39:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-multitenant-postgres/m-p/218848#M171978</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2016-05-02T04:39:32Z</dc:date>
    </item>
  </channel>
</rss>

