- git clone https://github.com/ehrbase/ehrbase
- copy the
Dockerfile
and thedocker_build_script.sh
(which are attached to this gist) inside the repo and run the next command docker build -t nameit/whatyoulike:0.1 .
NOTE: the whole process may take some minutes because it downloads dependencies from maven.
This is the ouput of the last part form docker build
command.
It's the part after successful build then java -jar application/target/application-0.9.0.jar
is called.
[INFO] org.ehrbase.openehr:server ......................... SUCCESS [ 18.613 s]
[INFO] test-data .......................................... SUCCESS [ 9.915 s]
[INFO] serialisation ...................................... SUCCESS [02:49 min]
[INFO] api ................................................ SUCCESS [ 49.150 s]
[INFO] opt-1.4 ............................................ SUCCESS [ 53.340 s]
[INFO] base ............................................... SUCCESS [ 5.770 s]
[INFO] jooq-pq ............................................ SUCCESS [ 38.411 s]
[INFO] validation ......................................... SUCCESS [ 12.958 s]
[INFO] service ............................................ SUCCESS [ 38.797 s]
[INFO] rest-ehr-scape ..................................... SUCCESS [ 18.250 s]
[INFO] rest-openehr ....................................... SUCCESS [ 4.210 s]
[INFO] application ........................................ SUCCESS [01:07 min]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 08:20 min
[INFO] Finished at: 2019-10-31T08:24:25Z
[INFO] ------------------------------------------------------------------------
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v1.5.10.RELEASE)
2019-10-31 08:24:27.999 INFO 617 --- [ main] org.ehrbase.application.EhrBase : Starting EhrBase v0.9.0 on 3f7f696cd584 with PID 617 (/usr/project/application/target/application-0.9.0.jar started by root in /usr/project)
2019-10-31 08:24:28.004 INFO 617 --- [ main] org.ehrbase.application.EhrBase : The following profiles are active: local
2019-10-31 08:24:28.155 INFO 617 --- [ main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@63e31ee: startup date [Thu Oct 31 08:24:28 GMT 2019]; root of context hierarchy
2019-10-31 08:24:30.321 INFO 617 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'httpSessionManager' with a different definition: replacing [Generic bean: class [org.keycloak.adapters.springsecurity.management.HttpSessionManager]; scope=singleton; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in URL [jar:file:/usr/project/application/target/application-0.9.0.jar!/BOOT-INF/lib/keycloak-spring-security-adapter-4.0.0.Final.jar!/org/keycloak/adapters/springsecurity/management/HttpSessionManager.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=securityConfig; factoryMethodName=httpSessionManager; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/ehrbase/application/config/SecurityConfig.class]]
2019-10-31 08:24:30.572 INFO 617 --- [ main] o.s.b.f.s.DefaultListableBeanFactory : Overriding bean definition for bean 'dataSource' with a different definition: replacing [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Dbcp2; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Dbcp2.class]] with [Root bean: class [null]; scope=; abstract=false; lazyInit=false; autowireMode=3; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Tomcat; factoryMethodName=dataSource; initMethodName=null; destroyMethodName=(inferred); defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Tomcat.class]]
2019-10-31 08:24:31.849 INFO 617 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$f6fc8dec] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-10-31 08:24:32.710 INFO 617 --- [ main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat initialized with port(s): 8080 (http)
2019-10-31 08:24:32.730 INFO 617 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2019-10-31 08:24:32.732 INFO 617 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.27
2019-10-31 08:24:33.032 INFO 617 --- [ost-startStop-1] o.a.c.c.C.[.[localhost].[/ehrbase] : Initializing Spring embedded WebApplicationContext
2019-10-31 08:24:33.033 INFO 617 --- [ost-startStop-1] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 4883 ms
2019-10-31 08:24:34.464 INFO 617 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'metricsFilter' to: [/*]
2019-10-31 08:24:34.465 INFO 617 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
2019-10-31 08:24:34.465 INFO 617 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2019-10-31 08:24:34.466 INFO 617 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'httpPutFormContentFilter' to: [/*]
2019-10-31 08:24:34.466 INFO 617 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
2019-10-31 08:24:34.468 INFO 617 --- [ost-startStop-1] .s.DelegatingFilterProxyRegistrationBean : Mapping filter: 'springSecurityFilterChain' to: [/*]
2019-10-31 08:24:34.469 INFO 617 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'webRequestLoggingFilter' to: [/*]
2019-10-31 08:24:34.469 INFO 617 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Filter keycloakAuthenticationProcessingFilter was not registered (disabled)
2019-10-31 08:24:34.469 INFO 617 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Filter keycloakPreAuthActionsFilter was not registered (disabled)
2019-10-31 08:24:34.470 INFO 617 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'keycloakAuthenticatedActionsFilter' to: [/*]
2019-10-31 08:24:34.470 INFO 617 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'keycloakSecurityContextRequestFilter' to: [/*]
2019-10-31 08:24:34.471 INFO 617 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'applicationContextIdFilter' to: [/*]
2019-10-31 08:24:34.471 INFO 617 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
2019-10-31 08:24:34.861 INFO 617 --- [ main] o.f.core.internal.util.VersionPrinter : Flyway 4.0.3 by Boxfuse
2019-10-31 08:24:35.104 INFO 617 --- [ main] o.f.c.i.dbsupport.DbSupportFactory : Database: jdbc:postgresql://localhost:5432/ehrbase (PostgreSQL 11.5)
2019-10-31 08:24:35.249 INFO 617 --- [ main] o.f.core.internal.command.DbValidate : Successfully validated 10 migrations (execution time 00:00.050s)
2019-10-31 08:24:35.275 INFO 617 --- [ main] o.f.core.internal.command.DbMigrate : Current version of schema "ehr": 10
2019-10-31 08:24:35.278 INFO 617 --- [ main] o.f.core.internal.command.DbMigrate : Schema "ehr" is up to date. No migration necessary.
2019-10-31 08:24:35.472 INFO 617 --- [ main] j.LocalContainerEntityManagerFactoryBean : Building JPA container EntityManagerFactory for persistence unit 'default'
2019-10-31 08:24:35.498 INFO 617 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2019-10-31 08:24:35.627 INFO 617 --- [ main] org.hibernate.Version : HHH000412: Hibernate Core {5.0.12.Final}
2019-10-31 08:24:35.630 INFO 617 --- [ main] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found
2019-10-31 08:24:35.634 INFO 617 --- [ main] org.hibernate.cfg.Environment : HHH000021: Bytecode provider name : javassist
2019-10-31 08:24:35.715 INFO 617 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
2019-10-31 08:24:36.006 INFO 617 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.PostgreSQLDialect
2019-10-31 08:24:36.166 INFO 617 --- [ main] o.h.e.j.e.i.LobCreatorBuilderImpl : HHH000424: Disabling contextual LOB creation as createClob() method threw error : java.lang.reflect.InvocationTargetException
2019-10-31 08:24:36.169 INFO 617 --- [ main] org.hibernate.type.BasicTypeRegistry : HHH000270: Type registration [java.util.UUID] overrides previous : org.hibernate.type.UUIDBinaryType@5400db36
2019-10-31 08:24:36.470 INFO 617 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2019-10-31 08:24:37.088 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/swagger-resources]}" onto public org.springframework.http.ResponseEntity<java.util.List<springfox.documentation.swagger.web.SwaggerResource>> springfox.documentation.swagger.web.ApiResourceController.swaggerResources()
2019-10-31 08:24:37.090 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/swagger-resources/configuration/security]}" onto public org.springframework.http.ResponseEntity<springfox.documentation.swagger.web.SecurityConfiguration> springfox.documentation.swagger.web.ApiResourceController.securityConfiguration()
2019-10-31 08:24:37.092 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/swagger-resources/configuration/ui]}" onto public org.springframework.http.ResponseEntity<springfox.documentation.swagger.web.UiConfiguration> springfox.documentation.swagger.web.ApiResourceController.uiConfiguration()
2019-10-31 08:24:37.105 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/ecis/v1/query],methods=[POST],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity<org.ehrbase.rest.ehrscape.responsedata.QueryResponseData> org.ehrbase.rest.ehrscape.controller.QueryController.query(java.lang.Boolean,java.lang.String)
2019-10-31 08:24:37.112 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/ecis/v1/template],methods=[POST],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity<org.ehrbase.rest.ehrscape.responsedata.TemplatesResponseData> org.ehrbase.rest.ehrscape.controller.TemplateController.createTemplate(java.lang.String)
2019-10-31 08:24:37.114 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/ecis/v1/template/{templateId}/example],methods=[GET],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity<org.ehrbase.rest.ehrscape.responsedata.TemplateExampleResponseData> org.ehrbase.rest.ehrscape.controller.TemplateController.getTemplateExample(java.lang.String,org.ehrbase.api.definitions.CompositionFormat)
2019-10-31 08:24:37.116 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/ecis/v1/template/{templateId}],methods=[GET],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity<org.ehrbase.rest.ehrscape.responsedata.TemplateResponseData> org.ehrbase.rest.ehrscape.controller.TemplateController.getTemplate(java.lang.String)
2019-10-31 08:24:37.117 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/ecis/v1/template],methods=[GET],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity<org.ehrbase.rest.ehrscape.responsedata.TemplatesResponseData> org.ehrbase.rest.ehrscape.controller.TemplateController.getTemplate()
2019-10-31 08:24:37.135 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/ecis/v1/ehr/{uuid}/status],methods=[PUT],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity<org.ehrbase.rest.ehrscape.responsedata.EhrResponseData> org.ehrbase.rest.ehrscape.controller.EhrController.updateStatus(java.util.UUID,java.lang.String,java.lang.String)
2019-10-31 08:24:37.137 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/ecis/v1/ehr],methods=[POST],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity<org.ehrbase.rest.ehrscape.responsedata.EhrResponseData> org.ehrbase.rest.ehrscape.controller.EhrController.createEhr(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String) throws java.lang.Exception
2019-10-31 08:24:37.138 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/ecis/v1/ehr],methods=[GET],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity<org.ehrbase.rest.ehrscape.responsedata.EhrResponseData> org.ehrbase.rest.ehrscape.controller.EhrController.getEhr(java.lang.String,java.lang.String,java.lang.String)
2019-10-31 08:24:37.139 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/ecis/v1/ehr/{uuid}],methods=[GET],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity<org.ehrbase.rest.ehrscape.responsedata.EhrResponseData> org.ehrbase.rest.ehrscape.controller.EhrController.getEhr(java.util.UUID,java.lang.String)
2019-10-31 08:24:37.146 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/ecis/v1/composition],methods=[POST],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity<org.ehrbase.rest.ehrscape.responsedata.CompositionWriteRestResponseData> org.ehrbase.rest.ehrscape.controller.CompositionController.createComposition(org.ehrbase.api.definitions.CompositionFormat,java.lang.String,java.util.UUID,java.util.UUID,java.lang.String)
2019-10-31 08:24:37.148 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/ecis/v1/composition/{id}],methods=[GET],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity<org.ehrbase.rest.ehrscape.responsedata.CompositionResponseData> org.ehrbase.rest.ehrscape.controller.CompositionController.getComposition(java.lang.String,org.ehrbase.api.definitions.CompositionFormat)
2019-10-31 08:24:37.149 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/ecis/v1/composition/{id}],methods=[PUT],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity<org.ehrbase.rest.ehrscape.responsedata.ActionRestResponseData> org.ehrbase.rest.ehrscape.controller.CompositionController.update(java.util.UUID,org.ehrbase.api.definitions.CompositionFormat,java.lang.String,java.lang.String)
2019-10-31 08:24:37.150 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/ecis/v1/composition/{id}],methods=[DELETE],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity<org.ehrbase.rest.ehrscape.responsedata.ActionRestResponseData> org.ehrbase.rest.ehrscape.controller.CompositionController.delete(java.util.UUID)
2019-10-31 08:24:37.158 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/openehr/v1/definition/query/{qualified_query_name}/{version}],methods=[GET],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity<org.ehrbase.rest.openehr.response.QueryDefinitionResponseData> org.ehrbase.rest.openehr.controller.OpenehrDefinitionQueryController.getStoredQueryVersion(java.lang.String,java.lang.String,java.util.Optional<java.lang.String>)
2019-10-31 08:24:37.160 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/openehr/v1/definition/query/{qualified_query_name}/{version}{?type} || /rest/openehr/v1/definition/query/{qualified_query_name}{?type}],methods=[PUT],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity<org.ehrbase.rest.openehr.response.QueryDefinitionResponseData> org.ehrbase.rest.openehr.controller.OpenehrDefinitionQueryController.putStoreQuery(java.lang.String,java.lang.String,java.util.Optional<java.lang.String>,java.lang.String,java.lang.String)
2019-10-31 08:24:37.161 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/openehr/v1/definition/query/{qualified_query_name} || /rest/openehr/v1/definition/query],methods=[GET],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity<org.ehrbase.rest.openehr.response.QueryDefinitionListResponseData> org.ehrbase.rest.openehr.controller.OpenehrDefinitionQueryController.getStoredQueryList(java.lang.String,java.lang.String)
2019-10-31 08:24:37.162 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/openehr/v1/definition/query/{qualified_query_name}/{version}],methods=[DELETE],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity<org.ehrbase.rest.openehr.response.QueryDefinitionResponseData> org.ehrbase.rest.openehr.controller.OpenehrDefinitionQueryController.deleteStoredQuery(java.lang.String,java.lang.String,java.lang.String)
2019-10-31 08:24:37.172 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/openehr/v1/ehr/{ehr_id}/ehr_status],methods=[PUT],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity<java.lang.Void> org.ehrbase.rest.openehr.controller.OpenehrEhrController.updateStatus(java.util.UUID,com.nedap.archie.rm.ehr.EhrStatus)
2019-10-31 08:24:37.173 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/openehr/v1/ehr],methods=[POST],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity org.ehrbase.rest.openehr.controller.OpenehrEhrController.createEhr(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,com.nedap.archie.rm.ehr.EhrStatus)
2019-10-31 08:24:37.174 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/openehr/v1/ehr/{ehr_id}],methods=[GET],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity<org.ehrbase.rest.openehr.response.EhrResponseData> org.ehrbase.rest.openehr.controller.OpenehrEhrController.retrieveEhrById(java.lang.String,java.lang.String)
2019-10-31 08:24:37.175 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/openehr/v1/ehr],methods=[GET],params=[subject_id && subject_namespace],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity<org.ehrbase.rest.openehr.response.EhrResponseData> org.ehrbase.rest.openehr.controller.OpenehrEhrController.retrieveEhrBySubject(java.lang.String,java.lang.String,java.lang.String)
2019-10-31 08:24:37.177 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/openehr/v1/ehr/{ehr_id}],methods=[PUT],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity<org.ehrbase.rest.openehr.response.EhrResponseData> org.ehrbase.rest.openehr.controller.OpenehrEhrController.createEhrWithId(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,com.nedap.archie.rm.ehr.EhrStatus)
2019-10-31 08:24:37.186 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/openehr/v1/ehr/{ehr_id}/directory/{version_uid}{?path}],methods=[GET]}" onto public org.springframework.http.ResponseEntity<org.ehrbase.rest.openehr.response.DirectoryResponseData> org.ehrbase.rest.openehr.controller.OpenehrDirectoryController.getFolder(java.lang.String,java.util.UUID,java.util.UUID,java.lang.String)
2019-10-31 08:24:37.187 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/openehr/v1/ehr/{ehr_id}/directory{?version_at_time,path}],methods=[GET]}" onto public org.springframework.http.ResponseEntity org.ehrbase.rest.openehr.controller.OpenehrDirectoryController.getFolderVersionAtTime(java.lang.String,java.util.UUID,java.lang.String,java.lang.String)
2019-10-31 08:24:37.188 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/openehr/v1/ehr/{ehr_id}/directory],methods=[PUT]}" onto public org.springframework.http.ResponseEntity org.ehrbase.rest.openehr.controller.OpenehrDirectoryController.updateFolder(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)
2019-10-31 08:24:37.189 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/openehr/v1/ehr/{ehr_id}/directory],methods=[DELETE]}" onto public org.springframework.http.ResponseEntity org.ehrbase.rest.openehr.controller.OpenehrDirectoryController.deleteFolder(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)
2019-10-31 08:24:37.190 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/openehr/v1/ehr/{ehr_id}/directory],methods=[POST],consumes=[application/xml || application/json]}" onto public org.springframework.http.ResponseEntity org.ehrbase.rest.openehr.controller.OpenehrDirectoryController.createFolder(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.util.UUID,com.nedap.archie.rm.directory.Folder,java.lang.String)
2019-10-31 08:24:37.195 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/openehr/v1/definition/template/adl1.4],methods=[POST],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity org.ehrbase.rest.openehr.controller.OpenehrTemplateController.createTemplateClassic(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)
2019-10-31 08:24:37.196 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/openehr/v1/definition/template/adl1.4],methods=[GET],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity org.ehrbase.rest.openehr.controller.OpenehrTemplateController.getTemplatesClassic(java.lang.String,java.lang.String,java.lang.String)
2019-10-31 08:24:37.197 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/openehr/v1/definition/template/adl1.4/{template_id}],methods=[GET],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity org.ehrbase.rest.openehr.controller.OpenehrTemplateController.getTemplateClassic(java.lang.String,java.lang.String,java.lang.String,java.lang.String)
2019-10-31 08:24:37.198 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/openehr/v1/definition/template/adl2/{?version}],methods=[POST],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity<org.ehrbase.rest.openehr.response.TemplateResponseData> org.ehrbase.rest.openehr.controller.OpenehrTemplateController.createTemplateNew(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)
2019-10-31 08:24:37.199 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/openehr/v1/definition/template/adl2/{template_id}/{version_pattern}],methods=[GET],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity<org.ehrbase.rest.openehr.response.TemplateResponseData> org.ehrbase.rest.openehr.controller.OpenehrTemplateController.getTemplateNew(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)
2019-10-31 08:24:37.204 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/openehr/v1/ehr/{ehr_id}/contribution],methods=[POST],consumes=[application/xml || application/json],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity org.ehrbase.rest.openehr.controller.OpenehrContributionController.createContribution(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)
2019-10-31 08:24:37.205 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/openehr/v1/ehr/{ehr_id}/contribution/{contribution_uid}],methods=[GET],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity org.ehrbase.rest.openehr.controller.OpenehrContributionController.getContribution(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)
2019-10-31 08:24:37.210 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/openehr/v1/query/{qualified_query_name}/{version} || /rest/openehr/v1/query/{qualified_query_name}],methods=[POST],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity<org.ehrbase.rest.openehr.response.QueryResponseData> org.ehrbase.rest.openehr.controller.OpenehrQueryController.postStoredQuery(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.util.Optional<java.lang.String>,java.lang.String)
2019-10-31 08:24:37.211 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/openehr/v1/query/aql],methods=[POST],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity<org.ehrbase.rest.openehr.response.QueryResponseData> org.ehrbase.rest.openehr.controller.OpenehrQueryController.postAdhocQuery(java.lang.String,java.lang.String,java.lang.String)
2019-10-31 08:24:37.212 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/openehr/v1/query/{qualified_query_name}/{version}{?offset,fetch,query_parameter} || /rest/openehr/v1/query/{qualified_query_name}{?offset,fetch,query_parameter}],methods=[GET],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity<org.ehrbase.rest.openehr.response.QueryResponseData> org.ehrbase.rest.openehr.controller.OpenehrQueryController.getStoredQuery(java.lang.String,java.lang.String,java.util.Optional<java.lang.String>,java.lang.Integer,java.lang.Integer,java.util.Map<java.lang.String, java.lang.Object>)
2019-10-31 08:24:37.214 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/openehr/v1/query/aql{?q, offset, fetch, query_parameter}],methods=[GET],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity<org.ehrbase.rest.openehr.response.QueryResponseData> org.ehrbase.rest.openehr.controller.OpenehrQueryController.getAdhocQuery(java.lang.String,java.lang.String,java.lang.Integer,java.lang.Integer,java.util.Map<java.lang.String, java.lang.Object>)
2019-10-31 08:24:37.244 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/openehr/v1/ehr/{ehr_id}/composition/{preceding_version_uid}],methods=[DELETE],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity org.ehrbase.rest.openehr.controller.OpenehrCompositionController.deleteComposition(java.lang.String,java.lang.String,java.lang.String,java.lang.String)
2019-10-31 08:24:37.247 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/openehr/v1/ehr/{ehr_id}/composition/{version_uid}],methods=[GET],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity<org.ehrbase.rest.openehr.response.CompositionResponseData> org.ehrbase.rest.openehr.controller.OpenehrCompositionController.getCompositionByVersionId(java.lang.String,java.lang.String,java.lang.String,java.time.LocalDateTime)
2019-10-31 08:24:37.248 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/openehr/v1/ehr/{ehr_id}/composition/{versioned_object_uid}{?version_at_time}],methods=[GET],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity org.ehrbase.rest.openehr.controller.OpenehrCompositionController.getCompositionByTime(java.lang.String,java.lang.String,java.lang.String,java.time.LocalDateTime)
2019-10-31 08:24:37.249 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/openehr/v1/ehr/{ehr_id}/versioned_composition/{versioned_object_uid}],methods=[GET],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity<org.ehrbase.rest.openehr.response.VersionedCompositionResponseData> org.ehrbase.rest.openehr.controller.OpenehrCompositionController.getVersionedCompositionById(java.lang.String,java.lang.String)
2019-10-31 08:24:37.251 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/openehr/v1/ehr/{ehr_id}/composition/{versioned_object_uid}],methods=[PUT],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity org.ehrbase.rest.openehr.controller.OpenehrCompositionController.updateComposition(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)
2019-10-31 08:24:37.252 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/openehr/v1/ehr/{ehr_id}/composition],methods=[POST],consumes=[application/xml || application/json],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity org.ehrbase.rest.openehr.controller.OpenehrCompositionController.createComposition(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String)
2019-10-31 08:24:37.254 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/openehr/v1/ehr/{ehr_id}/versioned_composition/{versioned_object_uid}/revision_history],methods=[GET],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity<org.ehrbase.rest.openehr.response.VersionedCompositionResponseData> org.ehrbase.rest.openehr.controller.OpenehrCompositionController.getRevisionHistoryVersionedCompositionById(java.lang.String,java.lang.String)
2019-10-31 08:24:37.257 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/openehr/v1/ehr/{ehr_id}/versioned_composition/{versioned_object_uid}/version/{version_uid}],methods=[GET],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity<org.ehrbase.rest.openehr.response.CompositionResponseData> org.ehrbase.rest.openehr.controller.OpenehrCompositionController.getCompositionByRevisionHistory(java.lang.String,java.lang.String,java.lang.String)
2019-10-31 08:24:37.259 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/rest/openehr/v1/ehr/{ehr_id}/versioned_composition/{versioned_object_uid}/version{?version_at_time}],methods=[GET],produces=[application/json || application/xml]}" onto public org.springframework.http.ResponseEntity<org.ehrbase.rest.openehr.response.CompositionResponseData> org.ehrbase.rest.openehr.controller.OpenehrCompositionController.getVersionedCompositionAtTime(java.lang.String,java.lang.String,java.lang.String)
2019-10-31 08:24:37.264 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2019-10-31 08:24:37.267 INFO 617 --- [ main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2019-10-31 08:24:37.705 INFO 617 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/loggers/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.LoggersMvcEndpoint.get(java.lang.String)
2019-10-31 08:24:37.707 INFO 617 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/loggers/{name:.*}],methods=[POST],consumes=[application/vnd.spring-boot.actuator.v1+json || application/json],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.LoggersMvcEndpoint.set(java.lang.String,java.util.Map<java.lang.String, java.lang.String>)
2019-10-31 08:24:37.708 INFO 617 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/loggers || /loggers.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2019-10-31 08:24:37.710 INFO 617 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/trace || /trace.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2019-10-31 08:24:37.712 INFO 617 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/heapdump || /heapdump.json],methods=[GET],produces=[application/octet-stream]}" onto public void org.springframework.boot.actuate.endpoint.mvc.HeapdumpMvcEndpoint.invoke(boolean,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse) throws java.io.IOException,javax.servlet.ServletException
2019-10-31 08:24:37.714 INFO 617 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/auditevents || /auditevents.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public org.springframework.http.ResponseEntity<?> org.springframework.boot.actuate.endpoint.mvc.AuditEventsMvcEndpoint.findByPrincipalAndAfterAndType(java.lang.String,java.util.Date,java.lang.String)
2019-10-31 08:24:37.716 INFO 617 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/flyway || /flyway.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2019-10-31 08:24:37.717 INFO 617 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/dump || /dump.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2019-10-31 08:24:37.718 INFO 617 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/info || /info.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2019-10-31 08:24:37.722 INFO 617 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/autoconfig || /autoconfig.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2019-10-31 08:24:37.724 INFO 617 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/beans || /beans.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2019-10-31 08:24:37.726 INFO 617 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/configprops || /configprops.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2019-10-31 08:24:37.727 INFO 617 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/health || /health.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.HealthMvcEndpoint.invoke(javax.servlet.http.HttpServletRequest,java.security.Principal)
2019-10-31 08:24:37.730 INFO 617 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/env/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EnvironmentMvcEndpoint.value(java.lang.String)
2019-10-31 08:24:37.731 INFO 617 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/env || /env.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2019-10-31 08:24:37.733 INFO 617 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/metrics/{name:.*}],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.MetricsMvcEndpoint.value(java.lang.String)
2019-10-31 08:24:37.734 INFO 617 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/metrics || /metrics.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2019-10-31 08:24:37.735 INFO 617 --- [ main] o.s.b.a.e.mvc.EndpointHandlerMapping : Mapped "{[/mappings || /mappings.json],methods=[GET],produces=[application/vnd.spring-boot.actuator.v1+json || application/json]}" onto public java.lang.Object org.springframework.boot.actuate.endpoint.mvc.EndpointMvcAdapter.invoke()
2019-10-31 08:24:37.982 INFO 617 --- [ main] org.ehcache.xml.XmlConfiguration : Loading Ehcache XML configuration from file:/usr/project/application/target/application-0.9.0.jar!/BOOT-INF/classes!/ehcache.xml.
2019-10-31 08:24:38.611 INFO 617 --- [ main] org.ehcache.jsr107.ConfigurationMerger : Configuration of cache introspectCache will be supplemented by template heap-cache
2019-10-31 08:24:38.612 INFO 617 --- [ main] org.ehcache.jsr107.ConfigurationMerger : Cache introspectCache will use expiry configuration from template heap-cache
2019-10-31 08:24:38.809 INFO 617 --- [ main] o.t.o.p.UpfrontAllocatingPageSource : Allocating 200.0MB in chunks
2019-10-31 08:24:38.965 INFO 617 --- [ main] org.ehcache.core.EhcacheManager : Cache 'introspectCache' created in EhcacheManager.
2019-10-31 08:24:38.978 INFO 617 --- [ main] org.ehcache.jsr107.ConfigurationMerger : Configuration of cache templateCache will be supplemented by template heap-cache
2019-10-31 08:24:38.978 INFO 617 --- [ main] org.ehcache.jsr107.ConfigurationMerger : Cache templateCache will use expiry configuration from template heap-cache
2019-10-31 08:24:38.986 INFO 617 --- [ main] o.t.o.p.UpfrontAllocatingPageSource : Allocating 200.0MB in chunks
2019-10-31 08:24:39.095 INFO 617 --- [ main] org.ehcache.core.EhcacheManager : Cache 'templateCache' created in EhcacheManager.
2019-10-31 08:24:39.098 INFO 617 --- [ main] org.ehcache.jsr107.ConfigurationMerger : Configuration of cache operationaltemplateCache will be supplemented by template heap-cache
2019-10-31 08:24:39.098 INFO 617 --- [ main] org.ehcache.jsr107.ConfigurationMerger : Cache operationaltemplateCache will use expiry configuration from template heap-cache
2019-10-31 08:24:39.110 INFO 617 --- [ main] o.t.o.p.UpfrontAllocatingPageSource : Allocating 200.0MB in chunks
2019-10-31 08:24:41.206 WARN 617 --- [ main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'contributionServiceImp' defined in URL [jar:file:/usr/project/application/target/application-0.9.0.jar!/BOOT-INF/lib/service-0.9.0.jar!/org/ehrbase/service/ContributionServiceImp.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'knowledgeCacheService' defined in URL [jar:file:/usr/project/application/target/application-0.9.0.jar!/BOOT-INF/lib/service-0.9.0.jar!/org/ehrbase/service/KnowledgeCacheService.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheManagerCustomizer' defined in class path resource [org/ehrbase/configuration/CacheConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.cache.CacheManager]: Factory method 'cacheManagerCustomizer' threw exception; nested exception is org.ehcache.jsr107.MultiCacheException: [Exception 0] Cache 'operationaltemplateCache' creation in EhcacheManager failed.
2019-10-31 08:24:41.214 INFO 617 --- [ main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default'
2019-10-31 08:24:41.233 INFO 617 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
2019-10-31 08:24:41.273 INFO 617 --- [ main] utoConfigurationReportLoggingInitializer :
Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2019-10-31 08:24:41.281 ERROR 617 --- [ main] o.s.boot.SpringApplication : Application startup failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'contributionServiceImp' defined in URL [jar:file:/usr/project/application/target/application-0.9.0.jar!/BOOT-INF/lib/service-0.9.0.jar!/org/ehrbase/service/ContributionServiceImp.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'knowledgeCacheService' defined in URL [jar:file:/usr/project/application/target/application-0.9.0.jar!/BOOT-INF/lib/service-0.9.0.jar!/org/ehrbase/service/KnowledgeCacheService.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheManagerCustomizer' defined in class path resource [org/ehrbase/configuration/CacheConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.cache.CacheManager]: Factory method 'cacheManagerCustomizer' threw exception; nested exception is org.ehcache.jsr107.MultiCacheException: [Exception 0] Cache 'operationaltemplateCache' creation in EhcacheManager failed.
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1193)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1095)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:303)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1118)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1107)
at org.ehrbase.application.EhrBase.main(EhrBase.java:38)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:87)
at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'knowledgeCacheService' defined in URL [jar:file:/usr/project/application/target/application-0.9.0.jar!/BOOT-INF/lib/service-0.9.0.jar!/org/ehrbase/service/KnowledgeCacheService.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheManagerCustomizer' defined in class path resource [org/ehrbase/configuration/CacheConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.cache.CacheManager]: Factory method 'cacheManagerCustomizer' threw exception; nested exception is org.ehcache.jsr107.MultiCacheException: [Exception 0] Cache 'operationaltemplateCache' creation in EhcacheManager failed.
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1193)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1095)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066)
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
... 27 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheManagerCustomizer' defined in class path resource [org/ehrbase/configuration/CacheConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.cache.CacheManager]: Factory method 'cacheManagerCustomizer' threw exception; nested exception is org.ehcache.jsr107.MultiCacheException: [Exception 0] Cache 'operationaltemplateCache' creation in EhcacheManager failed.
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1173)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1067)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066)
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835)
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
... 41 common frames omitted
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.cache.CacheManager]: Factory method 'cacheManagerCustomizer' threw exception; nested exception is org.ehcache.jsr107.MultiCacheException: [Exception 0] Cache 'operationaltemplateCache' creation in EhcacheManager failed.
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
... 54 common frames omitted
Caused by: org.ehcache.jsr107.MultiCacheException: [Exception 0] Cache 'operationaltemplateCache' creation in EhcacheManager failed.
at org.ehcache.jsr107.Eh107CacheManager.createCache(Eh107CacheManager.java:205)
at org.ehrbase.configuration.CacheConfiguration.buildCache(CacheConfiguration.java:64)
at org.ehrbase.configuration.CacheConfiguration.cacheManagerCustomizer(CacheConfiguration.java:53)
at org.ehrbase.configuration.CacheConfiguration$$EnhancerBySpringCGLIB$$a4ce32f5.CGLIB$cacheManagerCustomizer$0(<generated>)
at org.ehrbase.configuration.CacheConfiguration$$EnhancerBySpringCGLIB$$a4ce32f5$$FastClassBySpringCGLIB$$b982cbd8.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:358)
at org.ehrbase.configuration.CacheConfiguration$$EnhancerBySpringCGLIB$$a4ce32f5.cacheManagerCustomizer(<generated>)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
... 55 common frames omitted
The command '/bin/sh -c sh -c "./docker_build_script.sh"' returned a non-zero code: 1