<?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: Error after pointing activiti-explorer to postgresql db in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/error-after-pointing-activiti-explorer-to-postgresql-db/m-p/229530#M182660</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That error seems to be coming from here: &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/blob/activiti-5.18.0/modules/activiti-engine/src/main/java/org/activiti/engine/impl/db/DbSqlSession.java#L1081" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/blob/activiti-5.18.0/modules/activiti-engine/src/main/java/org/activiti/engine/impl/db/DbSqlSession.java#L1081&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which means that &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) the table was present, but&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) did not contain the right information&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How did you create the database schema?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jan 2016 13:27:40 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2016-01-07T13:27:40Z</dc:date>
    <item>
      <title>Error after pointing activiti-explorer to postgresql db</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-after-pointing-activiti-explorer-to-postgresql-db/m-p/229528#M182658</link>
      <description>I have deployed activiti db schema using DbSchemaCreate's main method. i.e an db with no data.Further i have deployed activiti-explorer-5.18 web app on tomcat.Db-Properties:db=postgresjdbc.driver=org.postgresql.Driverjdbc.url=jdbc&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ostgresql://localhost:5432/mydb?currentSchema=activitijdbc.username=</description>
      <pubDate>Thu, 07 Jan 2016 06:26:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-after-pointing-activiti-explorer-to-postgresql-db/m-p/229528#M182658</guid>
      <dc:creator>shreyashp</dc:creator>
      <dc:date>2016-01-07T06:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error after pointing activiti-explorer to postgresql db</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-after-pointing-activiti-explorer-to-postgresql-db/m-p/229529#M182659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Stacktrace continued:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jan 7, 2016 12:20:01 PM org.apache.catalina.core.StandardContext listenerStop&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SEVERE: Exception sending context destroyed event to listener instance of class org.activiti.explorer.servlet.WebConfigurer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.web.context.support.WebApplicationContextUtils.getRequiredWebApplicationContext(WebApplicationContextUtils.java:83)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.explorer.servlet.WebConfigurer.contextDestroyed(WebConfigurer.java:73)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4805)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5453)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:866)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:842)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:615)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:958)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1599)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.util.concurrent.FutureTask.run(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.lang.Thread.run(Unknown Source)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 06:52:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-after-pointing-activiti-explorer-to-postgresql-db/m-p/229529#M182659</guid>
      <dc:creator>shreyashp</dc:creator>
      <dc:date>2016-01-07T06:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error after pointing activiti-explorer to postgresql db</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-after-pointing-activiti-explorer-to-postgresql-db/m-p/229530#M182660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That error seems to be coming from here: &lt;/SPAN&gt;&lt;A href="https://github.com/Activiti/Activiti/blob/activiti-5.18.0/modules/activiti-engine/src/main/java/org/activiti/engine/impl/db/DbSqlSession.java#L1081" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/blob/activiti-5.18.0/modules/activiti-engine/src/main/java/org/activiti/engine/impl/db/DbSqlSession.java#L1081&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which means that &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) the table was present, but&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) did not contain the right information&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How did you create the database schema?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 13:27:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-after-pointing-activiti-explorer-to-postgresql-db/m-p/229530#M182660</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-01-07T13:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error after pointing activiti-explorer to postgresql db</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-after-pointing-activiti-explorer-to-postgresql-db/m-p/229531#M182661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have deployed activiti db schema using DbSchemaCreate's main method. Changed the activiti.cfg.xml to point to an empty schema.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;act_ge_property contained:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"next.dbid";"1";1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"schema.history";"create(5.20.0.1)";1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"schema.version";"5.20.0.1";1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All other tables are empty.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 14:26:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-after-pointing-activiti-explorer-to-postgresql-db/m-p/229531#M182661</guid>
      <dc:creator>shreyashp</dc:creator>
      <dc:date>2016-01-07T14:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error after pointing activiti-explorer to postgresql db</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-after-pointing-activiti-explorer-to-postgresql-db/m-p/229532#M182662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Shreyash, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try it in this way, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Go to the Activiti zip that you have downloaded. It will contain the database folder and inside of it, you will find create and inside you will find 3 db script files related to postgres database with names activiti.postgres.create.engine.sql, activiti.postgres.create.history.sql, activiti.postgres.create.identity.sql. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Now open your DB and create an empty database and run these scripts in that db. You will have all necessary db objects created. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Next go to your tomcat's webapps\activiti-explorer\WEB-INF\classes folder and set the db properties appropriately. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Make sure you have the postgresql jar file in your tomcat lib folder. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That's it. Every thing should work smooth now. &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jan 2016 12:24:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-after-pointing-activiti-explorer-to-postgresql-db/m-p/229532#M182662</guid>
      <dc:creator>hari</dc:creator>
      <dc:date>2016-01-18T12:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error after pointing activiti-explorer to postgresql db</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-after-pointing-activiti-explorer-to-postgresql-db/m-p/229533#M182663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Hari,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I had followed the same steps you have explained about 5 months before to setup msql and it worked exactly fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I am trying to follow the same steps for mssql but it's not working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have copied the sqljdbc4 under\apache-tomcat-7.0.67 - Activiti Tomcat\webapps\activiti-explorer\WEB-INF\lib and have changed the db.properties file accordingly:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;db=mssql&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;jdbc.driver=com.microsoft.sqlsever.jdbc.SQLServerDriver&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;jdbc.url=jdbc:sqlserver://10.10.44.1:1433;databaseName=activiti&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;jdbc.username=sa&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;jdbc.password=password&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2016 15:12:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-after-pointing-activiti-explorer-to-postgresql-db/m-p/229533#M182663</guid>
      <dc:creator>uzair_zaman</dc:creator>
      <dc:date>2016-06-20T15:12:10Z</dc:date>
    </item>
  </channel>
</rss>

