Unable to start Red Hat Fuse 7.12 when using OpenJDK version "11.0.20" or OpenJDK version "17.0.8"
Issue
- When I start Fuse 7.12, I encountered the following error.
cd fuse-karaf-7.12.0.fuse-7_12_0-00019-redhat-00001
$ bin/fuse
karaf: JAVA_HOME not set; results may vary
Red Hat Fuse starting up. Press Enter to open the shell now...
Error installing bundle listed in startup.properties with url: mvn:org.jboss.fuse.modules.patch/patch-management/7.12.0.fuse-7_12_0-00019-redhat-00001 and startlevel: 2
$ tail -f data/log/fuse.log
at org.apache.felix.framework.util.WeakZipFileFactory$WeakZipFile.<init>(WeakZipFileFactory.java:151)
at org.apache.felix.framework.util.WeakZipFileFactory.create(WeakZipFileFactory.java:78)
at org.apache.felix.framework.cache.JarRevision.<init>(JarRevision.java:83)
at org.apache.felix.framework.cache.BundleArchive.createRevisionFromLocation(BundleArchive.java:804)
at org.apache.felix.framework.cache.BundleArchive.reviseInternal(BundleArchive.java:491)
at org.apache.felix.framework.cache.BundleArchive.<init>(BundleArchive.java:155)
at org.apache.felix.framework.cache.BundleCache.create(BundleCache.java:457)
at org.apache.felix.framework.Felix.installBundle(Felix.java:3254)
... 4 more
- I updated JDK from 11.0.19 to 11.0.20 and I can no longer start Fuse.
Environment
- Red Hat Fuse
- 7.12
- Red Hat Openjdk
- 11.0.20
- 17.0.8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.