Unable to get hapi-fhir-jpaserver-example running

1,321 views
Skip to first unread message

mthak...@gmail.com

unread,
Jul 25, 2018, 7:19:18 AM7/25/18
to HAPI FHIR

Hello,


I am new to Java environment and FHIR. I want to get the example going.
I am following the instructions with Tomcat, Maven, IntelliJ.
But when I hit the end-point, I get the following error. What am I doing wrong? Please help.


http://127.0.0.1:8080/hapi/base/Patient

HTTP Status 500 – Internal Server Error
Type Exception Report

Message Servlet.init() for servlet [spring] threw exception

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception

javax.servlet.ServletException: Servlet.init() for servlet [spring] threw exception
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:491)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:764)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1388)
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
java.lang.Thread.run(Thread.java:748)
Root Cause

java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:724)
sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:531)
sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:355)
sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:286)
sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:120)
sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:72)
java.lang.Class.createAnnotationData(Class.java:3521)
java.lang.Class.annotationData(Class.java:3510)
java.lang.Class.getAnnotations(Class.java:3446)
org.springframework.core.type.StandardAnnotationMetadata.(StandardAnnotationMetadata.java:70)
org.springframework.beans.factory.annotation.AnnotatedGenericBeanDefinition.(AnnotatedGenericBeanDefinition.java:58)
org.springframework.context.annotation.AnnotatedBeanDefinitionReader.doRegisterBean(AnnotatedBeanDefinitionReader.java:216)
org.springframework.context.annotation.AnnotatedBeanDefinitionReader.registerBean(AnnotatedBeanDefinitionReader.java:145)
org.springframework.context.annotation.AnnotatedBeanDefinitionReader.register(AnnotatedBeanDefinitionReader.java:135)
org.springframework.web.context.support.AnnotationConfigWebApplicationContext.loadBeanDefinitions(AnnotationConfigWebApplicationContext.java:235)
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:133)
org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:621)
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:522)
org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:672)
org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:638)
org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:686)
org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:554)
org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:499)
org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:172)
javax.servlet.GenericServlet.init(GenericServlet.java:158)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:491)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:764)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1388)
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
java.lang.Thread.run(Thread.java:748)
Note The full stack trace of the root cause is available in the server logs.

Apache Tomcat/9.0.10

My log from "Tomcat localhost log" is here:

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
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:764)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1388)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)

25-Jul-2018 05:56:44.520 SEVERE [http-nio-8080-exec-6] org.apache.catalina.core.StandardWrapperValve.invoke Allocate exception for servlet [spring]
java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
at sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:724)
at sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:531)
at sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:355)
at sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:286)
at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:120)
at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:72)
at java.lang.Class.createAnnotationData(Class.java:3521)
at java.lang.Class.annotationData(Class.java:3510)
at java.lang.Class.getAnnotations(Class.java:3446)
at org.springframework.core.type.StandardAnnotationMetadata.(StandardAnnotationMetadata.java:70)
at org.springframework.beans.factory.annotation.AnnotatedGenericBeanDefinition.(AnnotatedGenericBeanDefinition.java:58)
at org.springframework.context.annotation.AnnotatedBeanDefinitionReader.doRegisterBean(AnnotatedBeanDefinitionReader.java:216)
at org.springframework.context.annotation.AnnotatedBeanDefinitionReader.registerBean(AnnotatedBeanDefinitionReader.java:145)
at org.springframework.context.annotation.AnnotatedBeanDefinitionReader.register(AnnotatedBeanDefinitionReader.java:135)
at org.springframework.web.context.support.AnnotationConfigWebApplicationContext.loadBeanDefinitions(AnnotationConfigWebApplicationContext.java:235)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:133)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:621)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:522)
at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:672)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:638)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:686)
at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:554)
at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:499)
at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:172)
at javax.servlet.GenericServlet.init(GenericServlet.java:158)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1124)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1079)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:761)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:133)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:491)
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:668)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
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:764)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1388)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:748)


----------------

Continuation... my start up log is here:

"C:\Program Files (x86)\Apache Software Foundation\Tomcat 9.0\bin\catalina.bat" run
[2018-07-25 06:00:16,530] Artifact hapi-fhir-jpaserver-example:war: Waiting for server connection to start artifact deployment...
Using CATALINA_BASE: "C:\Users\SDhanotiya.IntelliJIdea2018.1\system\tomcat\Unnamed_hapi-fhir-jpaserver-example"
Using CATALINA_HOME: "C:\Program Files (x86)\Apache Software Foundation\Tomcat 9.0"
Using CATALINA_TMPDIR: "C:\Program Files (x86)\Apache Software Foundation\Tomcat 9.0\temp"
Using JRE_HOME: "C:\Program Files\Java\jdk1.8.0_161"
Using CLASSPATH: "C:\Program Files (x86)\Apache Software Foundation\Tomcat 9.0\bin\bootstrap.jar;C:\Program Files (x86)\Apache Software Foundation\Tomcat 9.0\bin\tomcat-juli.jar"
25-Jul-2018 06:00:17.681 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/9.0.10
25-Jul-2018 06:00:17.693 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Jun 20 2018 17:32:21 UTC
25-Jul-2018 06:00:17.694 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 9.0.10.0
25-Jul-2018 06:00:17.694 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows Server 2012 R2
25-Jul-2018 06:00:17.694 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 6.3
25-Jul-2018 06:00:17.694 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
25-Jul-2018 06:00:17.694 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: C:\Program Files\Java\jdk1.8.0_161\jre
25-Jul-2018 06:00:17.694 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_161-b12
25-Jul-2018 06:00:17.694 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
25-Jul-2018 06:00:17.694 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Users\SDhanotiya.IntelliJIdea2018.1\system\tomcat\Unnamed_hapi-fhir-jpaserver-example
25-Jul-2018 06:00:17.694 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: C:\Program Files (x86)\Apache Software Foundation\Tomcat 9.0
25-Jul-2018 06:00:17.694 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Users\SDhanotiya.IntelliJIdea2018.1\system\tomcat\Unnamed_hapi-fhir-jpaserver-example\conf\logging.properties
25-Jul-2018 06:00:17.695 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
25-Jul-2018 06:00:17.695 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote=
25-Jul-2018 06:00:17.695 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099
25-Jul-2018 06:00:17.695 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false
25-Jul-2018 06:00:17.695 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
25-Jul-2018 06:00:17.695 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1
25-Jul-2018 06:00:17.695 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
25-Jul-2018 06:00:17.695 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
25-Jul-2018 06:00:17.696 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
25-Jul-2018 06:00:17.696 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Users\SDhanotiya.IntelliJIdea2018.1\system\tomcat\Unnamed_hapi-fhir-jpaserver-example
25-Jul-2018 06:00:17.696 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=C:\Program Files (x86)\Apache Software Foundation\Tomcat 9.0
25-Jul-2018 06:00:17.696 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=C:\Program Files (x86)\Apache Software Foundation\Tomcat 9.0\temp
25-Jul-2018 06:00:17.696 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [C:\Program Files\Java\jdk1.8.0_161\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Microsoft MPI\Bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Amazon\cfn-bootstrap;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files\SourceGear\Common\DiffMerge;C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\130\Tools\Binn\ManagementStudio;C:\Program Files\dotnet;C:\Program Files\nodejs;C:\Program Files\Git\cmd;C:\Program Files (x86)\Java\jdk1.8.0_161\bin;C:\apache-maven-3.5.4\bin;C:\Users\SDhanotiya\AppData\Roaming\npm;C:\Users\SDhanotiya\AppData\Local\Programs\Fiddler;.]
25-Jul-2018 06:00:17.980 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
25-Jul-2018 06:00:18.037 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
25-Jul-2018 06:00:18.047 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
25-Jul-2018 06:00:18.049 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
25-Jul-2018 06:00:18.049 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 791 ms
25-Jul-2018 06:00:18.096 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
25-Jul-2018 06:00:18.098 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.10
25-Jul-2018 06:00:18.108 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
25-Jul-2018 06:00:18.115 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
25-Jul-2018 06:00:18.117 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 67 ms
Connected to server
[2018-07-25 06:00:18,203] Artifact hapi-fhir-jpaserver-example:war: Artifact is being deployed, please wait...
25-Jul-2018 06:00:25.991 INFO [RMI TCP Connection(5)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
2018-07-25 06:00:26.422 [RMI TCP Connection(5)-127.0.0.1] INFO o.s.web.context.ContextLoader [ContextLoader.java:270] Root WebApplicationContext: initialization started
2018-07-25 06:00:26.638 [RMI TCP Connection(5)-127.0.0.1] INFO o.s.w.c.s.AnnotationConfigWebApplicationContext [AbstractApplicationContext.java:590] Refreshing Root WebApplicationContext: startup date [Wed Jul 25 06:00:26 CDT 2018]; root of context hierarchy
2018-07-25 06:00:26.747 [RMI TCP Connection(5)-127.0.0.1] INFO o.s.w.c.s.AnnotationConfigWebApplicationContext [AnnotationConfigWebApplicationContext.java:233] Successfully resolved class for [ca.uhn.fhir.jpa.demo.FhirServerConfig]
25-Jul-2018 06:00:28.864 INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [C:\Program Files (x86)\Apache Software Foundation\Tomcat 9.0\webapps\manager]
25-Jul-2018 06:00:29.626 INFO [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [C:\Program Files (x86)\Apache Software Foundation\Tomcat 9.0\webapps\manager] has finished in [761] ms
2018-07-25 06:00:30.036 [RMI TCP Connection(5)-127.0.0.1] INFO ca.uhn.fhir.util.VersionUtil [VersionUtil.java:52] HAPI FHIR version is: 3.5.0-SNAPSHOT
2018-07-25 06:00:30.043 [RMI TCP Connection(5)-127.0.0.1] INFO ca.uhn.fhir.context.FhirContext [FhirContext.java:171] Creating new FHIR context for FHIR version [DSTU3]
2018-07-25 06:00:30.481 [RMI TCP Connection(5)-127.0.0.1] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean [LocalContainerEntityManagerFactoryBean.java:361] Building JPA container EntityManagerFactory for persistence unit 'HAPI_PU'
2018-07-25 06:00:30.516 [RMI TCP Connection(5)-127.0.0.1] INFO o.h.jpa.internal.util.LogHelper [LogHelper.java:31] HHH000204: Processing PersistenceUnitInfo [
name: HAPI_PU
...]
2018-07-25 06:00:30.666 [RMI TCP Connection(5)-127.0.0.1] INFO org.hibernate.Version [Version.java:46] HHH000412: Hibernate Core {5.3.1.Final}
2018-07-25 06:00:30.668 [RMI TCP Connection(5)-127.0.0.1] INFO org.hibernate.cfg.Environment [Environment.java:213] HHH000206: hibernate.properties not found
2018-07-25 06:00:30.882 [RMI TCP Connection(5)-127.0.0.1] INFO o.h.annotations.common.Version [JavaReflectionManager.java:49] HCANN000001: Hibernate Commons Annotations {5.0.3.Final}
2018-07-25 06:00:31.642 [RMI TCP Connection(5)-127.0.0.1] INFO org.hibernate.dialect.Dialect [Dialect.java:157] HHH000400: Using dialect: ca.uhn.fhir.jpa.util.DerbyTenSevenHapiFhirDialect
2018-07-25 06:00:33.317 [RMI TCP Connection(5)-127.0.0.1] INFO o.h.validator.internal.util.Version [Version.java:30] HV000001: Hibernate Validator 5.4.1.Final
2018-07-25 06:00:33.785 [RMI TCP Connection(5)-127.0.0.1] INFO org.hibernate.search.engine.Version [Version.java:27] HSEARCH000034: Hibernate Search 5.10.1.Final
2018-07-25 06:00:36.677 [RMI TCP Connection(5)-127.0.0.1] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean [AbstractEntityManagerFactoryBean.java:415] Initialized JPA EntityManagerFactory for persistence unit 'HAPI_PU'
2018-07-25 06:00:38.014 [RMI TCP Connection(5)-127.0.0.1] INFO o.h.h.i.QueryTranslatorFactoryInitiator [QueryTranslatorFactoryInitiator.java:47] HHH000397: Using ASTQueryTranslatorFactory
2018-07-25 06:00:41.399 [RMI TCP Connection(5)-127.0.0.1] INFO c.u.f.j.dao.BaseSearchParamRegistry [BaseSearchParamRegistry.java:322] Refreshed search parameter cache in 119ms
2018-07-25 06:00:42.253 [RMI TCP Connection(5)-127.0.0.1] INFO o.s.s.c.ScheduledExecutorFactoryBean [ExecutorConfigurationSupport.java:171] Initializing ExecutorService 'scheduledExecutorService'
2018-07-25 06:00:42.415 [RMI TCP Connection(5)-127.0.0.1] INFO o.s.web.context.ContextLoader [ContextLoader.java:310] Root WebApplicationContext: initialization completed in 15983 ms
2018-07-25 06:00:42.430 [RMI TCP Connection(5)-127.0.0.1] INFO ca.uhn.fhir.context.FhirContext [FhirContext.java:171] Creating new FHIR context for FHIR version [DSTU3]
2018-07-25 06:00:43.606 [RMI TCP Connection(5)-127.0.0.1] WARN o.h.e.jdbc.spi.SqlExceptionHelper [SqlExceptionHelper.java:217] SQL Warning Code: 10000, SQLState: 01J01
2018-07-25 06:00:43.606 [RMI TCP Connection(5)-127.0.0.1] WARN o.h.e.jdbc.spi.SqlExceptionHelper [SqlExceptionHelper.java:218] Database 'directory:target/jpaserver_derby_files' not created, connection made to existing database instead.
2018-07-25 06:00:43.627 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:1012] Initializing HAPI FHIR restful server running in DSTU3 mode
2018-07-25 06:00:43.869 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:1387] Added 117 resource provider(s). Total 117
2018-07-25 06:00:43.869 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.AccountResourceProvider
2018-07-25 06:00:43.936 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.ActivityDefinitionResourceProvider
2018-07-25 06:00:43.940 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.AdverseEventResourceProvider
2018-07-25 06:00:43.947 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.AllergyIntoleranceResourceProvider
2018-07-25 06:00:43.952 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.AppointmentResourceProvider
2018-07-25 06:00:43.956 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.AppointmentResponseResourceProvider
2018-07-25 06:00:43.959 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.AuditEventResourceProvider
2018-07-25 06:00:43.964 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.BasicResourceProvider
2018-07-25 06:00:43.968 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.BinaryResourceProvider
2018-07-25 06:00:43.982 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.BodySiteResourceProvider
2018-07-25 06:00:43.985 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.BundleResourceProvider
2018-07-25 06:00:43.989 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.CapabilityStatementResourceProvider
2018-07-25 06:00:43.994 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.CarePlanResourceProvider
2018-07-25 06:00:44.008 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.CareTeamResourceProvider
2018-07-25 06:00:44.010 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.ChargeItemResourceProvider
2018-07-25 06:00:44.013 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.ClaimResourceProvider
2018-07-25 06:00:44.019 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.ClaimResponseResourceProvider
2018-07-25 06:00:44.028 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.ClinicalImpressionResourceProvider
2018-07-25 06:00:44.033 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.CodeSystemResourceProvider
2018-07-25 06:00:44.039 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.CommunicationResourceProvider
2018-07-25 06:00:44.042 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.CommunicationRequestResourceProvider
2018-07-25 06:00:44.046 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.CompartmentDefinitionResourceProvider
2018-07-25 06:00:44.050 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.CompositionResourceProvider
2018-07-25 06:00:44.052 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.ConceptMapResourceProvider
2018-07-25 06:00:44.055 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.ConditionResourceProvider
2018-07-25 06:00:44.058 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.ConsentResourceProvider
2018-07-25 06:00:44.061 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.ContractResourceProvider
2018-07-25 06:00:44.064 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.CoverageResourceProvider
2018-07-25 06:00:44.066 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.DataElementResourceProvider
2018-07-25 06:00:44.068 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.DetectedIssueResourceProvider
2018-07-25 06:00:44.070 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.DeviceResourceProvider
2018-07-25 06:00:44.072 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.DeviceComponentResourceProvider
2018-07-25 06:00:44.080 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.DeviceMetricResourceProvider
2018-07-25 06:00:44.082 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.DeviceRequestResourceProvider
2018-07-25 06:00:44.085 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.DeviceUseStatementResourceProvider
2018-07-25 06:00:44.088 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.DiagnosticReportResourceProvider
2018-07-25 06:00:44.090 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.DocumentManifestResourceProvider
2018-07-25 06:00:44.095 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.DocumentReferenceResourceProvider
2018-07-25 06:00:44.097 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.EligibilityRequestResourceProvider
2018-07-25 06:00:44.099 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.EligibilityResponseResourceProvider
2018-07-25 06:00:44.102 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.EncounterResourceProvider
2018-07-25 06:00:44.105 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.EndpointResourceProvider
2018-07-25 06:00:44.107 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.EnrollmentRequestResourceProvider
2018-07-25 06:00:44.111 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.EnrollmentResponseResourceProvider
2018-07-25 06:00:44.113 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.EpisodeOfCareResourceProvider
2018-07-25 06:00:44.114 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.ExpansionProfileResourceProvider
2018-07-25 06:00:44.117 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.ExplanationOfBenefitResourceProvider
2018-07-25 06:00:44.119 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.FamilyMemberHistoryResourceProvider
2018-07-25 06:00:44.121 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.FlagResourceProvider
2018-07-25 06:00:44.123 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.GoalResourceProvider
2018-07-25 06:00:44.125 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.GraphDefinitionResourceProvider
2018-07-25 06:00:44.128 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.GroupResourceProvider
2018-07-25 06:00:44.131 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.GuidanceResponseResourceProvider
2018-07-25 06:00:44.133 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.HealthcareServiceResourceProvider
2018-07-25 06:00:44.135 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.ImagingManifestResourceProvider
2018-07-25 06:00:44.138 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.ImagingStudyResourceProvider
2018-07-25 06:00:44.140 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.ImmunizationResourceProvider
2018-07-25 06:00:44.141 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.ImmunizationRecommendationResourceProvider
2018-07-25 06:00:44.144 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.ImplementationGuideResourceProvider
2018-07-25 06:00:44.146 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.LibraryResourceProvider
2018-07-25 06:00:44.148 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.LinkageResourceProvider
2018-07-25 06:00:44.153 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.ListResourceResourceProvider
2018-07-25 06:00:44.155 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.LocationResourceProvider
2018-07-25 06:00:44.157 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.MeasureResourceProvider
2018-07-25 06:00:44.161 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.MeasureReportResourceProvider
2018-07-25 06:00:44.163 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.MediaResourceProvider
2018-07-25 06:00:44.165 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.MedicationResourceProvider
2018-07-25 06:00:44.167 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.MedicationAdministrationResourceProvider
2018-07-25 06:00:44.170 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.MedicationDispenseResourceProvider
2018-07-25 06:00:44.172 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.MedicationRequestResourceProvider
2018-07-25 06:00:44.174 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.MedicationStatementResourceProvider
2018-07-25 06:00:44.176 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.MessageDefinitionResourceProvider
2018-07-25 06:00:44.178 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.MessageHeaderResourceProvider
2018-07-25 06:00:44.180 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.NamingSystemResourceProvider
2018-07-25 06:00:44.182 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.NutritionOrderResourceProvider
2018-07-25 06:00:44.184 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.ObservationResourceProvider
2018-07-25 06:00:44.188 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.OperationDefinitionResourceProvider
2018-07-25 06:00:44.191 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.OperationOutcomeResourceProvider
2018-07-25 06:00:44.192 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.OrganizationResourceProvider
2018-07-25 06:00:44.194 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.ParametersResourceProvider
2018-07-25 06:00:44.195 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.PatientResourceProvider
2018-07-25 06:00:44.198 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.PaymentNoticeResourceProvider
2018-07-25 06:00:44.201 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.PaymentReconciliationResourceProvider
2018-07-25 06:00:44.202 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.PersonResourceProvider
2018-07-25 06:00:44.205 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.PlanDefinitionResourceProvider
2018-07-25 06:00:44.207 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.PractitionerResourceProvider
2018-07-25 06:00:44.210 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.PractitionerRoleResourceProvider
2018-07-25 06:00:44.213 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.ProcedureResourceProvider
2018-07-25 06:00:44.215 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.ProcedureRequestResourceProvider
2018-07-25 06:00:44.217 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.ProcessRequestResourceProvider
2018-07-25 06:00:44.220 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.ProcessResponseResourceProvider
2018-07-25 06:00:44.222 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.ProvenanceResourceProvider
2018-07-25 06:00:44.228 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.QuestionnaireResourceProvider
2018-07-25 06:00:44.230 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.QuestionnaireResponseResourceProvider
2018-07-25 06:00:44.231 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.ReferralRequestResourceProvider
2018-07-25 06:00:44.262 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.RelatedPersonResourceProvider
2018-07-25 06:00:44.264 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.RequestGroupResourceProvider
2018-07-25 06:00:44.268 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.ResearchStudyResourceProvider
2018-07-25 06:00:44.270 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.ResearchSubjectResourceProvider
2018-07-25 06:00:44.271 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.RiskAssessmentResourceProvider
2018-07-25 06:00:44.273 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.ScheduleResourceProvider
2018-07-25 06:00:44.276 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.SearchParameterResourceProvider
2018-07-25 06:00:44.277 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.SequenceResourceProvider
2018-07-25 06:00:44.279 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.ServiceDefinitionResourceProvider
2018-07-25 06:00:44.282 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.SlotResourceProvider
2018-07-25 06:00:44.288 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.SpecimenResourceProvider
2018-07-25 06:00:44.290 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.StructureDefinitionResourceProvider
2018-07-25 06:00:44.297 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.StructureMapResourceProvider
2018-07-25 06:00:44.299 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.SubscriptionResourceProvider
2018-07-25 06:00:44.301 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.SubstanceResourceProvider
2018-07-25 06:00:44.303 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.SupplyDeliveryResourceProvider
2018-07-25 06:00:44.304 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.SupplyRequestResourceProvider
2018-07-25 06:00:44.306 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.TaskResourceProvider
2018-07-25 06:00:44.309 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.TestReportResourceProvider
2018-07-25 06:00:44.311 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.TestScriptResourceProvider
2018-07-25 06:00:44.313 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.ValueSetResourceProvider
2018-07-25 06:00:44.318 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.rp.dstu3.VisionPrescriptionResourceProvider
2018-07-25 06:00:44.320 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:1394] Added 1 plain provider(s). Total 1
2018-07-25 06:00:44.320 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.provider.dstu3.JpaSystemProviderDstu3
2018-07-25 06:00:44.326 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class org.hl7.fhir.dstu3.hapi.rest.server.ServerProfileProvider
2018-07-25 06:00:44.327 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.jpa.provider.dstu3.JpaConformanceProviderDstu3
2018-07-25 06:00:44.347 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:366] Scanning type for RESTful methods: class ca.uhn.fhir.rest.server.PageProvider
2018-07-25 06:00:44.349 [RMI TCP Connection(5)-127.0.0.1] INFO c.uhn.fhir.rest.server.RestfulServer [RestfulServer.java:1065] A FHIR has been lit on this server
2018-07-25 06:00:44.393 [RMI TCP Connection(5)-127.0.0.1] INFO o.s.web.servlet.DispatcherServlet [FrameworkServlet.java:494] FrameworkServlet 'spring': initialization started
2018-07-25 06:00:44.396 [RMI TCP Connection(5)-127.0.0.1] INFO o.s.w.c.s.AnnotationConfigWebApplicationContext [AbstractApplicationContext.java:590] Refreshing WebApplicationContext for namespace 'spring-servlet': startup date [Wed Jul 25 06:00:44 CDT 2018]; parent: Root WebApplicationContext
2018-07-25 06:00:44.405 [RMI TCP Connection(5)-127.0.0.1] INFO o.s.w.c.s.AnnotationConfigWebApplicationContext [AnnotationConfigWebApplicationContext.java:233] Successfully resolved class for [ca.uhn.fhir.jpa.demo.FhirTesterConfig]
2018-07-25 06:00:44.467 [RMI TCP Connection(5)-127.0.0.1] ERROR o.s.web.servlet.DispatcherServlet [FrameworkServlet.java:503] Context initialization failed
java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
at sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:724)
at sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:531)
at sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:355)
at sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:286)
at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:120)
at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:72)
at java.lang.Class.createAnnotationData(Class.java:3521)
at java.lang.Class.annotationData(Class.java:3510)
at java.lang.Class.getAnnotations(Class.java:3446)
at org.springframework.core.type.StandardAnnotationMetadata.(StandardAnnotationMetadata.java:70)
at org.springframework.beans.factory.annotation.AnnotatedGenericBeanDefinition.(AnnotatedGenericBeanDefinition.java:58)
at org.springframework.context.annotation.AnnotatedBeanDefinitionReader.doRegisterBean(AnnotatedBeanDefinitionReader.java:216)
at org.springframework.context.annotation.AnnotatedBeanDefinitionReader.registerBean(AnnotatedBeanDefinitionReader.java:145)
at org.springframework.context.annotation.AnnotatedBeanDefinitionReader.register(AnnotatedBeanDefinitionReader.java:135)
at org.springframework.web.context.support.AnnotationConfigWebApplicationContext.loadBeanDefinitions(AnnotationConfigWebApplicationContext.java:235)
at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:133)
at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:621)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:522)
at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:672)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:638)
at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:686)
at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:554)
at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:499)
at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:172)
at javax.servlet.GenericServlet.init(GenericServlet.java:158)
at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1124)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1079)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:971)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4829)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5143)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:742)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:718)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:703)
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1737)
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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:287)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:457)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:406)
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.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:287)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1468)
at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1309)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1401)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:829)
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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:361)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
[2018-07-25 06:00:44,515] Artifact hapi-fhir-jpaserver-example:war: Artifact is deployed successfully
[2018-07-25 06:00:44,516] Artifact hapi-fhir-jpaserver-example:war: Deploy took 26,312 milliseconds
2018-07-25 06:00:44.520 [scheduledExecutorService-2] WARN o.h.e.jdbc.spi.SqlExceptionHelper [SqlExceptionHelper.java:217] SQL Warning Code: 10000, SQLState: 01J01
2018-07-25 06:00:44.911 [scheduledExecutorService-2] WARN o.h.e.jdbc.spi.SqlExceptionHelper [SqlExceptionHelper.java:218] Database 'directory:target/jpaserver_derby_files' not created, connection made to existing database instead.
2018-07-25 06:00:45.232 [scheduledExecutorService-5] WARN o.h.e.jdbc.spi.SqlExceptionHelper [SqlExceptionHelper.java:217] SQL Warning Code: 10000, SQLState: 01J01
2018-07-25 06:00:45.232 [scheduledExecutorService-5] WARN o.h.e.jdbc.spi.SqlExceptionHelper [SqlExceptionHelper.java:218] Database 'directory:target/jpaserver_derby_files' not created, connection made to existing database instead.
2018-07-25 06:00:45.246 [scheduledExecutorService-1] WARN o.h.e.jdbc.spi.SqlExceptionHelper [SqlExceptionHelper.java:217] SQL Warning Code: 10000, SQLState: 01J01
2018-07-25 06:00:45.247 [scheduledExecutorService-1] WARN o.h.e.jdbc.spi.SqlExceptionHelper [SqlExceptionHelper.java:218] Database 'directory:target/jpaserver_derby_files' not created, connection made to existing database instead.
2018-07-25 06:00:45.247 [scheduledExecutorService-1] INFO c.u.fhir.jpa.util.ReindexController [ReindexController.java:98] Reindex pass complete, 0 remaining resource to index

