few changes to resolve the error on bam config

merge-requests/1/head
ayyoob 10 years ago
parent 468d3284c8
commit 2ca214975c

@ -201,7 +201,7 @@
</datasource> </datasource>
<!-- *****Replace ${BAM_HOME} in `url` element with your WSO2 BAM home directory.***** --> <!-- *****Replace ${BAM_HOME} in `url` element with your WSO2 BAM home directory.***** -->
<!--datasource> <datasource>
<name>WSO2IOT_STATS_DB</name> <name>WSO2IOT_STATS_DB</name>
<jndiConfig> <jndiConfig>
<name>jdbc/WSO2IOT_STATS_DB</name> <name>jdbc/WSO2IOT_STATS_DB</name>
@ -209,7 +209,8 @@
<description>The datasource used for analyzer data</description> <description>The datasource used for analyzer data</description>
<definition type="RDBMS"> <definition type="RDBMS">
<configuration> <configuration>
<url>jdbc:h2:${BAM_HOME}/repository/database/IOT_STATS_DB;AUTO_SERVER=TRUE</url> <url>jdbc:h2:$/repository/database/IOT_STATS_DB;AUTO_SERVER=TRUE</url>
<!--url>jdbc:h2:${BAM_HOME}/repository/database/IOT_STATS_DB;AUTO_SERVER=TRUE</url-->
<username>wso2carbon</username> <username>wso2carbon</username>
<password>wso2carbon</password> <password>wso2carbon</password>
<driverClassName>org.h2.Driver</driverClassName> <driverClassName>org.h2.Driver</driverClassName>
@ -220,7 +221,7 @@
<validationInterval>30000</validationInterval> <validationInterval>30000</validationInterval>
</configuration> </configuration>
</definition> </definition>
</datasource--> </datasource>
</datasources> </datasources>
</datasources-configuration> </datasources-configuration>

Loading…
Cancel
Save