Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Problem in deploy database

Akshit Patel July 3, 2015

Hello Nic Brough,

"mvn clean" and "mvn install -P developer,systemvm" success but when i try  "mvn -P developer -pl developer -Ddeploydb" that show below error. In this log  bold text is error text that I find in log. can you send me any solution for this on my email aksh1150@gmail.com?

 

 

$ mvn -P developer -pl developer -Ddeploydb
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache CloudStack Developer Mode 4.6.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ cloud-de
veloper ---
[INFO] Starting audit...
Audit done.

[INFO]
[INFO] --- properties-maven-plugin:1.0-alpha-2:read-project-properties (default)
@ cloud-developer ---
[WARNING] Ignoring missing properties file: C:\cygwin\home\akshi_000\cloudstack\
developer\..\utils\conf\db.properties.override
[INFO]
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-developer
---
[INFO]
[INFO] --- maven-antrun-plugin:1.8:run (default) @ cloud-developer ---
[INFO] Executing tasks

main:
[INFO] Executed tasks
[INFO]
[INFO] >>> exec-maven-plugin:1.2.1:java (create-schema) > validate @ cloud-devel
oper >>>
[INFO]
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ cloud-de
veloper ---
[INFO] Starting audit...
Audit done.

[INFO]
[INFO] <<< exec-maven-plugin:1.2.1:java (create-schema) < validate @ cloud-devel
oper <<<
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:java (create-schema) @ cloud-developer ---
log4j:WARN No appenders could be found for logger (org.springframework.core.env.
StandardEnvironment).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more in
fo.
========> WARNING: Provided file does not exist: C:\cygwin\home\akshi_000\clouds
tack\developer/../utils/conf/db.properties.override
========> WARNING: Provided file does not exist: C:\cygwin\home\akshi_000\clouds
tack\developer/developer-prefill.sql.override
========> Initializing database=cloud with host=localhost port=3306 username=clo
ud password=cloud
============> Running query: drop database if exists `cloud`
SQL exception in trying initDB: com.mysql.jdbc.exceptions.jdbc4.CommunicationsEx
ception: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driv
er has not received any packets from the server.

1 answer

1 accepted

0 votes
Answer accepted
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 3, 2015

I don't know quite what this has to do with Confluence to be honest.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events