Substitutions in jetty.xml

2016-03-15 Thread Benson Margulies
Can I use any ${...} in there to pass in the pathname of static content? ${karaf.etc} etc would work fine.

CXF Dosgi

2016-03-15 Thread conejo
Good Morning. When I run a cxf-dosgi service on a remote instance I get the following output: java.net.ConnectException: Invoking ConnectException http: // localhost: 9000 ... I guess karaf are using localhost and port 9000 by default. How I can specify the host and port where the services are?

Re: CXF Dosgi

2016-03-15 Thread Christian Schneider
You can use org.apache.cxf.rs.address=/myservice or org.apache.cxf.ws.address If you use a path that starts with "/" then CXF uses the http service. So not every service needs it own port. See this for a full example:

Re: CXF Dosgi

2016-03-15 Thread conejo
Sorry, but I do not understand. I am using blueprint and I added the property int the service and the features of cxf-dosgi in karaf. I have also defined the org.apache.cxf.dosgi.discovery.zookeeper.server.cfg files and org.apache.cxf.dosgi.discovery.zookeeper.cfg Karaf has automatically

Re: CXF Dosgi

2016-03-15 Thread Christian Schneider
Please try to also set the service property: org.apache.cxf.ws.address=/ILblService Christian On 15.03.2016 13:56, conejo wrote: Sorry, but I do not understand. I am using blueprint and I added the property int the service and the features of cxf-dosgi in karaf. I have also defined the

javax/annotation/Priority is missing

2016-03-15 Thread Christian Lutz
Hello, I tried to use the cxf feature "cxf-rs-security-cors" like descripted here http://cxf.apache.org/docs/jax-rs-cors.html But the blueprint does fail with the following error: org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to initialize bean publicAPI at

Re: CXF Dosgi

2016-03-15 Thread conejo
Now I have the following exception: javax.xml.stream.FactoryConfigurationError: Provider for class javax.xml.stream.XMLOutputFactory cannot be created ... ... 48 more Caused by: java.util.ServiceConfigurationError: javax.xml.stream.XMLOutputFactory: Provider com.ctc.wstx.stax.WstxOutputFactory

Re: CXF Dosgi

2016-03-15 Thread conejo
Thanx Christian. Have you tried the link? The problem I have it when you access the link /cxf/ILblService?wsdl If I delete I can see the wsdl but on port 9000 and the client looks for localhost. So I wanted to know how to configure the host and port by default. It's very strange. Can it be due

Re: javax/annotation/Priority is missing

2016-03-15 Thread Michael Täschner
Hi Christian, set javax.annotation to version 1.1 and it will resolve against the annotation-spec provided by cxf features. The container provided packages are not complete for JDK 1.8. Ref:

CXF Dosgi

2016-03-15 Thread Leschke, Scott
I'm curious what the relationship is between CXF DOSGi and Cellar DOSGi (feature:install cellar-dosgi)? Scott -Original Message- From: Christian Schneider [mailto:cschneider...@gmail.com] On Behalf Of Christian Schneider Sent: Tuesday, March 15, 2016 11:05 AM To: user@karaf.apache.org

Re: CXF Dosgi

2016-03-15 Thread Christian Schneider
I also tried the wsdl link and it worked fine. I am pretty sure your problem is because of your assembly. Try it in karaf like I did. I think you did not use the correct libs in endorsed and lib. Compare it with a real karaf. You can give a full address in org.apache.cxf.ws.address but I

Re: CXF Dosgi

2016-03-15 Thread Christian Schneider
CXF-DOSGi and cellar DOSGi are not related till now but they implement different specs anyway. Cellar DOSGi implements the older and simpler Remote Services spec. JB is planning to create a new Hazelcast transport for Aries RSA that then might replace Cellar DOSGi. Christian On 15.03.2016

Re: CXF Dosgi

2016-03-15 Thread conejo
Try this: https://github.com/LuisLozano/dosgi -- View this message in context: http://karaf.922171.n3.nabble.com/CXF-Dosgi-tp4045786p4045793.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: CXF Dosgi

2016-03-15 Thread Christian Schneider
The service worked fine for me: feature:repo-add cxf-dosgi 1.7.0 feature:install cxf-dosgi-discovery-distributed cxf-dosgi-zookeeper-server install -s mvn:es.yaroki/service Log shows: 2016-03-15 17:03:08,157 | INFO | er])-EventThread | PublishingEndpointListener | 53 -

Karaf 3.0.5 + OpenJPA + Blueprint -> PersistenceManager Bundle Stuck in GracePeriod

2016-03-15 Thread ravikantagarwal
I am new to karaf and OSGI framework and trying to develop an application which will contain a bundle to manage the persistence but during deploy PersistenceManager bundle stuck in GracePeriod status: Setup is as follows: *Content of org.apache.karaf.features*

Re: CXF Dosgi

2016-03-15 Thread Scott Lewis
ECF fully implements the latest versions of both the OSGi R6 Remote Services (1.0) and Remote Service Admin (1.1) specifications. Compliance with the specifications is tested daily by running the OSGi R6 Compatibility test suite as part of our continuous integration. ECF also has a

Re: Issues with fresh install of DOSGI

2016-03-15 Thread Doug
Sorry Christian, just one more question about the update. Would the newer version of zookeeper be used in 1.8.0, or a later release like 1.9 or 2.*? I guess I'm just wondering ballpark when that would be. Within the year? -Doug -- View this message in context: