[
https://issues.apache.org/jira/browse/CXF-2452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12760632#action_12760632
]
Aaron Zeckoski commented on CXF-2452:
-------------------------------------
I replaced our depedency with this one:
<dependency>
<groupId>javax.ws.rs</groupId>
<artifactId>jsr311-api</artifactId>
<version>1.1</version>
</dependency>
but there is now a new error. I will place this one in a new comment.
----- Original Message ----- From: "Sergey Beryozkin" <[email protected]>
Sorry. you can get it from here
http://repository.apache.org/snapshots/org/apache/servicemix/specs/org.apache.servicemix.specs.jsr311-api-1.1/1.4-SNAPSHOT/
----- Original Message ----- From: "Sergey Beryozkin" <[email protected]>
To: <[email protected]>
Actually, can you please reinstall
[ 27] [Active ] [ 4] Apache CXF Bundle Jar (2.3.0.SNAPSHOT)
and
[ 29] [Resolved ] [ 4] CXF Distributed Software Bundle (1.1.0.SNAPSHOT)
Oh...Apache CXF Bundle Jar (2.3.0.SNAPSHOT). It actually depends on jaxrs-api
1.1 now. I'm presuming you've replaced CXF-2.2.3 with the latest one. So then
please uninstall
[ 45] [Active ] [ 2] Apache ServiceMix Specs :: JSR311 API 1.0 (1.3.0)
and install
http://svn.apache.org/repos/asf/servicemix/smx4/specs/trunk/jsr311-api-1.1/
it should make a difference.
cheers, Sergey
----- Original Message ----- From: "Sergey Beryozkin" <[email protected]>
To: <[email protected]>
Sent: Tuesday, September 29, 2009 3:52 PM
Subject: Re: [jira] Updated: (CXF-2452) DOSGI CXF Distributed Software Bundle
(1.1.0.SNAPSHOT) fails on startup
I can't open the JIRA due to a timeout.
Yes, I've seen Josh reporting a similar issue and I did verify I could
start the cleanly build DOSGi distribution in Equinox 3.5.
I'm just thinking, can it be an ordering issue ? In the bundles list you
posted a JAXRS bundle is listed after a CXF DSW bundle.
That probably should not make a difference but apparently
java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03-226)
Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-92, mixed mode)
causes some early resolution ?
Can you please uninstall CXF-DSW bundle and then install it again, so that
it definitely has JAXRS classes available to it ?
Another possibility is that some of the system bundles have say Jersey
embedded ?
thanks, Sergey
> DOSGI CXF Distributed Software Bundle (1.1.0.SNAPSHOT) fails on startup
> -----------------------------------------------------------------------
>
> Key: CXF-2452
> URL: https://issues.apache.org/jira/browse/CXF-2452
> Project: CXF
> Issue Type: Bug
> Components: Distributed-OSGi
> Affects Versions: dOSGi-1.1
> Environment: adz20:~ azeckoski$ java -version
> java version "1.6.0_15"
> Java(TM) SE Runtime Environment (build 1.6.0_15-b03-226)
> Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-92, mixed mode)
> Reporter: Aaron Zeckoski
> Priority: Critical
> Fix For: dOSGi-1.1
>
>
> One of the DOSGI bundles is failing to startup using Felix 2.0 as the
> container
> cxf-dosgi-ri-dsw-cxf (1.1.0.SNAPSHOT)
> The exception and ps info from felix will be added in comments
> Here is the log of the attempt to startup and the exception at the end:
> http://pastebin.com/m4da7142
> Some tracing shows that this seems to fail when felix tries to load the
> org.apache.cxf.jaxrs.AbstractJAXRSFactoryBean class and is unable to load the
> javax.ws.rs.WebApplicationException class. The constructor called here is
> never actually reached.
> JAXRSServerFactoryBean factory = new JAXRSServerFactoryBean();
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.