Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [INFO] Scanning for projects...
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building standalone 1.1.1
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ standalone ---
- [INFO]
- [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-property) @ standalone ---
- [INFO]
- [INFO] --- liquibase-maven-plugin:2.0.1:update (empty-db-create-schema) @ standalone ---
- [INFO] ------------------------------------------------------------------------
- [INFO] Loading artfacts into URLClassLoader
- [INFO] artifact: file:/Users/maurya/.m2/repository/org/openmrs/api/openmrs-api/1.9.0/openmrs-api-1.9.0.jar
- [INFO] artifact: file:/Users/maurya/.m2/repository/org/openmrs/web/openmrs-webapp/1.9.0/openmrs-webapp-1.9.0.war
- [INFO] artifact: file:/Users/maurya/.m2/repository/org/apache/tomcat/tomcat-catalina/7.0.50/tomcat-catalina-7.0.50.jar
- [INFO] artifact: file:/Users/maurya/.m2/repository/org/apache/tomcat/tomcat-coyote/7.0.50/tomcat-coyote-7.0.50.jar
- [INFO] artifact: file:/Users/maurya/.m2/repository/org/apache/tomcat/tomcat-jasper/7.0.50/tomcat-jasper-7.0.50.jar
- [INFO] artifact: file:/Users/maurya/.m2/repository/mysql/mysql-connector-java/5.1.8/mysql-connector-java-5.1.8.jar
- [INFO] artifact: file:/Users/maurya/.m2/repository/mysql/mysql-connector-mxj-fixed/5.0.12/mysql-connector-mxj-fixed-5.0.12.jar
- [INFO] artifact: file:/Users/maurya/.m2/repository/mysql/mysql-connector-mxj-db-files-fixed/5.0.12-20131016/mysql-connector-mxj-db-files-fixed-5.0.12-20131016.jar
- [INFO] artifact: file:/Library/Test/openmrs-standalone/target/classes
- [INFO] artifact: file:/Library/Test/openmrs-standalone/target/test-classes
- [INFO] ------------------------------------------------------------------------
- [INFO] Settings----------------------------
- [INFO] driver: com.mysql.jdbc.Driver
- [INFO] url: jdbc:mysql:mxj://127.0.0.1:33326/openmrs?autoReconnect=true&sessionVariables=storage_engine=InnoDB&useUnicode=true&characterEncoding=UTF-8&server.initialize-user=true&createDatabaseIfNotExist=true&server.basedir=target/emptydatabase&server.datadir=target/emptydatabase/data&server.collation-server=utf8_general_ci&server.character-set-server=utf8&server.max_allowed_packet=32M
- [INFO] username: openmrs
- [INFO] password: test
- [INFO] use empty password: false
- [INFO] properties file: null
- [INFO] properties file will override? false
- [INFO] prompt on non-local database? true
- [INFO] clear checksums? false
- [INFO] changeLogFile: liquibase-schema-only.xml
- [INFO] context(s): null
- [INFO] number of changes to apply: 0
- [INFO] drop first? false
- [INFO] ------------------------------------------------------------------------
- [/Library/Test/openmrs-standalone/target/emptydatabase/bin/mysqld][--no-defaults][--port=33326][--collation-server=utf8_general_ci][--max_allowed_packet=32M][--character-set-server=utf8][--socket=mysql.sock][--basedir=/Library/Test/openmrs-standalone/target/emptydatabase][--datadir=/Library/Test/openmrs-standalone/target/emptydatabase/data][--pid-file=/Library/Test/openmrs-standalone/target/emptydatabase/data/MysqldResource.pid]
- [MysqldResource] launching mysqld (driver_launched_mysqld_1)
- [MysqldResource] mysqld running as process: 75448
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 14.705 s
- [INFO] Finished at: 2016-03-28T14:08:06-04:00
- [INFO] Final Memory: 16M/970M
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.liquibase:liquibase-maven-plugin:2.0.1:update (empty-db-create-schema) on project standalone: Error setting up or running Liquibase: com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: Server connection failure during transaction. Due to underlying exception: 'com.mysql.management.util.SQLRuntimeException: java.sql.SQLException: Access denied for user 'openmrs'@'localhost' (using password: YES)'.
- [ERROR]
- [ERROR] ** BEGIN NESTED EXCEPTION **
- [ERROR]
- [ERROR] com.mysql.management.util.SQLRuntimeException
- [ERROR] MESSAGE: java.sql.SQLException: Access denied for user 'openmrs'@'localhost' (using password: YES)
- [ERROR]
- [ERROR] STACKTRACE:
- [ERROR]
- [ERROR] SQL: null
- [ERROR] ErrorCode: 1045
- [ERROR] com.mysql.management.util.SQLRuntimeException: java.sql.SQLException: Access denied for user 'openmrs'@'localhost' (using password: YES)
- [ERROR] at com.mysql.management.driverlaunched.ServerLauncherSocketFactory.alreadyStarted(ServerLauncherSocketFactory.java:160)
- [ERROR] at com.mysql.management.driverlaunched.ServerLauncherSocketFactory.ensureMysqlStarted(ServerLauncherSocketFactory.java:82)
- [ERROR] at com.mysql.management.driverlaunched.ServerLauncherSocketFactory.connect(ServerLauncherSocketFactory.java:72)
- [ERROR] at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:271)
- [ERROR] at com.mysql.jdbc.Connection.createNewIO(Connection.java:2921)
- [ERROR] at com.mysql.jdbc.Connection.<init>(Connection.java:1555)
- [ERROR] at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285)
- [ERROR] at liquibase.integration.commandline.CommandLineUtils.createDatabaseObject(CommandLineUtils.java:101)
- [ERROR] at org.liquibase.maven.plugins.AbstractLiquibaseMojo.execute(AbstractLiquibaseMojo.java:260)
- [ERROR] at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
- [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
- [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
- [ERROR] at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
- [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
- [ERROR] at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
- [ERROR] at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
- [ERROR] at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
- [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
- [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
- [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
- [ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:862)
- [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:286)
- [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:197)
- [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
- [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- [ERROR] at java.lang.reflect.Method.invoke(Method.java:606)
- [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
- [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
- [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
- [ERROR] at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
- [ERROR] Caused by: java.sql.SQLException: Access denied for user 'openmrs'@'localhost' (using password: YES)
- [ERROR] at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:946)
- [ERROR] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
- [ERROR] at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:885)
- [ERROR] at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3421)
- [ERROR] at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1247)
- [ERROR] at com.mysql.jdbc.Connection.createNewIO(Connection.java:2775)
- [ERROR] at com.mysql.jdbc.Connection.<init>(Connection.java:1555)
- [ERROR] at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285)
- [ERROR] at java.sql.DriverManager.getConnection(DriverManager.java:571)
- [ERROR] at java.sql.DriverManager.getConnection(DriverManager.java:215)
- [ERROR] at com.mysql.management.driverlaunched.ServerLauncherSocketFactory.alreadyStarted(ServerLauncherSocketFactory.java:155)
- [ERROR] ... 30 more
- [ERROR]
- [ERROR]
- [ERROR] ** END NESTED EXCEPTION **
- [ERROR]
- [ERROR]
- [ERROR] Attempted reconnect 3 times. Giving up.
- [ERROR] -> [Help 1]
- [ERROR]
- [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
- [ERROR] Re-run Maven using the -X switch to enable full debug logging.
- [ERROR]
- [ERROR] For more information about the errors and possible solutions, please read the following articles:
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement