Hi Isuru,

Found out the issue here. The datasource name in metrics.xml and the
datasource name (jndi_config) provided through the hieradata are
mismatched. I corrected the hieradata and was able to get the tables
created.

Regards,
Vishanth

On Fri, Apr 29, 2016 at 7:20 PM, Isuru Haththotuwa <[email protected]> wrote:

> Hi Devs,
>
> $subject?
>
> According to [1], the script location is hard-coded to
> CARBON_HOME/dbscripts. But, we have other db scripts in separate
> directories under CARBON_HOME/dbscripts. As an example, IS 5.1.0 have
> identity, bps and metrics related SQL scripts.
>
> Are we not populating relevant databases for DB scripts other than REG and
> UM with -Dsetup? How do we run product specific SQL scripts?
>
> [1].
> https://github.com/wso2/carbon-kernel/blob/4.4.x/core/org.wso2.carbon.utils/src/main/java/org/wso2/carbon/utils/dbcreator/DatabaseCreator.java#L344
>
> --
> Thanks and Regards,
>
> Isuru H.
> +94 716 358 048* <http://wso2.com/>*
>
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Vishanth Balasubramaniam*
Committer & PMC Member, Apache Stratos,
Software Engineer, WSO2 Inc.; http://wso2.com

mobile: *+94 77 17 377 18*
about me: *http://about.me/vishanth <http://about.me/vishanth>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to