On 12/21/2011 01:48 PM, K Fung wrote:
Hi Ramesh,
If this is your first time with OSGI& CXF, you may find the source code
attached to this link to be easier for you to deploy as it only requires
maven, an internet connection, and a modification to the pom.xml to refer
to the right version of CXF:
https://issues.apache.org/jira/browse/CXF-3859
If you're looking for an easily deployable ZIP of just the files, I can
create one for you too. Let me know.
Regards,
kl
On Wed, Dec 21, 2011 at 9:51 AM, ramesh<[email protected]> wrote:
This is my first attempt at osgi and I followed the blog post by
Jean-Baptiste
http://blog.nanthrax.net/2011/**08/jax-rs-services-using-cxf-**and-karaf/<http://blog.nanthrax.net/2011/08/jax-rs-services-using-cxf-and-karaf/>
I have the karaf folder at the same level as my project 'intro' folder.
After I start Karaf and try to add
features:addUrl mvn:com.mera.osgi.cxf/com.**mera.osgi.cxf.common/0.1/x
ml
Could not add Feature Repository:
java.lang.RuntimeException: URL
[mvn:com.mera.osgi.cxf/com.**mera.osgi.cxf.common/0.1/xml]
could not be resolved.
I get the error.
I uploaded the project to git
https://github.com/apnatwit/**intro<https://github.com/apnatwit/intro>.
If someone can please take a look at it and let me give some pointers , it
will be great.
regards,
Ramesh
Thank Kl,
I've gone through the sample and it is really simple to understand. In
fact, because of this example I got the crux of OSGI/CXF in general.
But I wasn't sure how to get started from the scratch and how to deploy
it to Karaf. That has become a big challenge for me.
Then I found pax-maven ,but it creates too many folders , which don't
make much sense to me.
However, I tried to create a basic basic working example using pax ,
eclipse and karaf.
But there is still something that I did not do correct and I can not
register the url :)
But again thanks for that simple example, that would help many like me
who want to figure out OSGI and CXF at the same time.
regards,
Ramesh