Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CH-EMED-EPR: validator tries to write to home/.fhir/packages #61

Open
qligier opened this issue Apr 24, 2023 · 0 comments
Open

CH-EMED-EPR: validator tries to write to home/.fhir/packages #61

qligier opened this issue Apr 24, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@qligier
Copy link
Member

qligier commented Apr 24, 2023

E.g. on a Tomcat Debian:

java.io.FileNotFoundException: /var/lib/tomcat/.fhir/packages/packages.ini (No such file or directory)
[2023-04-24 07:41:55] [crit]     at java.base/java.io.FileOutputStream.open0(Native Method)
[2023-04-24 07:41:55] [crit]     at java.base/java.io.FileOutputStream.open(FileOutputStream.java:293)
[2023-04-24 07:41:55] [crit]     at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:235)
[2023-04-24 07:41:55] [crit]     at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:184)
[2023-04-24 07:41:55] [crit]     at org.hl7.fhir.utilities.TextFile.stringToFile(TextFile.java:122)
[2023-04-24 07:41:55] [crit]     at org.hl7.fhir.utilities.TextFile.stringToFile(TextFile.java:132)
[2023-04-24 07:41:55] [crit]     at org.hl7.fhir.utilities.npm.FilesystemPackageCacheManager.<init>(FilesystemPackageCacheManager.java:128)
[2023-04-24 07:41:55] [crit]     at org.hl7.fhir.validation.ValidationEngine.getPcm(ValidationEngine.java:976)
[2023-04-24 07:41:55] [crit]     at org.hl7.fhir.validation.ValidationEngine.initContext(ValidationEngine.java:465)
[2023-04-24 07:41:55] [crit]     at org.hl7.fhir.validation.ValidationEngine$ValidationEngineBuilder.fromNothing(ValidationEngine.java:358)
[2023-04-24 07:41:55] [crit]     at ch.ahdis.matchbox.engine.MatchboxEngine$MatchboxEngineBuilder.getEngineR4(MatchboxEngine.java:108)
[2023-04-24 07:41:55] [crit]     at org.projecthusky.fhir.emed.ch.epr.validator.ChEmedEprValidator.<init>(ChEmedEprValidator.java:51)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant