Advertisement
Guest User

Untitled

a guest
Jul 11th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.12 KB | None | 0 0
  1. [openbravo@SRVOBPRUEBAS OpenbravoERP]$ ant update.database
  2. Buildfile: build.xml
  3.  
  4. set.code.rev:
  5.  
  6. code.rev:
  7.  
  8. init:
  9.  
  10. core.lib:
  11.  
  12. init:
  13.  
  14. compile:
  15.  
  16. build.jar:
  17.  
  18. build:
  19.  
  20. copy.core.lib:
  21.  
  22. database.lib:
  23.  
  24. init:
  25.  
  26. compile:
  27.  
  28. build.jar:
  29.  
  30. jar:
  31.  
  32. buildvalidation:
  33. [sql] Executing commands
  34. [sql] 2 of 2 SQL statements executed successfully
  35.  
  36. buildvalidation:
  37. [java] 0 [main] INFO org.openbravo.buildvalidation.BuildValidationHandler - Executing build validation: org.openbravo.buildvalidation.Cbpvendoracct
  38. [java] 340 [main] INFO org.openbravo.buildvalidation.BuildValidationHandler - Executing build validation: org.openbravo.buildvalidation.DuplicatedJavaPackage
  39. [java] 346 [main] INFO org.openbravo.buildvalidation.BuildValidationHandler - Executing build validation: org.openbravo.buildvalidation.PaymentGLItemCheck
  40. [java] 350 [main] INFO org.openbravo.buildvalidation.BuildValidationHandler - Executing build validation: org.openbravo.buildvalidation.PreferenceConflict
  41.  
  42. update.database:
  43. [sql] Executing commands
  44. [sql] 2 of 2 SQL statements executed successfully
  45.  
  46. update.database.java:
  47. [java] Executing database update process without checking changes in local files.
  48. [java] 0 INFO - Database connection: jdbc:postgresql://localhost:5432/openbravo. User: tad
  49. [java] 780 INFO - Executing full update.database
  50. [java] 787 INFO - Reading tables...
  51. [java] 8872 INFO - Reading views...
  52. [java] 9118 INFO - Reading sequences...
  53. [java] 9122 INFO - Reading triggers...
  54. [java] 9188 INFO - Reading functions...
  55. [java] 9557 INFO - Sorting foreign keys, indexes and checks...
  56. [java] 9787 INFO - Starting function and trigger standardization.
  57. [java] 59783 INFO - Checking datatypes from the model loaded from the database
  58. [java] 59789 INFO - Original model loaded from database.
  59. [java] 65652 INFO - Checking datatypes from the model loaded from XML files
  60. [java] 65723 INFO - Loading data from XML files
  61. [java] 71882 INFO - Loading and applying configuration scripts
  62. [java] 71886 INFO - Loading configuration script: /opt/OpenbravoERP/modules/com.openbravo.gps.praxistemplate/src-db/database/configScript.xml
  63. [java] Checking if database structure was modified locally.
  64. [java] Checking if data has changed in the application dictionary.
  65. [java] 79877 INFO - Executing default prescript
  66. [java] 80174 INFO - Executed 116 SQL command(s) successfully
  67. [java] 80199 INFO - Updating database model...
  68. [java] 80500 WARN - Warning: Name of object NUMO_C_BPARTNER_LOCATION_PRAXIS is too long (31 characters; maximum length: 30 characters)
  69. [java] 80502 WARN - Warning: Name of object NUMO_C_BPARTNER_LOCATION_PRAXIS is too long (31 characters; maximum length: 30 characters)
  70. [java] 80503 WARN - Warning: Name of object NUMO_C_BPARTNER_LOCATION_PRAXIS is too long (31 characters; maximum length: 30 characters)
  71. [java] 82156 WARN - SQL Command failed with: ERROR: function numo_c_bpartner_ocation_praxis() does not exist
  72. [java] 82158 WARN - -- -----------------------------------------------------------------------
  73. [java] -- FUNCTION NUMO_C_BPARTNER_OCATION_PRAXIS
  74. [java] -- -----------------------------------------------------------------------
  75. [java] DROP FUNCTION NUMO_C_BPARTNER_OCATION_PRAXIS()
  76. [java] 82207 INFO - Executed 3 SQL command(s) with 1 error(s)
  77. [java] 82209 INFO - Model update complete.
  78. [java] 82211 INFO - Disabling foreign keys
  79. [java] 92151 INFO - Executed 2676 SQL command(s) successfully
  80. [java] 92154 INFO - Disabling triggers
  81. [java] 92778 INFO - Executed 542 SQL command(s) successfully
  82. [java] 93481 INFO - Executed 503 SQL command(s) successfully
  83. [java] 93489 INFO - Executing moduleScript: org.openbravo.modulescript.CreateDoctypeTemplate
  84. [java] 93499 INFO - Executing moduleScript: org.openbravo.modulescript.HBFix
  85. [java] 93510 INFO - Executing moduleScript: org.openbravo.modulescript.UpdateEmailPasswords
  86. [java] 93514 INFO - Executing moduleScript: org.openbravo.modulescript.UpdateFinancialAccountAccounts
  87. [java] 93518 INFO - Executing moduleScript: org.openbravo.userinterface.selector.UpdateLanguageColumn
  88. [java] 93522 INFO - Comparing databases to find differences
  89. [java] 96815 INFO - Updating Application Dictionary data...
  90. [java] 96856 INFO - Removing invalid rows.
  91. [java] 114346 INFO - Executed 179 SQL command(s) successfully
  92. [java] 114348 INFO - Recreating Primary Keys
  93. [java] 114450 INFO - Executing update final script (NOT NULLs and dropping temporary tables)
  94. [java] 117976 INFO - Executed 135 SQL command(s) successfully
  95. [java] 119072 INFO - Executed 548 SQL command(s) successfully
  96. [java] 119877 WARN - SQL Command failed with: ERROR: insert or update on table "ad_column" violates foreign key constraint "ad_element_ad_column"
  97. [java] Detail: Key (ad_element_id)=(EB99D9CE6C48412CBF4EA56BB8DBBA9E) is not present in table "ad_element".
  98. [java] 119878 WARN - -- END
  99. [java] ALTER TABLE AD_COLUMN
  100. [java] ADD CONSTRAINT AD_ELEMENT_AD_COLUMN FOREIGN KEY (AD_ELEMENT_ID) REFERENCES AD_ELEMENT (AD_ELEMENT_ID)
  101. [java] 119885 WARN - SQL Command failed with: ERROR: insert or update on table "ad_column" violates foreign key constraint "ad_reference_columnvalue"
  102. [java] Detail: Key (ad_reference_value_id)=(E0C4849B8EE246DF83F52F22AB9F2CCF) is not present in table "ad_reference".
  103. [java] 119887 WARN - -- END
  104. [java] ALTER TABLE AD_COLUMN
  105. [java] ADD CONSTRAINT AD_REFERENCE_COLUMNVALUE FOREIGN KEY (AD_REFERENCE_VALUE_ID) REFERENCES AD_REFERENCE (AD_REFERENCE_ID)
  106. [java] 119888 INFO - Executed 76 SQL command(s) with 2 error(s)
  107. [java] 119889 INFO - Enabling Foreign Keys and Triggers
  108. [java] 136530 INFO - Executed 2676 SQL command(s) successfully
  109. [java] 161056 INFO - Executed 542 SQL command(s) successfully
  110. [java] 161063 INFO - Executing default postscript
  111. [java] 167148 INFO - Executed 22 SQL command(s) successfully
  112.  
  113. database.postupdate.POSTGRE:
  114. [sql] Executing commands
  115. [sql] 5 of 5 SQL statements executed successfully
  116.  
  117. update.dbupdate.timestamp:
  118. [sql] Executing commands
  119. [sql] 1 of 1 SQL statements executed successfully
  120.  
  121. generate.entities.quick:
  122.  
  123. init:
  124.  
  125. compile.src.gen:
  126. [javac] Compiling 4 source files to /opt/OpenbravoERP/build/classes
  127. [copy] Copying 191 files to /opt/OpenbravoERP/build/classes
  128.  
  129. generate.entities.quick:
  130. [workflow] Adding param: /opt/OpenbravoERP/src/org/openbravo/base/gen/gen_entity.oaw
  131. [workflow] Adding param: -pob.properties.location=/opt/OpenbravoERP/config/Openbravo.properties
  132. [workflow] Adding param: -pbase.src.gen=/opt/OpenbravoERP/src-gen
  133. [workflow] Adding param: --ant
  134. [workflow] 0 [main] ERROR org.openarchitectureware.xpand2.Generator - Error in Component of type org.openarchitectureware.xpand2.Generator:
  135. [workflow] EvaluationException : java.lang.reflect.InvocationTargetException
  136. [workflow] org::openbravo::base::gen::base.xpt[1261,5] on line 24 'model'
  137. [workflow] [23,54] on line 1 'EXPAND org::openbravo::base::gen::base::root FOR model'
  138. [workflow]
  139. [workflow] 70 [main] ERROR org.openarchitectureware.workflow.WorkflowRunner - Workflow interrupted. Reason: EvaluationException : java.lang.reflect.InvocationTargetException
  140. [workflow] org::openbravo::base::gen::base.xpt[1261,5] on line 24 'model'
  141. [workflow] [23,54] on line 1 'EXPAND org::openbravo::base::gen::base::root FOR model'
  142. [workflow]
  143. [workflow] 73 [main] ERROR org.openarchitectureware.workflow.WorkflowRunner - ERROR in Component of type org.openarchitectureware.xpand2.Generator
  144. [workflow] java.lang.reflect.InvocationTargetException [model] in workflow: Generator: generating 'org::openbravo::base::gen::base::root FOR model' => directory 'null'
  145. [workflow] 75 [main] ERROR org.openarchitectureware.workflow.WorkflowRunner - ERROR in Component of type org.openarchitectureware.xpand2.Generator
  146. [workflow] java.lang.reflect.InvocationTargetException [EXPAND org::openbravo::base::gen::entity::EntityTemplate FOREACH model] in workflow: Generator: generating 'org::openbravo::base::gen::base::root FOR model' => directory 'null'
  147. [workflow] 76 [main] ERROR org.openarchitectureware.workflow.WorkflowRunner - ERROR in Component of type org.openarchitectureware.xpand2.Generator
  148. [workflow] java.lang.reflect.InvocationTargetException [root : ModelProvider] in workflow: Generator: generating 'org::openbravo::base::gen::base::root FOR model' => directory 'null'
  149. [workflow] 78 [main] ERROR org.openarchitectureware.workflow.WorkflowRunner - ERROR in Component of type org.openarchitectureware.xpand2.Generator
  150. [workflow] java.lang.reflect.InvocationTargetException [EXPAND org::openbravo::base::gen::base::root FOR model] in workflow: Generator: generating 'org::openbravo::base::gen::base::root FOR model' => directory 'null'
  151.  
  152. BUILD FAILED
  153. /opt/OpenbravoERP/build.xml:685: The following error occurred while executing this line:
  154. /opt/OpenbravoERP/build.xml:522: The following error occurred while executing this line:
  155. /opt/OpenbravoERP/src/build.xml:282: workflow failed: Java returned: 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement