Guest User

openmrs upgrade 1.11.4 org.apache.xerces.jaxp.DocumentBuilde

a guest
Oct 30th, 2015
77
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. WARN - WebModuleUtil.startModule(331) |2015-10-30 10:31:27,213| Unable to refresh the WebApplicationContext for module: radiology
  2. org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from URL [jar:file:/tmp/tomcat7-tomcat7-tmp/1446200793163.openmrs-lib-cache/radiology/lib/radiology-api-0.1.0.0-dev-SNAPSHOT.jar!/moduleApplicationContext.xml]; nested exception is java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to javax.xml.parsers.DocumentBuilderFactory
  3. at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:412)
  4. at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
  5. at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
  6. at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)
  7. at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)
  8. at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)
  9. at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:125)
  10. at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:94)
  11. at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
  12. at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:537)
  13. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:451)
  14. at org.openmrs.module.ModuleUtil.refreshApplicationContext(ModuleUtil.java:832)
  15. at org.openmrs.module.web.WebModuleUtil.refreshWAC(WebModuleUtil.java:962)
  16. at org.openmrs.module.web.WebModuleUtil.startModule(WebModuleUtil.java:323)
  17. at org.openmrs.module.web.controller.ModuleListController.onSubmit(ModuleListController.java:177)
  18. at org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:272)
  19. at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:268)
  20. at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
  21. at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
  22. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
  23. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
  24. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953)
  25. at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:855)
  26. at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
  27. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829)
  28. at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
  29. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
  30. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  31. at org.openmrs.module.web.filter.ForcePasswordChangeFilter.doFilter(ForcePasswordChangeFilter.java:61)
  32. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  33. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  34. at org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:72)
  35. at org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:54)
  36. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  37. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  38. at org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:109)
  39. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  40. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  41. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  42. at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:230)
  43. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  44. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  45. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  46. at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
  47. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  48. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  49. at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
  50. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  51. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  52. at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
  53. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  54. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  55. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
  56. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  57. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  58. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  59. at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
  60. at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
  61. at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
  62. at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
  63. at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
  64. at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
  65. at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
  66. at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
  67. at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
  68. at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
  69. at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
  70. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  71. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  72. at java.lang.Thread.run(Thread.java:745)
  73. Caused by: java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to javax.xml.parsers.DocumentBuilderFactory
  74. at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:121)
  75. at org.springframework.beans.factory.xml.DefaultDocumentLoader.createDocumentBuilderFactory(DefaultDocumentLoader.java:89)
  76. at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:70)
  77. at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)
  78. ... 69 more
  79. WARN - WebModuleUtil.startModule(341) |2015-10-30 10:31:27,229| Error while stopping a module that had an error on refreshWAC
  80. org.openmrs.api.APIException: Service not found: interface org.openmrs.scheduler.SchedulerService
  81. at org.openmrs.api.context.ServiceContext.getService(ServiceContext.java:755)
  82. at org.openmrs.api.context.ServiceContext.getSchedulerService(ServiceContext.java:310)
  83. at org.openmrs.api.context.Context.getSchedulerService(Context.java:529)
  84. at org.openmrs.module.web.WebModuleUtil.stopTasks(WebModuleUtil.java:382)
  85. at org.openmrs.module.web.WebModuleUtil.stopModule(WebModuleUtil.java:861)
  86. at org.openmrs.module.web.WebModuleUtil.startModule(WebModuleUtil.java:335)
  87. at org.openmrs.module.web.controller.ModuleListController.onSubmit(ModuleListController.java:177)
  88. at org.springframework.web.servlet.mvc.SimpleFormController.processFormSubmission(SimpleFormController.java:272)
  89. at org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:268)
  90. at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
  91. at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
  92. at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
  93. at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
  94. at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:953)
  95. at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:855)
  96. at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
  97. at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:829)
  98. at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
  99. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
  100. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  101. at org.openmrs.module.web.filter.ForcePasswordChangeFilter.doFilter(ForcePasswordChangeFilter.java:61)
  102. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  103. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  104. at org.openmrs.module.web.filter.ModuleFilterChain.doFilter(ModuleFilterChain.java:72)
  105. at org.openmrs.module.web.filter.ModuleFilter.doFilter(ModuleFilter.java:54)
  106. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  107. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  108. at org.openmrs.web.filter.OpenmrsFilter.doFilterInternal(OpenmrsFilter.java:109)
  109. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  110. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  111. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  112. at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:230)
  113. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  114. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  115. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  116. at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
  117. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  118. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  119. at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
  120. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  121. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  122. at org.openmrs.web.filter.StartupFilter.doFilter(StartupFilter.java:105)
  123. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  124. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  125. at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
  126. at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
  127. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  128. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  129. at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
  130. at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
  131. at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
  132. at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
  133. at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
  134. at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
  135. at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
  136. at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
  137. at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
  138. at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
  139. at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
  140. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  141. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  142. at java.lang.Thread.run(Thread.java:745)
  143. INFO - ServiceContext.startRefreshingContext(902) |2015-10-30 10:31:27,245| Refreshing Context
  144. INFO - ServiceContext.doneRefreshingContext(913) |2015-10-30 10:31:27,277| Done refreshing Context
RAW Paste Data