Hi Isura, Can you check whether the H2 driver version is up-to-date? MV_STORE is H2's new storage system. - http://www.h2database.com/html/mvstore.html
On Wed, Feb 1, 2017 at 12:29 PM, Isura Karunaratne <[email protected]> wrote: > Hi, > > I am getting following error while building the product-is with APIM > lifecycle feature [1]. What could be the reason? > > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-antrun-plugin:1.8:run > (create-carbon-database) on project org.wso2.is.product: An Ant > BuildException has occured: org.h2.jdbc.JdbcSQLException: Unsupported > connection setting "MV_STORE" [90113-140] > [ERROR] around Ant part ...<sql password="wso2carbon" autocommit="true" > driver="org.h2.Driver" onerror="continue" userid="wso2carbon" > url="jdbc:h2:/media/Isura/wso2source/is/git/product-is/ > product/target/wso2carbon-kernel-5.1.0/database/ > WSO2CARBON_DB;MV_STORE=FALSE;create=true">... @ 8:255 in > /media/Isura/wso2source/is/git/product-is/product/target/ > antrun/build-main.xml > [ERROR] -> [Help 1] > > > > > *build-main.xml * > > <?xml version="1.0" encoding="UTF-8" ?> > <project name="maven-antrun-" default="main" > > <target name="main"> > <path id="h2.classpath"> > <path refid="maven.compile.classpath"/> > </path> > <echo message="########### Creating Carbon Database ##############"/> > <sql password="wso2carbon" autocommit="true" driver="org.h2.Driver" > onerror="continue" userid="wso2carbon" url="jdbc:h2:/media/Isura/ > wso2source/is/git/product-is/product/target/wso2carbon- > kernel-5.1.0/database/WSO2CARBON_DB;MV_STORE=FALSE;create=true"> > <classpath> > <path refid="h2.classpath"/> > </classpath> > <fileset dir="/media/Isura/wso2source/is/git/product-is/product/ > target/resources/dbscripts/"> > <include name="**/h2.sql"/> > </fileset> > <fileset file="carbon-home/resources/h2-test-data/test-data.sql"/> > </sql> > <echo message="##################### END ########################"/> > </target> > </project> > > > > [1] https://github.com/wso2/carbon-apimgt/tree/C5/lcm > > Regards, > > *Isura Dilhara Karunaratne* > Senior Software Engineer | WSO2 > Email: [email protected] > Mob : +94 772 254 810 <077%20225%204810> > Blog : http://isurad.blogspot.com/ > > > > -- *Kasun Gajasinghe*Associate Technical Lead, WSO2 Inc. email: kasung AT spamfree wso2.com linked-in: http://lk.linkedin.com/in/gajasinghe blog: http://kasunbg.org phone: +1 650-745-4499, 77 678 0813
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