James Agnew

unread,
Jul 25, 2018, 6:48:10 PM7/25/18
to mthak...@gmail.com, HAPI FHIR
Are you running this inside IntelliJ? If so, it might be worth trying to install Tomcat standalone and deploying the built .war file into that. I know I've seen other people have issues running inside IJ-embedded Tomcat before. I don't know what causes them unfortunately (I don't use that setup myself).

Cheers,
James

--
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/c1eca608-5cb7-4989-b171-76cbf834f8d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

mthak...@gmail.com

unread,
Jul 26, 2018, 1:44:05 AM7/26/18
to HAPI FHIR
Hey James, thanks for your answer. But I think I am using Tomcat installed externally. I followed steps in this link:


Thanks.
...

James Agnew

unread,
Jul 26, 2018, 3:13:45 AM7/26/18
to mthak...@gmail.com, HAPI FHIR
No, that screenshot is definitely showing you running it in IntelliJ.

I'd recommend installing Tomcat independently of IJ, and deploying a built .war file into that.

We have a brand new JPA starter project in our GitHub that might be useful here: https://github.com/hapifhir/hapi-fhir-jpaserver-starter

Cheers,
James

--
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.

Malay Thakershi

unread,
Jul 26, 2018, 6:46:53 AM7/26/18
to james...@gmail.com, hapi...@googlegroups.com
Alright. I will try the new starter project with new instructions. Does the new server provide database storage option with derby as the older example?
--
Malay Thakershi

James Agnew

unread,
Jul 26, 2018, 7:05:07 AM7/26/18
to Malay Thakershi, HAPI FHIR
The starter uses Derby for now, but I'm planning on adding instructions on how to switch to other platforms soon (unless someone beats me to it!)

Cheers,
James

Malay Thakershi

unread,
Jul 27, 2018, 6:32:21 AM7/27/18
to james...@gmail.com, hapi...@googlegroups.com
James, I am still facing issues in getting the starter project going.
When I do: mvn clean compile install -X, I get error.
Please help.
[INFO] Compiling 3 source files to C:\Temp\hapi-fhir-jpaserver-starter\target\classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.426 s
[INFO] Finished at: 2018-07-27T16:00:34+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project hapi-fhir-jpaserver-starter: Compilation failure -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project hapi-fhir-jpaserver-starter: Compilation failure
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure
    at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:976)
    at org.apache.maven.plugin.compiler.CompilerMojo.execute (CompilerMojo.java:129)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--
