Hi!
I am trying to wrap my head around the differences between an OBR and a Karaf
Feature. The concepts seem to be overlapping.
An OBR has an index of the contained bundles, as well as meta information,
which includes requirements and capabilities. An OBR is therefore very useful
for
Thank good for Karaf features, I don't actually have to "FIX" a bundle
(like re-invent the world a second time) [1]
I just need to make sure the feature declares a capability that a bundle
"should" have, though
I've to admit that those requirements added by bnd is actually more
hindering then
> the easiest would be to actually remove that "new" requirement for those
> components.
> A fix for this is on it's way for Pax Web, so you'll have something that'll
> work for you.
Sorry Achim, you'll need to spell that out. What is that you'd fix? Create a
pax-web bundle that contains and
Tom,
the easiest would be to actually remove that "new" requirement for those
components.
A fix for this is on it's way for Pax Web, so you'll have something that'll
work for you.
regards, Achim
2017-06-13 19:40 GMT+02:00 :
>
> I'm trying to build a custom karaf
I'm trying to build a custom karaf distribution with the "karaf-assembly" maven
packaging.
I am making slow progress :-)
My latest issue comes about through trying to resolve lack of a javax.servlet
package requirement.
So I naively included the
> On 13 June 2017 at 16:50 Jean-Baptiste Onofré wrote:
>
>
> Yeah, you have to add the snapshot repository in your pom.xml:
OK, yes, that's better.
Thanks.
Now all I need to do is work out why I can't apparently satisfy
Windows, yes.
> On 13 June 2017 at 15:51 Jean-Baptiste Onofré wrote:
>
>
> By the way, are you on Windows ?
>
> Regards
> JB
>
> On 06/13/2017 04:44 PM, t...@quarendon.net wrote:
> >
> >> On 13 June 2017 at 15:02 Jean-Baptiste Onofré wrote:
> >>
> >>
>
Yeah, you have to add the snapshot repository in your pom.xml:
apache-snapshots
Apache Snapshots Repository
http://repository.apache.org/content/groups/snapshots-group
false
> On 13 June 2017 at 15:50 Jean-Baptiste Onofré wrote:
>
>
> Do you have a chance to test with 4.1.2-SNAPSHOT ?
That's what I'm wanting to do, I just can't work out where to get it. I naively
put
4.1.2-SNAPSHOT
as my karaf version in the pom, but it doesn't find it, as I
I see the following in the log when I start a client session on Windows. The
client appears to be working OK but it seems like this is an issue.
2017-06-13T10:04:43,086 | WARN | sshd-SshServer[6c21e678]-nio2-thread-3 |
| 49 - org.jline - 3.2.0 | Unable to
Regarding the capabilities,
both.
It's determined by A) the bundles manifest entry. But in certain cases
those bundles don't explicit describe their capabilities fully.
In those cases it helps if the feature itself does describe that
capability.
regards, Achim
2017-06-13 13:55 GMT+02:00
Do you have a chance to test with 4.1.2-SNAPSHOT ?
Thanks !
Regards
JB
On 06/13/2017 04:44 PM, t...@quarendon.net wrote:
On 13 June 2017 at 15:02 Jean-Baptiste Onofré wrote:
Hi Tom
It has been fixed and will be included in 4.1.2.
Ah, good. 4.1 seems unusable as far
By the way, are you on Windows ?
Regards
JB
On 06/13/2017 04:44 PM, t...@quarendon.net wrote:
On 13 June 2017 at 15:02 Jean-Baptiste Onofré wrote:
Hi Tom
It has been fixed and will be included in 4.1.2.
Ah, good. 4.1 seems unusable as far as I can see otherwise.
> On 13 June 2017 at 15:02 Jean-Baptiste Onofré wrote:
>
>
> Hi Tom
>
> It has been fixed and will be included in 4.1.2.
>
Ah, good. 4.1 seems unusable as far as I can see otherwise.
I've been looking around, but I can't find where I might get a snapshot build
from, what
regarding your "maven" confidence ... do you happen to have a "Proxy"
connected to your maven setup?
In rare cases, or flaky internet connections your bundles might not have
been a jar at all, but a http error code ;)
This happens in rare cases.
Best to do a mvn clean install -U for updating all
Hi Tom
It has been fixed and will be included in 4.1.2.
Regards
JB
On 06/13/2017 03:51 PM, t...@quarendon.net wrote:
Start up Karaf with the "bin/karaf.bat" shell script.
At the console type
help bundle:info
You get:
gogo: NullPointerException: "in" is null!
If I run this from the official
Start up Karaf with the "bin/karaf.bat" shell script.
At the console type
help bundle:info
You get:
gogo: NullPointerException: "in" is null!
If I run this from the official 4.1.1 install, it looks like this is trying to
"more" the help contents or something. I get a colon, and if you press q
> On 13 June 2017 at 12:32 Jean-Baptiste Onofré wrote:
>
>
> I don't understand why you have the pax-web feature.
>
> Do you have it defined in bootFeatures ? Or do you install it by hand ?
>
> I can confirm that I don't have pax-web feature on my custom distro.
So I
Hello. Can't understand how to make pooled datasource.
installed pax-jdbc-pool-dbcp2, pax-jdbc-config and etc
I make org.ops4j.pool.datasource-db.cfg
osgi.jdbc.driver.name = PostgreSQL JDBC Driver-pool
dataSourceName=db
serverName = localhost
portNumber = 5432
databaseName = db
user = user
Hi Jean-Baptiste,
On Tue, 13 Jun 2017 10:41:26 +0200
Jean-Baptiste Onofré wrote:
> I think there's two questions:
>
> 1. Why does a refresh happen ?
> A refresh can happen for instance when an optional import is resolved
> (when installing a feature or a bundle) or when a new
On Tue, 13 Jun 2017 13:27:24 +0200
Guillaume Nodet wrote:
> 2017-06-13 10:35 GMT+02:00 Stephen Kitt :
> > As we understand things (and this is the main point I would like to
> > clarify), in Karaf 4, based on the feature declaration above:
> > * (re)starting
I don't understand why you have the pax-web feature.
Do you have it defined in bootFeatures ? Or do you install it by hand ?
I can confirm that I don't have pax-web feature on my custom distro.
Regards
JB
On 06/13/2017 11:13 AM, t...@quarendon.net wrote:
On 13 June 2017 at 09:08
2017-06-13 10:35 GMT+02:00 Stephen Kitt :
> Hi,
>
> As we continue to try to migrate OpenDaylight to Karaf 4, it’s become
> very clear that we need to understand exactly what feature dependencies
> entail. (And yes, I’ll submit documentation patches once we’ve done
> so.)
>
>
> On 13 June 2017 at 09:08 Jean-Baptiste Onofré wrote:
>
>
> Hi Tom,
>
> Here's a pom.xml to do what you want:
As far as I can see that's the same as the "minimal example" in the docs.
If I use your example, I still get errors:
2017-06-13T09:46:01,692 | ERROR |
Hi Stephen,
I think there's two questions:
1. Why does a refresh happen ?
A refresh can happen for instance when an optional import is resolved (when
installing a feature or a bundle) or when a new package version is installed
matching a version range.
So, especially in the case of optional
Hi,
As we continue to try to migrate OpenDaylight to Karaf 4, it’s become
very clear that we need to understand exactly what feature dependencies
entail. (And yes, I’ll submit documentation patches once we’ve done
so.)
OpenDaylight (ODL) defines lots and lots of features, some of which
contain
Hi Tom,
Here's a pom.xml to do what you want:
http://maven.apache.org/POM/4.0.0;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-Instance;
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
4.0.0
example
my-karaf
1.0.0-SNAPSHOT
27 matches
Mail list logo