<?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 ActivitiExplorer pointing to wrong database? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activitiexplorer-pointing-to-wrong-database/m-p/153926#M108454</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;SPAN&gt;I have ActivitiExplorer 5.12, running in Eclipse/WTP/tomcat, the db is oracle.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First i point it to dev db, all data are correct, i can see 6 users on user-page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then I changed db.properties and point it to qa db, there is only 1 user, kermit in qa db. When I try to login, it's connecting to the correct qa db, so I'm able to use kermit to login. But when I open user-page, it's showing 6 users. If I change 1 user's name in dev db, I can see the change in the gui. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So seems login is using the correct qa db, but all other services, like task, historyService are still using the wrong dev db.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it cached? Or is there any other db config?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From logs, I can see they are using different api to get db connection:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When login:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[2013-12-12 14:34:30,999] http-bio-8080-exec-5 org.springframework.jdbc.datasource.DataSourceTransactionManager DEBUG - Acquired Connection [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:@cmpwdev-scan.sdc.com:1521/qa2_svc, UserName=WFLOW, Oracle JDBC driver] for JDBC transaction&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[2013-12-12 14:34:30,999] http-bio-8080-exec-5 org.apache.ibatis.transaction.managed.ManagedTransaction DEBUG - Openning JDBC Connection&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When open user page:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[2013-12-12 14:34:31,669] http-bio-8080-exec-5 org.apache.ibatis.transaction.jdbc.JdbcTransaction DEBUG - Openning JDBC Connection&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[2013-12-12 14:34:31,679] http-bio-8080-exec-5 org.apache.ibatis.datasource.pooled.PooledDataSource DEBUG - Checked out connection 1947326607 from pool.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for help,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Dec 2013 22:33:39 GMT</pubDate>
    <dc:creator>mingway</dc:creator>
    <dc:date>2013-12-12T22:33:39Z</dc:date>
    <item>
      <title>ActivitiExplorer pointing to wrong database?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activitiexplorer-pointing-to-wrong-database/m-p/153926#M108454</link>
      <description>Hi,I have ActivitiExplorer 5.12, running in Eclipse/WTP/tomcat, the db is oracle.First i point it to dev db, all data are correct, i can see 6 users on user-page.Then I changed db.properties and point it to qa db, there is only 1 user, kermit in qa db. When I try to login, it's connecting to the cor</description>
      <pubDate>Thu, 12 Dec 2013 22:33:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activitiexplorer-pointing-to-wrong-database/m-p/153926#M108454</guid>
      <dc:creator>mingway</dc:creator>
      <dc:date>2013-12-12T22:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: ActivitiExplorer pointing to wrong database?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activitiexplorer-pointing-to-wrong-database/m-p/153927#M108455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Resolving of the DB-properties is done using a org.springframework.beans.factory.config.PropertyPlaceholderConfigurer. Make sure there is only ONE db.properties on the classpath and make sure that contains the values you need.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Explorer caches users when it boots, so modifying the database while explorer runs, will not update the cache. Rather, modify all user-related stuff from within the "manage" tab of explorer, this passed though the cache and updates accordingly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alternatively, you can edit the activiti-standalone-context.xml and replace the {jdbc.username} placeholders by the actual values or use another way to define a datasource (eg. JNDI, …).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Dec 2013 07:52:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activitiexplorer-pointing-to-wrong-database/m-p/153927#M108455</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2013-12-13T07:52:45Z</dc:date>
    </item>
  </channel>
</rss>