Malay Thakershi

James Agnew

unread,
Jul 27, 2018, 6:41:51 AM7/27/18
to Malay Thakershi, HAPI FHIR
That exception means that there was a compilation failure. What is the actual compilation failure?

Cheers,
James

Malay Thakershi

unread,
Jul 27, 2018, 6:48:52 AM7/27/18
to James Agnew, hapi...@googlegroups.com
How can I find that out?
--
Malay Thakershi

James Agnew

unread,
Jul 27, 2018, 7:02:12 AM7/27/18
to Malay Thakershi, HAPI FHIR
It should also be in the output of the build, farther up.

Malay Thakershi

unread,
Jul 27, 2018, 8:14:11 AM7/27/18
to James Agnew, hapi...@googlegroups.com
I am sorry but I don't see it. Here is output from mvn jetty:run

C:\Temp\hapi-fhir-jpaserver-starter>mvn jetty:run -e
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------< ca.uhn.hapi.fhir:hapi-fhir-jpaserver-starter >------------
[INFO] Building HAPI FHIR JPA Server - Starter Project 3.4.0
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] >>> jetty-maven-plugin:9.4.8.v20180619:run (default-cli) > test-compile @ hapi-fhir-jpaserver-starter >>>
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ hapi-fhir-jpaserver-starter ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ hapi-fhir-jpaserver-starter ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.5.1:compile (default-compile) @ hapi-fhir-jpaserver-starter ---
[INFO] Compiling 3 source files to C:\Temp\hapi-fhir-jpaserver-starter\target\classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.051 s
[INFO] Finished at: 2018-07-27T17:42:19+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project hapi-fhir-jpaserver-starter: Compilation failure -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.5.1:compile (default-compile) on project hapi-fhir-jpaserver-starter: Compilation failure
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
    at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions (MojoExecutor.java:353)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:198)
    at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions (MojoExecutor.java:353)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:198)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--
Malay Thakershi

James Agnew

unread,
Jul 29, 2018, 5:15:15 PM7/29/18
to Malay Thakershi, HAPI FHIR
Boy, that is mysterious. The maven compiler usually shows some kind of output indicating what is wrong.

I do note that the compiler plugin it's using is fairly old.. Could you try adding the following version string to the maven-compiler-plugin plugin definition in the pom.xml:

<version>3.8.0</version>

Cheers,
James

Malay Thakershi

unread,
Jul 30, 2018, 12:47:23 AM7/30/18
to James Agnew, hapi...@googlegroups.com
I did that. But same issue. Please see below.
-------------------------------------
C:\Temp\hapi-fhir-jpaserver-starter>mvn compile -e
Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------< ca.uhn.hapi.fhir:hapi-fhir-jpaserver-starter >------------
[INFO] Building HAPI FHIR JPA Server - Starter Project 3.4.0
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ hapi-fhir-jpaserver-starter ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ hapi-fhir-jpaserver-starter ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.8.0:compile (default-compile) @ hapi-fhir-jpaserver-starter ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to C:\Temp\hapi-fhir-jpaserver-starter\target\classes
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.769 s
[INFO] Finished at: 2018-07-30T10:16:27+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project hapi-fhir-jpaserver-starter: Compilation failure -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project hapi-fhir-jpaserver-starter: Compilation failure
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure
    at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute (AbstractCompilerMojo.java:1219)
    at org.apache.maven.plugin.compiler.CompilerMojo.execute (CompilerMojo.java:188)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:954)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:192)
    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.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
--
Malay Thakershi

James Agnew

unread,
Jul 30, 2018, 8:22:44 AM7/30/18
to Malay Thakershi, HAPI FHIR
This is mysterious. I've run the compile on several machines and they all compile successfully. Unfortunately I don't know what to do about your failure.

Can you try finding another computer or ask a colleague to build and see if they see the same results? If anyone else on the list would like to try it as well that would be appreciated.

Cheers,
James

Malay Thakershi

unread,
Jul 30, 2018, 8:55:22 AM7/30/18
to James Agnew, hapi...@googlegroups.com
Which maven version are you using?
--
Malay Thakershi

James Agnew

unread,
Jul 30, 2018, 8:56:59 AM7/30/18
to Malay Thakershi, HAPI FHIR
3.5.2 on two machines, 3.3.1 on another.

Cheers,
James

Malay Thakershi

unread,
Jul 30, 2018, 9:03:00 AM7/30/18
to James Agnew, hapi...@googlegroups.com
I get same issue on another machine. I am using maven 3.5.4 though.
------------------
C:\hapi-fhir-jpaserver-starter>mvn clean install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------< ca.uhn.hapi.fhir:hapi-fhir-jpaserver-starter >------------
[INFO] Building HAPI FHIR JPA Server - Starter Project 3.5.0-SNAPSHOT
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.1.0:clean (default-clean) @ hapi-fhir-jpaserver-
starter ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java) @ hapi-fhir-jpaser
ver-starter ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ hapi-fhir-
jpaserver-starter ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ hapi-fhir-jpa
server-starter ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 3 source files to C:\hapi-fhir-jpaserver-starter\target\classes

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.055 s
[INFO] Finished at: 2018-07-30T08:01:33-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.
7.0:compile (default-compile) on project hapi-fhir-jpaserver-starter: Compilatio
n failure -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:

--
Malay Thakershi

Malay Thakershi

unread,
Jul 30, 2018, 9:27:40 AM7/30/18
to James Agnew, hapi...@googlegroups.com
FYI. I tried with maven 3.5.2 but same issue. I think something is going on with JDK / JRE / maven install. Please help get out of this weird issue.

Just want to share output of mvn -version on:

3.5.4 maven installation:
C:\Temp\hapi-fhir-jpaserver-starter>mvn -version
Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-18T00:03:14+05:30)
Maven home: C:\maven\apache-maven-3.5.4\bin\..
Java version: 1.8.0_161, vendor: Oracle Corporation, runtime: C:\Program Files (x86)\Java\jdk1.8.0_161\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "x86", family: "windows"

3.5.2 maven installation:
Apache Maven 3.5.2 (138edd61fd100ec658bfa2d307c43b76940a5d7d; 2017-10-18T02:58:1
3-05:00)
Maven home: C:\apache-maven-3.5.2\bin\..
Java version: 1.8.0_161, vendor: Oracle Corporation
Java home: C:\Program Files (x86)\Java\jdk1.8.0_161\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows server 2012 r2", version: "6.3", arch: "x86", family: "windows
"




--
Malay Thakershi

James Agnew

unread,
Jul 30, 2018, 9:29:25 AM7/30/18
to Malay Thakershi, HAPI FHIR
I only have access to Linux & OSX boxes to test on, that's the one obvious difference. No idea why that would cause the compiler to silently fail though..

Cheers,
James

Rajesh Katarya

unread,
Jul 30, 2018, 9:51:36 AM7/30/18
to HAPI FHIR
Check your JAVA_HOME environment variable. It seems to me, it is set for JRE ( Java Runtime Environment). It should be set for JDK ( Java Development Kit) for any compilation tasks.
see below (Java version: 1.8.0_161, vendor: Oracle Corporation, runtime: C:\Program Files (x86)\Java\jdk1.8.0_161\jre). This appears to be incorrect.
...

Malay Thakershi

unread,
Jul 30, 2018, 10:00:55 AM7/30/18
to Rajesh Katarya, HAPI FHIR
echo %JAVA_HOME%

C:\Program Files (x86)\Java\jdk1.8.0_161\

--
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/db0D83iYZ8Q/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.

For more options, visit https://groups.google.com/d/optout.
--
Malay Thakershi

James Agnew

unread,
Jul 30, 2018, 10:06:04 AM7/30/18
to Malay Thakershi, Rajesh Katarya, HAPI FHIR
Seems like a Maven bug in that case.

Do you have the JDK bin directory on your path? (i.e. does the "javac" command work?)

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.

Malay Thakershi

unread,
Jul 30, 2018, 10:16:15 AM7/30/18
to James Agnew, HAPI FHIR, Rajesh Katarya
Yes. javac command works 
--
Malay Thakershi

James Agnew

unread,
Jul 30, 2018, 10:17:57 AM7/30/18
to Malay Thakershi, HAPI FHIR, Rajesh Katarya
Hmm, in that case I guess probably the logical next step would be to post on the Maven Users list to see if they have any ideas about why your JAVA_HOME isn't being used.

Cheers,
James

Malay Thakershi

unread,
Jul 30, 2018, 10:18:19 AM7/30/18
to James Agnew, HAPI FHIR, Rajesh Katarya
Please tell me what type Linux machine do I need to host this?
--
Malay Thakershi

James Agnew

unread,
Jul 30, 2018, 10:20:01 AM7/30/18
to Malay Thakershi, HAPI FHIR, Rajesh Katarya
It should work in any distribution where Java is supported, but we do most of our development on Ubuntu.

Cheers,
James

Malay Thakershi

unread,
Jul 30, 2018, 12:39:08 PM7/30/18
to James Agnew, HAPI FHIR, Rajesh Katarya
Guys, this is mvn -X instal. Attached as tmp.txt
Any clues from this?
--
Malay Thakershi
tmp.txt

mthak...@gmail.com

unread,
Aug 1, 2018, 7:53:44 AM8/1/18
to HAPI FHIR
For anyone facing this issue (unable to build this example on windows / maven / java 8), Rajesh Katarya and James Agnew helped me figure this out.
The issue is with my pom.xml file. This is the working piece. Rajesh's response that worked.
-----------------------------------------------------------------------------
The small change I made to your pom.xml files is this:
<!-- Tell Maven which Java source version you want to use -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<useIncrementalCompilation>true</useIncrementalCompilation>
<verbose>true</verbose>
<fork>true</fork>
<!--
<executable>C:\Program Files (x86)\Java\jdk1.8.0_161\bin\javac</executable>
-->
<executable>javac</executable>


If your environment is properly set, you do not need to specify executable. And I changed incremental to true.

Set your JAVA_HOME environment correctly
then set the PATH in include %JAVA_HOME%\bin;
---------------------------------------------------------------------------------

On Monday, July 30, 2018 at 10:09:08 PM UTC+5:30, Malay Thakershi wrote:
Guys, this is mvn -X instal. Attached as tmp.txt
Any clues from this?

On Mon, Jul 30, 2018 at 7:50 PM James Agnew  wrote:
It should work in any distribution where Java is supported, but we do most of our development on Ubuntu.

Cheers,
James

On Mon, Jul 30, 2018 at 2:18 PM Malay Thakershi <malay thakershi> wrote:
Please tell me what type Linux machine do I need to host this?

On Mon, Jul 30, 2018 at 7:46 PM Malay Thakershi <malay thakershi> wrote:
Yes. javac command works 

On Mon, Jul 30, 2018 at 7:36 PM James Agnew  wrote:
Seems like a Maven bug in that case.

Do you have the JDK bin directory on your path? (i.e. does the "javac" command work?)

On Mon, Jul 30, 2018 at 2:00 PM Malay Thakershi \
echo %JAVA_HOME%

C:\Program Files (x86)\Java\jdk1.8.0_161\


On Mon, Jul 30, 2018 at 6:26 PM James Agnew  wrote:
3.5.2 on two machines, 3.3.1 on another.

Cheers,
James

On Mon, Jul 30, 2018 at 12:55 PM Malay Thakershi  wrote:
Which maven version are you using?

On Mon, Jul 30, 2018 at 5:52 PM James Agnew wrote:
This is mysterious. I've run the compile on several machines and they all compile successfully. Unfortunately I don't know what to do about your failure.

Can you try finding another computer or ask a colleague to build and see if they see the same results? If anyone else on the list would like to try it as well that would be appreciated.

Cheers,
James

On Mon, Jul 30, 2018 at 2:45 AM James Agnew  wrote:
Boy, that is mysterious. The maven compiler usually shows some kind of output indicating what is wrong.

I do note that the compiler plugin it's using is fairly old.. Could you try adding the following version string to the maven-compiler-plugin plugin definition in the pom.xml:

<version>3.8.0</version>

Cheers,
James

On Fri, Jul 27, 2018 at 4:32 PM James Agnew  wrote:
It should also be in the output of the build, farther up.

On Fri, Jul 27, 2018 at 10:48 AM Malay Thakershi  wrote:
How can I find that out?

mthak...@gmail.com

unread,
Aug 2, 2018, 5:03:35 AM8/2/18
to HAPI FHIR
I am getting a bunch of warning messages. They scroll out very fast so I have captured a screenshot.
They come after doing "mvn jetty:run" - after bunch of warning messages, server does start and I do see the UI.
"[Warning] so-and-so scanned from multiple locations:"
Reply all
Reply to author
Forward
0 new messages