minishift上的gofabric8:钥匙斗崩溃

时间:2018-10-16 07:42:50

标签: fabric8

遵循“您好,世界说明”,
https://github.com/fabric8io/fabric8-platform/blob/master/INSTALL.md
将不起作用:fabric8无法启动。根本原因是由于文件丢失而导致keycloak崩溃:

07:35:04,568 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 58) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./auth: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./auth: java.lang.RuntimeException: RESTEASY003325: Failed to construct public org.keycloak.services.resources.KeycloakApplication(javax.servlet.ServletContext,org.jboss.resteasy.core.Dispatcher)
    .....
    ... 6 more
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /opt/jboss/keycloak/standalone/configuration/import/fabric8-realm.json (No such file or directory)
    at org.keycloak.exportimport.ExportImportManager.isImportMasterIncluded(ExportImportManager.java:74)
    .... 
    ... 28 more
Caused by: java.io.FileNotFoundException: /opt/jboss/keycloak/standalone/configuration/import/fabric8-realm.json (No such file or directory)
    at java.io.FileInputStream.open0(Native Method)
    at java.io.FileInputStream.open(FileInputStream.java:195)
    at java.io.FileInputStream.<init>(FileInputStream.java:138)
    at org.keycloak.exportimport.singlefile.SingleFileImportProvider.checkRealmReps(SingleFileImportProvider.java:76)
    at org.keycloak.exportimport.singlefile.SingleFileImportProvider.isMasterRealmExported(SingleFileImportProvider.java:70)
    at org.keycloak.exportimport.ExportImportManager.isImportMasterIncluded(ExportImportManager.java:72)
    ... 37 more
07:35:04,589 INFO  [org.jboss.as.server] (Thread-2) WFLYSRV0220: Server shutdown has been requested via an OS signal
07:35:04,882 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0019: Host default-host stopping
07:35:04,880 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-3) WFLYJCA0010: Unbound data source [java:jboss/datasources/KeycloakDS]
07:35:04,891 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0008: Undertow HTTPS listener https suspending
07:35:04,892 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0007: Undertow HTTPS listener https stopped, was bound to 172.17.0.22:8443
07:35:04,969 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0008: Undertow HTTP listener default suspending
07:35:04,970 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0007: Undertow HTTP listener default stopped, was bound to 172.17.0.22:8080
07:35:05,067 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) WFLYUT0004: Undertow 1.4.11.Final stopping

该错误是已知的且未修复; https://github.com/fabric8io/fabric8-platform/issues/1185

它阻止了我使用fabric8-因为它是“ hello world”的例子。

有人可以为我们提供一个简单的解决方案吗?

0 个答案:

没有答案
相关问题