--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To post to this group, send email to hapi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/5799c0a8-8197-4f4c-8b03-f31dc3534dac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To post to this group, send email to hapi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/f3339fd4-5dc8-4de2-9f88-08940d36f103%40googlegroups.com.
hibernate.search.autoregister_listeners = false
hibernate.search.indexing_strategy = manual
Cheers,
James
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+unsubscribe@googlegroups.com.
To post to this group, send email to hapi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/aabe9774-0890-4fd7-a7b0-68879df56bc9%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/713016d1-f7a0-494a-b6dc-22c949a20fc8%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "HAPI FHIR" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/hapi-fhir/F37kfAHYXnc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to hapi-fhir+...@googlegroups.com.
To post to this group, send email to hapi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/eb3e82ee-4c4c-4cde-970c-ea71f58c7c61%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/10cf93f0-f8ac-48a1-a4d8-babd11a31a01%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi...@googlegroups.com.

2020-07-30 09:02:24.577 [http-nio-8080-exec-1] INFO ca.uhn.fhir.context.FhirContext [FhirContext.java:180] Creating new FHIR context for FHIR version [R4]
2020-07-30 09:02:24.982 [http-nio-8080-exec-2] WARN c.u.f.r.s.i.ExceptionHandlingInterceptor [ExceptionHandlingInterceptor.java:147] Failure during REST processing: ca.uhn.fhir.rest.server.exceptions.InvalidRequestException: Invalid request: The FHIR endpoint on this server does not know how to handle GET operation[metadata] with parameters [[]]
2020-07-30 09:02:25.007 [http-nio-8080-exec-2] INFO fhirtest.access [LoggingInterceptor.java:160] ERROR - GET http://localhost:8080/hapi-fhir-jpaserver/fhir/metadata
2020-07-30 09:02:25.122 [http-nio-8080-exec-2] INFO c.u.f.c.s.DefaultProfileValidationSupport [DefaultProfileValidationSupport.java:301] Loading structure definitions from classpath: /org/hl7/fhir/r4/model/profile/profiles-resources.xml
2020-07-30 09:02:25.974 [http-nio-8080-exec-2] INFO c.u.f.c.s.DefaultProfileValidationSupport [DefaultProfileValidationSupport.java:301] Loading structure definitions from classpath: /org/hl7/fhir/r4/model/profile/profiles-types.xml
2020-07-30 09:02:26.014 [http-nio-8080-exec-2] INFO c.u.f.c.s.DefaultProfileValidationSupport [DefaultProfileValidationSupport.java:301] Loading structure definitions from classpath: /org/hl7/fhir/r4/model/profile/profiles-others.xml
2020-07-30 09:02:26.214 [http-nio-8080-exec-2] INFO c.u.f.c.s.DefaultProfileValidationSupport [DefaultProfileValidationSupport.java:301] Loading structure definitions from classpath: /org/hl7/fhir/r4/model/extension/extension-definitions.xml
2020-07-30 09:02:26.936 [http-nio-8080-exec-1] WARN ca.uhn.fhir.to.BaseController [BaseController.java:443] Failed to load conformance statement, error was: ca.uhn.fhir.rest.server.exceptions.InvalidRequestException: HTTP 400 : Invalid request: The FHIR endpoint on this server does not know how to handle GET operation[metadata] with parameters [[]]
2020-07-30 09:02:26.943 [http-nio-8080-exec-3] WARN c.u.f.r.s.i.ExceptionHandlingInterceptor [ExceptionHandlingInterceptor.java:147] Failure during REST processing: ca.uhn.fhir.rest.server.exceptions.InvalidRequestException: Invalid request: The FHIR endpoint on this server does not know how to handle GET operation[metadata] with parameters [[]]
2020-07-30 09:02:26.944 [http-nio-8080-exec-3] INFO fhirtest.access [LoggingInterceptor.java:160] ERROR - GET http://localhost:8080/hapi-fhir-jpaserver/fhir/metadata
2020-07-30 09:02:26.984 [http-nio-8080-exec-1] WARN ca.uhn.fhir.to.BaseController [BaseController.java:288] Failed to invoke server
ca.uhn.fhir.rest.server.exceptions.InvalidRequestException: HTTP 400 : Invalid request: The FHIR endpoint on this server does not know how to handle GET operation[metadata] with parameters [[]]
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
at ca.uhn.fhir.rest.server.exceptions.BaseServerResponseException.newInstance(BaseServerResponseException.java:302)
at ca.uhn.fhir.rest.client.impl.BaseClient.invokeClient(BaseClient.java:351)
at ca.uhn.fhir.rest.client.impl.GenericClient$BaseClientExecutable.invoke(GenericClient.java:540)
at ca.uhn.fhir.rest.client.impl.GenericClient$FetchConformanceInternal.execute(GenericClient.java:827)
at ca.uhn.fhir.to.Controller.actionConformance(Controller.java:96)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:106)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:888)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:200)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:678)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:836)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1839)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.base/java.lang.Thread.run(Thread.java:834)
2020-07-30 09:02:27.020 [http-nio-8080-exec-1] INFO ca.uhn.fhir.to.Controller [Controller.java:104] [server=home] - Displayed conformance profile
Could you help me solve this error.
On Wednesday, May 6, 2020 at 2:54:25 PM UTC-4, James Agnew wrote:
To unsubscribe from this group and stop receiving emails from it, send an email to hapi...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/762913c5-5119-47f7-93db-78e5af288c52n%40googlegroups.com.
Hi
I tried the new Partitioning feature and it is working very well. Excellent job Hapi FHIR team¡¡¡
I am really excited about implementing a multi-tenant architecture, but in my case, I need to implement a Multi-tenant Hapi FHIR with database-per-tenant (each database physically isolated).
I implemented a Springboot version, based on https://github.com/jamesagnew/hapi-fhir/tree/master/hapi-fhir-spring-boot, with a configuration class to use the AbstractRoutingDataSource class (provided by Spring Framework) and a TenantContext class that includes a ThreadLocal static field to store the current tenantId. That implementation is working with POST operations but it is not working with GET operations, because SearchCoordinatorSvcImpl is using ThreadPoolExecutor as ExecutorService.
ThreadPoolExecutor is not a tenant-aware ExecutorService , because the threads in the pool are different from the original thread that stores the current tenantId.
What do you suggest that could be a possible solution or implementation to satisfy the requirement of having a multi-tenant Hapi FHIR JPA Server with a physical database-per-tenant?
Thank you very much¡¡¡
Greetings,
Alberto