Closed RWJFord closed 1 year ago
Hello,
I am facing exactly the same issue, my environment setup is Eclipse Version: 2020-09 (4.17.0) Payara Server: payara-5.2021.4 JDK tried 1.8, 11 and 15
Any hint on how to overcome this issue ?
Hi @RWJFord and @clodoaldopaiva,
I've tested by deploying https://github.com/Apress/definitive-guide-to-jsf-javaee8 over the below platform and it worked fine. Would you be able to provide the same reproducer which you are using? Eclipse Version: 2021-06 (4.20.0) Eclipse Build id: 20210612-2011 JDK : openjdk 11.0.11 2021-04-20 LTS Payara Version: 5.2021.5 / Installed Payara Tools from Eclipse marketplace.
Eclipse Version: 2021-06(4.20.0) Eclipse Build id: 202010612-2011 JDK: jdk-11.0.10 Payara Version: 5.2021.4 Unable to start payara server with following error message:
On Tue, Aug 17, 2021 at 6:32 AM Shubham Agrawal @.***> wrote:
Hi @RWJFord https://github.com/RWJFord and @clodoaldopaiva https://github.com/clodoaldopaiva,
I've tested by deploying https://github.com/Apress/definitive-guide-to-jsf-javaee8 over the below platform and it worked fine. Would you be able to provide the same reproducer which you are using? Eclipse Version: 2021-06 (4.20.0) Eclipse Build id: 20210612-2011 JDK : openjdk 11.0.11 2021-04-20 LTS Payara Version: 5.2021.5 / Installed Payara Tools from Eclipse marketplace.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/payara/ecosystem-support/issues/31#issuecomment-900302239, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZS5USTQZ2RDS3JUHR4YCDT5JQH3ANCNFSM5AJHYYLA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .
Launching Payara Server on Felix platform
ERROR: Error parsing system bundle statement.
org.osgi.framework.BundleException: Exported package names cannot be zero length.
at org.apache.felix.framework.util.manifestparser.ManifestParser.normalizeExportClauses(ManifestParser.java:865)
at org.apache.felix.framework.util.manifestparser.ManifestParser.
Hi @clodoaldopaiva, @RWJFord ,
You might be experiencing this issue because of the wrong/misconfigured Java path settings in your systems. I've encountered the same scenario when my java path is misconfigured.
Hello Shubham Agrawal
Sure, let me revisit my local configuration
Closing due to inactivity.
I've been following the setup in 'The Definitive Guide to JSF in Java EE 8' by Scholtz and Tijms. In chapter 2, a Hello World project fails when trying to start the server. The error message is given below. I'm running Windows 10, Eclipse 2020-06, jdk 11 (I've tried with jdk 8 and 15), Maven, and have installed the following plugins: JBossTools 4.19.0.Final Maven (JavaEE) Integration for Eclipse WTP (Luna/Mars) 1.2.0 Payara Tools (updated: Fri, 2021-01-15 Not sure what else I can tell you.
Error Message: Launching Payara Server on Felix platform ERROR: Error parsing system bundle statement. org.osgi.framework.BundleException: Exported package names cannot be zero length. at org.apache.felix.framework.util.manifestparser.ManifestParser.normalizeExportClauses(ManifestParser.java:865) at org.apache.felix.framework.util.manifestparser.ManifestParser.(ManifestParser.java:217)
at org.apache.felix.framework.ExtensionManager$ExtensionManagerRevision.update(ExtensionManager.java:982)
at org.apache.felix.framework.ExtensionManager$ExtensionManagerRevision.access$000(ExtensionManager.java:885)
at org.apache.felix.framework.ExtensionManager.updateRevision(ExtensionManager.java:378)
at org.apache.felix.framework.Felix.init(Felix.java:748)
at org.apache.felix.framework.Felix.init(Felix.java:641)
at com.sun.enterprise.glassfish.bootstrap.osgi.OSGiFrameworkLauncher$1.run(OSGiFrameworkLauncher.java:93)
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.felix.framework.URLHandlers (file:/C:/Users/Work/payara5/glassfish/osgi/felix/bin/felix.jar) to constructor sun.net.www.protocol.file.Handler()
WARNING: Please consider reporting this to the maintainers of org.apache.felix.framework.URLHandlers
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Jul 13, 2021 7:17:15 AM com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner createBundleProvisioner
INFO: Create bundle provisioner class = class com.sun.enterprise.glassfish.bootstrap.osgi.BundleProvisioner.
ERROR: Bundle org.glassfish.hk2.osgi-resource-locator [1] Error starting file:/C:/Users/Work/payara5/glassfish/modules/osgi-resource-locator.jar (org.osgi.framework.BundleException: Unable to resolve org.glassfish.hk2.osgi-resource-locator [1](R 1.0): missing requirement [org.glassfish.hk2.osgi-resource-locator [1](R 1.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.8.0)(!(version>=2.0.0))) Unresolved requirements: [[org.glassfish.hk2.osgi-resource-locator [1](R 1.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.8.0)(!(version>=2.0.0)))])
org.osgi.framework.BundleException: Unable to resolve org.glassfish.hk2.osgi-resource-locator [1](R 1.0): missing requirement [org.glassfish.hk2.osgi-resource-locator [1](R 1.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.8.0)(!(version>=2.0.0))) Unresolved requirements: [[org.glassfish.hk2.osgi-resource-locator [1](R 1.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.8.0)(!(version>=2.0.0)))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.base/java.lang.Thread.run(Thread.java:832)
ERROR: Bundle org.objectweb.asm.tree.analysis [19] Error starting file:/C:/Users/Work/payara5/glassfish/modules/asm-analysis.jar (org.osgi.framework.BundleException: Unable to resolve org.objectweb.asm.tree.analysis [19](R 19.0): missing requirement [org.objectweb.asm.tree.analysis [19](R 19.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0)) Unresolved requirements: [[org.objectweb.asm.tree.analysis [19](R 19.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))])
org.osgi.framework.BundleException: Unable to resolve org.objectweb.asm.tree.analysis [19](R 19.0): missing requirement [org.objectweb.asm.tree.analysis [19](R 19.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0)) Unresolved requirements: [[org.objectweb.asm.tree.analysis [19](R 19.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.base/java.lang.Thread.run(Thread.java:832)
ERROR: Bundle org.objectweb.asm.commons [20] Error starting file:/C:/Users/Work/payara5/glassfish/modules/asm-commons.jar (org.osgi.framework.BundleException: Unable to resolve org.objectweb.asm.commons [20](R 20.0): missing requirement [org.objectweb.asm.commons [20](R 20.0)] osgi.wiring.package; (&(osgi.wiring.package=org.objectweb.asm.signature)(version>=7.3.0)(!(version>=8.0.0))) [caused by: Unable to resolve org.objectweb.asm [23](R 23.0): missing requirement [org.objectweb.asm [23](R 23.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[org.objectweb.asm.commons [20](R 20.0)] osgi.wiring.package; (&(osgi.wiring.package=org.objectweb.asm.signature)(version>=7.3.0)(!(version>=8.0.0)))])
org.osgi.framework.BundleException: Unable to resolve org.objectweb.asm.commons [20](R 20.0): missing requirement [org.objectweb.asm.commons [20](R 20.0)] osgi.wiring.package; (&(osgi.wiring.package=org.objectweb.asm.signature)(version>=7.3.0)(!(version>=8.0.0))) [caused by: Unable to resolve org.objectweb.asm [23](R 23.0): missing requirement [org.objectweb.asm [23](R 23.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[org.objectweb.asm.commons [20](R 20.0)] osgi.wiring.package; (&(osgi.wiring.package=org.objectweb.asm.signature)(version>=7.3.0)(!(version>=8.0.0)))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.base/java.lang.Thread.run(Thread.java:832)
ERROR: Bundle org.objectweb.asm.tree [21] Error starting file:/C:/Users/Work/payara5/glassfish/modules/asm-tree.jar (org.osgi.framework.BundleException: Unable to resolve org.objectweb.asm.tree [21](R 21.0): missing requirement [org.objectweb.asm.tree [21](R 21.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0)) Unresolved requirements: [[org.objectweb.asm.tree [21](R 21.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))])
org.osgi.framework.BundleException: Unable to resolve org.objectweb.asm.tree [21](R 21.0): missing requirement [org.objectweb.asm.tree [21](R 21.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0)) Unresolved requirements: [[org.objectweb.asm.tree [21](R 21.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.base/java.lang.Thread.run(Thread.java:832)
ERROR: Bundle org.objectweb.asm.util [22] Error starting file:/C:/Users/Work/payara5/glassfish/modules/asm-util.jar (org.osgi.framework.BundleException: Unable to resolve org.objectweb.asm.util [22](R 22.0): missing requirement [org.objectweb.asm.util [22](R 22.0)] osgi.wiring.package; (&(osgi.wiring.package=org.objectweb.asm.signature)(version>=7.3.0)(!(version>=8.0.0))) [caused by: Unable to resolve org.objectweb.asm [23](R 23.0): missing requirement [org.objectweb.asm [23](R 23.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[org.objectweb.asm.util [22](R 22.0)] osgi.wiring.package; (&(osgi.wiring.package=org.objectweb.asm.signature)(version>=7.3.0)(!(version>=8.0.0)))])
org.osgi.framework.BundleException: Unable to resolve org.objectweb.asm.util [22](R 22.0): missing requirement [org.objectweb.asm.util [22](R 22.0)] osgi.wiring.package; (&(osgi.wiring.package=org.objectweb.asm.signature)(version>=7.3.0)(!(version>=8.0.0))) [caused by: Unable to resolve org.objectweb.asm [23](R 23.0): missing requirement [org.objectweb.asm [23](R 23.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[org.objectweb.asm.util [22](R 22.0)] osgi.wiring.package; (&(osgi.wiring.package=org.objectweb.asm.signature)(version>=7.3.0)(!(version>=8.0.0)))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.base/java.lang.Thread.run(Thread.java:832)
ERROR: Bundle org.objectweb.asm [23] Error starting file:/C:/Users/Work/payara5/glassfish/modules/asm.jar (org.osgi.framework.BundleException: Unable to resolve org.objectweb.asm [23](R 23.0): missing requirement [org.objectweb.asm [23](R 23.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0)) Unresolved requirements: [[org.objectweb.asm [23](R 23.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))])
org.osgi.framework.BundleException: Unable to resolve org.objectweb.asm [23](R 23.0): missing requirement [org.objectweb.asm [23](R 23.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0)) Unresolved requirements: [[org.objectweb.asm [23](R 23.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.base/java.lang.Thread.run(Thread.java:832)
ERROR: Bundle org.glassfish.hk2.class-model [29] Error starting file:/C:/Users/Work/payara5/glassfish/modules/class-model.jar (org.osgi.framework.BundleException: Unable to resolve org.glassfish.hk2.class-model [29](R 29.0): missing requirement [org.glassfish.hk2.class-model [29](R 29.0)] osgi.wiring.package; (&(osgi.wiring.package=org.objectweb.asm.signature)(version>=7.1.0)(!(version>=8.0.0))) [caused by: Unable to resolve org.objectweb.asm [23](R 23.0): missing requirement [org.objectweb.asm [23](R 23.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[org.glassfish.hk2.class-model [29](R 29.0)] osgi.wiring.package; (&(osgi.wiring.package=org.objectweb.asm.signature)(version>=7.1.0)(!(version>=8.0.0)))])
org.osgi.framework.BundleException: Unable to resolve org.glassfish.hk2.class-model [29](R 29.0): missing requirement [org.glassfish.hk2.class-model [29](R 29.0)] osgi.wiring.package; (&(osgi.wiring.package=org.objectweb.asm.signature)(version>=7.1.0)(!(version>=8.0.0))) [caused by: Unable to resolve org.objectweb.asm [23](R 23.0): missing requirement [org.objectweb.asm [23](R 23.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.5.0))] Unresolved requirements: [[org.glassfish.hk2.class-model [29](R 29.0)] osgi.wiring.package; (&(osgi.wiring.package=org.objectweb.asm.signature)(version>=7.1.0)(!(version>=8.0.0)))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.base/java.lang.Thread.run(Thread.java:832)
ERROR: Bundle fish.payara.server.internal.hk2.config-types [46] Error starting file:/C:/Users/Work/payara5/glassfish/modules/config-types.jar (org.osgi.framework.BundleException: Unable to resolve fish.payara.server.internal.hk2.config-types [46](R 46.0): missing requirement [fish.payara.server.internal.hk2.config-types [46](R 46.0)] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.utilities)(version>=2.6.0)(!(version>=3.0.0))) [caused by: Unable to resolve org.glassfish.hk2.api [132](R 132.0): missing requirement [org.glassfish.hk2.api [132](R 132.0)] osgi.wiring.package; (&(osgi.wiring.package=javax.inject)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve org.glassfish.hk2.external.jakarta.inject [161](R 161.0): missing requirement [org.glassfish.hk2.external.jakarta.inject [161](R 161.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.8))]] Unresolved requirements: [[fish.payara.server.internal.hk2.config-types [46](R 46.0)] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.utilities)(version>=2.6.0)(!(version>=3.0.0)))])
org.osgi.framework.BundleException: Unable to resolve fish.payara.server.internal.hk2.config-types [46](R 46.0): missing requirement [fish.payara.server.internal.hk2.config-types [46](R 46.0)] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.utilities)(version>=2.6.0)(!(version>=3.0.0))) [caused by: Unable to resolve org.glassfish.hk2.api [132](R 132.0): missing requirement [org.glassfish.hk2.api [132](R 132.0)] osgi.wiring.package; (&(osgi.wiring.package=javax.inject)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve org.glassfish.hk2.external.jakarta.inject [161](R 161.0): missing requirement [org.glassfish.hk2.external.jakarta.inject [161](R 161.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.8))]] Unresolved requirements: [[fish.payara.server.internal.hk2.config-types [46](R 46.0)] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.utilities)(version>=2.6.0)(!(version>=3.0.0)))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.base/java.lang.Thread.run(Thread.java:832)
ERROR: Bundle fish.payara.server.internal.core.glassfish [113] Error starting file:/C:/Users/Work/payara5/glassfish/modules/glassfish.jar (org.osgi.framework.BundleException: Unable to resolve fish.payara.server.internal.core.glassfish [113](R 113.0): missing requirement [fish.payara.server.internal.core.glassfish [113](R 113.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.8.0)(!(version>=2.0.0))) Unresolved requirements: [[fish.payara.server.internal.core.glassfish [113](R 113.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.8.0)(!(version>=2.0.0)))])
org.osgi.framework.BundleException: Unable to resolve fish.payara.server.internal.core.glassfish [113](R 113.0): missing requirement [fish.payara.server.internal.core.glassfish [113](R 113.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.8.0)(!(version>=2.0.0))) Unresolved requirements: [[fish.payara.server.internal.core.glassfish [113](R 113.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.8.0)(!(version>=2.0.0)))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.base/java.lang.Thread.run(Thread.java:832)
ERROR: Bundle org.glassfish.hk2.api [132] Error starting file:/C:/Users/Work/payara5/glassfish/modules/hk2-api.jar (org.osgi.framework.BundleException: Unable to resolve org.glassfish.hk2.api [132](R 132.0): missing requirement [org.glassfish.hk2.api [132](R 132.0)] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.utilities.reflection)(version>=2.6.0)(!(version>=3.0.0))) [caused by: Unable to resolve org.glassfish.hk2.utils [138](R 138.0): missing requirement [org.glassfish.hk2.utils [138](R 138.0)] osgi.wiring.package; (&(osgi.wiring.package=javax.inject)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve org.glassfish.hk2.external.jakarta.inject [161](R 161.0): missing requirement [org.glassfish.hk2.external.jakarta.inject [161](R 161.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.8))]] Unresolved requirements: [[org.glassfish.hk2.api [132](R 132.0)] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.utilities.reflection)(version>=2.6.0)(!(version>=3.0.0)))])
org.osgi.framework.BundleException: Unable to resolve org.glassfish.hk2.api [132](R 132.0): missing requirement [org.glassfish.hk2.api [132](R 132.0)] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.utilities.reflection)(version>=2.6.0)(!(version>=3.0.0))) [caused by: Unable to resolve org.glassfish.hk2.utils [138](R 138.0): missing requirement [org.glassfish.hk2.utils [138](R 138.0)] osgi.wiring.package; (&(osgi.wiring.package=javax.inject)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve org.glassfish.hk2.external.jakarta.inject [161](R 161.0): missing requirement [org.glassfish.hk2.external.jakarta.inject [161](R 161.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.8))]] Unresolved requirements: [[org.glassfish.hk2.api [132](R 132.0)] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.utilities.reflection)(version>=2.6.0)(!(version>=3.0.0)))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.base/java.lang.Thread.run(Thread.java:832)
ERROR: Bundle fish.payara.server.internal.hk2.config [133] Error starting file:/C:/Users/Work/payara5/glassfish/modules/hk2-config.jar (org.osgi.framework.BundleException: Unable to resolve fish.payara.server.internal.hk2.config [133](R 133.0): missing requirement [fish.payara.server.internal.hk2.config [133](R 133.0)] osgi.wiring.package; (osgi.wiring.package=javax.management) Unresolved requirements: [[fish.payara.server.internal.hk2.config [133](R 133.0)] osgi.wiring.package; (osgi.wiring.package=javax.management)])
org.osgi.framework.BundleException: Unable to resolve fish.payara.server.internal.hk2.config [133](R 133.0): missing requirement [fish.payara.server.internal.hk2.config [133](R 133.0)] osgi.wiring.package; (osgi.wiring.package=javax.management) Unresolved requirements: [[fish.payara.server.internal.hk2.config [133](R 133.0)] osgi.wiring.package; (osgi.wiring.package=javax.management)]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.base/java.lang.Thread.run(Thread.java:832)
ERROR: Bundle org.glassfish.hk2.locator [136] Error starting file:/C:/Users/Work/payara5/glassfish/modules/hk2-locator.jar (org.osgi.framework.BundleException: Unable to resolve org.glassfish.hk2.locator [136](R 136.0): missing requirement [org.glassfish.hk2.locator [136](R 136.0)] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.api.messaging)(version>=2.6.0)(!(version>=3.0.0))) [caused by: Unable to resolve org.glassfish.hk2.api [132](R 132.0): missing requirement [org.glassfish.hk2.api [132](R 132.0)] osgi.wiring.package; (&(osgi.wiring.package=javax.inject)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve org.glassfish.hk2.external.jakarta.inject [161](R 161.0): missing requirement [org.glassfish.hk2.external.jakarta.inject [161](R 161.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.8))]] Unresolved requirements: [[org.glassfish.hk2.locator [136](R 136.0)] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.api.messaging)(version>=2.6.0)(!(version>=3.0.0)))])
org.osgi.framework.BundleException: Unable to resolve org.glassfish.hk2.locator [136](R 136.0): missing requirement [org.glassfish.hk2.locator [136](R 136.0)] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.api.messaging)(version>=2.6.0)(!(version>=3.0.0))) [caused by: Unable to resolve org.glassfish.hk2.api [132](R 132.0): missing requirement [org.glassfish.hk2.api [132](R 132.0)] osgi.wiring.package; (&(osgi.wiring.package=javax.inject)(version>=1.0.0)(!(version>=2.0.0))) [caused by: Unable to resolve org.glassfish.hk2.external.jakarta.inject [161](R 161.0): missing requirement [org.glassfish.hk2.external.jakarta.inject [161](R 161.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.8))]] Unresolved requirements: [[org.glassfish.hk2.locator [136](R 136.0)] osgi.wiring.package; (&(osgi.wiring.package=org.glassfish.hk2.api.messaging)(version>=2.6.0)(!(version>=3.0.0)))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.base/java.lang.Thread.run(Thread.java:832)
ERROR: Bundle org.glassfish.hk2.runlevel [137] Error starting file:/C:/Users/Work/payara5/glassfish/modules/hk2-runlevel.jar (org.osgi.framework.BundleException: Unable to resolve org.glassfish.hk2.runlevel [137](R 137.0): missing requirement [org.glassfish.hk2.runlevel [137](R 137.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.8)) Unresolved requirements: [[org.glassfish.hk2.runlevel [137](R 137.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.8))])
org.osgi.framework.BundleException: Unable to resolve org.glassfish.hk2.runlevel [137](R 137.0): missing requirement [org.glassfish.hk2.runlevel [137](R 137.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.8)) Unresolved requirements: [[org.glassfish.hk2.runlevel [137](R 137.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.8))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.base/java.lang.Thread.run(Thread.java:832)
ERROR: Bundle org.glassfish.hk2.utils [138] Error starting file:/C:/Users/Work/payara5/glassfish/modules/hk2-utils.jar (org.osgi.framework.BundleException: Unable to resolve org.glassfish.hk2.utils [138](R 138.0): missing requirement [org.glassfish.hk2.utils [138](R 138.0)] osgi.wiring.package; (osgi.wiring.package=javax.xml.namespace) Unresolved requirements: [[org.glassfish.hk2.utils [138](R 138.0)] osgi.wiring.package; (osgi.wiring.package=javax.xml.namespace)])
org.osgi.framework.BundleException: Unable to resolve org.glassfish.hk2.utils [138](R 138.0): missing requirement [org.glassfish.hk2.utils [138](R 138.0)] osgi.wiring.package; (osgi.wiring.package=javax.xml.namespace) Unresolved requirements: [[org.glassfish.hk2.utils [138](R 138.0)] osgi.wiring.package; (osgi.wiring.package=javax.xml.namespace)]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.base/java.lang.Thread.run(Thread.java:832)
ERROR: Bundle org.glassfish.hk2.external.jakarta.inject [161] Error starting file:/C:/Users/Work/payara5/glassfish/modules/jakarta.inject.jar (org.osgi.framework.BundleException: Unable to resolve org.glassfish.hk2.external.jakarta.inject [161](R 161.0): missing requirement [org.glassfish.hk2.external.jakarta.inject [161](R 161.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.8)) Unresolved requirements: [[org.glassfish.hk2.external.jakarta.inject [161](R 161.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.8))])
org.osgi.framework.BundleException: Unable to resolve org.glassfish.hk2.external.jakarta.inject [161](R 161.0): missing requirement [org.glassfish.hk2.external.jakarta.inject [161](R 161.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.8)) Unresolved requirements: [[org.glassfish.hk2.external.jakarta.inject [161](R 161.0)] osgi.ee; (&(osgi.ee=JavaSE)(version=1.8))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.base/java.lang.Thread.run(Thread.java:832)
ERROR: Bundle org.glassfish.hk2.osgi-adapter [308] Error starting file:/C:/Users/Work/payara5/glassfish/modules/osgi-adapter.jar (org.osgi.framework.BundleException: Unable to resolve org.glassfish.hk2.osgi-adapter [308](R 308.0): missing requirement [org.glassfish.hk2.osgi-adapter [308](R 308.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.5.0)(!(version>=2.0.0))) Unresolved requirements: [[org.glassfish.hk2.osgi-adapter [308](R 308.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.5.0)(!(version>=2.0.0)))])
org.osgi.framework.BundleException: Unable to resolve org.glassfish.hk2.osgi-adapter [308](R 308.0): missing requirement [org.glassfish.hk2.osgi-adapter [308](R 308.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.5.0)(!(version>=2.0.0))) Unresolved requirements: [[org.glassfish.hk2.osgi-adapter [308](R 308.0)] osgi.wiring.package; (&(osgi.wiring.package=org.osgi.framework)(version>=1.5.0)(!(version>=2.0.0)))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4368)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2281)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1539)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.base/java.lang.Thread.run(Thread.java:832)
Exception in thread "main" java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:119)
at com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:54)
Caused by: org.glassfish.embeddable.GlassFishException: org.glassfish.embeddable.GlassFishException: No GlassFishRuntime available
at com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishRuntimeBuilder.build(OSGiGlassFishRuntimeBuilder.java:170)
at org.glassfish.embeddable.GlassFishRuntime._bootstrap(GlassFishRuntime.java:157)
at org.glassfish.embeddable.GlassFishRuntime.bootstrap(GlassFishRuntime.java:110)
at com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher.launch(GlassFishMain.java:134)
... 6 more
Caused by: org.glassfish.embeddable.GlassFishException: No GlassFishRuntime available
at com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishRuntimeBuilder.getGlassFishRuntime(OSGiGlassFishRuntimeBuilder.java:208)
at com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishRuntimeBuilder.build(OSGiGlassFishRuntimeBuilder.java:168)
... 9 more
Error stopping framework: java.lang.NullPointerException: Cannot invoke "org.glassfish.embeddable.GlassFishRuntime.shutdown()" because the return value of "com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher.access$000(com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher)" is null
java.lang.NullPointerException: Cannot invoke "org.glassfish.embeddable.GlassFishRuntime.shutdown()" because the return value of "com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher.access$000(com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher)" is null
at com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher$1.run(GlassFishMain.java:222)