Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NetBeans: Executing 'D:\Software\Development\JAVA\apache-maven-2.2.1\bin\mvn.bat -Dmaven.test.skip=true -Dexec.classpathScope=runtime -Dexec.args=-classpath %classpath com.databasetest2.App -Dexec.executable=C:\Program Files\Java\jdk1.6.0_10\bin\java.exe -Dnetbeans.execution=true -Dmaven.repo.local=C:\repository\.m2\repository2 process-classes org.codehaus.mojo:exec-maven-plugin:1.1.1:exec'
- NetBeans: JAVA_HOME=C:\Program Files\Java\jdk1.6.0_10
- Scanning for projects...
- ------------------------------------------------------------------------
- Building Databasetest2
- task-segment: [process-classes, org.codehaus.mojo:exec-maven-plugin:1.1.1:exec]
- ------------------------------------------------------------------------
- [resources:resources]
- [WARNING] File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!
- [WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
- Copying 26 resources
- skip non existing resourceDirectory C:\Documents and Settings\victor\My Documents\NetBeansProjects\Databasetest2\src\main\resources
- [compiler:compile]
- Nothing to compile - all classes are up to date
- [exec:exec]
- log4j:WARN No appenders could be found for logger (org.springframework.context.support.ClassPathXmlApplicationContext).
- log4j:WARN Please initialize the log4j system properly.
- Testing database url ==== jdbc:postgresql://localhost:5432/ database name testdb
- [Debug] executing statement CREATE DATABASE testdb
- [Error] ERROR: database "testdb" already exists
- Ignoring error..... continue with other operations
- [debug] new connection Url: jdbc:postgresql://localhost:5432/testdb?autoReconnect=true
- Testing change log com/postgresql/liquibase-create-tables.xml
- Sep 7, 2010 10:58:33 AM liquibase.database.template.JdbcTemplate comment
- INFO: Lock Database
- Sep 7, 2010 10:58:33 AM liquibase.lock.LockHandler acquireLock
- INFO: Successfully acquired change log lock
- Sep 7, 2010 10:58:34 AM liquibase.database.AbstractDatabase getRanChangeSetList
- INFO: Reading from databasechangelog
- Sep 7, 2010 10:58:34 AM liquibase.database.template.JdbcTemplate comment
- INFO: Release Database Lock
- Sep 7, 2010 10:58:34 AM liquibase.lock.LockHandler releaseLock
- INFO: Successfully released change log lock
- [debug ========================= ] finished writting to target database
- Test Passed
- Testing change log com/postgresql/liquibase-insert-data.xml
- Sep 7, 2010 10:58:34 AM liquibase.database.template.JdbcTemplate comment
- INFO: Lock Database
- Sep 7, 2010 10:58:34 AM liquibase.lock.LockHandler acquireLock
- INFO: Successfully acquired change log lock
- Sep 7, 2010 10:58:34 AM liquibase.database.AbstractDatabase getRanChangeSetList
- INFO: Reading from databasechangelog
- Sep 7, 2010 10:58:35 AM liquibase.database.template.JdbcTemplate comment
- INFO: Release Database Lock
- Sep 7, 2010 10:58:35 AM liquibase.lock.LockHandler releaseLock
- INFO: Successfully released change log lock
- [debug ========================= ] finished writting to target database
- Test Passed
- Testing change log com/postgresql/liquibase-mobile-menu.xml
- Sep 7, 2010 10:58:35 AM liquibase.database.template.JdbcTemplate comment
- INFO: Lock Database
- Sep 7, 2010 10:58:35 AM liquibase.lock.LockHandler acquireLock
- INFO: Successfully acquired change log lock
- Sep 7, 2010 10:58:35 AM liquibase.database.AbstractDatabase getRanChangeSetList
- INFO: Reading from databasechangelog
- Sep 7, 2010 10:58:35 AM liquibase.database.template.JdbcTemplate comment
- INFO: Changeset com/postgresql/liquibase-mobile-menu.xml::mobile-menu-09::Mark::(MD5Sum: c2f1fdbc52947ae76bf2dca7c30a858)
- Sep 7, 2010 10:58:35 AM liquibase.database.template.JdbcTemplate comment
- INFO: Adding Error Text for Missing Form Definition
- Sep 7, 2010 10:58:35 AM liquibase.database.template.JdbcTemplate comment
- INFO: Release Database Lock
- Sep 7, 2010 10:58:35 AM liquibase.lock.LockHandler releaseLock
- INFO: Successfully released change log lock
- liquibase.exception.MigrationFailedException: Migration failed for change set com/postgresql/liquibase-mobile-menu.xml::mobile-menu-09::Mark:
- Reason: liquibase.exception.JDBCException: Error executing SQL INSERT INTO mobile_menu (menu_id, description, name) VALUES ('-3', 'Error Text for Missing Form Definition', 'Menu Text Download'):
- Caused By: Error executing SQL INSERT INTO mobile_menu (menu_id, description, name) VALUES ('-3', 'Error Text for Missing Form Definition', 'Menu Text Download'):
- Caused By: ERROR: duplicate key value violates unique constraint "mobile_menu_name_key"
- at liquibase.ChangeSet.execute(ChangeSet.java:260)
- at liquibase.parser.visitor.UpdateVisitor.visit(UpdateVisitor.java:26)
- at liquibase.parser.ChangeLogIterator.run(ChangeLogIterator.java:41)
- at liquibase.Liquibase.update(Liquibase.java:112)
- at com.databasetest2.TestMigration.runChangeLog(TestMigration.java:56)
- at com.databasetest2.TestMigration.showStatus(TestMigration.java:67)
- at com.databasetest2.App.main(App.java:39)
- Caused by: liquibase.exception.JDBCException: Error executing SQL INSERT INTO mobile_menu (menu_id, description, name) VALUES ('-3', 'Error Text for Missing Form Definition', 'Menu Text Download')
- at liquibase.database.template.JdbcTemplate.execute(JdbcTemplate.java:55)
- at liquibase.database.template.JdbcTemplate.execute(JdbcTemplate.java:86)
- at liquibase.change.AbstractChange.execute(AbstractChange.java:247)
- at liquibase.change.AbstractChange.executeStatements(AbstractChange.java:93)
- at liquibase.ChangeSet.execute(ChangeSet.java:236)
- ... 6 more
- Caused by: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "mobile_menu_name_key"
- at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2062)
- at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1795)
- at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
- at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479)
- at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:353)
- at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:345)
- at liquibase.database.template.JdbcTemplate$1ExecuteStatementCallback.doInStatement(JdbcTemplate.java:78)
- at liquibase.database.template.JdbcTemplate.execute(JdbcTemplate.java:48)
- ... 10 more
- Sep 7, 2010 10:58:35 AM liquibase.database.template.JdbcTemplate comment
- INFO: Lock Database
- Sep 7, 2010 10:58:35 AM liquibase.lock.LockHandler acquireLock
- INFO: Successfully acquired change log lock
- Sep 7, 2010 10:58:35 AM liquibase.database.AbstractDatabase getRanChangeSetList
- INFO: Reading from databasechangelog
- Sep 7, 2010 10:58:35 AM liquibase.database.template.JdbcTemplate comment
- INFO: Release Database Lock
- Sep 7, 2010 10:58:35 AM liquibase.lock.LockHandler releaseLock
- INFO: Successfully released change log lock
- Sep 7, 2010 10:58:36 AM liquibase.database.template.JdbcTemplate comment
- INFO: Lock Database
- Sep 7, 2010 10:58:36 AM liquibase.lock.LockHandler acquireLock
- INFO: Successfully acquired change log lock
- Test failed
- Testing change log com/postgresql/liquibase-create-foreignkeys.xml
- [debug ========================= ] finished writting to target database
- Test Passed
- Testing change log com/postgresql/liquibase-update-to-1.0.xml
- Sep 7, 2010 10:58:36 AM liquibase.database.AbstractDatabase getRanChangeSetList
- INFO: Reading from databasechangelog
- Sep 7, 2010 10:58:36 AM liquibase.database.template.JdbcTemplate comment
- INFO: Changeset com/postgresql/liquibase-update-to-1.0.xml::1247499691484-5::daniel::(MD5Sum: ecf48d494b26541588a76c639a5d9c2)
- Sep 7, 2010 10:58:36 AM liquibase.database.template.JdbcTemplate comment
- INFO: Adding smsFieldSepChar setting
- Sep 7, 2010 10:58:36 AM liquibase.database.template.JdbcTemplate comment
- INFO: Release Database Lock
- Sep 7, 2010 10:58:36 AM liquibase.lock.LockHandler releaseLock
- INFO: Successfully released change log lock
- liquibase.exception.MigrationFailedException: Migration failed for change set com/postgresql/liquibase-update-to-1.0.xml::1247499691484-5::daniel:
- Reason: liquibase.exception.JDBCException: Error executing SQL INSERT INTO setting (setting_group_id, description, name, value) VALUES (4, 'The separator for form fields in an text sms used to submit data', 'smsFieldSepChar', '='):
- Caused By: Error executing SQL INSERT INTO setting (setting_group_id, description, name, value) VALUES (4, 'The separator for form fields in an text sms used to submit data', 'smsFieldSepChar', '='):
- Caused By: ERROR: duplicate key value violates unique constraint "setting_pkey"
- at liquibase.ChangeSet.execute(ChangeSet.java:260)
- at liquibase.parser.visitor.UpdateVisitor.visit(UpdateVisitor.java:26)
- at liquibase.parser.ChangeLogIterator.run(ChangeLogIterator.java:41)
- at liquibase.Liquibase.update(Liquibase.java:112)
- at com.databasetest2.TestMigration.runChangeLog(TestMigration.java:56)
- at com.databasetest2.TestMigration.showStatus(TestMigration.java:67)
- at com.databasetest2.App.main(App.java:41)
- Caused by: liquibase.exception.JDBCException: Error executing SQL INSERT INTO setting (setting_group_id, description, name, value) VALUES (4, 'The separator for form fields in an text sms used to submit data', 'smsFieldSepChar', '=')
- at liquibase.database.template.JdbcTemplate.execute(JdbcTemplate.java:55)
- at liquibase.database.template.JdbcTemplate.execute(JdbcTemplate.java:86)
- at liquibase.change.AbstractChange.execute(AbstractChange.java:247)
- at liquibase.change.AbstractChange.executeStatements(AbstractChange.java:93)
- at liquibase.ChangeSet.execute(ChangeSet.java:236)
- ... 6 more
- Caused by: org.postgresql.util.PSQLException: ERROR: duplicate key value violates unique constraint "setting_pkey"
- at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2062)
- at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1795)
- at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
- at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479)
- at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:353)
- at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:345)
- at liquibase.database.template.JdbcTemplate$1ExecuteStatementCallback.doInStatement(JdbcTemplate.java:78)
- at liquibase.database.template.JdbcTemplate.execute(JdbcTemplate.java:48)
- ... 10 more
- Sep 7, 2010 10:58:37 AM liquibase.database.template.JdbcTemplate comment
- INFO: Lock Database
- Sep 7, 2010 10:58:37 AM liquibase.lock.LockHandler acquireLock
- INFO: Successfully acquired change log lock
- Test failed
- Testing change log com/postgresql/liquibase-permissions.xml
- Sep 7, 2010 10:58:37 AM liquibase.database.AbstractDatabase getRanChangeSetList
- INFO: Reading from databasechangelog
- Sep 7, 2010 10:58:37 AM liquibase.database.template.JdbcTemplate comment
- INFO: Changeset com/postgresql/liquibase-permissions.xml::permissions_change_id_00::Mark::(MD5Sum: 333d5bd643e8c53abf5258fb9e0175a)
- Sep 7, 2010 10:58:37 AM liquibase.database.template.JdbcTemplate comment
- INFO: Adding administrator user to the users table
- Sep 7, 2010 10:58:37 AM liquibase.database.template.JdbcTemplate comment
- INFO: Release Database Lock
- Sep 7, 2010 10:58:37 AM liquibase.lock.LockHandler releaseLock
- INFO: Successfully released change log lock
- liquibase.exception.MigrationFailedException: Migration failed for change set com/postgresql/liquibase-permissions.xml::permissions_change_id_00::Mark:
- Reason: liquibase.exception.JDBCException: Error executing SQL INSERT INTO users (changed_by, date_changed, middle_name, date_created, secret_question, password, creator, user_name, first_name, email, phone_no, last_name, user_id, salt, secret_answer) VALUES (NULL, '2009-03-13', 'administrator', '2009-11-13', 'what is the name of the organisation that developed oxd?', '7357bec928a1af86415f7b8c11245296ec1779d', 2, 'admin', 'administrator', 'cattabanks@gmail.com', '000-000-0000-01', 'administrator', 2, 'e2597cf74095403889c6b07b46d8af5d94b8e6', 'MUK and Mark'):
- Caused By: Error executing SQL INSERT INTO users (changed_by, date_changed, middle_name, date_created, secret_question, password, creator, user_name, first_name, email, phone_no, last_name, user_id, salt, secret_answer) VALUES (NULL, '2009-03-13', 'administrator', '2009-11-13', 'what is the name of the organisation that developed oxd?', '7357bec928a1af86415f7b8c11245296ec1779d', 2, 'admin', 'administrator', 'cattabanks@gmail.com', '000-000-0000-01', 'administrator', 2, 'e2597cf74095403889c6b07b46d8af5d94b8e6', 'MUK and Mark'):
- Caused By: ERROR: column "email" of relation "users" does not exist
- Position: 132
- at liquibase.ChangeSet.execute(ChangeSet.java:260)
- at liquibase.parser.visitor.UpdateVisitor.visit(UpdateVisitor.java:26)
- at liquibase.parser.ChangeLogIterator.run(ChangeLogIterator.java:41)
- at liquibase.Liquibase.update(Liquibase.java:112)
- at com.databasetest2.TestMigration.runChangeLog(TestMigration.java:56)
- at com.databasetest2.TestMigration.showStatus(TestMigration.java:67)
- at com.databasetest2.App.main(App.java:42)
- Caused by: liquibase.exception.JDBCException: Error executing SQL INSERT INTO users (changed_by, date_changed, middle_name, date_created, secret_question, password, creator, user_name, first_name, email, phone_no, last_name, user_id, salt, secret_answer) VALUES (NULL, '2009-03-13', 'administrator', '2009-11-13', 'what is the name of the organisation that developed oxd?', '7357bec928a1af86415f7b8c11245296ec1779d', 2, 'admin', 'administrator', 'cattabanks@gmail.com', '000-000-0000-01', 'administrator', 2, 'e2597cf74095403889c6b07b46d8af5d94b8e6', 'MUK and Mark')
- at liquibase.database.template.JdbcTemplate.execute(JdbcTemplate.java:55)
- at liquibase.database.template.JdbcTemplate.execute(JdbcTemplate.java:86)
- at liquibase.change.AbstractChange.execute(AbstractChange.java:247)
- at liquibase.change.AbstractChange.executeStatements(AbstractChange.java:93)
- at liquibase.ChangeSet.execute(ChangeSet.java:236)
- ... 6 more
- Caused by: org.postgresql.util.PSQLException: ERROR: column "email" of relation "users" does not exist
- Position: 132
- at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2062)
- at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1795)
- at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
- at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479)
- at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:353)
- at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:345)
- at liquibase.database.template.JdbcTemplate$1ExecuteStatementCallback.doInStatement(JdbcTemplate.java:78)
- at liquibase.database.template.JdbcTemplate.execute(JdbcTemplate.java:48)
- ... 10 more
- Test failed
- ------------------------------------------------------------------------
- BUILD SUCCESSFUL
- ------------------------------------------------------------------------
- Total time: 18 seconds
- Finished at: Tue Sep 07 10:58:37 EAT 2010
- Final Memory: 10M/19M
- ----------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement