Uploaded image for project: 'Keycloak'
  1. Keycloak
  2. KEYCLOAK-7378

Fuse 6.3 JAX-RS example does not start

    Details

    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      Exception when installing org.keycloak.example.demo.cxf-jaxrs-example/4.0.0.Beta3-SNAPSHOT on Fuse 6.3.0.redhat-343:

      org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to initialize bean cxfJaxrsServer
          at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:738)[22:org.apache.aries.blueprint.core:1.8.0]
          at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:848)[22:org.apache.aries.blueprint.core:1.8.0]
          at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:811)[22:org.apache.aries.blueprint.core:1.8.0]
          at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[22:org.apache.aries.blueprint.core:1.8.0]
          at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_131]
          at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)[22:org.apache.aries.blueprint.core:1.8.0]
          at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:255)[22:org.apache.aries.blueprint.core:1.8.0]
          at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:186)[22:org.apache.aries.blueprint.core:1.8.0]
          at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:725)[22:org.apache.aries.blueprint.core:1.8.0]
          at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:412)[22:org.apache.aries.blueprint.core:1.8.0]
          at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:277)[22:org.apache.aries.blueprint.core:1.8.0]
          at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:300)[22:org.apache.aries.blueprint.core:1.8.0]
          at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:269)[22:org.apache.aries.blueprint.core:1.8.0]
          at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:265)[22:org.apache.aries.blueprint.core:1.8.0]
          at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:255)[22:org.apache.aries.blueprint.core:1.8.0]
          at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)[22:org.apache.aries.blueprint.core:1.8.0]
          at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)[22:org.apache.aries.blueprint.core:1.8.0]
          at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)[22:org.apache.aries.blueprint.core:1.8.0]
          at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)[22:org.apache.aries.blueprint.core:1.8.0]
          at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)[22:org.apache.aries.blueprint.core:1.8.0]
          at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1127)[org.apache.felix.framework-4.4.1.jar:]
          at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:696)[org.apache.felix.framework-4.4.1.jar:]
          at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:484)[org.apache.felix.framework-4.4.1.jar:]
          at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4429)[org.apache.felix.framework-4.4.1.jar:]
          at org.apache.felix.framework.Felix.startBundle(Felix.java:2100)[org.apache.felix.framework-4.4.1.jar:]
          at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1299)[org.apache.felix.framework-4.4.1.jar:]
          at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)[org.apache.felix.framework-4.4.1.jar:]
          at java.lang.Thread.run(Thread.java:748)[:1.8.0_131]
      Caused by: org.apache.cxf.service.factory.ServiceConstructionException
          at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.create(JAXRSServerFactoryBean.java:219)
          at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.init(JAXRSServerFactoryBean.java:142)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_131]
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_131]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_131]
          at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_131]
          at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:299)[22:org.apache.aries.blueprint.core:1.8.0]
          at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:980)[22:org.apache.aries.blueprint.core:1.8.0]
          at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:736)[22:org.apache.aries.blueprint.core:1.8.0]
          ... 27 more
      Caused by: org.apache.cxf.service.factory.ServiceConstructionException: No resource classes found
          at org.apache.cxf.jaxrs.AbstractJAXRSFactoryBean.checkResources(AbstractJAXRSFactoryBean.java:317)
          at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.create(JAXRSServerFactoryBean.java:159)
          ... 35 more
      

      Caused by missing OSGi import of javax.ws.rs package.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                hmlnarik Hynek Mlnařík
                Reporter:
                hmlnarik Hynek Mlnařík
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: