-
Bug
-
Resolution: Done
-
Blocker
-
None
-
None
Bootable jar data content directory is structured like this
[mchoma@localhost content]$ tree . └── 9f └── 8a8851c9a8912703943c92d8b28c47bdd61e05 └── content
Bootable jar Standalone xml is configured like this
<deployments> <deployment name="bootable-jar-microprofile-config.war" runtime-name="ROOT.war"> <content sha1="9f8a8851c9a8912703943c92d8b28c47bdd61e05"/> </deployment> </deployments>
Shouldn't be sha1 in this case without "9f"?
When starting such bootable jar in openshift I get error
[0m[31m17:55:19,953 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("deployment" => "bootable-jar-microprofile-config.war")]) - failure description: "WFLYSRV0137: No deployment content with hash 9f8a8851c9a8912703943c92d8b28c47bdd61e05 is available in the deployment content repository for deployment 'bootable-jar-microprofile-config.war'. This is a fatal boot error. To correct the problem, either restart with the --admin-only switch set and use the CLI to install the missing content or remove it from the configuration, or remove the deployment from the xml configuration file and restart." [0m[31m17:55:19,956 FATAL [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details. - Server configuration file in use: standalone.xml [0m[0m17:55:19,962 INFO [org.jboss.as] (MSC service thread 1-2) WFLYSRV0050: JBoss EAP 8.0.0.GA (WildFly Core 21.0.5.Final-redhat-00001) stopped in 3ms [0m[31m17:55:19,965 ERROR [stderr] (main) Exception in thread "main" java.lang.reflect.InvocationTargetException [0m[31m17:55:19,965 ERROR [stderr] (main) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [0m[31m17:55:19,965 ERROR [stderr] (main) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) [0m[31m17:55:19,966 ERROR [stderr] (main) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [0m[31m17:55:19,966 ERROR [stderr] (main) at java.base/java.lang.reflect.Method.invoke(Method.java:568) [0m[31m17:55:19,966 ERROR [stderr] (main) at org.wildfly.core.jar.boot.Main.runBootableJar(Main.java:204) [0m[31m17:55:19,966 ERROR [stderr] (main) at org.wildfly.core.jar.boot.Main.main(Main.java:155) [0m[31m17:55:19,966 ERROR [stderr] (main) Caused by: java.lang.RuntimeException: WFLYJAR0017: Cannot start server [0m[31m17:55:19,966 ERROR [stderr] (main) at org.wildfly.bootable-jar@21.0.5.Final-redhat-00001//org.wildfly.core.jar.runtime.Server.start(Server.java:187) [0m[31m17:55:19,966 ERROR [stderr] (main) at org.wildfly.bootable-jar@21.0.5.Final-redhat-00001//org.wildfly.core.jar.runtime.BootableJar.run(BootableJar.java:286) [0m[31m17:55:19,966 ERROR [stderr] (main) at org.wildfly.bootable-jar@21.0.5.Final-redhat-00001//org.wildfly.core.jar.runtime.BootableJar.run(BootableJar.java:362) [0m[31m17:55:19,966 ERROR [stderr] (main) ... 6 more [0m[31m17:55:19,967 ERROR [stderr] (main) Caused by: java.util.concurrent.ExecutionException: JBTHR00005: Operation failed [0m[31m17:55:19,967 ERROR [stderr] (main) at org.jboss.threads@2.4.0.Final-redhat-00001//org.jboss.threads.AsyncFutureTask.get(AsyncFutureTask.java:253) [0m[31m17:55:19,967 ERROR [stderr] (main) at org.wildfly.bootable-jar@21.0.5.Final-redhat-00001//org.wildfly.core.jar.runtime.Server.start(Server.java:168) [0m[31m17:55:19,967 ERROR [stderr] (main) ... 8 more [0m[31m17:55:19,967 ERROR [stderr] (main) Caused by: java.lang.Exception: WFLYSRV0056: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details. - Server configuration file in use: standalone.xml [0m[31m17:55:19,967 ERROR [stderr] (main) at org.jboss.as.server@21.0.5.Final-redhat-00001//org.jboss.as.server.ServerService.boot(ServerService.java:439) [0m[31m17:55:19,968 ERROR [stderr] (main) at org.jboss.as.controller@21.0.5.Final-redhat-00001//org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:370) [0m[31m17:55:19,968 ERROR [stderr] (main) at java.base/java.lang.Thread.run(Thread.java:840)
- is caused by
-
WFCORE-6329 Remove deprecated ServerEnvironment API
- Closed
- is cloned by
-
JBEAP-26918 Bootable jar app on Operator: No deployment content with hash yyy
- Closed