Re: Jetty with metrics

2018-11-22 Thread nino martinez wael
22, 2018 at 2:41 PM Jean-Baptiste Onofré wrote: > Hi, > > this approach use fragment. > > Can you first try to use bundle:dynamic-import * on the pax-web bundle ? > > Regards > JB > > On 22/11/2018 12:29, nino martinez wael wrote: > > hmm this example do

Re: Jetty with metrics

2018-11-22 Thread nino martinez wael
ignored by pax wicket, and pax web does not pickup the jetty.xml :( I just want some metrics for my web application so I can count concurrent users, response times etc.. Any ideas on howto archieve that? On Thu, Nov 22, 2018 at 12:14 PM nino martinez wael < nino.martinez.w...@gmail.com>

Re: Jetty with metrics

2018-11-22 Thread nino martinez wael
so this seems to be sort of a way: https://groups.google.com/forum/#!topic/ops4j/4SljkP-rBBQ Heres whats seems a better example: https://github.com/ops4j/org.ops4j.pax.web/blob/master/samples/jetty-config-fragment/pom.xml On Thu, Nov 22, 2018 at 12:08 PM nino martinez wael < nino.martine

Re: Jetty with metrics

2018-11-22 Thread nino martinez wael
you have > the ClassNotFoundException. > > Did you try a dynamic import ? > > Regards > JB > > On 22/11/2018 11:05, nino martinez wael wrote: > > Hi fellow karaflings > > > > I am have some trouble applying metrics to Jetty, I've tried doing so in > > jett

Jetty with metrics

2018-11-22 Thread nino martinez wael
Hi fellow karaflings I am have some trouble applying metrics to Jetty, I've tried doing so in jetty.xml: But get this: Caused by: java.lang.ClassNotFoundException: com.codahale.metrics.jetty9.InstrumentedQueuedThr

[4.2] Feature resolver when no name space are defined?

2018-11-09 Thread nino martinez wael
Hi Im wondering what happens if a feature file with no name space are processed? like: ... .. I am expiriencing a lot of component restarts when installing features from the file. Theres also a couple of features that have prerequite attribute feature.. Not sure if this impacts someting? -

Re: Karaf 4.2.1 released?

2018-08-21 Thread nino martinez wael
from the maven karaf plugins perspective it is a +1 vote :) On Tue, Aug 21, 2018 at 10:40 AM nino martinez wael < nino.martinez.w...@gmail.com> wrote: > Thanks perfect timing.. Will test now :) > > On Tue, Aug 21, 2018 at 10:15 AM Toni Menzel > wrote: > >> Hi Nino, &g

Re: Karaf 4.2.1 released?

2018-08-21 Thread nino martinez wael
4-2-1-release-td4053752.html > > * What is Developer Ergonomics <https://medium.com/rebaze>**? * > > > > *www.rebaze.de <http://www.rebaze.de/> | www.rebaze.com > <http://www.rebaze.com/> | @rebazeio <https://twitter.com/rebazeio>* > > On Tue, Aug 21, 20

Karaf 4.2.1 released?

2018-08-21 Thread nino martinez wael
Sorry if I am poking to much, but it seems that 4.2.1 could be out? https://github.com/apache/karaf/commit/6b4b61d840e240b3ee47258469b40402a7f7d0db I wanted to test the Maven Karaf plugin with java 11 and karaf v 4.2.1 -- Best regards / Med venlig hilsen Nino Martinez

Re: karaf-maven-plugin 4.2.0 "FAT" kar?

2018-06-05 Thread nino martinez wael
Maybe we don't have the same kind of features.xml or I don't understand > exactly the test case ;) > > Regards > JB > > On 01/06/2018 10:34, nino martinez wael wrote: > > Yes, when I tried I just ended up with an kar that contained the > > outermost feature.xml

Re: karaf-maven-plugin 4.2.0 "FAT" kar?

2018-06-01 Thread nino martinez wael
Yes, when I tried I just ended up with an kar that contained the outermost feature.xml On Wed, 30 May 2018, 15:36 Jean-Baptiste Onofré, wrote: > Yes, it contains the inner features bundles. > > Is it what you are missing ? > > Regards > JB > > On 30/05/2018 15:31,

Re: karaf-maven-plugin 4.2.0 "FAT" kar?

2018-05-30 Thread nino martinez wael
> JB > > On 30/05/2018 14:14, Martin Nielsen wrote: > > Hello everyone > > I am facing a similar issue, did you figure this out? > > > > -Martin > > > > On Wed, May 16, 2018 at 6:06 PM, nino martinez wael > > mailto:nino.martinez.w...@gmail.com&

Re: karaf-maven-plugin 4.2.0 "FAT" kar?

2018-05-16 Thread nino martinez wael
Did you get a chance to look at this? On 3 May 2018 20:23, "Jean-Baptiste Onofré" wrote: Hi Nino, As I'm now back from vacation, I gonna take a look. Sorry for the delay. Regards JB On 05/03/2018 08:19 PM, nino martinez wael wrote: > Any chance someone has an idea? >

Re: karaf-maven-plugin 4.2.0 "FAT" kar?

2018-05-04 Thread nino martinez wael
No need to apologise 😁 On Thu, 3 May 2018, 20:23 Jean-Baptiste Onofré, wrote: > Hi Nino, > > As I'm now back from vacation, I gonna take a look. > > Sorry for the delay. > > Regards > JB > > On 05/03/2018 08:19 PM, nino martinez wael wrote: > > Any c

Re: karaf-maven-plugin 4.2.0 "FAT" kar?

2018-05-03 Thread nino martinez wael
Any chance someone has an idea? On Wed, 18 Apr 2018, 08:02 nino martinez wael, wrote: > Actually if I read this part, it does seem that the kar goal should do > what I want. But I am missing the part where the kar plugin add the bundles > to the kar repo.. > > > https://githu

Re: How to add elements to aggregated feature repositories?

2018-05-03 Thread nino martinez wael
What about doing it based on pom and what scope the declared dependency feature types are in? On Sat, 21 Apr 2018, 23:46 Steinar Bang, wrote: > > Jean-Baptiste Onofré : > > > That's tricky because users might want different behavior about features > repositories dependencies. > > > As alread

Re: karaf-maven-plugin 4.2.0 "FAT" kar?

2018-04-17 Thread nino martinez wael
, *and the resolved bundles in a zip file.* For instance, the following Maven POM create my-kar.kar For instance, you can use the following POM to create a kar: On Wed, Apr 18, 2018 at 7:54 AM, nino martinez wael < nino.martinez.w...@gmail.com> wrote: > if I check the documentation the s

Re: karaf-maven-plugin 4.2.0 "FAT" kar?

2018-04-17 Thread nino martinez wael
if I check the documentation the spring kar "example" are pretty much what we want todo.. https://karaf.apache.org/manual/latest/kar On Wed, Apr 18, 2018 at 7:52 AM, nino martinez wael < nino.martinez.w...@gmail.com> wrote: > Yes but, the problem arises when we want to mix ou

Re: karaf-maven-plugin 4.2.0 "FAT" kar?

2018-04-17 Thread nino martinez wael
> > > > org.apache.karaf.tooling > > > karaf-maven-plugin > > >

Re: karaf-maven-plugin 4.2.0 "FAT" kar?

2018-04-16 Thread nino martinez wael
your repo into a kar ? > > François > > Le 13/04/2018 à 16:50, nino martinez wael a écrit : > > I have this that does what I want.. BUT I think it's a hardcore hack. Is > there no way to make a packaged kar containing a repo like below, using the

Re: karaf-maven-plugin 4.2.0 "FAT" kar?

2018-04-13 Thread nino martinez wael
I have this that does what I want.. BUT I think it's a hardcore hack. Is there no way to make a packaged kar containing a repo like below, using the resources parameter seems to be a hack? org.apache.karaf.tooling karaf-maven-plugin true ${karaf.version}

Re: karaf-maven-plugin 4.2.0 "FAT" kar?

2018-04-13 Thread nino martinez wael
true On Fri, Apr 13, 2018 at 11:02 AM, nino martinez wael < nino.martinez.w...@gmail.com> wrote: > I just checked https://github.com/jbonofre/karaf.git and devguide branch > out.. In the branch it does work.. Ill fiddle a little > karaf-maven-example-kar to see if I c

Re: karaf-maven-plugin 4.2.0 "FAT" kar?

2018-04-13 Thread nino martinez wael
I just checked https://github.com/jbonofre/karaf.git and devguide branch out.. In the branch it does work.. Ill fiddle a little karaf-maven-example-kar to see if I can figure out what breaks it.. On Wed, Apr 11, 2018 at 2:29 PM, nino martinez wael < nino.martinez.w...@gmail.com> wrote:

Re: karaf-maven-plugin 4.2.0 "FAT" kar?

2018-04-11 Thread nino martinez wael
${basedir}/src/features/features-repo.xml I am just running mvn clean install.. I also tried mvn karaf:kar On Wed, Apr 11, 2018 at 2:00 PM, nino martinez wael < nino.martinez.w...@gmail.com> wrote: > stop, I see a prob

Re: karaf-maven-plugin 4.2.0 "FAT" kar?

2018-04-11 Thread nino martinez wael
stop, I see a problem.. Let me test and get back. On Wed, Apr 11, 2018 at 1:56 PM, nino martinez wael < nino.martinez.w...@gmail.com> wrote: > I mean shouldnt the plugin aggregate the features? and place all > referenced jars in the repo? > > On Wed, Apr 11, 2018 at 10:24 AM,

Re: karaf-maven-plugin 4.2.0 "FAT" kar?

2018-04-11 Thread nino martinez wael
I mean shouldnt the plugin aggregate the features? and place all referenced jars in the repo? On Wed, Apr 11, 2018 at 10:24 AM, nino martinez wael < nino.martinez.w...@gmail.com> wrote: > > xmlns="http://karaf.apache.org/xmlns/features/v1.5.0"; > xmlns:xsi="ht

Re: karaf-maven-plugin 4.2.0 "FAT" kar?

2018-04-11 Thread nino martinez wael
/3.0.0-SNAPSHOT/xml/features ccadmin On Wed, Apr 11, 2018 at 9:51 AM, Jean-Baptiste Onofré wrote: > What does your features.xml look like ? > > Regards > JB > Le 11 avr. 2018, à 07:03, nino martinez wael > a écrit: > >> I just get an kar containing

Re: karaf-maven-plugin 4.2.0 "FAT" kar?

2018-04-10 Thread nino martinez wael
Jean-Baptiste Onofré wrote: > Yes, > > https://github.com/jbonofre/karaf/tree/DEV_GUIDE/examples/ka > raf-maven-example/karaf-maven-example-kar > > I'm polishing it but you have the rough idea. > > Regards > JB > > On 10/04/2018 20:01, nino martinez wael wr

Re: karaf-maven-plugin 4.2.0 "FAT" kar?

2018-04-10 Thread nino martinez wael
l > package all repositories/features for your features repository. > > Regards > JB > > > On 10/04/2018 13:39, nino martinez wael wrote: > >> Hi >> >> I cannot get the karaf maven plugin to pull in all jars needed for my >> app, it only generates an empty f

karaf-maven-plugin 4.2.0 "FAT" kar?

2018-04-10 Thread nino martinez wael
Hi I cannot get the karaf maven plugin to pull in all jars needed for my app, it only generates an empty feature.xml.. Normally we are building a full custom Karaf assembly per project, but we are changing it. The idea are just to make a kar instead providing all the jars, often the environment

Re: [ANN] Apache Karaf 4.2.0 has been released!

2018-04-10 Thread nino martinez wael
yes congrats, can confirm it works smoothly:) On Tue, Apr 10, 2018 at 11:57 AM, Grzegorz Grzybek wrote: > Congratulations! Very good news! > > regards > Grzegorz Grzybek > > 2018-04-10 11:52 GMT+02:00 Jean-Baptiste Onofré : > >> The Apache Karaf team is pleased to announce Apache Karaf 4.2.0 rel

Re: 4.2.0 karaf-assembly missing spring?

