cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hendy Irawan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-4571) javax.ws.rs.WebApplicationException when creating jaxrs:server under OSGi Blueprint
Date Tue, 06 Nov 2012 17:14:12 GMT

    [ https://issues.apache.org/jira/browse/CXF-4571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13491624#comment-13491624
] 

Hendy Irawan commented on CXF-4571:
-----------------------------------

the test app isn't running yet, the list of bundles so far:

{code}
karaf@root> list -s -t 0
START LEVEL 100 , List Threshold: 0
   ID   State         Blueprint      Level  Symbolic name
[   0] [Active     ] [            ] [    0] org.apache.felix.framework (4.0.3)
[   1] [Active     ] [            ] [    5] org.ops4j.pax.url.mvn (1.3.5)
[   2] [Active     ] [            ] [    5] org.ops4j.pax.url.wrap (1.3.5)
[   3] [Active     ] [            ] [    8] org.ops4j.pax.logging.pax-logging-service (1.7.0)
[   4] [Active     ] [            ] [    8] org.ops4j.pax.logging.pax-logging-api (1.7.0)
[   5] [Active     ] [            ] [   10] org.apache.felix.configadmin (1.4.0)
[   6] [Active     ] [            ] [   11] org.apache.felix.fileinstall (3.2.6)
[   7] [Active     ] [Created     ] [   20] org.apache.aries.blueprint.core (1.0.1)
[   8] [Active     ] [            ] [   20] org.apache.aries.util (1.0.0)
[   9] [Active     ] [            ] [   20] org.apache.aries.proxy.api (1.0.0)
[  10] [Active     ] [            ] [   20] org.objectweb.asm.all (4.0)
[  11] [Active     ] [            ] [   20] org.apache.aries.blueprint.api (1.0.0)
[  12] [Active     ] [            ] [   20] org.apache.aries.proxy.impl (1.0.0)
[  13] [Active     ] [Created     ] [   20] org.apache.aries.blueprint.cm (1.0.0)
[  14] [Active     ] [Created     ] [   25] org.apache.karaf.shell.console (2.3.0)
[  15] [Active     ] [Created     ] [   28] org.apache.karaf.deployer.blueprint (2.3.0)
[  16] [Active     ] [Created     ] [   28] org.apache.karaf.deployer.spring (2.3.0)
[  17] [Active     ] [Created     ] [   30] org.apache.karaf.shell.ssh (2.3.0)
[  18] [Active     ] [Created     ] [   30] org.apache.karaf.management.server (2.3.0)
[  19] [Active     ] [Created     ] [   30] org.apache.karaf.shell.commands (2.3.0)
[  20] [Active     ] [Created     ] [   30] org.apache.karaf.features.core (2.3.0)
[  21] [Active     ] [Created     ] [   30] org.apache.karaf.shell.log (2.3.0)
[  22] [Active     ] [Created     ] [   30] org.apache.karaf.features.command (2.3.0)
[  23] [Active     ] [Created     ] [   30] org.apache.karaf.diagnostic.management (2.3.0)
[  24] [Active     ] [            ] [   30] org.apache.sshd.core (0.8.0)
[  25] [Active     ] [Created     ] [   30] org.apache.karaf.deployer.wrap (2.3.0)
[  26] [Active     ] [            ] [   30] org.apache.mina.core (2.0.7)
[  27] [Active     ] [Created     ] [   30] org.apache.karaf.admin.command (2.3.0)
[  28] [Active     ] [Created     ] [   30] org.apache.karaf.diagnostic.command (2.3.0)
[  29] [Active     ] [            ] [   30] org.apache.aries.jmx.core (1.0.1)
[  30] [Active     ] [            ] [   30] org.apache.karaf.diagnostic.core (2.3.0)
[  31] [Active     ] [Created     ] [   30] org.apache.karaf.admin.management (2.3.0)
[  32] [Active     ] [            ] [   30] org.apache.aries.jmx.api (1.0.0)
[  33] [Active     ] [Created     ] [   30] org.apache.karaf.diagnostic.common (2.3.0)
[  34] [Active     ] [Created     ] [   30] org.apache.karaf.shell.dev (2.3.0)
[  35] [Active     ] [Created     ] [   30] org.apache.karaf.deployer.features (2.3.0)
[  36] [Active     ] [            ] [   30] org.apache.aries.jmx.blueprint.api (1.0.0)
[  37] [Active     ] [Created     ] [   30] org.apache.karaf.jaas.command (2.3.0)
[  38] [Active     ] [Created     ] [   30] org.apache.karaf.jaas.modules (2.3.0)
[  39] [Active     ] [Created     ] [   30] org.apache.karaf.shell.osgi (2.3.0)
[  40] [Active     ] [Created     ] [   30] org.apache.karaf.features.management (2.3.0)
[  41] [Active     ] [Created     ] [   30] org.apache.karaf.shell.packages (2.3.0)
[  42] [Active     ] [            ] [   30] org.apache.aries.jmx.blueprint.core (1.0.1)
[  43] [Active     ] [Created     ] [   30] org.apache.karaf.admin.core (2.3.0)
[  44] [Active     ] [Created     ] [   30] org.apache.karaf.deployer.kar (2.3.0)
[  45] [Active     ] [Created     ] [   30] org.apache.karaf.jaas.config (2.3.0)
[  46] [Active     ] [Created     ] [   30] org.apache.karaf.shell.config (2.3.0)
[  47] [Active     ] [Created     ] [   30] org.apache.karaf.management.mbeans.system (2.3.0)
[  48] [Active     ] [Created     ] [   30] org.apache.karaf.management.mbeans.bundles (2.3.0)
[  49] [Active     ] [Created     ] [   30] org.apache.karaf.management.mbeans.services (2.3.0)
[  50] [Active     ] [Created     ] [   30] org.apache.karaf.management.mbeans.config (2.3.0)
[  51] [Active     ] [Created     ] [   30] org.apache.karaf.management.mbeans.log (2.3.0)
[  52] [Active     ] [Created     ] [   30] org.apache.karaf.management.mbeans.packages (2.3.0)
[  53] [Active     ] [Created     ] [   30] org.apache.karaf.management.mbeans.dev (2.3.0)
[  54] [Active     ] [            ] [    9] org.apache.geronimo.specs.geronimo-osgi-registry
(1.1)
[  55] [Active     ] [            ] [   10] org.apache.servicemix.specs.activation-api-1.1
(2.1.0)
[  56] [Active     ] [            ] [   10] org.apache.geronimo.specs.geronimo-annotation_1.0_spec
(1.1.1)
[  57] [Active     ] [            ] [   10] org.apache.geronimo.specs.geronimo-ws-metadata_2.0_spec
(1.1.3)
[  58] [Active     ] [            ] [   10] org.apache.servicemix.specs.stax-api-1.0 (2.1.0)
[  59] [Active     ] [            ] [   10] org.apache.servicemix.specs.jaxb-api-2.2 (2.1.0)
[  60] [Active     ] [            ] [   10] org.apache.servicemix.specs.jaxws-api-2.2 (2.1.0)
[  61] [Active     ] [            ] [   10] org.apache.servicemix.specs.saaj-api-1.3 (2.1.0)
[  62] [Active     ] [            ] [   10] org.apache.servicemix.specs.jsr339-api-m10 (2.1.0)
[  63] [Active     ] [            ] [   10] javax.mail (1.4.4)
[  64] [Active     ] [            ] [   20] stax2-api (3.1.1)
[  65] [Active     ] [            ] [   20] woodstox-core-asl (4.1.4)
[  66] [Active     ] [            ] [   20] org.apache.servicemix.bundles.jaxb-impl (2.2.1.1_2)
[  67] [Active     ] [            ] [   20] org.apache.servicemix.bundles.jaxb-xjc (2.2.1.1_2)
[  68] [Active     ] [            ] [   30] org.apache.ws.xmlschema.core (2.0.3)
[  69] [Active     ] [            ] [   30] org.apache.servicemix.bundles.wsdl4j (1.6.2.6)
[  70] [Active     ] [            ] [   30] org.apache.servicemix.bundles.xmlresolver (1.2.0.5)
[  71] [Active     ] [            ] [   30] org.apache.servicemix.bundles.fastinfoset (1.2.7.4)
[  72] [Active     ] [Created     ] [   40] org.apache.cxf.cxf-api (2.7.0)
[  73] [Active     ] [Created     ] [   40] org.apache.cxf.cxf-rt-core (2.7.0)
[  74] [Active     ] [            ] [   40] org.apache.cxf.cxf-rt-management (2.7.0)
[  75] [Active     ] [Created     ] [   40] org.apache.cxf.karaf.cxf-karaf-commands (2.7.0)
[  76] [Active     ] [            ] [   30] org.apache.geronimo.specs.geronimo-servlet_2.5_spec
(1.1.2)
[  77] [Active     ] [            ] [   30] javax.mail (1.4.5)
[  78] [Active     ] [            ] [   30] org.apache.geronimo.specs.geronimo-jta_1.1_spec
(1.1.1)
[  79] [Active     ] [            ] [   30] org.eclipse.jetty.util (7.6.7.v20120910)
[  80] [Active     ] [            ] [   30] org.eclipse.jetty.io (7.6.7.v20120910)
[  81] [Active     ] [            ] [   30] org.eclipse.jetty.http (7.6.7.v20120910)
[  82] [Active     ] [            ] [   30] org.eclipse.jetty.client (7.6.7.v20120910)
[  83] [Active     ] [            ] [   30] org.eclipse.jetty.continuation (7.6.7.v20120910)
[  84] [Active     ] [            ] [   30] org.eclipse.jetty.jmx (7.6.7.v20120910)
[  85] [Active     ] [            ] [   30] org.eclipse.jetty.server (7.6.7.v20120910)
[  86] [Active     ] [            ] [   30] org.eclipse.jetty.security (7.6.7.v20120910)
[  87] [Active     ] [            ] [   30] org.eclipse.jetty.servlet (7.6.7.v20120910)
[  88] [Active     ] [            ] [   30] org.eclipse.jetty.servlets (7.6.7.v20120910)
[  89] [Active     ] [            ] [   30] org.eclipse.jetty.xml (7.6.7.v20120910)
[  90] [Active     ] [            ] [   30] org.eclipse.jetty.webapp (7.6.7.v20120910)
[  91] [Active     ] [            ] [   30] org.eclipse.jetty.jndi (7.6.7.v20120910)
[  92] [Active     ] [            ] [   30] org.eclipse.jetty.plus (7.6.7.v20120910)
[  93] [Active     ] [            ] [   30] org.eclipse.jetty.websocket (7.6.7.v20120910)
[  94] [Active     ] [            ] [   30] org.ops4j.pax.web.pax-web-api (1.1.3)
[  95] [Active     ] [            ] [   30] org.ops4j.pax.web.pax-web-spi (1.1.3)
[  96] [Active     ] [            ] [   30] org.ops4j.pax.web.pax-web-runtime (1.1.3)
[  97] [Active     ] [            ] [   30] org.ops4j.pax.web.pax-web-jetty (1.1.3)
[  98] [Active     ] [            ] [   30] org.ops4j.pax.web.pax-web-extender-whiteboard
(1.1.3)
[  99] [Active     ] [Created     ] [   40] org.apache.cxf.cxf-rt-transports-http (2.7.0)
[ 100] [Active     ] [            ] [   30] org.codehaus.jettison.jettison (1.3.2)
[ 101] [Active     ] [            ] [   40] org.apache.cxf.cxf-rt-bindings-xml (2.7.0)
[ 102] [Active     ] [            ] [   40] org.apache.cxf.cxf-rt-rs-extension-providers (2.7.0)
[ 103] [Active     ] [            ] [   40] org.apache.cxf.cxf-rt-rs-extension-search (2.7.0)
[ 104] [Active     ] [Created     ] [   40] org.apache.cxf.cxf-rt-frontend-jaxrs (2.7.0)
[ 105] [Installed  ] [            ] [   80] com.hendyirawan.cxf4571bug.app (1.0.0.SNAPSHOT)
[ 106] [Active     ] [            ] [   80] org.apache.geronimo.specs.geronimo-annotation_1.1_spec
(1.0.1)
[ 107] [Active     ] [            ] [   80] com.google.guava (13.0.1)
[ 108] [Active     ] [            ] [   80] org.apache.commons.io (2.4.0)
[ 109] [Active     ] [            ] [   80] org.apache.commons.lang3 (3.1.0)
[ 110] [Active     ] [            ] [   80] org.apache.commons.codec (1.7.0)
[ 111] [Active     ] [            ] [   80] org.apache.servicemix.bundles.xpp3 (1.1.0.4c_6)
[ 112] [Active     ] [            ] [   80] org.apache.servicemix.bundles.xstream (1.4.1.1)
[ 113] [Active     ] [            ] [   80] com.fasterxml.jackson.core.jackson-core (2.1.0)
[ 114] [Active     ] [            ] [   80] com.fasterxml.jackson.core.jackson-annotations
(2.1.0)
[ 115] [Active     ] [            ] [   80] com.fasterxml.jackson.core.jackson-databind (2.1.0)
[ 116] [Active     ] [            ] [   80] joda-time (2.1)
[ 117] [Active     ] [            ] [   80] org.joda.money (0.6)
[ 118] [Active     ] [            ] [   80] com.fasterxml.jackson.datatype.jackson-datatype-joda
(2.1.0)
[ 119] [Active     ] [            ] [   80] com.fasterxml.jackson.datatype.jackson-datatype-guava
(2.1.0)
[ 120] [Active     ] [            ] [   80] org.apache.servicemix.bundles.commons-beanutils
(1.8.3.1)
[ 121] [Active     ] [            ] [   80] org.apache.servicemix.bundles.cglib (2.1.0.3_7)
[ 122] [Active     ] [            ] [   40] org.apache.cxf.cxf-rt-databinding-jaxb (2.7.0)
[ 123] [Active     ] [            ] [   80] com.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider
(2.1.0)
[ 131] [Active     ] [Created     ] [   80] soluvas-json (1.1.0.SNAPSHOT)
[ 132] [Active     ] [            ] [   80] soluvas-jaxrs (1.1.0.SNAPSHOT)
[ 133] [Active     ] [            ] [   80] org.apache.servicemix.specs.jsr311-api-1.1.1 (2.0.0)
[ 134] [Active     ] [            ] [   80] jackson-core-asl (1.9.9)
[ 135] [Active     ] [            ] [   80] jackson-mapper-asl (1.9.9)
[ 136] [Active     ] [Created     ] [   80] soluvas-multitenant (1.1.0.SNAPSHOT)
{code}
                
> javax.ws.rs.WebApplicationException when creating jaxrs:server under OSGi Blueprint
> -----------------------------------------------------------------------------------
>
>                 Key: CXF-4571
>                 URL: https://issues.apache.org/jira/browse/CXF-4571
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS, OSGi
>    Affects Versions: 2.7.0
>         Environment: Karaf
>   Karaf version               2.3.0
>   Karaf home                  /home/ceefour/git/bippo-commerce5/karaf
>   Karaf base                  /home/ceefour/git/bippo-commerce5/karaf
>   OSGi Framework              org.apache.felix.framework - 4.0.3
> JVM
>   Java Virtual Machine        OpenJDK 64-Bit Server VM version 23.2-b09
>   Version                     1.7.0_07
>   Vendor                      Oracle Corporation
>   Uptime                      8 minutes
>   Total compile time          21.924 seconds
> Threads
>   Live threads                74
>   Daemon threads              60
>   Peak                        108
>   Total started               205
> Memory
>   Current heap size           84,771 kbytes
>   Maximum heap size           466,048 kbytes
>   Committed heap size         263,360 kbytes
>   Pending objects             0
>   Garbage collector           Name = 'PS Scavenge', Collections = 43, Time = 0.272 seconds
>   Garbage collector           Name = 'PS MarkSweep', Collections = 2, Time = 0.220 seconds
> Classes
>   Current classes loaded      8,882
>   Total classes loaded        8,883
>   Total classes unloaded      1
> Operating system
>   Name                        Linux version 3.2.0-31-generic
>   Architecture                amd64
>   Processors                  8
>            Reporter: Hendy Irawan
>
> A relatively straightforward server:
> {code}
> <jaxrs:server id="requireServer" address="/require">
> 	<jaxrs:serviceBeans>
> 		<bean class="org.soluvas.web.backbone.RequireResource">
> 			<argument ref="jsModules"/>
> 			<argument ref="jsShims"/>
> 		</bean>
> 	</jaxrs:serviceBeans>
> </jaxrs:server>
> {code}
> throws error like below.
> Sample stacktrace:
> {code}
> 2012-10-16 16:06:19,498 | ERROR | rint Extender: 2 | BlueprintContainerImpl         
 | container.BlueprintContainerImpl  375 | 7 - org.apache.aries.blueprint.core - 1.0.1 | Unable
to start blueprint container for bundle org.soluvas.web.backbone
> org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to intialize
bean requireServer
>         at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:714)[7:org.apache.aries.blueprint.core:1.0.1]
>         at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:824)[7:org.apache.aries.blueprint.core:1.0.1]
>         at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)[7:org.apache.aries.blueprint.core:1.0.1]
>         at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[7:org.apache.aries.blueprint.core:1.0.1]
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.7.0_07]
>         at java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.7.0_07]
>         at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)[7:org.apache.aries.blueprint.core:1.0.1]
>         at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245)[7:org.apache.aries.blueprint.core:1.0.1]
>         at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183)[7:org.apache.aries.blueprint.core:1.0.1]
>         at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:646)[7:org.apache.aries.blueprint.core:1.0.1]
>         at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:353)[7:org.apache.aries.blueprint.core:1.0.1]
>         at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:252)[7:org.apache.aries.blueprint.core:1.0.1]
>         at org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:48)[7:org.apache.aries.blueprint.core:1.0.1]
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_07]
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.7.0_07]
>         at java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.7.0_07]
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)[:1.7.0_07]
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)[:1.7.0_07]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)[:1.7.0_07]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)[:1.7.0_07]
>         at java.lang.Thread.run(Thread.java:722)[:1.7.0_07]
> Caused by: org.apache.cxf.service.factory.ServiceConstructionException
>         at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.create(JAXRSServerFactoryBean.java:201)
>         at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.init(JAXRSServerFactoryBean.java:131)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_07]
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_07]
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_07]
>         at java.lang.reflect.Method.invoke(Method.java:601)[:1.7.0_07]
>         at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:297)[7:org.apache.aries.blueprint.core:1.0.1]
>         at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:958)[7:org.apache.aries.blueprint.core:1.0.1]
>         at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:712)[7:org.apache.aries.blueprint.core:1.0.1]
>         ... 20 more
> Caused by: javax.ws.rs.WebApplicationException
>         at org.apache.cxf.jaxrs.AbstractJAXRSFactoryBean.checkResources(AbstractJAXRSFactoryBean.java:315)
>         at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.create(JAXRSServerFactoryBean.java:148)
>         ... 28 more
> {code}
> Another error stacktrace:
> {code}
> 2012-10-16 15:59:01,064 | ERROR | rint Extender: 3 | BlueprintContainerImpl         
 | container.BlueprintContainerImpl  375 | 7 - org.apache.aries.blueprint.core - 1.0.1 | Unable
