Re: Karaf 4.0.5: 'Not authorized' ... - SOLVED

2016-08-12 Thread Erwin Hogeweg
The mystery is solved. Because the user.home is not set on this Windows box, I had manually specified the org.ops4j.pax.url.mvn.settings location… in my infinite wisdom I had decided to use a single Windows back slash in the path instead of double back slash or the forward slash. P… Sorry

Re: Camel cannot find a Karaf registered datasource

2016-08-12 Thread LiamO
Thanks Christian and Jean-Baptiste. You cleared up some misconceptions I had about Camel and Karaf. At this point I am trying to avoid Blueprint and Spring (not knocking them) so I found that using the jndi registry was the easiest way to make the service visible to my component. Regards, Liam -

Re: Karaf-4.0.5 - kar:install question - SOLVED

2016-08-12 Thread Jean-Baptiste Onofré
You are welcome :) Regards JB On Aug 12, 2016, 12:47, at 12:47, Erwin Hogeweg wrote: >Hi JB, > >Thanks for the reply. >... >> 2. The features XML refers some other features repositories. >> >> Can you check that ? > >It does, but those are available from public repos. > > mvn:org.apac

AW: karaf-maven-plugin - Resolution with artifact repository fails when not connected to the internet

2016-08-12 Thread Althaus, Volker
Hi, I found a temporary solution for this problem: When I define the artifact as a dependency in my Maven POM, it's getting downloaded to the local repository at the begin of the build using our Nexus. Then I configured the karaf-maven-plugin with failOnArtifactResolutionError=false. As the re

Re: Karaf-4.0.5 - kar:install question - SOLVED

2016-08-12 Thread Erwin Hogeweg
Hi JB, Thanks for the reply. ... > 2. The features XML refers some other features repositories. > > Can you check that ? It does, but those are available from public repos. mvn:org.apache.cxf.dosgi/cxf-dosgi/1.7.0/xml/features mvn:org.ops4j.pax.jdbc/pax-jdbc-features/0.9.0/xml

Re: Can't see my DataSource services in Karaf 4 jdbc:ds-list

2016-08-12 Thread jochenw
Hi, I don't have a solution but a similar observation: when creating the DS via blueprint I cannot see it with jdbc:ds-list, when creating the same DS via pax-jdbc-config, I can see it. In both cases, the DS works corr

Re: Aries JPA 2.3.0: mapping file not used

2016-08-12 Thread jochenw
Sorry, forgot to mention that this happens with Karaf 4.0.4 and 4.0.5, and it is still the case when explicitly installing the JPA 2.4.0 features. Regards, Jochen -- View this message in context: http://karaf.922171.n3.nabble.com/Aries-JPA-2-3-0-mapping-file-not-used-tp4047501p4047507.html Se

Introducing blueprint-test

2016-08-12 Thread Matt Pavlovich
I've taken Camel Test Blueprint and removed all the Camel parts to have a self-contained library that allows for quick testing of blueprint files. Thought folks here might find it handy (please excuse the x-post). I opened a JIRA with Aries Blueprint for inclusion into upstream. Code:https://gith

karaf-maven-plugin - Resolution with artifact repository fails when not connected to the internet

2016-08-12 Thread Althaus, Volker
Hi, I use the add-features-to-repo goal for creating a custom distribution (Karaf 4.0.4). I want to include the "camel-restlet" feature which has the following dependency: mvn:http://maven.restlet.org!org.restlet.osgi/org.restlet/2.3.1 The problem is that the build system isn't connected to th

Re: Can't see my DataSource services in Karaf 4 jdbc:ds-list

2016-08-12 Thread Christian Schneider
I just checked the sources. It seems karaf jdbc uses the property dataSourceName to identify the data source. It searches for all services of type DataSource but then only considers those that have the property dataSourceName set. How do you identify your datasource? Do you set the aries jndi