Advertisement
Guest User

Untitled

a guest
Jan 25th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.51 KB | None | 0 0
  1. WARN - ModuleFactory.startModuleInternal(792) |2019-01-25 13:46:30,328| Error while trying to start module: sync
  2. org.openmrs.api.db.DAOException: Error while running sql: INSERT INTO scheduler_task_config (name, description, schedulable_class, start_time, start_time_pattern, repeat_interval, start_on_startup, started, created_by, date_created, changed_by, date_changed, uuid) VALUES ('Cleanup Old Sync Records', 'This task deletes old rows in the sync_record and sync_server_record tables. The default settings work on all servers, but for advanced users, you can change the properties to suit your needs.', 'org.openmrs.module.sync.scheduler.CleanupSyncTablesTask', '2009-12-18 17:26:31', 'MM/dd/yyyy HH:mm:ss', '604800', '1', '0', '1', '2009-12-18 17:28:39', null, null, 'd3122955-00d7-454c-b17f-e3f87206c74b') . Message: Duplicate entry 'd3122955-00d7-454c-b17f-e3f87206c74b' for key 'scheduler_task_config_uuid_index'
  3. at org.openmrs.util.DatabaseUtil.executeSQL(DatabaseUtil.java:141)
  4. at org.openmrs.api.db.hibernate.HibernateAdministrationDAO.executeSQL(HibernateAdministrationDAO.java:336)
  5. at org.openmrs.api.impl.AdministrationServiceImpl.executeSQL(AdministrationServiceImpl.java:799)
  6. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  7. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  8. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  9. at java.lang.reflect.Method.invoke(Method.java:606)
  10. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  11. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  12. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  13. at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
  14. at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
  15. at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
  16. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  17. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
  18. at com.sun.proxy.$Proxy45.executeSQL(Unknown Source)
  19. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  20. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  21. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  22. at java.lang.reflect.Method.invoke(Method.java:606)
  23. at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
  24. at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
  25. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
  26. at org.openmrs.aop.LoggingAdvice.invoke(LoggingAdvice.java:121)
  27. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  28. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:51)
  29. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  30. at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:51)
  31. at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  32. at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
  33. at com.sun.proxy.$Proxy67.executeSQL(Unknown Source)
  34. at org.openmrs.module.ModuleFactory.runDiff(ModuleFactory.java:944)
  35. at org.openmrs.module.ModuleFactory.startModuleInternal(ModuleFactory.java:720)
  36. at org.openmrs.api.context.Daemon$1.run(Daemon.java:70)
  37. Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry 'd3122955-00d7-454c-b17f-e3f87206c74b' for key 'scheduler_task_config_uuid_index'
  38. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  39. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
  40. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  41. at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
  42. at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
  43. at com.mysql.jdbc.Util.getInstance(Util.java:386)
  44. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1041)
  45. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4237)
  46. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169)
  47. at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2617)
  48. at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2778)
  49. at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2825)
  50. at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2156)
  51. at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2441)
  52. at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2366)
  53. at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2350)
  54. at com.mchange.v2.c3p0.impl.NewProxyPreparedStatement.executeUpdate(NewProxyPreparedStatement.java:105)
  55. at org.openmrs.util.DatabaseUtil.executeSQL(DatabaseUtil.java:120)
  56. ... 33 more
  57. INFO - LoggingAdvice.invoke(115) |2019-01-25 13:46:30,568| In method AlertService.saveAlert. Arguments: Alert=Alert: #null,
  58. INFO - LoggingAdvice.invoke(155) |2019-01-25 13:46:30,607| Exiting method saveAlert
  59. INFO - LoggingAdvice.invoke(115) |2019-01-25 13:46:30,731| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: webservices.rest.started value: true,
  60. INFO - LoggingAdvice.invoke(155) |2019-01-25 13:46:30,734| Exiting method saveGlobalProperty
  61. INFO - LoggingAdvice.invoke(115) |2019-01-25 13:46:30,737| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: webservices.rest.mandatory value: false,
  62. INFO - LoggingAdvice.invoke(155) |2019-01-25 13:46:30,741| Exiting method saveGlobalProperty
  63. INFO 1/25/19 1:46 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
  64. INFO 1/25/19 1:46 PM:liquibase: Reading from `liquibasechangelog`
  65. INFO 1/25/19 1:46 PM:liquibase: Successfully acquired change log lock
  66. INFO 1/25/19 1:46 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
  67. INFO 1/25/19 1:46 PM:liquibase: Successfully released change log lock
  68. INFO - LoggingAdvice.invoke(115) |2019-01-25 13:46:31,043| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: htmlformentry.started value: true,
  69. INFO - LoggingAdvice.invoke(155) |2019-01-25 13:46:31,047| Exiting method saveGlobalProperty
  70. INFO - LoggingAdvice.invoke(115) |2019-01-25 13:46:31,050| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: htmlformentry.mandatory value: false,
  71. INFO - LoggingAdvice.invoke(155) |2019-01-25 13:46:31,055| Exiting method saveGlobalProperty
  72. INFO - LoggingAdvice.invoke(115) |2019-01-25 13:46:31,238| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: addresshierarchy.started value: true,
  73. INFO - LoggingAdvice.invoke(155) |2019-01-25 13:46:31,242| Exiting method saveGlobalProperty
  74. INFO - LoggingAdvice.invoke(115) |2019-01-25 13:46:31,246| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: addresshierarchy.mandatory value: false,
  75. INFO - LoggingAdvice.invoke(155) |2019-01-25 13:46:31,249| Exiting method saveGlobalProperty
  76. INFO - LoggingAdvice.invoke(115) |2019-01-25 13:46:31,360| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: dataentrystatistics.started value: true,
  77. INFO - LoggingAdvice.invoke(155) |2019-01-25 13:46:31,364| Exiting method saveGlobalProperty
  78. INFO - LoggingAdvice.invoke(115) |2019-01-25 13:46:31,366| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: dataentrystatistics.mandatory value: false,
  79. INFO - LoggingAdvice.invoke(155) |2019-01-25 13:46:31,369| Exiting method saveGlobalProperty
  80. INFO - LoggingAdvice.invoke(115) |2019-01-25 13:46:31,489| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: databasebackup.started value: true,
  81. INFO - LoggingAdvice.invoke(155) |2019-01-25 13:46:31,493| Exiting method saveGlobalProperty
  82. INFO - LoggingAdvice.invoke(115) |2019-01-25 13:46:31,498| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: databasebackup.mandatory value: false,
  83. INFO - LoggingAdvice.invoke(155) |2019-01-25 13:46:31,502| Exiting method saveGlobalProperty
  84. INFO 1/25/19 1:46 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
  85. INFO 1/25/19 1:46 PM:liquibase: Reading from `liquibasechangelog`
  86. INFO 1/25/19 1:46 PM:liquibase: Successfully acquired change log lock
  87. INFO 1/25/19 1:46 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
  88. INFO 1/25/19 1:46 PM:liquibase: Successfully released change log lock
  89. INFO - LoggingAdvice.invoke(115) |2019-01-25 13:46:31,732| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: gaac.started value: true,
  90. INFO - LoggingAdvice.invoke(155) |2019-01-25 13:46:31,735| Exiting method saveGlobalProperty
  91. INFO - LoggingAdvice.invoke(115) |2019-01-25 13:46:31,738| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: gaac.mandatory value: false,
  92. INFO - LoggingAdvice.invoke(155) |2019-01-25 13:46:31,741| Exiting method saveGlobalProperty
  93. INFO 1/25/19 1:46 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
  94. INFO 1/25/19 1:46 PM:liquibase: Reading from `liquibasechangelog`
  95. INFO 1/25/19 1:46 PM:liquibase: Successfully acquired change log lock
  96. INFO 1/25/19 1:46 PM:liquibase: liquibase.xml is using schema version 1.9 rather than version 2.0
  97. INFO 1/25/19 1:46 PM:liquibase: Successfully released change log lock
  98. INFO - LoggingAdvice.invoke(115) |2019-01-25 13:46:31,923| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: metadatamapping.started value: true,
  99. INFO - LoggingAdvice.invoke(155) |2019-01-25 13:46:31,926| Exiting method saveGlobalProperty
  100. INFO - LoggingAdvice.invoke(115) |2019-01-25 13:46:31,930| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: metadatamapping.mandatory value: false,
  101. INFO - LoggingAdvice.invoke(155) |2019-01-25 13:46:31,933| Exiting method saveGlobalProperty
  102. INFO - LoggingAdvice.invoke(115) |2019-01-25 13:46:32,051| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: metadatasharing.started value: true,
  103. INFO - LoggingAdvice.invoke(155) |2019-01-25 13:46:32,055| Exiting method saveGlobalProperty
  104. INFO - LoggingAdvice.invoke(115) |2019-01-25 13:46:32,058| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: metadatasharing.mandatory value: false,
  105. INFO - LoggingAdvice.invoke(155) |2019-01-25 13:46:32,060| Exiting method saveGlobalProperty
  106. INFO 1/25/19 1:46 PM:liquibase: Reading from `liquibasechangelog`
  107. INFO 1/25/19 1:46 PM:liquibase: Successfully acquired change log lock
  108. INFO 1/25/19 1:46 PM:liquibase: Successfully released change log lock
  109. INFO - LoggingAdvice.invoke(115) |2019-01-25 13:46:32,453| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: logic.started value: true,
  110. INFO - LoggingAdvice.invoke(155) |2019-01-25 13:46:32,459| Exiting method saveGlobalProperty
  111. INFO - LoggingAdvice.invoke(115) |2019-01-25 13:46:32,471| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: logic.mandatory value: false,
  112. INFO - LoggingAdvice.invoke(155) |2019-01-25 13:46:32,477| Exiting method saveGlobalProperty
  113. INFO - LoggingAdvice.invoke(115) |2019-01-25 13:46:32,629| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: formfilter.started value: true,
  114. INFO - LoggingAdvice.invoke(155) |2019-01-25 13:46:32,632| Exiting method saveGlobalProperty
  115. INFO - LoggingAdvice.invoke(115) |2019-01-25 13:46:32,636| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: formfilter.mandatory value: false,
  116. INFO - LoggingAdvice.invoke(155) |2019-01-25 13:46:32,640| Exiting method saveGlobalProperty
  117. INFO - LoggingAdvice.invoke(115) |2019-01-25 13:46:32,865| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: patientflags.started value: true,
  118. INFO - LoggingAdvice.invoke(155) |2019-01-25 13:46:32,869| Exiting method saveGlobalProperty
  119. INFO - LoggingAdvice.invoke(115) |2019-01-25 13:46:32,875| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: patientflags.mandatory value: false,
  120. INFO - LoggingAdvice.invoke(155) |2019-01-25 13:46:32,883| Exiting method saveGlobalProperty
  121. INFO - LoggingAdvice.invoke(115) |2019-01-25 13:46:33,039| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: serialization.xstream.started value: true,
  122. INFO - LoggingAdvice.invoke(155) |2019-01-25 13:46:33,042| Exiting method saveGlobalProperty
  123. INFO - LoggingAdvice.invoke(115) |2019-01-25 13:46:33,046| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: serialization.xstream.mandatory value: false,
  124. INFO - LoggingAdvice.invoke(155) |2019-01-25 13:46:33,049| Exiting method saveGlobalProperty
  125. INFO - LoggingAdvice.invoke(115) |2019-01-25 13:46:33,071| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: reportingcompatibility.started value: true,
  126. INFO - LoggingAdvice.invoke(155) |2019-01-25 13:46:33,076| Exiting method saveGlobalProperty
  127. INFO - LoggingAdvice.invoke(115) |2019-01-25 13:46:33,080| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: reportingcompatibility.mandatory value: false,
  128. INFO - LoggingAdvice.invoke(155) |2019-01-25 13:46:33,083| Exiting method saveGlobalProperty
  129. INFO 1/25/19 1:46 PM:liquibase: Reading from `liquibasechangelog`
  130. INFO 1/25/19 1:46 PM:liquibase: Successfully acquired change log lock
  131. INFO 1/25/19 1:46 PM:liquibase: Successfully released change log lock
  132. INFO - LoggingAdvice.invoke(115) |2019-01-25 13:46:33,844| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: reporting.started value: true,
  133. INFO - LoggingAdvice.invoke(155) |2019-01-25 13:46:33,846| Exiting method saveGlobalProperty
  134. INFO - LoggingAdvice.invoke(115) |2019-01-25 13:46:33,849| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: reporting.mandatory value: false,
  135. INFO - LoggingAdvice.invoke(155) |2019-01-25 13:46:33,851| Exiting method saveGlobalProperty
  136. INFO - LoggingAdvice.invoke(115) |2019-01-25 13:46:33,942| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: reportingrest.started value: true,
  137. INFO - LoggingAdvice.invoke(155) |2019-01-25 13:46:33,944| Exiting method saveGlobalProperty
  138. INFO - LoggingAdvice.invoke(115) |2019-01-25 13:46:33,947| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: reportingrest.mandatory value: false,
  139. INFO - LoggingAdvice.invoke(155) |2019-01-25 13:46:33,951| Exiting method saveGlobalProperty
  140. INFO - LoggingAdvice.invoke(115) |2019-01-25 13:46:33,967| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: patientsummary.started value: true,
  141. INFO - LoggingAdvice.invoke(155) |2019-01-25 13:46:33,971| Exiting method saveGlobalProperty
  142. INFO - LoggingAdvice.invoke(115) |2019-01-25 13:46:33,974| In method AdministrationService.saveGlobalProperty. Arguments: GlobalProperty=property: patientsummary.mandatory value: false,
  143. INFO - LoggingAdvice.invoke(155) |2019-01-25 13:46:33,977| Exiting method saveGlobalProperty
  144. ERROR - Listener.contextInitialized(188) |2019-01-25 13:46:34,073| Got exception while starting up:
  145. org.openmrs.module.ModuleException: Unable to start OpenMRS. Error thrown was: org.openmrs.module.MandatoryModuleException: The following modules are marked as 'mandatory' but were unable to start: sync
  146. at org.openmrs.web.WebDaemon.startOpenmrs(WebDaemon.java:64)
  147. at org.openmrs.web.Listener.contextInitialized(Listener.java:180)
  148. at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5157)
  149. at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5680)
  150. at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
  151. at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:1018)
  152. at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:994)
  153. at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
  154. at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1127)
  155. at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:2021)
  156. at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:473)
  157. at java.util.concurrent.FutureTask.run(FutureTask.java:262)
  158. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
  159. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:622)
  160. at java.lang.Thread.run(Thread.java:748)
  161. Caused by: javax.servlet.ServletException: org.openmrs.module.MandatoryModuleException: The following modules are marked as 'mandatory' but were unable to start: sync
  162. at org.openmrs.web.Listener.startOpenmrs(Listener.java:236)
  163. at org.openmrs.web.WebDaemon$1.run(WebDaemon.java:42)
  164. Caused by: org.openmrs.module.MandatoryModuleException: The following modules are marked as 'mandatory' but were unable to start: sync
  165. at org.openmrs.module.ModuleUtil.checkMandatoryModulesStarted(ModuleUtil.java:918)
  166. at org.openmrs.module.ModuleUtil.startup(ModuleUtil.java:144)
  167. at org.openmrs.api.context.Context.startup(Context.java:883)
  168. at org.openmrs.web.Listener.startOpenmrs(Listener.java:227)
  169. ... 1 more
  170. INFO 1/25/19 1:46 PM:liquibase: Reading from `liquibasechangelog`
  171. WARNING 1/25/19 1:46 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
  172. WARNING 1/25/19 1:46 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
  173. WARNING 1/25/19 1:46 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
  174. INFO 1/25/19 1:46 PM:liquibase: Reading from `liquibasechangelog`
  175. WARNING 1/25/19 1:46 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
  176. WARNING 1/25/19 1:46 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
  177. WARNING 1/25/19 1:46 PM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use <sql> and re-specify all configuration if this is the case
  178. Jan 25, 2019 1:46:36 PM org.apache.catalina.startup.HostConfig deployWAR
  179. INFO: Deployment of web application archive /usr/local/tomcat/webapps/openmrs.war has finished in 31,362 ms
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement