Stream: eCR Now FHIR App
Topic: Issues following successful (maybe not) install
Jason Peterson (Aug 28 2020 at 18:43):
Hello,
I'm attempting to install ECRNow and have gone through all of the steps here:
https://github.com/drajer-health/eCRNow
When I reach step 5, I see the Spring ASCII Logo and Spring Boot, but it seems to hang. I never get a clean command prompt afterwards. I do see files writing to the logs. No errors that I could discern. Attempting step 6 gets a Site Cannot be reached error. Any assistance would be great.
-
Run the App using the following command from the eCRNow project root directory.
java -jar ./target/ecr-now.war -
App configuration for EHR server:
Once the App is up and running, you can access the App configuration screen by launching the URL:
http://localhost:8081/clientDetails
I may be missing something extremely easy - or maybe not. Tried to follow all instructions exactly.
This is my log after step 5:
2020-08-28 14:23:21.052 INFO 3572 --- [main] com.drajer.ecrapp.EcrApp : Starting EcrApp v0.0.1-SNAPSHOT on H1ECR with PID 3572 (C:\ECR_ECRNow\target\ecr-now.war started by jpeterson in c:\ECR_ECRNow)
2020-08-28 14:23:21.066 INFO 3572 --- [main] com.drajer.ecrapp.EcrApp : No active profile set, falling back to default profiles: default
2020-08-28 14:23:23.008 INFO 3572 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode.
2020-08-28 14:23:23.055 INFO 3572 --- [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 22ms. Found 0 repository interfaces.
2020-08-28 14:23:23.446 INFO 3572 --- [main] ca.uhn.fhir.util.VersionUtil : HAPI FHIR version 4.0.3 - Rev 343eaa8d68
2020-08-28 14:23:23.446 INFO 3572 --- [main] ca.uhn.fhir.context.FhirContext : Creating new FHIR context for FHIR version [R4]
2020-08-28 14:23:24.079 INFO 3572 --- [main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2020-08-28 14:23:24.754 INFO 3572 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8081 (http)
2020-08-28 14:23:24.769 INFO 3572 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2020-08-28 14:23:24.770 INFO 3572 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.27]
2020-08-28 14:23:27.873 INFO 3572 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2020-08-28 14:23:27.873 INFO 3572 --- [main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 6675 ms
2020-08-28 14:23:28.740 INFO 3572 --- [main] org.hibernate.Version : HHH000412: Hibernate Core {5.4.8.Final}
2020-08-28 14:23:28.984 INFO 3572 --- [main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.0.Final}
I also note reference to a connectathon in the topic above me on Aug 18th. Is another one planned?
Thanks,
Jason
Nagesh Bashyam (Sep 01 2020 at 14:34):
Make sure that the ersd.json is present in the proper location.
Suprakash Maity (Dec 23 2020 at 10:34):
We are getting following error "org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'AESEncryption': Invocation of init method failed; nested exception is java.lang.IllegalStateException: Required key 'security.key' not found " while run eCR Now FHIR App in my local. anybody having any idea to resolve this issue
Nagesh Bashyam (Dec 23 2020 at 13:50):
Please send the security.key as a command line argument as shown below
java -Djdbc.username=postgres -Djdbc.password=postgres -Dsecurity.key=test123 -jar ./target/ecr-now.war
The instructions have been updated on git.
Suprakash Maity (Dec 23 2020 at 19:28):
Thanks @Nagesh Bashyam Now it's working fine.
Suprakash Maity (Dec 24 2020 at 08:36):
As per document for System Launch settings, we are unable to see the field "Token End Point" in UI .Please find the enclosed file for our running app UI screenshot SystmeLaunch_TokenEndpointAPI_Missing.PNG . Also whenever we are calling SystemLaunch Api it's throwing following error "Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.json.JSONException: JSONObject["security"] not found.] with root cause". Please help us to resolve both issues.
Rohit Bankia (Dec 24 2020 at 08:41):
i am not able to build the application in my local. getting the following error
image.png
Suprakash Maity (Dec 24 2020 at 09:51):
After inserted token URL directly into DB, we are trying to systemLaunch API call but getting Bad request error. See the bellow details for your reference
Request URL: http://localhost:8081/api/systemLaunch
Method: POST:
Body: {
"fhirServerURL":"http://localhost:4080/",
"patientId":"a7181436-487e-464e-80b1-d0abc16ce6fd",
"encounterId":"445812a8-8289-40a6-bffc-7ec78377f9e1"
}
Response: {
"timestamp": "2020-12-24T09:47:06.278+00:00",
"status": 400,
"error": "Bad Request",
"message": "",
"path": "/api/systemLaunch"
}
Log error: 2020-12-24 15:17:06.274 WARN 21148 --- [http-nio-8081-exec-9] org.hibernate.orm.deprecation : HHH90000022: Hibernate's legacy org.hibernate.Criteria API is deprecated; use the JPA javax.persistence.criteria.CriteriaQuery instead
Please let us know if we are missing something.
Nagesh Bashyam (Jan 07 2021 at 19:05):
I think these issues were overcome right..
Santosh Jami (Jan 15 2021 at 09:44):
Yes resolved @Nagesh Bashyam
Last updated: Apr 12 2022 at 19:14 UTC