WSO2 APIM Analytics: getting Error: Error in activating analytics data service: Error in looking up database












0















I have installed APIM Analytics 2.5.0 Snapshot and pointed the DB to MS SQL.



Now, I have created two databases as well ANALYTICS_EVENT_STORE and ANALYTICS_PROCESS_DATA_STORE.



When starting up the startup script. I am getting below error:



Error in activating analytics data service: Error in looking up database type: Driver:SQLServerDriver:2 returned null for URL:sqlserver://testdb.net;databaseName=ANALYTICS_EVENT_STORE;SendStringParametersAsUnicode=false {org.wso2.carbon.analytics.dataservice.core.AnalyticsDataServiceComponent}
org.wso2.carbon.analytics.datasource.commons.exception.AnalyticsException: Error in looking up database type: Driver:SQLServerDriver:2 returned null for URL:sqlserver://testdb.net;databaseName=ANALYTICS_EVENT_STORE;SendStringParametersAsUnicode=false



I have placed the SQL jars in the lib directory and also in the dropin directory.



Can some one please help me to find where I am doing wrong.



Below is my analytics.datasources.xml file





<providers>
<provider>org.wso2.carbon.ndatasource.rdbms.RDBMSDataSourceReader</provider>
<!--<provider>org.wso2.carbon.datasource.reader.hadoop.HBaseDataSourceReader</provider>-->
<!--<provider>org.wso2.carbon.datasource.reader.cassandra.CassandraDataSourceReader</provider>-->
</providers>

<datasources>

<!--<datasource>
<name>WSO2_ANALYTICS_EVENT_STORE_DB</name>
<description>The datasource used for analytics record store</description>
<definition type="RDBMS">
<configuration>
<url>jdbc:h2:repository/database/ANALYTICS_EVENT_STORE;AUTO_SERVER=TRUE;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000</url>
<username>wso2carbon</username>
<password>wso2carbon</password>
<driverClassName>org.h2.Driver</driverClassName>
<maxActive>50</maxActive>
<maxWait>60000</maxWait>
<validationQuery>SELECT 1</validationQuery>
<defaultAutoCommit>false</defaultAutoCommit>
<initialSize>0</initialSize>
<testWhileIdle>true</testWhileIdle>
<minEvictableIdleTimeMillis>4000</minEvictableIdleTimeMillis>
<defaultTransactionIsolation>READ_COMMITTED</defaultTransactionIsolation>
</configuration>
</definition>
</datasource>-->


<datasource>
<name>WSO2_ANALYTICS_EVENT_STORE_DB</name>
<description>The datasource used for analytics record store</description>
<definition type="RDBMS">
<configuration>
<url>sqlserver://testdb.net;databaseName=ANALYTICS_EVENT_STORE;SendStringParametersAsUnicode=false</url>
<username>xxx</username>
<password>xxxx</password>
<driverClassName>com.microsoft.sqlserver.jdbc.SQLServerDriver</driverClassName>
<maxActive>200</maxActive>
<maxWait>60000</maxWait>
<minIdle>5</minIdle>
<testOnBorrow>true</testOnBorrow>
<validationQuery>SELECT 1</validationQuery>
<validationInterval>30000</validationInterval>
<defaultAutoCommit>false</defaultAutoCommit>
</configuration>
</definition>
</datasource>


<!--<datasource>
<name>WSO2_ANALYTICS_PROCESSED_DATA_STORE_DB</name>
<description>The datasource used for analytics record store</description>
<definition type="RDBMS">
<configuration>
<url>jdbc:h2:repository/database/ANALYTICS_PROCESSED_DATA_STORE;AUTO_SERVER=TRUE;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000</url>
<username>wso2carbon</username>
<password>wso2carbon</password>
<driverClassName>org.h2.Driver</driverClassName>
<maxActive>50</maxActive>
<maxWait>60000</maxWait>
<validationQuery>SELECT 1</validationQuery>
<defaultAutoCommit>false</defaultAutoCommit>
<initialSize>0</initialSize>
<testWhileIdle>true</testWhileIdle>
<minEvictableIdleTimeMillis>4000</minEvictableIdleTimeMillis>
<defaultTransactionIsolation>READ_COMMITTED</defaultTransactionIsolation>
</configuration>
</definition>
</datasource>-->

