Stream: IG creation
Topic: keystore problem
Michael Faughn (Feb 26 2020 at 19:42):
Using latest version of IG publisher and testing it with sample-ig. Have had the same problem on two Macs running MacOS 10.13.6, one with Java8 and the other with Java13. Problem doesn't happen on Ubuntu 14.04.6.
Just wondering if anyone has any clues about what I should try next. Maybe I need to do something with keytool
but I'm not really sure what.
12:51:44ruby-2.6.3~/projects/sample-ig*$ java -Djavax.net.debug=ssl -jar ./input-cache/org.hl7.fhir.publisher.jar -d -v -ig ig.ini FHIR IG Publisher Version 1.0.67-SNAPSHOT (Git# 30b184df3160). Built 2020-02-25T12:07:21.909+11:00 (40 hours old) Detected Java version: 1.8.0_66 from /Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/jre on x86_64 (64bit). 3641MB available Parameters: -d -v -ig ig.ini dir = /Users/mfaughn/projects/sample-ig, path = /bin:/usr/local/bin:/usr/local/built_clamav/bin:/Users/mfaughn/.rvm/gems/ruby-2.6.3/bin:/Users/mfaughn/.rvm/gems/ruby-2.6.3@global/bin:/Users/mfaughn/.rvm/rubies/ruby-2.6.3/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/local/MacGPG2/bin:/opt/X11/bin:/Users/mfaughn/.rvm/bin:/usr/texbin:/Users/mfaughn/bin:/Users/mfaughn/bin/scripts:/Users/mfaughn/ant/apache-ant-1.10.7/bin Run time = Wednesday, February 26, 2020 12:53:26 PM EST (2020-02-26T12:53:26-05:00) Package Cache: /Users/mfaughn/.fhir/packages (00:00.0063) Load Template from hl7.base.template (00:00.0930) keyStore is : keyStore type is : jks keyStore provider is : init keystore init keymanager of type SunX509 trustStore is: /Library/Java/JavaVirtualMachines/jdk1.8.0_66.jdk/Contents/Home/jre/lib/security/cacerts trustStore type is : jks trustStore provider is : init truststore default context init failed: java.io.IOException: Invalid keystore format Error connecting to build server - running without build (java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)) Publishing Content Failed: Error loading template hl7.base.template: The package 'hl7.base.template' has not entry on the current build server (00:01.0001) (00:01.0001) Use -? to get command line help (00:01.0001) (00:01.0001) Stack Dump (for debugging): (00:01.0001) org.hl7.fhir.exceptions.FHIRException: Error loading template hl7.base.template: The package 'hl7.base.template' has not entry on the current build server at org.hl7.fhir.igtools.templates.TemplateManager.loadPackage(TemplateManager.java:262) at org.hl7.fhir.igtools.templates.TemplateManager.installTemplate(TemplateManager.java:91) at org.hl7.fhir.igtools.templates.TemplateManager.loadTemplate(TemplateManager.java:77) at org.hl7.fhir.igtools.publisher.Publisher.initializeFromIg(Publisher.java:1263) at org.hl7.fhir.igtools.publisher.Publisher.initialize(Publisher.java:1205) at org.hl7.fhir.igtools.publisher.Publisher.execute(Publisher.java:660) at org.hl7.fhir.igtools.publisher.Publisher.main(Publisher.java:6933) Caused by: org.hl7.fhir.exceptions.FHIRException: The package 'hl7.base.template' has not entry on the current build server at org.hl7.fhir.utilities.cache.PackageCacheManager.loadFromCIBuild(PackageCacheManager.java:615) at org.hl7.fhir.utilities.cache.PackageCacheManager.loadPackage(PackageCacheManager.java:579) at org.hl7.fhir.igtools.templates.TemplateManager.loadPackage(TemplateManager.java:235) ... 6 more
Grahame Grieve (Feb 26 2020 at 23:54):
can you load https://build.fhir.org/ig/qas.json directly?
Grahame Grieve (Feb 26 2020 at 23:56):
Michael Faughn (Feb 27 2020 at 17:55):
Completely uninstalled all JRE / JDK and reinstalled most recent Java8 JDK and I'm back in business. Maybe some change b/w now and last October (last time I had IG pub running) didn't play nice with older version of Java? Doesn't matter...
Last updated: Apr 12 2022 at 19:14 UTC