to start blueprint container for bundle id.co.bippo.app
> org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to intialize
bean .component-2
>         at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:714)[7:org.apache.aries.blueprint.core:1.0.1]
>         at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:824)[7:org.apache.aries.blueprint.core:1.0.1]
>         at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)[7:org.apache.aries.blueprint.core:1.0.1]
>         at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[7:org.apache.aries.blueprint.core:1.0.1]
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.7.0_07]
>         at java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.7.0_07]
>         at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)[7:org.apache.aries.blueprint.core:1.0.1]
>         at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245)[7:org.apache.aries.blueprint.core:1.0.1]
>         at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183)[7:org.apache.aries.blueprint.core:1.0.1]
>         at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:646)[7:org.apache.aries.blueprint.core:1.0.1]
>         at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:353)[7:org.apache.aries.blueprint.core:1.0.1]
>         at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:252)[7:org.apache.aries.blueprint.core:1.0.1]
>         at org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:48)[7:org.apache.aries.blueprint.core:1.0.1]
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_07]
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)[:1.7.0_07]
>         at java.util.concurrent.FutureTask.run(FutureTask.java:166)[:1.7.0_07]
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)[:1.7.0_07]
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)[:1.7.0_07]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)[:1.7.0_07]
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)[:1.7.0_07]
>         at java.lang.Thread.run(Thread.java:722)[:1.7.0_07]
> Caused by: org.apache.cxf.service.factory.ServiceConstructionException
>         at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.create(JAXRSServerFactoryBean.java:201)
>         at com.soluvas.cxf.DynamicJaxrsManager.createServer(DynamicJaxrsManager.java:66)
>         at com.soluvas.cxf.DynamicJaxrsManager.addingService(DynamicJaxrsManager.java:92)
>         at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:932)[karaf.jar:2.3.0]
>         at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:1)[karaf.jar:2.3.0]
>         at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)[karaf.jar:2.3.0]
>         at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:183)[karaf.jar:2.3.0]
>         at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:317)[karaf.jar:2.3.0]
>         at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:261)[karaf.jar:2.3.0]
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_07]
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_07]
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_07]
>         at java.lang.reflect.Method.invoke(Method.java:601)[:1.7.0_07]
>         at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:297)[7:org.apache.aries.blueprint.core:1.0.1]
>         at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:958)[7:org.apache.aries.blueprint.core:1.0.1]
>         at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:712)[7:org.apache.aries.blueprint.core:1.0.1]
>         ... 20 more
> Caused by: javax.ws.rs.WebApplicationException
>         at org.apache.cxf.jaxrs.AbstractJAXRSFactoryBean.checkResources(AbstractJAXRSFactoryBean.java:315)
>         at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.create(JAXRSServerFactoryBean.java:148)
>         ... 35 more
> {code}
> This error didn't happen in 2.6.2. Or at least didn't happen often.
> All CXF bundles are active:
> {code}
> [2017] [Active     ] [Created     ] [       ] [   40] Apache CXF API (2.7.0)
> [2018] [Active     ] [Created     ] [       ] [   40] Apache CXF Runtime Core (2.7.0)
> [2019] [Active     ] [            ] [       ] [   40] Apache CXF Runtime Management (2.7.0)
> [2020] [Active     ] [Created     ] [       ] [   40] Apache CXF Karaf Commands (2.7.0)
> [2021] [Active     ] [Created     ] [       ] [   40] Apache CXF Runtime HTTP Transport
(2.7.0)
> [2133] [Active     ] [            ] [       ] [   40] Apache CXF Runtime XML Binding
(2.7.0)
> [2134] [Active     ] [            ] [       ] [   40] Apache CXF JAX-RS Extensions: Providers
(2.7.0)
> [2135] [Active     ] [            ] [       ] [   40] Apache CXF JAX-RS Extensions: Search
(2.7.0)
> [2136] [Active     ] [Created     ] [       ] [   40] Apache CXF Runtime JAX-RS Frontend
(2.7.0)
> [2138] [Active     ] [            ] [       ] [   40] Apache CXF Runtime JAXB DataBinding
(2.7.0)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message