<datasource>
<name>WSO2_ANALYTICS_PROCESSED_DATA_STORE_DB</name>
<description>The datasource used for analytics record store</description>
<definition type="RDBMS">
<configuration>
<url>sqlserver://testdb.net;databaseName=ANALYTICS_PROCESSED_DATA_STORE;SendStringParametersAsUnicode=false</url>
<username>xxx</username>
<password>xxxx</password>
<driverClassName>com.microsoft.sqlserver.jdbc.SQLServerDriver</driverClassName>
<maxActive>200</maxActive>
<maxWait>60000</maxWait>
<minIdle>5</minIdle>
<testOnBorrow>true</testOnBorrow>
<validationQuery>SELECT 1</validationQuery>
<validationInterval>30000</validationInterval>
<defaultAutoCommit>false</defaultAutoCommit>
</configuration>
</definition>
</datasource>

</datasources>

</datasources-configuration>


Thanks










share|improve this question





























    0















    I have installed APIM Analytics 2.5.0 Snapshot and pointed the DB to MS SQL.



    Now, I have created two databases as well ANALYTICS_EVENT_STORE and ANALYTICS_PROCESS_DATA_STORE.



    When starting up the startup script. I am getting below error:



    Error in activating analytics data service: Error in looking up database type: Driver:SQLServerDriver:2 returned null for URL:sqlserver://testdb.net;databaseName=ANALYTICS_EVENT_STORE;SendStringParametersAsUnicode=false {org.wso2.carbon.analytics.dataservice.core.AnalyticsDataServiceComponent}
    org.wso2.carbon.analytics.datasource.commons.exception.AnalyticsException: Error in looking up database type: Driver:SQLServerDriver:2 returned null for URL:sqlserver://testdb.net;databaseName=ANALYTICS_EVENT_STORE;SendStringParametersAsUnicode=false



    I have placed the SQL jars in the lib directory and also in the dropin directory.



    Can some one please help me to find where I am doing wrong.



    Below is my analytics.datasources.xml file





    <providers>
    <provider>org.wso2.carbon.ndatasource.rdbms.RDBMSDataSourceReader</provider>
    <!--<provider>org.wso2.carbon.datasource.reader.hadoop.HBaseDataSourceReader</provider>-->
    <!--<provider>org.wso2.carbon.datasource.reader.cassandra.CassandraDataSourceReader</provider>-->
    </providers>

    <datasources>

    <!--<datasource>
    <name>WSO2_ANALYTICS_EVENT_STORE_DB</name>
    <description>The datasource used for analytics record store</description>
    <definition type="RDBMS">
    <configuration>
    <url>jdbc:h2:repository/database/ANALYTICS_EVENT_STORE;AUTO_SERVER=TRUE;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000</url>
    <username>wso2carbon</username>
    <password>wso2carbon</password>
    <driverClassName>org.h2.Driver</driverClassName>
    <maxActive>50</maxActive>
    <maxWait>60000</maxWait>
    <validationQuery>SELECT 1</validationQuery>
    <defaultAutoCommit>false</defaultAutoCommit>
    <initialSize>0</initialSize>
    <testWhileIdle>true</testWhileIdle>
    <minEvictableIdleTimeMillis>4000</minEvictableIdleTimeMillis>
    <defaultTransactionIsolation>READ_COMMITTED</defaultTransactionIsolation>
    </configuration>
    </definition>
    </datasource>-->


    <datasource>
    <name>WSO2_ANALYTICS_EVENT_STORE_DB</name>
    <description>The datasource used for analytics record store</description>
    <definition type="RDBMS">
    <configuration>
    <url>sqlserver://testdb.net;databaseName=ANALYTICS_EVENT_STORE;SendStringParametersAsUnicode=false</url>
    <username>xxx</username>
    <password>xxxx</password>
    <driverClassName>com.microsoft.sqlserver.jdbc.SQLServerDriver</driverClassName>
    <maxActive>200</maxActive>
    <maxWait>60000</maxWait>
    <minIdle>5</minIdle>
    <testOnBorrow>true</testOnBorrow>
    <validationQuery>SELECT 1</validationQuery>
    <validationInterval>30000</validationInterval>
    <defaultAutoCommit>false</defaultAutoCommit>
    </configuration>
    </definition>
    </datasource>


    <!--<datasource>
    <name>WSO2_ANALYTICS_PROCESSED_DATA_STORE_DB</name>
    <description>The datasource used for analytics record store</description>
    <definition type="RDBMS">
    <configuration>
    <url>jdbc:h2:repository/database/ANALYTICS_PROCESSED_DATA_STORE;AUTO_SERVER=TRUE;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000</url>
    <username>wso2carbon</username>
    <password>wso2carbon</password>
    <driverClassName>org.h2.Driver</driverClassName>
    <maxActive>50</maxActive>
    <maxWait>60000</maxWait>
    <validationQuery>SELECT 1</validationQuery>
    <defaultAutoCommit>false</defaultAutoCommit>
    <initialSize>0</initialSize>
    <testWhileIdle>true</testWhileIdle>
    <minEvictableIdleTimeMillis>4000</minEvictableIdleTimeMillis>
    <defaultTransactionIsolation>READ_COMMITTED</defaultTransactionIsolation>
    </configuration>
    </definition>
    </datasource>-->

    <datasource>
    <name>WSO2_ANALYTICS_PROCESSED_DATA_STORE_DB</name>
    <description>The datasource used for analytics record store</description>
    <definition type="RDBMS">
    <configuration>
    <url>sqlserver://testdb.net;databaseName=ANALYTICS_PROCESSED_DATA_STORE;SendStringParametersAsUnicode=false</url>
    <username>xxx</username>
    <password>xxxx</password>
    <driverClassName>com.microsoft.sqlserver.jdbc.SQLServerDriver</driverClassName>
    <maxActive>200</maxActive>
    <maxWait>60000</maxWait>
    <minIdle>5</minIdle>
    <testOnBorrow>true</testOnBorrow>
    <validationQuery>SELECT 1</validationQuery>
    <validationInterval>30000</validationInterval>
    <defaultAutoCommit>false</defaultAutoCommit>
    </configuration>
    </definition>
    </datasource>

    </datasources>

    </datasources-configuration>


    Thanks










    share|improve this question



























      0












      0








      0








      I have installed APIM Analytics 2.5.0 Snapshot and pointed the DB to MS SQL.



      Now, I have created two databases as well ANALYTICS_EVENT_STORE and ANALYTICS_PROCESS_DATA_STORE.



      When starting up the startup script. I am getting below error:



      Error in activating analytics data service: Error in looking up database type: Driver:SQLServerDriver:2 returned null for URL:sqlserver://testdb.net;databaseName=ANALYTICS_EVENT_STORE;SendStringParametersAsUnicode=false {org.wso2.carbon.analytics.dataservice.core.AnalyticsDataServiceComponent}
      org.wso2.carbon.analytics.datasource.commons.exception.AnalyticsException: Error in looking up database type: Driver:SQLServerDriver:2 returned null for URL:sqlserver://testdb.net;databaseName=ANALYTICS_EVENT_STORE;SendStringParametersAsUnicode=false



      I have placed the SQL jars in the lib directory and also in the dropin directory.



      Can some one please help me to find where I am doing wrong.



      Below is my analytics.datasources.xml file





      <providers>
      <provider>org.wso2.carbon.ndatasource.rdbms.RDBMSDataSourceReader</provider>
      <!--<provider>org.wso2.carbon.datasource.reader.hadoop.HBaseDataSourceReader</provider>-->
      <!--<provider>org.wso2.carbon.datasource.reader.cassandra.CassandraDataSourceReader</provider>-->
      </providers>

      <datasources>

      <!--<datasource>
      <name>WSO2_ANALYTICS_EVENT_STORE_DB</name>
      <description>The datasource used for analytics record store</description>
      <definition type="RDBMS">
      <configuration>
      <url>jdbc:h2:repository/database/ANALYTICS_EVENT_STORE;AUTO_SERVER=TRUE;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000</url>
      <username>wso2carbon</username>
      <password>wso2carbon</password>
      <driverClassName>org.h2.Driver</driverClassName>
      <maxActive>50</maxActive>
      <maxWait>60000</maxWait>
      <validationQuery>SELECT 1</validationQuery>
      <defaultAutoCommit>false</defaultAutoCommit>
      <initialSize>0</initialSize>
      <testWhileIdle>true</testWhileIdle>
      <minEvictableIdleTimeMillis>4000</minEvictableIdleTimeMillis>
      <defaultTransactionIsolation>READ_COMMITTED</defaultTransactionIsolation>
      </configuration>
      </definition>
      </datasource>-->


      <datasource>
      <name>WSO2_ANALYTICS_EVENT_STORE_DB</name>
      <description>The datasource used for analytics record store</description>
      <definition type="RDBMS">
      <configuration>
      <url>sqlserver://testdb.net;databaseName=ANALYTICS_EVENT_STORE;SendStringParametersAsUnicode=false</url>
      <username>xxx</username>
      <password>xxxx</password>
      <driverClassName>com.microsoft.sqlserver.jdbc.SQLServerDriver</driverClassName>
      <maxActive>200</maxActive>
      <maxWait>60000</maxWait>
      <minIdle>5</minIdle>
      <testOnBorrow>true</testOnBorrow>
      <validationQuery>SELECT 1</validationQuery>
      <validationInterval>30000</validationInterval>
      <defaultAutoCommit>false</defaultAutoCommit>
      </configuration>
      </definition>
      </datasource>


      <!--<datasource>
      <name>WSO2_ANALYTICS_PROCESSED_DATA_STORE_DB</name>
      <description>The datasource used for analytics record store</description>
      <definition type="RDBMS">
      <configuration>
      <url>jdbc:h2:repository/database/ANALYTICS_PROCESSED_DATA_STORE;AUTO_SERVER=TRUE;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000</url>
      <username>wso2carbon</username>
      <password>wso2carbon</password>
      <driverClassName>org.h2.Driver</driverClassName>
      <maxActive>50</maxActive>
      <maxWait>60000</maxWait>
      <validationQuery>SELECT 1</validationQuery>
      <defaultAutoCommit>false</defaultAutoCommit>
      <initialSize>0</initialSize>
      <testWhileIdle>true</testWhileIdle>
      <minEvictableIdleTimeMillis>4000</minEvictableIdleTimeMillis>
      <defaultTransactionIsolation>READ_COMMITTED</defaultTransactionIsolation>
      </configuration>
      </definition>
      </datasource>-->

      <datasource>
      <name>WSO2_ANALYTICS_PROCESSED_DATA_STORE_DB</name>
      <description>The datasource used for analytics record store</description>
      <definition type="RDBMS">
      <configuration>
      <url>sqlserver://testdb.net;databaseName=ANALYTICS_PROCESSED_DATA_STORE;SendStringParametersAsUnicode=false</url>
      <username>xxx</username>
      <password>xxxx</password>
      <driverClassName>com.microsoft.sqlserver.jdbc.SQLServerDriver</driverClassName>
      <maxActive>200</maxActive>
      <maxWait>60000</maxWait>
      <minIdle>5</minIdle>
      <testOnBorrow>true</testOnBorrow>
      <validationQuery>SELECT 1</validationQuery>
      <validationInterval>30000</validationInterval>
      <defaultAutoCommit>false</defaultAutoCommit>
      </configuration>
      </definition>
      </datasource>

      </datasources>

      </datasources-configuration>


      Thanks










      share|improve this question
















      I have installed APIM Analytics 2.5.0 Snapshot and pointed the DB to MS SQL.



      Now, I have created two databases as well ANALYTICS_EVENT_STORE and ANALYTICS_PROCESS_DATA_STORE.



      When starting up the startup script. I am getting below error:



      Error in activating analytics data service: Error in looking up database type: Driver:SQLServerDriver:2 returned null for URL:sqlserver://testdb.net;databaseName=ANALYTICS_EVENT_STORE;SendStringParametersAsUnicode=false {org.wso2.carbon.analytics.dataservice.core.AnalyticsDataServiceComponent}
      org.wso2.carbon.analytics.datasource.commons.exception.AnalyticsException: Error in looking up database type: Driver:SQLServerDriver:2 returned null for URL:sqlserver://testdb.net;databaseName=ANALYTICS_EVENT_STORE;SendStringParametersAsUnicode=false



      I have placed the SQL jars in the lib directory and also in the dropin directory.



      Can some one please help me to find where I am doing wrong.



      Below is my analytics.datasources.xml file





      <providers>
      <provider>org.wso2.carbon.ndatasource.rdbms.RDBMSDataSourceReader</provider>
      <!--<provider>org.wso2.carbon.datasource.reader.hadoop.HBaseDataSourceReader</provider>-->
      <!--<provider>org.wso2.carbon.datasource.reader.cassandra.CassandraDataSourceReader</provider>-->
      </providers>

      <datasources>

      <!--<datasource>
      <name>WSO2_ANALYTICS_EVENT_STORE_DB</name>
      <description>The datasource used for analytics record store</description>
      <definition type="RDBMS">
      <configuration>
      <url>jdbc:h2:repository/database/ANALYTICS_EVENT_STORE;AUTO_SERVER=TRUE;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000</url>
      <username>wso2carbon</username>
      <password>wso2carbon</password>
      <driverClassName>org.h2.Driver</driverClassName>
      <maxActive>50</maxActive>
      <maxWait>60000</maxWait>
      <validationQuery>SELECT 1</validationQuery>
      <defaultAutoCommit>false</defaultAutoCommit>
      <initialSize>0</initialSize>
      <testWhileIdle>true</testWhileIdle>
      <minEvictableIdleTimeMillis>4000</minEvictableIdleTimeMillis>
      <defaultTransactionIsolation>READ_COMMITTED</defaultTransactionIsolation>
      </configuration>
      </definition>
      </datasource>-->


      <datasource>
      <name>WSO2_ANALYTICS_EVENT_STORE_DB</name>
      <description>The datasource used for analytics record store</description>
      <definition type="RDBMS">
      <configuration>
      <url>sqlserver://testdb.net;databaseName=ANALYTICS_EVENT_STORE;SendStringParametersAsUnicode=false</url>
      <username>xxx</username>
      <password>xxxx</password>
      <driverClassName>com.microsoft.sqlserver.jdbc.SQLServerDriver</driverClassName>
      <maxActive>200</maxActive>
      <maxWait>60000</maxWait>
      <minIdle>5</minIdle>
      <testOnBorrow>true</testOnBorrow>
      <validationQuery>SELECT 1</validationQuery>
      <validationInterval>30000</validationInterval>
      <defaultAutoCommit>false</defaultAutoCommit>
      </configuration>
      </definition>
      </datasource>


      <!--<datasource>
      <name>WSO2_ANALYTICS_PROCESSED_DATA_STORE_DB</name>
      <description>The datasource used for analytics record store</description>
      <definition type="RDBMS">
      <configuration>
      <url>jdbc:h2:repository/database/ANALYTICS_PROCESSED_DATA_STORE;AUTO_SERVER=TRUE;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000</url>
      <username>wso2carbon</username>
      <password>wso2carbon</password>
      <driverClassName>org.h2.Driver</driverClassName>
      <maxActive>50</maxActive>
      <maxWait>60000</maxWait>
      <validationQuery>SELECT 1</validationQuery>
      <defaultAutoCommit>false</defaultAutoCommit>
      <initialSize>0</initialSize>
      <testWhileIdle>true</testWhileIdle>
      <minEvictableIdleTimeMillis>4000</minEvictableIdleTimeMillis>
      <defaultTransactionIsolation>READ_COMMITTED</defaultTransactionIsolation>
      </configuration>
      </definition>
      </datasource>-->

      <datasource>
      <name>WSO2_ANALYTICS_PROCESSED_DATA_STORE_DB</name>
      <description>The datasource used for analytics record store</description>
      <definition type="RDBMS">
      <configuration>
      <url>sqlserver://testdb.net;databaseName=ANALYTICS_PROCESSED_DATA_STORE;SendStringParametersAsUnicode=false</url>
      <username>xxx</username>
      <password>xxxx</password>
      <driverClassName>com.microsoft.sqlserver.jdbc.SQLServerDriver</driverClassName>
      <maxActive>200</maxActive>
      <maxWait>60000</maxWait>
      <minIdle>5</minIdle>
      <testOnBorrow>true</testOnBorrow>
      <validationQuery>SELECT 1</validationQuery>
      <validationInterval>30000</validationInterval>
      <defaultAutoCommit>false</defaultAutoCommit>
      </configuration>
      </definition>
      </datasource>

      </datasources>

      </datasources-configuration>


      Thanks







      wso2 wso2-am






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 26 '18 at 14:55







      2437850

















      asked Nov 26 '18 at 13:24









      24378502437850

      295




      295
























          1 Answer
          1






          active

          oldest

          votes


















          0














          When commenting the h2 db configuration of WSO2_ANALYTICS_EVENT_STORE_DB, you have missed to comment tag. Can you correct it and check whether it works






          share|improve this answer
























          • Thanks. But that was my typo. I have corrected it but still its the same

            – 2437850
            Nov 26 '18 at 14:53











          • Could you verify the specified db url for mssql - docs.wso2.com/display/ADMIN44x/Changing+to+MSSQL

            – user3686193
            Nov 26 '18 at 15:25











          • I am using the same in other APIM configuration and there it is working fine

            – 2437850
            Nov 26 '18 at 19:13











          • I tried updating the analytics source file but still issue persists.

            – 2437850
            Nov 26 '18 at 20:35











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53482110%2fwso2-apim-analytics-getting-error-error-in-activating-analytics-data-service%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          When commenting the h2 db configuration of WSO2_ANALYTICS_EVENT_STORE_DB, you have missed to comment tag. Can you correct it and check whether it works






          share|improve this answer
























          • Thanks. But that was my typo. I have corrected it but still its the same

            – 2437850
            Nov 26 '18 at 14:53











          • Could you verify the specified db url for mssql - docs.wso2.com/display/ADMIN44x/Changing+to+MSSQL

            – user3686193
            Nov 26 '18 at 15:25











          • I am using the same in other APIM configuration and there it is working fine

            – 2437850
            Nov 26 '18 at 19:13











          • I tried updating the analytics source file but still issue persists.

            – 2437850
            Nov 26 '18 at 20:35
















          0














          When commenting the h2 db configuration of WSO2_ANALYTICS_EVENT_STORE_DB, you have missed to comment tag. Can you correct it and check whether it works






          share|improve this answer
























          • Thanks. But that was my typo. I have corrected it but still its the same

            – 2437850
            Nov 26 '18 at 14:53











          • Could you verify the specified db url for mssql - docs.wso2.com/display/ADMIN44x/Changing+to+MSSQL

            – user3686193
            Nov 26 '18 at 15:25











          • I am using the same in other APIM configuration and there it is working fine

            – 2437850
            Nov 26 '18 at 19:13











          • I tried updating the analytics source file but still issue persists.

            – 2437850
            Nov 26 '18 at 20:35














          0












          0








          0







          When commenting the h2 db configuration of WSO2_ANALYTICS_EVENT_STORE_DB, you have missed to comment tag. Can you correct it and check whether it works






          share|improve this answer













          When commenting the h2 db configuration of WSO2_ANALYTICS_EVENT_STORE_DB, you have missed to comment tag. Can you correct it and check whether it works







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 26 '18 at 14:46









          user3686193user3686193

          13413




          13413













          • Thanks. But that was my typo. I have corrected it but still its the same

            – 2437850
            Nov 26 '18 at 14:53











          • Could you verify the specified db url for mssql - docs.wso2.com/display/ADMIN44x/Changing+to+MSSQL

            – user3686193
            Nov 26 '18 at 15:25











          • I am using the same in other APIM configuration and there it is working fine

            – 2437850
            Nov 26 '18 at 19:13











          • I tried updating the analytics source file but still issue persists.

            – 2437850
            Nov 26 '18 at 20:35



















          • Thanks. But that was my typo. I have corrected it but still its the same

            – 2437850
            Nov 26 '18 at 14:53











          • Could you verify the specified db url for mssql - docs.wso2.com/display/ADMIN44x/Changing+to+MSSQL

            – user3686193
            Nov 26 '18 at 15:25











          • I am using the same in other APIM configuration and there it is working fine

            – 2437850
            Nov 26 '18 at 19:13











          • I tried updating the analytics source file but still issue persists.

            – 2437850
            Nov 26 '18 at 20:35

















          Thanks. But that was my typo. I have corrected it but still its the same

          – 2437850
          Nov 26 '18 at 14:53





          Thanks. But that was my typo. I have corrected it but still its the same

          – 2437850
          Nov 26 '18 at 14:53













          Could you verify the specified db url for mssql - docs.wso2.com/display/ADMIN44x/Changing+to+MSSQL

          – user3686193
          Nov 26 '18 at 15:25





          Could you verify the specified db url for mssql - docs.wso2.com/display/ADMIN44x/Changing+to+MSSQL

          – user3686193
          Nov 26 '18 at 15:25













          I am using the same in other APIM configuration and there it is working fine

          – 2437850
          Nov 26 '18 at 19:13





          I am using the same in other APIM configuration and there it is working fine

          – 2437850
          Nov 26 '18 at 19:13













          I tried updating the analytics source file but still issue persists.

          – 2437850
          Nov 26 '18 at 20:35





          I tried updating the analytics source file but still issue persists.

          – 2437850
          Nov 26 '18 at 20:35




















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53482110%2fwso2-apim-analytics-getting-error-error-in-activating-analytics-data-service%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Contact image not getting when fetch all contact list from iPhone by CNContact

          count number of partitions of a set with n elements into k subsets

          A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks