Advertisement
Guest User

Openmrs log

a guest
Oct 8th, 2015
118
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 17.10 KB | None
  1. 08-Oct-2015 14:44:10.498 INFO [main] org.apache.coyote.AbstractProtocol.init Ini
  2. tializing ProtocolHandler ["http-nio-8080"]
  3. 08-Oct-2015 14:44:10.616 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.
  4. getSharedSelector Using a shared selector for servlet write/read
  5. 08-Oct-2015 14:44:10.629 INFO [main] org.apache.coyote.AbstractProtocol.init Ini
  6. tializing ProtocolHandler ["ajp-nio-8009"]
  7. 08-Oct-2015 14:44:10.638 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.
  8. getSharedSelector Using a shared selector for servlet write/read
  9. 08-Oct-2015 14:44:10.644 INFO [main] org.apache.catalina.startup.Catalina.load I
  10. nitialization processed in 6962 ms
  11. 08-Oct-2015 14:44:10.943 INFO [main] org.apache.catalina.core.StandardService.st
  12. artInternal Starting service Catalina
  13. 08-Oct-2015 14:44:10.947 INFO [main] org.apache.catalina.core.StandardEngine.sta
  14. rtInternal Starting Servlet Engine: Apache Tomcat/8.0.15
  15. 08-Oct-2015 14:44:11.460 INFO [localhost-startStop-1] org.apache.catalina.startu
  16. p.HostConfig.deployWAR Deploying web application archive C:\Apache Software Foun
  17. dation\apache-tomcat-8.0.15\webapps\openmrs.war
  18. 08-Oct-2015 14:44:11.571 WARNING [localhost-startStop-1] org.apache.catalina.sta
  19. rtup.SetContextPropertiesRule.begin [SetContextPropertiesRule]{Context} Setting
  20. property 'antiJARLocking' to 'true' did not find a matching property.
  21. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2669) |2015-10-08 14:46:11,1
  22. 22| Unable to find a runtime properties file at C:\Apache Software Foundation\ap
  23. ache-tomcat-8.0.15\bin\openmrs-runtime.properties
  24. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2697) |2015-10-08 14:46:11,1
  25. 92| Unable to find properties file: C:\Users\ulrich\Application Data\OpenMRS\ope
  26. nmrs-runtime.properties
  27. WARN - OpenmrsUtil.getRuntimeProperties(2630) |2015-10-08 14:46:11,212| Unable t
  28. o find a runtime properties file. Initial setup is needed. View the webapp to ru
  29. n the setup wizard.
  30. ERROR - UpdateFilterModel.updateChanges(77) |2015-10-08 14:46:17,362| Unable to
  31. get the database changes
  32. java.lang.RuntimeException: Error occurred while trying to get the updates neede
  33. d for the database. Unable to get a connection to the database.  Please check yo
  34. ur openmrs runtime properties file and make sure you have the correct connection
  35. .username and connection.password set
  36.         at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpda
  37. ter.java:637)
  38.         at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpda
  39. ter.java:594)
  40.         at org.openmrs.web.filter.update.UpdateFilterModel.updateChanges(UpdateF
  41. ilterModel.java:69)
  42.         at org.openmrs.web.filter.update.UpdateFilterModel.<init>(UpdateFilterMo
  43. del.java:47)
  44.         at org.openmrs.web.filter.update.UpdateFilter.init(UpdateFilter.java:457
  45. )
  46.         at org.apache.catalina.core.ApplicationFilterConfig.initFilter(Applicati
  47. onFilterConfig.java:279)
  48.         at org.apache.catalina.core.ApplicationFilterConfig.getFilter(Applicatio
  49. nFilterConfig.java:260)
  50.         at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFi
  51. lterConfig.java:105)
  52.         at org.apache.catalina.core.StandardContext.filterStart(StandardContext.
  53. java:4615)
  54.         at org.apache.catalina.core.StandardContext.startInternal(StandardContex
  55. t.java:5222)
  56.         at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  57.         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
  58. .java:725)
  59.         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:70
  60. 1)
  61.         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)
  62.  
  63.         at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:917)
  64.  
  65.         at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:
  66. 1701)
  67.         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:51
  68. 1)
  69.         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  70.         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
  71. java:1142)
  72.         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
  73. .java:617)
  74.         at java.lang.Thread.run(Thread.java:744)
  75. Caused by: java.lang.Exception: Unable to get a connection to the database.  Ple
  76. ase check your openmrs runtime properties file and make sure you have the correc
  77. t connection.username and connection.password set
  78.         at org.openmrs.util.DatabaseUpdater.getLiquibase(DatabaseUpdater.java:36
  79. 9)
  80.         at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpda
  81. ter.java:623)
  82.         ... 20 more
  83. Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException:
  84.  Could not create connection to database server. Attempted reconnect 3 times. Gi
  85. ving up.
  86.         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  87.  
  88.         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
  89. orAccessorImpl.java:62)
  90.         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
  91. onstructorAccessorImpl.java:45)
  92.         at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
  93.         at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
  94.         at com.mysql.jdbc.Util.getInstance(Util.java:386)
  95.         at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1015)
  96.         at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:989)
  97.         at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:975)
  98.         at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:920)
  99.         at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:
  100. 2395)
  101.         at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2316)
  102.         at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:834)
  103.         at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
  104.         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  105.  
  106.         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
  107. orAccessorImpl.java:62)
  108.         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
  109. onstructorAccessorImpl.java:45)
  110.         at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
  111.         at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
  112.         at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:416)
  113.         at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
  114. :347)
  115.         at java.sql.DriverManager.getConnection(DriverManager.java:664)
  116.         at java.sql.DriverManager.getConnection(DriverManager.java:247)
  117.         at org.openmrs.util.DatabaseUpdater.getConnection(DatabaseUpdater.java:4
  118. 31)
  119.         at org.openmrs.util.DatabaseUpdater.getLiquibase(DatabaseUpdater.java:36
  120. 6)
  121.         ... 21 more
  122. Caused by: java.sql.SQLException: Access denied for user 'test'@'localhost' (usi
  123. ng password: YES)
  124.         at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1086)
  125.         at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4237)
  126.         at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169)
  127.         at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:928)
  128.         at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(My
  129. sqlIO.java:1750)
  130.         at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1290)
  131.         at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2493)
  132.         at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:
  133. 2334)
  134.         ... 35 more
  135. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2669) |2015-10-08 14:46:22,6
  136. 65| Unable to find a runtime properties file at C:\Apache Software Foundation\ap
  137. ache-tomcat-8.0.15\bin\openmrs-runtime.properties
  138. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2697) |2015-10-08 14:46:22,6
  139. 70| Unable to find properties file: C:\Users\ulrich\Application Data\OpenMRS\ope
  140. nmrs-runtime.properties
  141. WARN - OpenmrsUtil.getRuntimeProperties(2630) |2015-10-08 14:46:22,681| Unable t
  142. o find a runtime properties file. Initial setup is needed. View the webapp to ru
  143. n the setup wizard.
  144. 08-Oct-2015 14:46:22.755 INFO [localhost-startStop-1] org.apache.catalina.startu
  145. p.HostConfig.deployWAR Deployment of web application archive C:\Apache Software
  146. Foundation\apache-tomcat-8.0.15\webapps\openmrs.war has finished in 131,295 ms
  147. 08-Oct-2015 14:46:22.762 INFO [localhost-startStop-1] org.apache.catalina.startu
  148. p.HostConfig.deployWAR Deploying web application archive C:\Apache Software Foun
  149. dation\apache-tomcat-8.0.15\webapps\WebApplication1.war
  150. 08-Oct-2015 14:46:22.888 INFO [localhost-startStop-1] org.apache.catalina.startu
  151. p.HostConfig.deployWAR Deployment of web application archive C:\Apache Software
  152. Foundation\apache-tomcat-8.0.15\webapps\WebApplication1.war has finished in 125
  153. ms
  154. 08-Oct-2015 14:46:22.900 INFO [localhost-startStop-1] org.apache.catalina.startu
  155. p.HostConfig.deployDirectory Deploying web application directory C:\Apache Softw
  156. are Foundation\apache-tomcat-8.0.15\webapps\docs
  157. 08-Oct-2015 14:46:22.995 INFO [localhost-startStop-1] org.apache.catalina.startu
  158. p.HostConfig.deployDirectory Deployment of web application directory C:\Apache S
  159. oftware Foundation\apache-tomcat-8.0.15\webapps\docs has finished in 95 ms
  160. 08-Oct-2015 14:46:22.997 INFO [localhost-startStop-1] org.apache.catalina.startu
  161. p.HostConfig.deployDirectory Deploying web application directory C:\Apache Softw
  162. are Foundation\apache-tomcat-8.0.15\webapps\examples
  163. 08-Oct-2015 14:46:24.321 INFO [localhost-startStop-1] org.apache.catalina.startu
  164. p.HostConfig.deployDirectory Deployment of web application directory C:\Apache S
  165. oftware Foundation\apache-tomcat-8.0.15\webapps\examples has finished in 1,325 m
  166. s
  167. 08-Oct-2015 14:46:24.323 INFO [localhost-startStop-1] org.apache.catalina.startu
  168. p.HostConfig.deployDirectory Deploying web application directory C:\Apache Softw
  169. are Foundation\apache-tomcat-8.0.15\webapps\host-manager
  170. 08-Oct-2015 14:46:24.462 INFO [localhost-startStop-1] org.apache.catalina.startu
  171. p.HostConfig.deployDirectory Deployment of web application directory C:\Apache S
  172. oftware Foundation\apache-tomcat-8.0.15\webapps\host-manager has finished in 139
  173.  ms
  174. 08-Oct-2015 14:46:24.464 INFO [localhost-startStop-1] org.apache.catalina.startu
  175. p.HostConfig.deployDirectory Deploying web application directory C:\Apache Softw
  176. are Foundation\apache-tomcat-8.0.15\webapps\manager
  177. 08-Oct-2015 14:46:24.561 INFO [localhost-startStop-1] org.apache.catalina.startu
  178. p.HostConfig.deployDirectory Deployment of web application directory C:\Apache S
  179. oftware Foundation\apache-tomcat-8.0.15\webapps\manager has finished in 96 ms
  180. 08-Oct-2015 14:46:24.562 INFO [localhost-startStop-1] org.apache.catalina.startu
  181. p.HostConfig.deployDirectory Deploying web application directory C:\Apache Softw
  182. are Foundation\apache-tomcat-8.0.15\webapps\ROOT
  183. 08-Oct-2015 14:46:24.661 INFO [localhost-startStop-1] org.apache.catalina.startu
  184. p.HostConfig.deployDirectory Deployment of web application directory C:\Apache S
  185. oftware Foundation\apache-tomcat-8.0.15\webapps\ROOT has finished in 98 ms
  186. 08-Oct-2015 14:46:24.739 INFO [main] org.apache.coyote.AbstractProtocol.start St
  187. arting ProtocolHandler ["http-nio-8080"]
  188. 08-Oct-2015 14:46:24.780 INFO [main] org.apache.coyote.AbstractProtocol.start St
  189. arting ProtocolHandler ["ajp-nio-8009"]
  190. 08-Oct-2015 14:46:24.793 INFO [main] org.apache.catalina.startup.Catalina.start
  191. Server startup in 134143 ms
  192. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2669) |2015-10-08 14:48:04,3
  193. 38| Unable to find a runtime properties file at C:\Apache Software Foundation\ap
  194. ache-tomcat-8.0.15\bin\openmrs-runtime.properties
  195. WARN - OpenmrsUtil.getRuntimePropertiesFilePathName(2697) |2015-10-08 14:48:04,3
  196. 49| Unable to find properties file: C:\Users\ulrich\Application Data\OpenMRS\ope
  197. nmrs-runtime.properties
  198. INFO 10/8/15 2:50 PM:liquibase: Reading from `liquibasechangelog`
  199. WARNING 10/8/15 2:50 PM:liquibase: modifyDataType will lose primary key/autoincr
  200. ement/not null settings for mysql.  Use <sql> and re-specify all configuration i
  201. f this is the case
  202. WARNING 10/8/15 2:50 PM:liquibase: modifyDataType will lose primary key/autoincr
  203. ement/not null settings for mysql.  Use <sql> and re-specify all configuration i
  204. f this is the case
  205. WARNING 10/8/15 2:50 PM:liquibase: modifyDataType will lose primary key/autoincr
  206. ement/not null settings for mysql.  Use <sql> and re-specify all configuration i
  207. f this is the case
  208. INFO 10/8/15 2:50 PM:liquibase: Successfully acquired change log lock
  209. WARNING 10/8/15 2:50 PM:liquibase: modifyDataType will lose primary key/autoincr
  210. ement/not null settings for mysql.  Use <sql> and re-specify all configuration i
  211. f this is the case
  212. WARNING 10/8/15 2:50 PM:liquibase: modifyDataType will lose primary key/autoincr
  213. ement/not null settings for mysql.  Use <sql> and re-specify all configuration i
  214. f this is the case
  215. WARNING 10/8/15 2:50 PM:liquibase: modifyDataType will lose primary key/autoincr
  216. ement/not null settings for mysql.  Use <sql> and re-specify all configuration i
  217. f this is the case
  218. INFO 10/8/15 2:50 PM:liquibase: Reading from `liquibasechangelog`
  219. SEVERE 10/8/15 2:50 PM:liquibase: Change Set liquibase-update-to-latest.xml::201
  220. 401101647-TRUNK-4187::wyclif failed.  Error: Migration failed for change set liq
  221. uibase-update-to-latest.xml::201401101647-TRUNK-4187::wyclif:
  222.      Reason:
  223.           liquibase-update-to-latest.xml : For input string: "62        "
  224. :
  225.           Caused By: Precondition Error
  226. liquibase.exception.MigrationFailedException: Migration failed for change set li
  227. quibase-update-to-latest.xml::201401101647-TRUNK-4187::wyclif:
  228.      Reason:
  229.           liquibase-update-to-latest.xml : For input string: "62        "
  230. :
  231.           Caused By: Precondition Error
  232.         at liquibase.changelog.ChangeSet.execute(ChangeSet.java:285)
  233.         at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:27
  234. )
  235.         at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(Database
  236. Updater.java:200)
  237.         at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58)
  238.         at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.jav
  239. a:229)
  240.         at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.jav
  241. a:164)
  242.         at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.jav
  243. a:149)
  244.         at org.openmrs.web.filter.initialization.InitializationFilter$Initializa
  245. tionCompletion$1.run(InitializationFilter.java:1599)
  246.         at java.lang.Thread.run(Thread.java:744)
  247. Caused by: liquibase.exception.PreconditionErrorException: Precondition Error
  248.         at liquibase.precondition.CustomPreconditionWrapper.check(CustomPrecondi
  249. tionWrapper.java:79)
  250.         at liquibase.precondition.core.AndPrecondition.check(AndPrecondition.jav
  251. a:34)
  252.         at liquibase.precondition.core.PreconditionContainer.check(PreconditionC
  253. ontainer.java:199)
  254.         at liquibase.changelog.ChangeSet.execute(ChangeSet.java:249)
  255.         ... 8 more
  256. INFO 10/8/15 2:50 PM:liquibase: Successfully released change log lock
  257. WARN - InitializationFilter$InitializationCompletion$1.run(1605) |2015-10-08 14:
  258. 50:17,135| Error while trying to update to the latest database version
  259. org.openmrs.util.DatabaseUpdateException: There was an error while updating the
  260. database to the latest. file: liquibase-update-to-latest.xml. Error: Migration f
  261. ailed for change set liquibase-update-to-latest.xml::201401101647-TRUNK-4187::wy
  262. clif:
  263.      Reason:
  264.           liquibase-update-to-latest.xml : For input string: "62        "
  265. :
  266.           Caused By: Precondition Error
  267.         at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.jav
  268. a:152)
  269.         at org.openmrs.web.filter.initialization.InitializationFilter$Initializa
  270. tionCompletion$1.run(InitializationFilter.java:1599)
  271.         at java.lang.Thread.run(Thread.java:744)
  272. Caused by: liquibase.exception.MigrationFailedException: Migration failed for ch
  273. ange set liquibase-update-to-latest.xml::201401101647-TRUNK-4187::wyclif:
  274.      Reason:
  275.           liquibase-update-to-latest.xml : For input string: "62        "
  276. :
  277.           Caused By: Precondition Error
  278.         at liquibase.changelog.ChangeSet.execute(ChangeSet.java:285)
  279.         at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:27
  280. )
  281.         at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(Database
  282. Updater.java:200)
  283.         at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58)
  284.         at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.jav
  285. a:229)
  286.         at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.jav
  287. a:164)
  288.         at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.jav
  289. a:149)
  290.         ... 2 more
  291. Caused by: liquibase.exception.PreconditionErrorException: Precondition Error
  292.         at liquibase.precondition.CustomPreconditionWrapper.check(CustomPrecondi
  293. tionWrapper.java:79)
  294.         at liquibase.precondition.core.AndPrecondition.check(AndPrecondition.jav
  295. a:34)
  296.         at liquibase.precondition.core.PreconditionContainer.check(PreconditionC
  297. ontainer.java:199)
  298.         at liquibase.changelog.ChangeSet.execute(ChangeSet.java:249)
  299.         ... 8 more
Advertisement
RAW Paste Data Copied
Advertisement