Hi Ryan, Sailaja and everyone, Have a look at this: https://issues.apache.org/jira/browse/CLOUDSTACK-1019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
We had different routes to deploy database, the way maven did and the way cloud-setup-databases did were different. So, I implemented the DatabaseCreator from a stub so that it can be used to deploy databases, setup schema, and even upgrade db. It is part of cloud-server and if you get ClassNotFoundException probably your build environment is unclean or there is some classpath issue. Also take a look at util/conf's db.properties, all databases should have username, password, host, port and name. Checkout the syntax as well on how to use it; for example make sure awsapi's params are defined in case you're using an override properties file: db.awsapi.username=cloud db.awsapi.password=cloud db.awsapi.host=localhost db.awsapi.port=3306 db.awsapi.name=cloudbridge Pl. try again and if that fails email on ML or open/assign bug to me on this one. Regards. On Mon, Feb 4, 2013 at 10:50 PM, Ryan Dietrich <[email protected]> wrote: > After a pull on the master branch, I am unable to deploy the database. > > I ran: > mvn -P developer,systemvm clean install > Then: > mvn -P developer -pl developer,tools/devcloud -Ddeploydb > I got: > java.lang.ClassNotFoundException: com.cloud.upgrade.DatabaseCreator > > > On Feb 4, 2013, at 9:40 AM, Sailaja Mada <[email protected]> wrote: > >> Hi, >> >> These are the observations with 4.1 master branch dev environment today . >