2018-04-09 Thread nino martinez wael
ge should be [2,5). > > Regards > JB > > On 10/04/2018 08:05, nino martinez wael wrote: > >> hmm next level issue are: >> >> ERROR] Failed to execute goal >> org.apache.karaf.tooling:karaf-maven-plugin:4.2.0:assembly >> (default-assembly) on project cc

Re: 4.2.0 karaf-assembly missing spring?

2018-04-09 Thread nino martinez wael
ull stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. On Tue, Apr 10, 2018 at 8:04 AM, Jean-Baptiste Onofré wrote: > Yeah, probably. > > Regards > JB > > On 10/04/2018 08:02, nino martinez wael

Re: 4.2.0 karaf-assembly missing spring?

2018-04-09 Thread nino martinez wael
And could see that it was the cxf feature that apparently requires the old spring.. On Tue, Apr 10, 2018 at 8:01 AM, nino martinez wael < nino.martinez.w...@gmail.com> wrote: > thanks:) > > On Tue, Apr 10, 2018 at 7:55 AM, Jean-Baptiste Onofré > wrote: > >> Hi

Re: 4.2.0 karaf-assembly missing spring?

2018-04-09 Thread nino martinez wael
s > > Regards > JB > > On 10/04/2018 07:50, nino martinez wael wrote: > >> Hi when I try to use below i get this error: >> >> /[ERROR] Failed to execute goal >> org.apache.karaf.tooling:karaf-maven-plugin:4.2.0:assembly >> (default-assembly) on proje

4.2.0 karaf-assembly missing spring?

2018-04-09 Thread nino martinez wael
Hi when I try to use below i get this error: *[ERROR] Failed to execute goal org.apache.karaf.tooling:karaf-maven-plugin:4.2.0:assembly (default-assembly) on project ccadmin-karaf-assembly: Unable to build assembly: Could not find matching feature for spring/[3,4) -> [Help 1]* *[ERROR]* *I wond

Re: Karaf 4.2 m2 / FELIX-5618

2018-02-20 Thread nino martinez wael
.0 and then update to Pax Web 7.0.0 on Karaf master. > > Sorry about that. > > Regards > JB > > On 20/02/2018 10:24, nino martinez wael wrote: > >> Any chance for a new milestone or a release before this thursday >> 22/02-18? We are updating our product on a customer

Re: Karaf 4.2 m2 / FELIX-5618

2018-02-20 Thread nino martinez wael
-Baptiste Onofré wrote: > By the way, I also cherry picked on 4.1.x & 4.0.x branches. > > Regards > JB > > On 02/19/2018 01:35 PM, nino martinez wael wrote: > > Thanks :) That is great news :) > > > > On Mon, Feb 19, 2018 at 7:08 AM, Jean-Baptiste Ono

Re: Karaf 4.2 m2 / FELIX-5618

2018-02-19 Thread nino martinez wael
;m on it. > > Thanks ! > Regards > JB > > On 02/19/2018 06:57 AM, nino martinez wael wrote: > > Hi Karaflings > > > > Im pretty certain that I hit this bug in 4.2 m2 : > > > > https://issues.apache.org/jira/browse/FELIX-5618 > > > > When

Karaf 4.2 m2 / FELIX-5618

2018-02-18 Thread nino martinez wael
Hi Karaflings Im pretty certain that I hit this bug in 4.2 m2 : https://issues.apache.org/jira/browse/FELIX-5618 When is 4.2 m3 planned for release? And will it contain org.apache.felix.scr-2.0.14 or higher? -- Best regards / Med venlig hilsen Nino Martinez

Re: [karaf 4.2] Config files, karaf assembly, feature.xml etc

2018-02-02 Thread nino martinez wael
sembly plugins for > instance > (as execution step). > - using in features.xml used for the assembly, using the karaf > plugin > > If you can share your project, I can fix stuff for you. > > Regards > JB > > On 02/02/2018 10:39 AM, nino martinez wael wrote: > > Y

Re: [karaf 4.2] Config files, karaf assembly, feature.xml etc

2018-02-02 Thread nino martinez wael
ins: > > dk/netdesign/osgi-dialer/osgi-dialer-backend/xx/osgi-dialer- > backend-xx-configuration.cfg > > > 2. confg works also, but it depnds of the Karaf version you are using. In > the > past, we didn't created the cfg file corresponding to . > "Recently", we > chang

[karaf 4.2] Config files, karaf assembly, feature.xml etc

2018-02-02 Thread nino martinez wael
Hi fellow karaflings I want to either prepackage or install my configuration files into the etc folder of karaf when my feature installs. I've tried a couple of different approaches, which all fails :( They fail in the way that the configuration gets bound to the bundles mvn coordinates and are

Re: Karaf & Jetty?

2017-08-29 Thread nino martinez wael
solution where this: Thanks to Achim Nierbeck On Tue, Aug 29, 2017 at 2:48 PM, nino martinez wael < nino.martinez.w...@gmail.com> wrote: > I tried adding this, to jetty.xml > > > > > > > > > but that j

Re: Karaf & Jetty?

2017-08-29 Thread nino martinez wael
I tried adding this, to jetty.xml but that just breaks everything, webconsole or my applications does not startup.. I do get the nice view of stats in jmx.. On Tue, Aug 29, 2017 at 1:17 PM, nino martinez wael < nino.martinez.w...@gmail.com> wrote: > Okay I can now see

Re: Karaf & Jetty?

2017-08-29 Thread nino martinez wael
Okay I can now see I need to get both the pax web configured http and https handler and add the statistics handler to them.. On Tue, Aug 29, 2017 at 1:06 PM, nino martinez wael < nino.martinez.w...@gmail.com> wrote: > Hmm it does not seem to be a trivial task to add the statistics

Re: Karaf & Jetty?

2017-08-29 Thread nino martinez wael
9, 2017 at 12:02 PM, nino martinez wael < nino.martinez.w...@gmail.com> wrote: > I cant really find something usefull.. Can it be that I need to add this: > > http://www.eclipse.org/jetty/documentation/9.4.6.v20170531/ > statistics-handler.html ? > > and im guessing that r

Re: Karaf & Jetty?

2017-08-29 Thread nino martinez wael
did you check using JMX (with jconsole for example) ? >> >> Regards >> JB >> >> >> On 08/29/2017 10:06 AM, nino martinez wael wrote: >> >>> Hi >>> >>> We are having problems with a stalling web bundle. And it looks like &g

Re: Karaf & Jetty?

2017-08-29 Thread nino martinez wael
Next step are to see if there are any usefull information. On Tue, Aug 29, 2017 at 10:25 AM, Jean-Baptiste Onofré wrote: > Hi Nino, > > did you check using JMX (with jconsole for example) ? > > Regards > JB > > > On 08/29/2017 10:06 AM, nino martinez wael wrote: >

Karaf & Jetty?

2017-08-29 Thread nino martinez wael
Hi We are having problems with a stalling web bundle. And it looks like either there are too many clients or the clients are behaving badly. Normally when the problem happens I would go grab some information from the webcontainer, I am unsure howto do so with the bundled jetty.. The only page tha

Re: going from karaf 4.0.9 to 4.1.1 broken logging

2017-05-01 Thread nino martinez wael
m > > [1] - https://ops4j1.jira.com/browse/PAXEXAM-815 > > 2017-04-26 15:27 GMT+02:00 nino martinez wael < > nino.martinez.w...@gmail.com>: > >> Sorry for the weird subject.. In my pax exam tests I no longer have >> logging when going from 4.0.9 to 4.1.1 >&

going from karaf 4.0.9 to 4.1.1 broken logging

2017-04-26 Thread nino martinez wael
Sorry for the weird subject.. In my pax exam tests I no longer have logging when going from 4.0.9 to 4.1.1 karafDistributionConfiguration().frameworkUrl(maven().groupId("org.apache.karaf").artifactId("apache-karaf") .type("zip").version("4.0.9")) .unpackDirectory(new File("target/p

Service dependent of http context?

2016-10-10 Thread nino martinez wael
Hej Guys I know this is not a direct karaf question.. But are there a way for a service to be dependant of a http context.. In my case we actually can have users that are independent of http session.. Instead its based on an id within the request... -- Best regards / Med venlig hilsen Nino Marti

[Released] PAX-Wicket 3.0.4 now out!

2016-05-30 Thread nino martinez wael
PAX-Wicket 3.0.4, running Wicket OSGI style Main goal for this release are to bring PAX-Wicket to working state on Apache Karaf 4.x, while retaining compability the other containers Major features * Working with Karaf 4.x (Nino Martinez Wael) * Working wik Wicket 6.22 (Nino Martinez Wael

http://karaf.apache.org/manual/latest

2016-04-27 Thread nino martinez wael
url are DOWN! mirrors still working though. -- Best regards / Med venlig hilsen Nino Martinez

Re: using osgi clientside?

2015-11-11 Thread nino martinez wael
Hi Chris Seems that we actually have a very similar setup. Our app will also be a taskbar one.. Im not sure what you mean with microservices in regards to this? regards Nino On Wed, Nov 11, 2015 at 10:17 PM, wrote: > Yes, I recently developed a Windows taskbar application using OSGi and > Jav

using osgi clientside?

2015-11-10 Thread nino martinez wael
Hi Have anyone of you used osgi on the client side for desktop applications using javafx. If anyone have what kind of memory foot print where there? I have been sucessfull booting up karaf with only 100mb of total allocation... -- Best regards / Med venlig hilsen Nino Martinez

Anyone Going to apache con core eu?

2015-08-22 Thread nino martinez wael

Calling a bean or service method from karaf webconsole

2015-08-13 Thread nino martinez wael
Are it somehow possible? DISCLAIMER, im somewhat new to karaf and osgi and might be missing the obvious:) -- Best regards / Med venlig hilsen Nino Martinez

Re: Scheduler feature

2015-08-12 Thread nino martinez wael
m the webconsole. It just seems as the runnerlistener never picks it up. On Wed, Aug 12, 2015 at 2:24 PM, nino martinez wael wrote: > I think my machine was stuck on some process. However I've reverted to > 3.0.4 and will try to see if I can get that to work.. Until 4.0.1 > comes out. >

Re: Scheduler feature

2015-08-12 Thread nino martinez wael
Are there some way to list what jobs have been scheduled? On Wed, Aug 12, 2015 at 12:19 PM, nino martinez wael wrote: > BTW changed to 3.0.4 and bound my job to Runnable, but still does not work.. > > Anyhow I will switch to 4.0.1 snapshot. And see how it is there.. And > get

Re: Scheduler feature

2015-08-12 Thread nino martinez wael
he latest 4.0.1-SNAPSHOT from the apache snapshot > repo, > cause there was some sort of issue related to K4 and windows. > > regards, Achim > > 2015-08-12 12:06 GMT+02:00 nino martinez wael > : >> >> But karaf never boots up.. And I never actually hit the line in my te

Re: Scheduler feature

2015-08-12 Thread nino martinez wael
> > regards, Achim > > 2015-08-12 11:59 GMT+02:00 nino martinez wael > : >> >> Okay so I decided to try to upgrade to karaf 4, using pax exam and >> karaf I get an wierd error: >> >> java.io.FileNotFoundException: >> >> C:\nino\develop\w

Re: Scheduler feature

2015-08-12 Thread nino martinez wael
che/karaf/scheduler/core/Activator.java > > 2015-08-12 11:27 GMT+02:00 nino martinez wael > : >> >> Quick question, in which maven artifact for karaf 3.0.4 are >> >> https://github.com/apache/karaf/blob/master/scheduler/src/main/java/org/apache/karaf/scheduler/

Re: Scheduler feature

2015-08-12 Thread nino martinez wael
ax > Web. > We are using it very successfully. [1] > > regards, Achim > > [1] - > https://github.com/ops4j/org.ops4j.pax.web/tree/master/pax-web-itest/pax-web-itest-karaf > > 2015-08-12 8:34 GMT+02:00 nino martinez wael : >> >> Im having a hard time ge

Re: Scheduler feature

2015-08-11 Thread nino martinez wael
Im having a hard time getting this to work, I've tried both with the Karaf scheduler (blueprint) and the Sling scheduler (declarative services) but none of them seems to pickup the jobs. Im using karaf 3.0.4 since I cant get 4.0 to work with pax exam. I've been looking in source files of https://g

Re: WIKI (http://karaf.apache.org/) 4.0 dependency matrix points to 3.0

2015-07-02 Thread nino martinez wael
just happy to help back :) On Thu, Jul 2, 2015 at 8:55 AM, Jean-Baptiste Onofré wrote: > Good catch, I'm fixing that. Thanks, > Regards > JB > > > On 07/02/2015 08:28 AM, nino martinez wael wrote: >> >> look at attached picture >> > > -- >

Re: Service ranking only has effect during bundle startup?

2015-06-03 Thread nino martinez wael
DS and configure it accordingly, to actually > rewire in case of a new Service with a higher ranking is available. > > regards, Achim > > > 2015-05-27 11:57 GMT+02:00 nino martinez wael < > nino.martinez.w...@gmail.com>: > >> No ideas? >> >> On Wed, May 20

Re: Service ranking only has effect during bundle startup?

2015-05-27 Thread nino martinez wael
No ideas? On Wed, May 20, 2015 at 2:01 PM, nino martinez wael wrote: > Hi > > Are there any way to specify service loading so that the highest > available ranked service will always be used no matter which state the > bundle are in, currently it only loads the highest available se

Service ranking only has effect during bundle startup?

2015-05-20 Thread nino martinez wael
Hi Are there any way to specify service loading so that the highest available ranked service will always be used no matter which state the bundle are in, currently it only loads the highest available service on load of the bundle. This means if I have 3 bundles, A,B and C. C uses either A or B. B

Re: Apache CXF feature, registering service without blueprint

2015-05-20 Thread nino martinez wael
No sorry, I did not end going down that path.. On Wed, May 20, 2015 at 1:52 PM, nino martinez wael wrote: > Sure, it worked fine.. > > On Wed, May 20, 2015 at 11:46 AM, noushadali wrote: >> Hello Nino, >> >> Were you able to succeed without using the blueprint...?

Re: Apache CXF feature, registering service without blueprint

2015-05-20 Thread nino martinez wael
Sure, it worked fine.. On Wed, May 20, 2015 at 11:46 AM, noushadali wrote: > Hello Nino, > > Were you able to succeed without using the blueprint...? > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/Apache-CXF-feature-registering-service-without-blueprint-tp4039764p

Re: Problems with Blueprint services

2015-05-20 Thread nino martinez wael
The only stuff I took from your push James were ONLY pom changes. On Tue, May 19, 2015 at 2:15 PM, James Carman wrote: > You weren't installing all required bundles in your test either. > > On Tue, May 19, 2015 at 8:12 AM nino martinez wael > wrote: >> >> I must h

Re: Problems with Blueprint services

2015-05-19 Thread nino martinez wael
I must have messed something up while trying to make it work.. On Tue, May 19, 2015 at 2:08 PM, James Carman wrote: > Nice I made no customizations to the bundle plugin. The settings in the > parent pom reflect the default settings. > > On Tue, May 19, 2015 at 8:06 AM nino m

Re: Problems with Blueprint services

2015-05-19 Thread nino martinez wael
+1 for James helping out :) it is working now.. On Tue, May 19, 2015 at 1:47 PM, James Carman wrote: > Nino, > > https://github.com/nmwael/osgi2versions/pull/1 > > Enjoy! :) > > > > On Tue, May 19, 2015 at 2:58 AM nino martinez wael > wrote: >> >> Okay

Re: Problems with Blueprint services

2015-05-18 Thread nino martinez wael
e Maven bundle plugin do all this for > you is the easiest way to go. > > On Mon, May 18, 2015 at 7:27 AM, nino martinez wael > wrote: >> >> I Will try to manually do it.. Currently it runs in an pax exam test.. >> >> On May 18, 2015 3:29 PM, wrote: >>&g

RE: Problems with Blueprint services

2015-05-18 Thread nino martinez wael
bundle (A), implementations in another bundle (B) > and a number of consumers. Noticed the ClassCastException a few times if I > issue a start command to A while starting B and consumers. This was > happening with Karaf 3.0.0. > > -Original Message----- > From: nino martinez w

Re: Problems with Blueprint services

2015-05-18 Thread nino martinez wael
API bundle, import it > into the service bundle, let BP and the Maven plugin take care of exports > > > > On Mon, May 18, 2015 at 7:09 AM, nino martinez wael > wrote: >> >> I did use * exports initially but did change it. >> >> To >> com.netdesign.osg

Re: Problems with Blueprint services

2015-05-18 Thread nino martinez wael
ment to a ServiceReference? Or setting > the 'member-type="service-object"' attribute in your ? > Here are some sources that can help: > http://aries.apache.org/modules/blueprint.html and > http://www.ibm.com/developerworks/library/os-osgiblueprint/ > > Regards, &g

Re: Problems with Blueprint services

2015-05-18 Thread nino martinez wael
; > > On Mon, May 18, 2015 at 3:09 AM, nino martinez wael > wrote: >> >> Setter is correct: >> >> https://paste.apache.org/e5ld >> >> And BackendBImplement does implement the interface >> >> https://paste.apache.org/4pOv >> &g

Re: Problems with Blueprint services

2015-05-18 Thread nino martinez wael
So Im still stumbling a bit around this, and not sure what todo... On Mon, May 18, 2015 at 11:09 AM, nino martinez wael wrote: > Setter is correct: > > https://paste.apache.org/e5ld > > And BackendBImplement does implement the interface > > https://paste.apache.org/4pOv &g

Re: Problems with Blueprint services

2015-05-18 Thread nino martinez wael
s MessageProvider. > > Regards > JB > > > On 05/18/2015 09:40 AM, nino martinez wael wrote: >> >> Hi im having a little difficulty getting my services to get "injected" >> via a blueprint, the service are injected but when trying to use it, >> it fails

Problems with Blueprint services

2015-05-18 Thread nino martinez wael
Hi im having a little difficulty getting my services to get "injected" via a blueprint, the service are injected but when trying to use it, it fails with this exception: Proxyac192a6f_60ad_44a3_8470_75b9a9054462 cannot be cast to com.netdesign.osgi.examples.rest.domain.MessageProvider java.lang.Cl

Re: Scheduler feature

2015-04-22 Thread nino martinez wael
rd and only one other Sling dependency bundle > required. > > Cheers, > Michael > > [1] > https://sling.apache.org/documentation/bundles/scheduler-service-commons-scheduler.html > > 2015-04-20 14:16 GMT+02:00 nino martinez wael > : >> >> ok, i'll just

Re: Scheduler feature

2015-04-20 Thread nino martinez wael
4750.html > > > regards, Achim > > P.S. I never said it should not be used ... > > > 2015-04-20 13:09 GMT+02:00 nino martinez wael > : >> >> Hmm I looked in JIRA but could only find this >> >> https://issues.apache.org/jira/browse/KARAF-3674?jql=p

Re: Scheduler feature

2015-04-20 Thread nino martinez wael
egards > JB > > > On 04/17/2015 01:08 PM, nino martinez wael wrote: >> >> Hi I've started using OSGI and Karaf. I can't seem to find information >> about the scheduler feature. >> > > -- > Jean-Baptiste Onofré > jbono...@apache.org > http

Apache CXF feature, registering service without blueprint

2015-04-17 Thread nino martinez wael
Hi im wondering if one can do a "manually" registration via the OSGI activator (by pulling a CXF registration service) instead of doing it via the magical blueprint? -- Best regards / Med venlig hilsen Nino Martinez

Re: Scheduler feature

2015-04-17 Thread nino martinez wael
ok thanks On Fri, Apr 17, 2015 at 1:18 PM, Achim Nierbeck wrote: > As it's a rather undocumented feature. > But you'll find some details on the mailing list and/or JIRA for it. > > regards, Achim > > 2015-04-17 13:08 GMT+02:00 nino martinez wael > : >> >&

Scheduler feature

2015-04-17 Thread nino martinez wael
Hi I've started using OSGI and Karaf. I can't seem to find information about the scheduler feature. -- Best regards / Med venlig hilsen Nino Martinez