You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here is the error in GlassFish when both jakarta.json-api and org.eclipse.parsson are set to HK2-Import-Bundles in admingui/war/pom.xml ( relates eclipse-ee4j/glassfish#23782 ).
This OSGi interdependence appears to be caused by a wildcard(*) being set in the DynamicImport-Package.
[2022-04-17T17:34:27.763+0900] [glassfish 7.0] [SEVERE] [NCLS-CORE-00026] [jakarta.enterprise.system.core] [tid: _ThreadID=119 _ThreadName=Thread-25] [timeMillis: 1650184467763] [levelValue: 1000] [[
Exception during lifecycle processing
com.sun.enterprise.module.ResolveError: Failed to start OSGiModuleImpl:: Bundle = [jakarta.json-api [233]], State = [NEW]
at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.makeModuleFor(AbstractModulesRegistryImpl.java:319)
at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.makeModuleFor(AbstractModulesRegistryImpl.java:290)
at org.jvnet.hk2.osgiadapter.AbstractOSGiModulesRegistryImpl.getModulesClassLoader(AbstractOSGiModulesRegistryImpl.java:178)
at org.jvnet.hk2.osgiadapter.AbstractOSGiModulesRegistryImpl.getModulesClassLoader(AbstractOSGiModulesRegistryImpl.java:268)
at com.sun.enterprise.v3.server.ClassLoaderHierarchyImpl.createApplicationParentCL(ClassLoaderHierarchyImpl.java:192)
at org.glassfish.deployment.common.DeploymentContextImpl.createClassLoader(DeploymentContextImpl.java:222)
at org.glassfish.deployment.common.DeploymentContextImpl.createDeploymentClassLoader(DeploymentContextImpl.java:205)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:345)
at com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:382)
at com.sun.enterprise.v3.admin.adapter.InstallerThread.load(InstallerThread.java:188)
at com.sun.enterprise.v3.admin.adapter.InstallerThread.run(InstallerThread.java:77)
Caused by: com.sun.enterprise.module.ResolveError: Failed to start OSGiModuleImpl:: Bundle = [jakarta.json-api [233]], State = [NEW]
at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:193)
at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.resolve(OSGiModuleImpl.java:148)
at com.sun.enterprise.module.common_impl.AbstractModulesRegistryImpl.makeModuleFor(AbstractModulesRegistryImpl.java:316)
... 10 more
Caused by: org.osgi.framework.BundleException: Unable to resolve jakarta.json-api [233](R 233.0): missing requirement [jakarta.json-api [233](R 233.0)] osgi.wiring.package; (osgi.wiring.package=org.eclipse.parsson) Unresolved requirements: [[jakarta.json-api [233](R 233.0)] osgi.wiring.package; (osgi.wiring.package=org.eclipse.parsson)]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4398)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2308)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:1006)
at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.startBundle(OSGiModuleImpl.java:224)
at org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:185)
... 12 more
]]
The text was updated successfully, but these errors were encountered:
Environment Details
Problem Description
Here is the error in GlassFish when both
jakarta.json-api
andorg.eclipse.parsson
are set toHK2-Import-Bundles
in admingui/war/pom.xml ( relates eclipse-ee4j/glassfish#23782 ).This OSGi interdependence appears to be caused by a wildcard(*) being set in the
DynamicImport-Package
.The text was updated successfully, but these errors were encountered: