Advertisement
Guest User

Untitled

a guest
Mar 27th, 2020
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.92 KB | None | 0 0
  1. Error creating bean with name 'auditEventService' defined in URL [file:/openempi/openempi-3.5.0c/openempi-entity-3.5.0c//conf/applicationContext-service.xml]: Invocation of init method failed; nested exception is org.springframework.dao.InvalidDataAccessResourceUsageException: could not extract ResultSet; SQL [n/a]; nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet
  2. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
  3. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
  4. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1531)
  5. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1276)
  6. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
  7. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
  8. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  9. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  10. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  11. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
  12. at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1078)
  13. at org.openhie.openempi.context.Context.startup(Context.java:151)
  14. at org.openhie.openempi.openpixpdqadapter.BasePixPdqAdapter.<init>(BasePixPdqAdapter.java:47)
  15. at org.openhie.openempi.openpixpdqadapter.PdqSupplierAdapter.<init>(PdqSupplierAdapter.java:41)
  16. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  17. at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
  18. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
  19. at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
  20. at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142)
  21. at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:89)
  22. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1147)
  23. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1099)
  24. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
  25. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
  26. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  27. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  28. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  29. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
  30. at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1078)
  31. at org.openhealthtools.openpixpdq.common.PixPdqFactory.getBean(PixPdqFactory.java:67)
  32. at org.openhealthtools.openpixpdq.common.PixPdqFactory.getPdSupplierAdapter(PixPdqFactory.java:94)
  33. at org.openhie.openempi.openpixpdq.fhir.PdqFhirServer.initialize(PdqFhirServer.java:58)
  34. at ca.uhn.fhir.rest.server.RestfulServer.init(RestfulServer.java:717)
  35. at javax.servlet.GenericServlet.init(GenericServlet.java:158)
  36. at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1227)
  37. at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1140)
  38. at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1027)
  39. at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5038)
  40. at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5348)
  41. at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
  42. at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753)
  43. at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:729)
  44. at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
  45. at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:587)
  46. at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1798)
  47. at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  48. at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  49. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  50. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  51. at java.lang.Thread.run(Thread.java:748)
  52. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auditEventService' defined in URL [file:/openempi/openempi-3.5.0c/openempi-entity-3.5.0c//conf/applicationContext-service.xml]: Invocation of init method failed; nested exception is org.springframework.dao.InvalidDataAccessResourceUsageException: could not extract ResultSet; SQL [n/a]; nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet
  53. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1628)
  54. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
  55. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
  56. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  57. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  58. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  59. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
  60. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
  61. ... 49 more
  62. Caused by: org.springframework.dao.InvalidDataAccessResourceUsageException: could not extract ResultSet; SQL [n/a]; nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet
  63. at org.springframework.orm.hibernate5.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:224)
  64. at org.springframework.orm.hibernate5.HibernateTemplate.doExecute(HibernateTemplate.java:366)
  65. at org.springframework.orm.hibernate5.HibernateTemplate.executeWithNativeSession(HibernateTemplate.java:326)
  66. at org.springframework.orm.hibernate5.HibernateTemplate.find(HibernateTemplate.java:887)
  67. at org.openhie.openempi.dao.hibernate.AuditEventDaoHibernate.getAllAuditEventTypes(AuditEventDaoHibernate.java:42)
  68. at org.openhie.openempi.service.impl.AuditEventServiceImpl.init(AuditEventServiceImpl.java:62)
  69. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  70. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  71. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  72. at java.lang.reflect.Method.invoke(Method.java:498)
  73. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1758)
  74. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1695)
  75. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1624)
  76. ... 56 more
  77. Caused by: org.hibernate.exception.SQLGrammarException: could not extract ResultSet
  78. at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:106)
  79. at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:42)
  80. at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:111)
  81. at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:97)
  82. at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:80)
  83. at org.hibernate.loader.Loader.getResultSet(Loader.java:2123)
  84. at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1911)
  85. at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1887)
  86. at org.hibernate.loader.Loader.doQuery(Loader.java:932)
  87. at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:349)
  88. at org.hibernate.loader.Loader.doList(Loader.java:2615)
  89. at org.hibernate.loader.Loader.doList(Loader.java:2598)
  90. at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2430)
  91. at org.hibernate.loader.Loader.list(Loader.java:2425)
  92. at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:502)
  93. at org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:379)
  94. at org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:216)
  95. at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1488)
  96. at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1445)
  97. at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1414)
  98. at org.springframework.orm.hibernate5.HibernateTemplate$29.doInHibernate(HibernateTemplate.java:899)
  99. at org.springframework.orm.hibernate5.HibernateTemplate$29.doInHibernate(HibernateTemplate.java:887)
  100. at org.springframework.orm.hibernate5.HibernateTemplate.doExecute(HibernateTemplate.java:359)
  101. ... 67 more
  102. Caused by: org.postgresql.util.PSQLException: ERROR: relation "audit_event_type" does not exist
  103. Position: 225
  104. at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2310)
  105. at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2023)
  106. at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:217)
  107. at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:421)
  108. at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:166)
  109. at org.postgresql.jdbc.PgPreparedStatement.executeQuery(PgPreparedStatement.java:118)
  110. at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
  111. at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
  112. at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:71)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement