org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.stanbol.reasoners.web [184]: Unable to resolve 184.1: missing requirement [184.1] package; (&(package=org.apache.stanbol.ontologymanager.ontonet.api)(version>=0.10.0)(!(version>=1.0.0)))

stanbol-dev | Daniele Perlo | 3 years ago
  1. 0

    Re: Unable to reach reasoner endpoints

    stanbol-dev | 3 years ago | Daniele Perlo
    org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.stanbol.reasoners.web [184]: Unable to resolve 184.1: missing requirement [184.1] package; (&(package=org.apache.stanbol.ontologymanager.ontonet.api)(version>=0.10.0)(!(version>=1.0.0)))
  2. 0

    [JDK-8020071] Unable to start Glassfish 3.1.1. with JDK 8 - Java Bug System

    java.net | 11 months ago
    org.osgi.framework.BundleException: Unresolved constraint in bundle org.glassfish.metro.webservices-api-osgi [3]: Unable to resolve 3.0: missing requirement [3.0] package; (&(package=javax.xml.bind)(version>=2.2.0)) [caused by: Unable to resolve 2. 0: missing requirement [2.0] package; (package=javax.activation)]
  3. 0

    FULL PRODUCT VERSION : C:\Users\andrii_rodionov>java -version java version " 1.8.0-ea " Java(TM) SE Runtime Environment (build 1.8.0-ea-b94) Java HotSpot(TM) Client VM (build 25.0-b36, mixed mode, sharing) C:\Users\andrii_rodionov>c:\Servers\glassfish3\bin\asadmin version Version = GlassFish Server Open Source Edition 3.1.1 (build 12) Command version executed successfully. A DESCRIPTION OF THE PROBLEM : Unable to start Glassfish 3.1.1. with JDK 8 Early Access STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : 1. Modify the AS_JAVA variable in the GlassFish config file ?asenv.conf? 2. Start glassfish: C:\Users\andrii_rodionov>c:\Servers\glassfish3\bin\asadmin start-domain domain1 EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - Glassfish started ACTUAL - Command start-domain failed ERROR MESSAGES/STACK TRACES THAT OCCUR : C:\Users\andrii_rodionov>c:\Servers\glassfish3\bin\asadmin start-domain domain1 Waiting for domain1 to start ..Error starting domain domain1. The server exited prematurely with exit code 1. Before it died, it produced the following output: Launching GlassFish on Felix platform ERROR: Bundle jaxb-api [2]: Error starting file:/C:/Servers/glassfish3/glassfish/modules/endorsed/jaxb-api-osgi.jar (org.osg i.framework.BundleException: Unresolved constraint in bundle jaxb-api [2]: Unable to resolve 2.0: missing requirement [2.0] package; (package=javax.activation)) ERROR: Bundle org.glassfish.metro.webservices-api-osgi [3]: Error starting file:/C:/Servers/glassfish3/glassfish/modules/end orsed/webservices-api-osgi.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.glassfish.metro.webs ervices-api-osgi [3]: Unable to resolve 3.0: missing requirement [3.0] package; (&(package=javax.xml.bind)(version>=2.2.0)) [caused by: Unable to resolve 2.0: missing requirement [2.0] package; (package=javax.activation)]) ERROR: Bundle org.glassfish.core.glassfish [103]: Error starting file:/C:/Servers/glassfish3/glassfish/modules/glassfish.jar (org.osgi.framework.BundleException: Activator start error in bundle org.glassfish.core.glassfish [103].) ERROR: Bundle com.sun.enterprise.osgi-adapter [199]: Error starting file:/C:/Servers/glassfish3/glassfish/modules/osgi-adapt er.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle com.sun.enterprise.osgi-adapter [199]: Unable to resolve 199.0: missing requirement [199.0] package; (&(package=com.sun.enterprise.module)(version>=1.1.0)) [caused by: Unab le to resolve 122.0: missing requirement [122.0] package; (&(package=org.jvnet.hk2.config)(version>=1.1.0)) [caused by: Unab le to resolve 38.0: missing requirement [38.0] package; (package=javax.management)]]) org.osgi.framework.BundleException: Unresolved constraint in bundle jaxb-api [2]: Unable to resolve 2.0: missing requirement [2.0] package; (package=javax.activation) at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3443) at org.apache.felix.framework.Felix.startBundle(Felix.java:1727) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1156) at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264) at java.lang.Thread.run(Thread.java:724) org.osgi.framework.BundleException: Unresolved constraint in bundle org.glassfish.metro.webservices-api-osgi [3]: Unable to resolve 3.0: missing requirement [3.0] package; (&(package=javax.xml.bind)(version>=2.2.0)) [caused by: Unable to resolve 2. 0: missing requirement [2.0] package; (package=javax.activation)] at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3443) at org.apache.felix.framework.Felix.startBundle(Felix.java:1727) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1156) at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264) at java.lang.Thread.run(Thread.java:724) java.lang.NoClassDefFoundError: com/sun/enterprise/module/bootstrap/BootException at com.sun.enterprise.glassfish.bootstrap.osgi.GlassFishMainActivator.start(GlassFishMainActivator.java:103) at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629) at org.apache.felix.framework.Felix.activateBundle(Felix.java:1835) at org.apache.felix.framework.Felix.startBundle(Felix.java:1752) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1156) at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264) at java.lang.Thread.run(Thread.java:724) Caused by: java.lang.ClassNotFoundException: com.sun.enterprise.module.bootstrap.BootException not found by org.glassfish.co re.glassfish [103] at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:787) at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:71) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1768) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) ... 7 more org.osgi.framework.BundleException: Unresolved constraint in bundle com.sun.enterprise.osgi-adapter [199]: Unable to resolve 199.0: missing requirement [199.0] package; (&(package=com.sun.enterprise.module)(version>=1.1.0)) [caused by: Unable to re solve 122.0: missing requirement [122.0] package; (&(package=org.jvnet.hk2.config)(version>=1.1.0)) [caused by: Unable to re solve 38.0: missing requirement [38.0] package; (package=javax.management)]] at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3443) at org.apache.felix.framework.Felix.startBundle(Felix.java:1727) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1156) at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264) at java.lang.Thread.run(Thread.java:724) Exception in thread " main " java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:491) at com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:97) at com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:55) Caused by: org.glassfish.embeddable.GlassFishException: org.glassfish.embeddable.GlassFishException: No GlassFishRuntime ava ilable at com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishRuntimeBuilder.build(OSGiGlassFishRuntimeBuilder.java:16 4) 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:112) ... 6 more Caused by: org.glassfish.embeddable.GlassFishException: No GlassFishRuntime available at com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishRuntimeBuilder.getGlassFishRuntime(OSGiGlassFishRuntimeB uilder.java:202) at com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishRuntimeBuilder.build(OSGiGlassFishRuntimeBuilder.java:16 2) ... 9 more Error stopping framework: java.lang.NullPointerException java.lang.NullPointerException at com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher$1.run(GlassFishMain.java:203) Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=192m; support was removed in 8.0 Command start-domain failed. REPRODUCIBILITY : This bug can be reproduced always.

    JDK Bug System | 3 years ago | Webbug Group
    org.osgi.framework.BundleException: Unresolved constraint in bundle com.sun.enterprise.osgi-adapter [199]: Unable to resolve 199.0: missing requirement [199.0] package; (&(package=com.sun.enterprise.module)(version>=1.1.0)) [caused by: Unable to re solve 122.0: missing requirement [122.0] package; (&(package=org.jvnet.hk2.config)(version>=1.1.0)) [caused by: Unable to re solve 38.0: missing requirement [38.0] package; (package=javax.management)]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    FULL PRODUCT VERSION : C:\Users\andrii_rodionov>java -version java version " 1.8.0-ea " Java(TM) SE Runtime Environment (build 1.8.0-ea-b94) Java HotSpot(TM) Client VM (build 25.0-b36, mixed mode, sharing) C:\Users\andrii_rodionov>c:\Servers\glassfish3\bin\asadmin version Version = GlassFish Server Open Source Edition 3.1.1 (build 12) Command version executed successfully. A DESCRIPTION OF THE PROBLEM : Unable to start Glassfish 3.1.1. with JDK 8 Early Access STEPS TO FOLLOW TO REPRODUCE THE PROBLEM : 1. Modify the AS_JAVA variable in the GlassFish config file ?asenv.conf? 2. Start glassfish: C:\Users\andrii_rodionov>c:\Servers\glassfish3\bin\asadmin start-domain domain1 EXPECTED VERSUS ACTUAL BEHAVIOR : EXPECTED - Glassfish started ACTUAL - Command start-domain failed ERROR MESSAGES/STACK TRACES THAT OCCUR : C:\Users\andrii_rodionov>c:\Servers\glassfish3\bin\asadmin start-domain domain1 Waiting for domain1 to start ..Error starting domain domain1. The server exited prematurely with exit code 1. Before it died, it produced the following output: Launching GlassFish on Felix platform ERROR: Bundle jaxb-api [2]: Error starting file:/C:/Servers/glassfish3/glassfish/modules/endorsed/jaxb-api-osgi.jar (org.osg i.framework.BundleException: Unresolved constraint in bundle jaxb-api [2]: Unable to resolve 2.0: missing requirement [2.0] package; (package=javax.activation)) ERROR: Bundle org.glassfish.metro.webservices-api-osgi [3]: Error starting file:/C:/Servers/glassfish3/glassfish/modules/end orsed/webservices-api-osgi.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.glassfish.metro.webs ervices-api-osgi [3]: Unable to resolve 3.0: missing requirement [3.0] package; (&(package=javax.xml.bind)(version>=2.2.0)) [caused by: Unable to resolve 2.0: missing requirement [2.0] package; (package=javax.activation)]) ERROR: Bundle org.glassfish.core.glassfish [103]: Error starting file:/C:/Servers/glassfish3/glassfish/modules/glassfish.jar (org.osgi.framework.BundleException: Activator start error in bundle org.glassfish.core.glassfish [103].) ERROR: Bundle com.sun.enterprise.osgi-adapter [199]: Error starting file:/C:/Servers/glassfish3/glassfish/modules/osgi-adapt er.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle com.sun.enterprise.osgi-adapter [199]: Unable to resolve 199.0: missing requirement [199.0] package; (&(package=com.sun.enterprise.module)(version>=1.1.0)) [caused by: Unab le to resolve 122.0: missing requirement [122.0] package; (&(package=org.jvnet.hk2.config)(version>=1.1.0)) [caused by: Unab le to resolve 38.0: missing requirement [38.0] package; (package=javax.management)]]) org.osgi.framework.BundleException: Unresolved constraint in bundle jaxb-api [2]: Unable to resolve 2.0: missing requirement [2.0] package; (package=javax.activation) at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3443) at org.apache.felix.framework.Felix.startBundle(Felix.java:1727) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1156) at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264) at java.lang.Thread.run(Thread.java:724) org.osgi.framework.BundleException: Unresolved constraint in bundle org.glassfish.metro.webservices-api-osgi [3]: Unable to resolve 3.0: missing requirement [3.0] package; (&(package=javax.xml.bind)(version>=2.2.0)) [caused by: Unable to resolve 2. 0: missing requirement [2.0] package; (package=javax.activation)] at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3443) at org.apache.felix.framework.Felix.startBundle(Felix.java:1727) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1156) at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264) at java.lang.Thread.run(Thread.java:724) java.lang.NoClassDefFoundError: com/sun/enterprise/module/bootstrap/BootException at com.sun.enterprise.glassfish.bootstrap.osgi.GlassFishMainActivator.start(GlassFishMainActivator.java:103) at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:629) at org.apache.felix.framework.Felix.activateBundle(Felix.java:1835) at org.apache.felix.framework.Felix.startBundle(Felix.java:1752) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1156) at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264) at java.lang.Thread.run(Thread.java:724) Caused by: java.lang.ClassNotFoundException: com.sun.enterprise.module.bootstrap.BootException not found by org.glassfish.co re.glassfish [103] at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:787) at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:71) at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1768) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) ... 7 more org.osgi.framework.BundleException: Unresolved constraint in bundle com.sun.enterprise.osgi-adapter [199]: Unable to resolve 199.0: missing requirement [199.0] package; (&(package=com.sun.enterprise.module)(version>=1.1.0)) [caused by: Unable to re solve 122.0: missing requirement [122.0] package; (&(package=org.jvnet.hk2.config)(version>=1.1.0)) [caused by: Unable to re solve 38.0: missing requirement [38.0] package; (package=javax.management)]] at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3443) at org.apache.felix.framework.Felix.startBundle(Felix.java:1727) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1156) at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264) at java.lang.Thread.run(Thread.java:724) Exception in thread " main " java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:491) at com.sun.enterprise.glassfish.bootstrap.GlassFishMain.main(GlassFishMain.java:97) at com.sun.enterprise.glassfish.bootstrap.ASMain.main(ASMain.java:55) Caused by: org.glassfish.embeddable.GlassFishException: org.glassfish.embeddable.GlassFishException: No GlassFishRuntime ava ilable at com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishRuntimeBuilder.build(OSGiGlassFishRuntimeBuilder.java:16 4) 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:112) ... 6 more Caused by: org.glassfish.embeddable.GlassFishException: No GlassFishRuntime available at com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishRuntimeBuilder.getGlassFishRuntime(OSGiGlassFishRuntimeB uilder.java:202) at com.sun.enterprise.glassfish.bootstrap.osgi.OSGiGlassFishRuntimeBuilder.build(OSGiGlassFishRuntimeBuilder.java:16 2) ... 9 more Error stopping framework: java.lang.NullPointerException java.lang.NullPointerException at com.sun.enterprise.glassfish.bootstrap.GlassFishMain$Launcher$1.run(GlassFishMain.java:203) Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=192m; support was removed in 8.0 Command start-domain failed. REPRODUCIBILITY : This bug can be reproduced always.

    JDK Bug System | 3 years ago | Webbug Group
    org.osgi.framework.BundleException: Unresolved constraint in bundle com.sun.enterprise.osgi-adapter [199]: Unable to resolve 199.0: missing requirement [199.0] package; (&(package=com.sun.enterprise.module)(version>=1.1.0)) [caused by: Unable to re solve 122.0: missing requirement [122.0] package; (&(package=org.jvnet.hk2.config)(version>=1.1.0)) [caused by: Unable to re solve 38.0: missing requirement [38.0] package; (package=javax.management)]]
  6. 0

    Unable to reach reasoner endpoints

    stanbol-dev | 3 years ago | Daniele Perlo
    org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.stanbol.enhancer.engines.refactor [72]: Unable to resolve 72.0: missing requirement [72.0] package; (&(package=org.apache.stanbol.ontologymanager.servicesapi.collector)(version>=0.10.0)(!(version>=1.0.0)))

    3 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.osgi.framework.BundleException

      Unresolved constraint in bundle org.apache.stanbol.reasoners.web [184]: Unable to resolve 184.1: missing requirement [184.1] package; (&(package=org.apache.stanbol.ontologymanager.ontonet.api)(version>=0.10.0)(!(version>=1.0.0)))

      at org.apache.felix.framework.Felix.resolveBundle()
    2. Apache Felix Framework
      StartLevelImpl.run
      1. org.apache.felix.framework.Felix.resolveBundle(Felix.java:3443)
      2. org.apache.felix.framework.Felix.startBundle(Felix.java:1727)
      3. org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1156)
      4. org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
      4 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:724)
      1 frame