Allright I've figured it out... The problem was with the H2 JDBC driver
that I was using.
For folks encountering this issue: Recent H2 releases come with a new
manifest and implement the org.osgi.service.jdbc.DataSourceFactory service.
To satisfy this H2 dependency I've written a feature that incl
The compendium bundle is not intended to be used like this. If you are
implementing a compendium service, include the appropriate compendium packages
in your bundle and both export them and import them. If H2 is supplying a
bundle, they should be including the osgi packages in this way.
david
When I try to use a bean whom package is contained in a library defined into
my bundle, Karaf seems to miss the package.
Is there a way not to have to deploy a jar into the deploy rep for Karaf to
find the package (bellow defined as com.foo.test?
test
--
View
Hi,
I want to create a bunch of Karaf instances with each running on a
dedicated IP address with the same ports rather than all using all IP
addresses and different ports.
For our infrastructure this is much easier to manage (giving a greater
consistency with only one variable for each instanc
Thanks David, yeah I see that now. The confusion was caused by
http://karaf.922171.n3.nabble.com/Where-to-get-org-osgi-service-jdbc-from-td4028973.htmlwhich
talks about including the compendium bundle.
On Wed, Feb 5, 2014 at 10:26 AM, David Jencks wrote:
> The compendium bundle is not intended t
Thanks for your answer.
You're right. I'm all new in this world of karaf, spring, blueprint,
camel etc and it's easy to lose one's track.
I went back to a blueprint definition and now it works.
regards,
Laci
On 04.02.2014 17:48, Achim Nierbeck wrote:
Hi,
as you're trying to do this on Karaf
Hey JB,
Did you get anywhere with the testing?
Thanks,
Sean
--
View this message in context:
http://karaf.922171.n3.nabble.com/faultJmsMessageListenerContainer-Could-not-refresh-JMS-Connection-for-destination-person-tp4031400p4031533.html
Sent from the Karaf - User mailing list archive at Na
Hi Jim,
you can already do that by changing the configuration file.
What I do: in etc/custom.properties, I set default.interface property
and I use it in all other configuration files (${default.interface}).
I planned to add -b option to easily change the bound interface/IP
(actually setting
Hi
I'm having trouble deploying config files to karaf.
What I have now is a bundle which I create with maven-bundle-plugin.
Then I created a features.xml as follows:
override="true">CamelRoute.cfg
And in my pom file, I added:
build-helper-maven-plugin
Hi Laci,
The cfg file will be deployed with the feature:
feature:install
install is the short form for bundle:install, so it doesn't install the
configfile.
Regards
JB
On 02/05/2014 03:53 PM, Laci Gaspar wrote:
Hi
I'm having trouble deploying config files to karaf.
What I have now is a bu
Hi,
I think that you must give to Karaf the entire mvn url to deploy it:
install -s mvn:ch.curabill.msp.service/ca
mel-route/1.0-SNAPSHOT/cfg/groups, as you do with your feature (
mvn:ch.curabill.msp.service/ca
mel-route/1.0-SNAPSHOT/xml/features
Regards,
Charlie
2014-02-05 Laci Gaspar :
> Hi
No,
installation of cfg file doesn't work like this: only bundles.
The provisioning of cfg files is only possible by installing a feature.
Regards
JB
On 02/05/2014 04:02 PM, Charlie Mordant wrote:
Hi,
I think that you must give to Karaf the entire mvn url to deploy it:
install -s mvn:ch.cura
Hi JB
I think I'm having problems with my mvn syntax. I had already tried:
features:install
mvn:ch.curabill.msp.service/camel-route/1.0-SNAPSHOT/cfg/groups
features:install
mvn:ch.curabill.msp.service/camel-route/1.0-SNAPSHOT/xml/features
But all I get is:
Error executing command: No feature na
features:addurl
mvn:ch.curabill.msp.service/camel-route/1.0-SNAPSHOT/xml/features
features:install service
Regards
JB
On 02/05/2014 04:02 PM, Laci Gaspar wrote:
Hi JB
I think I'm having problems with my mvn syntax. I had already tried:
features:install
mvn:ch.curabill.msp.service/camel-route/1
By the way:
http://karaf.apache.org/manual/latest/users-guide/provisioning.html
Regards
JB
On 02/05/2014 04:02 PM, Laci Gaspar wrote:
Hi JB
I think I'm having problems with my mvn syntax. I had already tried:
features:install
mvn:ch.curabill.msp.service/camel-route/1.0-SNAPSHOT/cfg/groups
feat
Hi again!
As an addition:
The entire command to deploy a feature is:
feature:repo-add mvn:ch.curabill.msp.service/ca mel-route/1.0-SNAPSHOT/xml/
features
feature:install camel-route
2014-02-05 Charlie Mordant :
> Hi,
>
> I think that you must give to Karaf the entire mvn url to deploy it:
> in
Thanks!
I get an error but I think that's because of a problem in my features file.
Regards,
Laci
On 05.02.2014 16:09, Jean-Baptiste Onofré wrote:
features:addurl
mvn:ch.curabill.msp.service/camel-route/1.0-SNAPSHOT/xml/features
features:install service
Regards
JB
On 02/05/2014 04:02 PM, Lac
features:list to see your features.
AFAIU, your feature is named camel-route, so:
features:install camel-route
Regards
JB
On 02/05/2014 04:07 PM, Laci Gaspar wrote:
Thanks!
I get an error but I think that's because of a problem in my features file.
Regards,
Laci
On 05.02.2014 16:09, Jean-Ba
Yes, I have read that, but I didn't understand it all.
what does this error mean: ?
karaf@root> features:install camel-route
Error executing command: no protocol: CamelRoute.cfg
Best,
Laci
On 05.02.2014 16:11, Jean-Baptiste Onofré wrote:
By the way:
http://karaf.apache.org/manual/latest/user
You're feature is not correct:
override="true">CamelRoute.cfg
The CamelRoute.cfg has to be an URL, for instance:
file://path/to/CamelRoute.cfg
or
mvn:groupId/...
Regards
JB
On 02/05/2014 04:15 PM, Laci Gaspar wrote:
Yes, I have read that, but I didn't understand
Thanks, I have it now.
Just for others who cannot read a manual, here's how I did it.
mvn:ch.curabill.msp.service/camel-route/1.0-SNAPSHOT/cfg/groups
Regards,
Laci
On 05.02.2014 16:26, Jean-Baptiste Onofré wrote:
You're feature is not correct:
override=
Hi
There are two places where I have "version numbers" in my project:
In my pom file and features file.
I tried to replace the one in the features file with ${pom.version} but
then karaf complains, that it doesn't know that:
(Error executing command: URL
[mvn:ch.curabill.msp.service/camel-route
Hi,
Yes you need to enable resource filtering [1] for your features.xml file in
your Maven POM. For example to replace variables in your feature file
located in /src/main/features add the following plugin to your POM:
org.apache.maven.plugins
maven-res
All,
I'm trying to build a custom karaf assembly and I've run into multiple
issues with the karaf-maven-plugin and the behavior of the
[boot/installed/startup]features configuration with respect to
installing artifacts into the system repository:
1) in a feature bundles marked dependency="tr
Hi,
I made approximately the same thing, but in a way different (using resource
filtering and buildhelper): e.g:
https://github.com/Tcharl/net.osgiliath.features.karaf-features/blob/master/net.osgiliath.features.karaf-features-functional/pom.xml
Regards,
2014-02-05 Richard Kettelerij :
> Hi,
>
Thanks guys, that's exactly what I was looking for.
Regards
Laci
On 05.02.2014 18:40, Charlie Mordant wrote:
Hi,
I made approximately the same thing, but in a way different (using
resource filtering and buildhelper): e.g:
https://github.com/Tcharl/net.osgiliath.features.karaf-features/blob/m
Hi JB,
Thanks.
Is an instance anything more than the collection of files in the instances
directory?
I.e. if I just created the files there myself would it be recognised by the
instance module?
Tanks again
Jim
On 5 Feb 2014, at 14:40, Jean-Baptiste Onofré wrote:
> Hi Jim,
>
> you can alrea
Hi Christopher,
The issues that you mentioned are already identified. I'm preparing the
fixes for all.
It will be included in 3.0.1.
Regards
JB
On 2014-02-05 18:10, Christopher Arnold wrote:
All,
I'm trying to build a custom karaf assembly and I've run into multiple
issues with the karaf-m
Thanks for the info.
-Chris
On 02/05/2014 02:34 PM, j...@nanthrax.net wrote:
Hi Christopher,
The issues that you mentioned are already identified. I'm preparing
the fixes for all.
It will be included in 3.0.1.
Regards
JB
On 2014-02-05 18:10, Christopher Arnold wrote:
All,
I'm trying to
29 matches
Mail list logo