Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-11267

Nexus boots into wrong mode, fails to start

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.0
    • Component/s: Bootstrap, Licensing
    • Labels:
      None

      Description

      3.1 EA user reports that their Nexus can't boot; the log indicates that Nexus started in one mode, but after a license check flips into another mode, but then can't find the appropriate bundles. Example exception:

      Caused by: org.osgi.service.resolver.ResolutionException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=nexus-pro-feature; type=karaf.feature; version="[3.1.0.b2016092101,3.1.0.b2016092101]"; filter:="(&(osgi.identity=nexus-pro-feature)(type=karaf.feature)(version>=3.1.0.b2016092101)(version<=3.1.0.b2016092101))" [caused by: Unable to resolve nexus-pro-feature/3.1.0.b2016092101: missing requirement [nexus-pro-feature/3.1.0.b2016092101] osgi.identity; osgi.identity=nexus-crowd-plugin; type=karaf.feature [caused by: Unable to resolve nexus-crowd-plugin/3.1.0.b2016092101: missing requirement [nexus-crowd-plugin/3.1.0.b2016092101] osgi.identity; osgi.identity=com.sonatype.nexus.plugins.nexus-crowd-plugin; type=osgi.bundle; version="[3.1.0.b2016092101,3.1.0.b2016092101]"; resolution:=mandatory [caused by: Unable to resolve com.sonatype.nexus.plugins.nexus-crowd-plugin/3.1.0.b2016092101: missing requirement [com.sonatype.nexus.plugins.nexus-crowd-plugin/3.1.0.b2016092101] osgi.wiring.package; filter:="(&(osgi.wiring.package=com.sonatype.nexus.licensing.ext.capability)(version>=3.1.0))"]]]
              at org.apache.felix.resolver.ResolutionError.toException(ResolutionError.java:42) [na:na]
              at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:235) [na:na]
              at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:158) [na:na]
              at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:216) [na:na]
              at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:263) [na:na]
              at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1152) [na:na]
              at org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:1048) [na:na]
              at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_92]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_92]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_92]
              at java.lang.Thread.run(Thread.java:745) [na:1.8.0_92]
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            mprescott Michael Prescott
            Last Updated By:
            Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title