maven-bundle-plugin Question

2023-08-20 Thread java joe
Greetings, Im trying to use maven-bundle-plugin with an existing OSGI MANIFEST.MF to merge/add updates.  I can Add fields, but Merging them escapes me? For Example;  In my existing Manifest file I have: Bundle-ClassPath: .,/jars and I would like to be able to merge the line for /extras into my

Felix Question on Stackoverflow

2020-06-27 Thread Cris Rockwell
Hi I posted a question to SO, and would appreciate any help you might offer https://stackoverflow.com/questions/62616109/creating-jaas-configuration-using-java-in-felix-osgi <https://stackoverflow.com/questions/62616109/creating-jaas-configuration-using-java-in-felix-osgi> Thanks Cris Rockwell

Re: Component annotations question

2017-03-01 Thread Carsten Ziegeler
Bruce Jackson wrote > This bundle (org.osgi.service.component.annotations) is for compile-time only > use. Presumably then, when I’m writing my own bundle in Eclipse I should mark > the annotations bundle import as being optional? > No :) you should have no import for that package. The annotatio

Re: Component annotations question

2017-03-01 Thread Bruce Jackson
> This might be a super-dumb question, but where can I find a jar that exports the org.osgi.service.component.annotations package and implements it? > The felix downloads page lists these downloads: > > SCR (Declarative Services) > SCR Annotations

Re: Component annotations question

2017-03-01 Thread Bruce Jackson
1.3.0 They are processed at build time. If you're using Maven then e.g. the bundle plugin does this for you Regards Carsten Bruce Jackson wrote > Hi All > > This might be a super-dumb question, but where can I find

Re: Component annotations question

2017-03-01 Thread Carsten Ziegeler
e a super-dumb question, but where can I find a jar that exports > the org.osgi.service.component.annotations package and implements it? > The felix downloads page lists these downloads: > > SCR (Declarative Services) > SCR Annotations > SCR bnd Plugin > SCR Compat > SCR DS Anno

Component annotations question

2017-03-01 Thread Bruce Jackson
Hi All This might be a super-dumb question, but where can I find a jar that exports the org.osgi.service.component.annotations package and implements it? The felix downloads page lists these downloads: SCR (Declarative Services) SCR Annotations SCR bnd Plugin SCR Compat SCR DS Annotations SCR

Re: Question about the tutorial "Using Distributed Services with iPOJO"

2016-02-22 Thread Bassem Debbabi
... IPojo just makes it easy to use that. > Check out the Apache CXF documentation for more details about configuring > remote services: > http://cxf.apache.org/distributed-osgi-greeter-demo-walkthrough.html > Good luck, > Renato > > >> Date: Mon, 22 Feb 2016 14:30:00 -0300 >

RE: Question about the tutorial "Using Distributed Services with iPOJO"

2016-02-22 Thread Paulo Renato de Athaydes
IPojo just makes it easy to use that. Check out the Apache CXF documentation for more details about configuring remote services: http://cxf.apache.org/distributed-osgi-greeter-demo-walkthrough.html Good luck, Renato > Date: Mon, 22 Feb 2016 14:30:00 -0300 > Subject: Re: Question abou

Re: Question about the tutorial "Using Distributed Services with iPOJO"

2016-02-22 Thread Gabriel Ferreira
eally helpful. I have only one question remaining: what (and how) should I do to execute this example in two different PCs (under the same network)? I mean, one of them running the Server, and the other PC with the Client. Is it possible? Thank you for your help, Gabriel 2016-02-18 1:47 GMT-03:00

RE: Question about the tutorial "Using Distributed Services with iPOJO"

2016-02-17 Thread Paulo Renato de Athaydes
et me know if you need more help. Renato Date: Wed, 17 Feb 2016 15:43:54 -0300 Subject: Question about the tutorial "Using Distributed Services with iPOJO" From: gabriel.fbsousa...@gmail.com To: users@felix.apache.org CC: sandro.andr...@gmail.com; icaro.je...@gmail.com Good evening, I&#x

Question about the tutorial "Using Distributed Services with iPOJO"

2016-02-17 Thread Gabriel Ferreira
Good evening, I'm Gabriel, a brazilian student. I tried to study iPOJO, in order to understand how it can help to create and use distributed services. The first tutorial I found was "Using Distributed Services with iPOJO", from the Felix iPOJO documentation, in the following link: http://felix.ap

Re: Newbie question related to device communication

2015-10-12 Thread Scott Lewis
http question (I.e. using the HTTP service) is actually a bit of a red herring: there is nothing stopping each endpoint implementing an http service and also being a client of other endpoints to pass messages. My suggestion would be to use this approach, as it has so many side benefits, incl

Re: Newbie question related to device communication

2015-10-12 Thread slewis
ces) where the endpoints needed to communicate together. In both cases, it has required some ‘server’ infrastructure to help with message passing between endpoints, but that could be a side effect of the infrastructure we had to use. However, these server components were again based on OSGi. >>

Re: Newbie question related to device communication

2015-08-11 Thread Scott Lewis
ECF 3.10.1 has been released [1]. A part of this release was the simplification and refactoring of the Karaf features [2] available to install OSGi Remote Services, along with required distribution and discovery providers. Scott [1] http://eclipseecf.blogspot.com/ [2] https://wiki.eclipse.or

Re: Newbie question related to device communication

2015-06-03 Thread Scott Lewis
could be a side effect of the infrastructure we had to use. However, these server components were again based on OSGi. The http question (I.e. using the HTTP service) is actually a bit of a red herring: there is nothing stopping each endpoint implementing an http service and also being a client of

Re: Newbie question related to device communication

2015-06-03 Thread Simon Kitching
On 06/02/2015 12:57 PM, Sebastiaan la Fleur wrote: All this extra (meta) information about the different implementations is actually really appreciated from my end, so feel free to continue :D I wrote up my experiences with searching for an osgi remote-services implementation; you might find i

Re: Newbie question related to device communication

2015-06-03 Thread Bruce Jackson
we had to use. However, these server components were again based on OSGi. The http question (I.e. using the HTTP service) is actually a bit of a red herring: there is nothing stopping each endpoint implementing an http service and also being a client of other endpoints to pass messages. My

Re: Newbie question related to device communication

2015-06-02 Thread Scott Lewis
On 6/2/2015 2:16 AM, Simon Kitching wrote: Hi Scott, Maybe I shouldn't hijack a thread on the Felix list to ask about ECF, but we are already talking about remote-services implementations, and you are here so I'll do it :-) Link [1] has instructions on using ECF's remote services on Karaf w

Re: Newbie question related to device communication

2015-06-02 Thread Sebastiaan la Fleur
All this extra (meta) information about the different implementations is actually really appreciated from my end, so feel free to continue :D 2015-06-02 11:16 GMT+02:00 Simon Kitching : > Hi Scott, > > Maybe I shouldn't hijack a thread on the Felix list to ask about ECF, but > we are already talk

Re: Newbie question related to device communication

2015-06-02 Thread Simon Kitching
Hi Scott, Maybe I shouldn't hijack a thread on the Felix list to ask about ECF, but we are already talking about remote-services implementations, and you are here so I'll do it :-) Link [1] has instructions on using ECF's remote services on Karaf which lead to this karaf features file: http

Re: Newbie question related to device communication

2015-06-01 Thread Scott Lewis
2015-05-30 13:19 GMT+02:00 Neil Bartlett : That's a really wide-open question... "information exchange over a network" could mean so many things! Can you be more specific about your requirements? In the meantime, take a look at the Remote Services and Remote Service Admin specs

Re: Newbie question related to device communication

2015-06-01 Thread Simon Kitching
nnection to each other and both clients need to be able to start the conversation on the established connection. Hopefully this is a lot clearer to what I am searching for! 2015-05-30 13:19 GMT+02:00 Neil Bartlett : That's a really wide-open question... "information exchange over a ne

Re: Newbie question related to device communication

2015-05-31 Thread Sebastiaan la Fleur
e to start the conversation on the established connection. > > Hopefully this is a lot clearer to what I am searching for! > > 2015-05-30 13:19 GMT+02:00 Neil Bartlett : > >> That's a really wide-open question... "information exchange over a >> network" could mean so many

Re: Newbie question related to device communication

2015-05-30 Thread Sebastiaan la Fleur
clients need to be able to start the conversation on the established connection. Hopefully this is a lot clearer to what I am searching for! 2015-05-30 13:19 GMT+02:00 Neil Bartlett : > That's a really wide-open question... "information exchange over a > network" could mean so

Re: Newbie question related to device communication

2015-05-30 Thread Neil Bartlett
That's a really wide-open question... "information exchange over a network" could mean so many things! Can you be more specific about your requirements? In the meantime, take a look at the Remote Services and Remote Service Admin specs as they may be relevant. -- Neil Bartl

Newbie question related to device communication

2015-05-30 Thread Sebastiaan la Fleur
Hi everyone! As of yesterday I am trying to get into Apache Felix for a project. I am still trying to get a basic grip on the framework. So far, if I am understanding correctly the framework allows for remote install, update etc. of bundles(highly modulerized code) on different devices which al

Re: Question regarding Config Admin

2015-03-05 Thread Andrew Phillips
Thank you for the examples, these are very good and clarify creating instances. This will work well in this scenario with a single class creating multiple instances with different configurations. If i could ask, related to another scenario, related to config admin in singleton instances. i’

Re: Question regarding Config Admin

2015-03-05 Thread Matthias Jeschke
Hi, Here is a small example to create a configuration for a pax-jdbc database (org.ops4j.datasource is the service factory pid): @Requires private ConfigurationAdmin configurationAdmin; Configuration conf = configurationAdmin.createFactoryConfiguration("org.ops4j.datasource", "?"); Dictionary pr

Re: Question regarding Config Admin

2015-03-05 Thread clement escoffier
Hi, Instead of creating the instance with the @Configuration, you may have to create them using 'cfg' files. 'cfg' files are read by Karaf that store the configuration into the Config Admin. Then, iPOJO read the configuration from the Config Admin. Cheers, Clement 2015-03-05 16:49 GMT+01:00 And

Re: Question regarding Config Admin

2015-03-05 Thread Andrew Phillips
I think i figured it out. Sorry to be trouble. I figured out that the karat config management can change the configuration, but if there isn’t a configuration file set up, it doesn’t show it in the config:list. > On Mar 5, 2015, at 7:19 AM, Andy Phillips wrote: > > I appreciate the feedback

Re: Question regarding Config Admin

2015-03-05 Thread Andy Phillips
I appreciate the feedback, not to be a pain, could you give me an example? > On Mar 5, 2015, at 6:25 AM, Matthias Jeschke wrote: > > Hi, > > After creating the instances I think you have to create the configuration. > What I did was to inject the ConfigurationAdmin and then create a new > con

Re: Question regarding Config Admin

2015-03-05 Thread Matthias Jeschke
Hi, After creating the instances I think you have to create the configuration. What I did was to inject the ConfigurationAdmin and then create a new configuration (with the respective managed service pid) via "createFactoryConfiguration()". Best regards Matthias On Thu, Mar 5, 2015 at 1:09 PM,

Question regarding Config Admin

2015-03-05 Thread Andrew Phillips
I am using iPojo and trying to create some instances of a component with different configuration and tying the configuration to the Config Admin in karat (so it can be managed with the config commands). No matter what i do, i cannot get the configuration of these instances to show up when i do

Question regarding changing Felix FileInstall start level...

2014-12-11 Thread thully
ontext... -- View this message in context: http://apache-felix.18485.x6.nabble.com/Question-regarding-changing-Felix-FileInstall-start-level-tp5010812.html Sent from the Apache Felix - Users mailing list archive at Nabble.com. ---

Re: Comprehension question about ProtectionDomain of a Bundle

2014-09-29 Thread Karl Pauls
> in your solution. > > Thanks so far, > Dirk > > > -Ursprüngliche Nachricht- > Von: Karl Pauls [mailto:karlpa...@gmail.com] > Gesendet: Montag, 29. September 2014 14:00 > An: users@felix.apache.org > Betreff: Re: Comprehension question about ProtectionDomain of

AW: Comprehension question about ProtectionDomain of a Bundle

2014-09-29 Thread Dirk.Rudolph
g, 29. September 2014 14:00 An: users@felix.apache.org Betreff: Re: Comprehension question about ProtectionDomain of a Bundle On Mon, Sep 29, 2014 at 1:34 PM, Felix Meschberger wrote: > > Hi > > Am 29.09.2014 um 13:13 schrieb Karl Pauls : > > > On Mon, Sep 29, 2014 at 12:56

Re: Comprehension question about ProtectionDomain of a Bundle

2014-09-29 Thread Karl Pauls
gt; > Karl > > > > > >> Regards, > >> Dirk > >> > >> -Ursprüngliche Nachricht- > >> Von: Karl Pauls [mailto:karlpa...@gmail.com] > >> Gesendet: Montag, 29. September 2014 12:47 > >> An: users@felix.apache.org

AW: Comprehension question about ProtectionDomain of a Bundle

2014-09-29 Thread Dirk.Rudolph
-Ursprüngliche Nachricht- Von: Felix Meschberger [mailto:fmesc...@adobe.com] Gesendet: Montag, 29. September 2014 13:34 An: users@felix.apache.org Betreff: Re: Comprehension question about ProtectionDomain of a Bundle Hi Am 29.09.2014 um 13:13 schrieb Karl Pauls : > On Mon, Sep 29, 2014 at

Re: Comprehension question about ProtectionDomain of a Bundle

2014-09-29 Thread Felix Meschberger
re a mess > in java). +100 Regards Felix > > regards, > > Karl > > >> Regards, >> Dirk >> >> -Ursprüngliche Nachricht- >> Von: Karl Pauls [mailto:karlpa...@gmail.com] >> Gesendet: Montag, 29. September 2014 12:47 >> An: us

Re: Comprehension question about ProtectionDomain of a Bundle

2014-09-29 Thread Karl Pauls
12:47 > An: users@felix.apache.org > Betreff: Re: Comprehension question about ProtectionDomain of a Bundle > > In the current Felix setup, though, this URL basically just is an immutable > > key referring to the abstract Bundle not to the concrete contents of > > the Bundle. If we ex

AW: Comprehension question about ProtectionDomain of a Bundle

2014-09-29 Thread Dirk.Rudolph
[mailto:karlpa...@gmail.com] Gesendet: Montag, 29. September 2014 12:47 An: users@felix.apache.org Betreff: Re: Comprehension question about ProtectionDomain of a Bundle In the current Felix setup, though, this URL basically just is an immutable > key referring to the abstract Bundle not to the concr

AW: Comprehension question about ProtectionDomain of a Bundle

2014-09-29 Thread Dirk.Rudolph
Felix Meschberger [mailto:fmesc...@adobe.com] Gesendet: Montag, 29. September 2014 11:53 An: users@felix.apache.org Betreff: Re: Comprehension question about ProtectionDomain of a Bundle Hi Dirk Does the JCR provider use the CodeSource to actually access the JAR library to validate it in some wa

Re: Comprehension question about ProtectionDomain of a Bundle

2014-09-29 Thread Karl Pauls
transient? > > > > Cheers, > > Dirk > > > > -Ursprüngliche Nachricht- > > Von: Karl Pauls [mailto:karlpa...@gmail.com] > > Gesendet: Montag, 29. September 2014 10:23 > > An: users@felix.apache.org > > Betreff: Re: Comprehension question about

Re: Comprehension question about ProtectionDomain of a Bundle

2014-09-29 Thread Felix Meschberger
; Gesendet: Montag, 29. September 2014 10:23 > An: users@felix.apache.org > Betreff: Re: Comprehension question about ProtectionDomain of a Bundle > > Hi Dirk, > > we are using bouncycastle as jce provider in our application setup based on >> AEM (Apache Sling) and I got

AW: Comprehension question about ProtectionDomain of a Bundle

2014-09-29 Thread Dirk.Rudolph
-Ursprüngliche Nachricht- Von: Karl Pauls [mailto:karlpa...@gmail.com] Gesendet: Montag, 29. September 2014 10:23 An: users@felix.apache.org Betreff: Re: Comprehension question about ProtectionDomain of a Bundle Hi Dirk, we are using bouncycastle as jce provider in our application setup

Re: Comprehension question about ProtectionDomain of a Bundle

2014-09-29 Thread Karl Pauls
Hi Dirk, we are using bouncycastle as jce provider in our application setup based on > AEM (Apache Sling) and I got an error during jar verification. (Something > with MalformedURLException). > Yeah, irrc they do assume that the code source of a protection domain is a valid url which isn't necess

Comprehension question about ProtectionDomain of a Bundle

2014-09-28 Thread Dirk.Rudolph
Hi all, we are using bouncycastle as jce provider in our application setup based on AEM (Apache Sling) and I got an error during jar verification. (Something with MalformedURLException). For my use case I fixed the issue by implementing a URLStreamHandlerService providing a URLConnection to th

Re: newbee question

2014-01-06 Thread Clement Escoffier
On 6 janv. 2014, at 15:52, Hermann Matthes wrote: > Hello Guillaume, > merci beaucoup. It works. > > This is the content of the file I generate during validate/invalidate: > > Starting workbench server, log is > org.osgi.service.log.LogService$$Proxy@16a327b0 > Stopping workbench server, log

Re: newbee question

2014-01-06 Thread Hermann Matthes
Hello Guillaume, merci beaucoup. It works. This is the content of the file I generate during validate/invalidate: Starting workbench server, log is org.osgi.service.log.LogService$$Proxy@16a327b0 Stopping workbench server, log is org.osgi.service.log.LogService$$Proxy@16a327b0 So the log ser

Re: newbee question

2014-01-06 Thread Guillaume Sauthier (OW2/GMail)
Hi Hermann Make sure you manipulate your bundles with the latest ipojo manipulator (1.11.0) (there are ant, maven and bnd extension available). --G 2014/1/6 Hermann Matthes > Hello Clement, > thnaks a lot for the quick answer. > When I set the LogServervice to optional and reinstall the modul

Re: newbee question

2014-01-06 Thread Hermann Matthes
Hello Clement, thnaks a lot for the quick answer. When I set the LogServervice to optional and reinstall the module, I get the following log error meeesage during "start": 2014-01-06 15:19:34,517 | ERROR | pool-1-thread-1 | server | ?

Re: newbee question

2014-01-05 Thread Clement Escoffier
Hi, On 5 janv. 2014, at 20:07, Hermann Matthes wrote: > Hello everybody, > I try to learn ipojo to implement a simple server using Netbeans 7.4 and > Apache Karaf. > > My first goal is to write a really simple server which just prints a message > when it's activated or deactivated. No tutoria

newbee question

2014-01-05 Thread Hermann Matthes
Hello everybody, I try to learn ipojo to implement a simple server using Netbeans 7.4 and Apache Karaf. My first goal is to write a really simple server which just prints a message when it's activated or deactivated. No tutorial which I found gave enough information to perform such a simple t

Re: Question regarding netbeans and felix

2013-11-04 Thread Oliver Zemann
The wierd thing is that sometimes it works, but mostly not... unfortunately i am not familiar with the configuration of felix inside netbeans. I guess this is more related to netbeans than on apache felix. Regards, Oli 2013/11/4 Felix Meschberger > Not versatile in NetBeans at all, but this lo

Re: Question regarding netbeans and felix

2013-11-04 Thread Felix Meschberger
Not versatile in NetBeans at all, but this looks like trying to load a ZIP file from a folder. Either the source should really be a ZIP file and not a folder or the file has actually been removed. Could this be a setup issue ? Regards Felix Am 01.11.2013 um 20:10 schrieb Oliver Zemann : > He

Question regarding netbeans and felix

2013-11-01 Thread Oliver Zemann
Hello I have a project which was running fine about a year ago. Now i wanted to move on at this project but unfortunately it does not run anymore. I can compile it without any problem but after running it i get an error message: --- maven-antrun-plugin:1.7:run (default-cli) @ SoundBox --- Ex

Re: Question about getService method

2013-10-04 Thread Tommy Svensson
Hello Tod, > required: ServiceReference > found: ServiceReference It is telling you that it wants a "ServiceReference", rather than just a "ServiceReference" of unknown type. You should also not be doing what you are doing in the Activator start method. The activator is basically for regis

Question about getService method

2013-10-04 Thread Auto Sending Stop 1
Hi, I am new to the Apache Felix platform, and I am using the examples provided in the Apache Felix OSGi Tutorial page to learn how to write OSGi bundle. Unfortunately, I run into a problem when trying to use the service provided by another bundle, and followings are the codes of the Act

Stack Overflow Questions Tags Users Badges Unanswered Ask Question maven-obr-plugin generating an empty repository.xml file

2013-09-19 Thread jacksonraniel
file are generated with just these linesI don't know why the rest of the file are not generated. Can someone help me?Thank's -- View this message in context: http://apache-felix.18485.x6.nabble.com/Stack-Overflow-Questions-Tags-Users-Badges-Unanswered-Ask-Question-maven-obr-plugin-ge

Re: Question about OSGi and SCA

2013-08-18 Thread Clement Escoffier
Hi, On 18 août 2013, at 08:54, Dhiego Abrantes de Oliveira Martins wrote: > Hi all, > > One question: > > => It is possible to say that OSGi is SCA-based? And if is using bundles as > web services? OSGi is not SCA-based. But, it can be used as an SCA component implement

Question about OSGi and SCA

2013-08-17 Thread Dhiego Abrantes de Oliveira Martins
Hi all, One question: => It is possible to say that OSGi is SCA-based? And if is using bundles as web services? Best regards! __ *Dhiego*

RE: Question about scr release schedule

2013-05-23 Thread Adam Purkiss
thanks That seems to have fixed that problem. Build was successfull > Date: Thu, 23 May 2013 19:28:34 +0200 > Subject: Re: Question about scr release schedule > From: pierre.de...@gmail.com > To: users@felix.apache.org > > Hello Adam; > > I don't know when David or

Re: Question about scr release schedule

2013-05-23 Thread Pierre De Rop
Hello Adam; I don't know when David or Felix plans to cut a release, but looking at your trace, it seems that your maven crashed ? Maybe you ran out of memory ? Can you retry with more memory, using MAVEN_OPTS="-Xmx512m -Xms512m -server" ? if some tests are still failing, can you then provide th

Question about scr release schedule

2013-05-23 Thread Adam Purkiss
Recently a high priority bug was fixed https://issues.apache.org/jira/browse/FELIX-4069. I was wondering what the release schedule is like for SCR as while we can use a snapshot build for now ideally we would like the bug to be officially rolled out. I was hoping someone could help me understan

Re: [iPOJO] FieldInterceptor question

2013-05-21 Thread Michiel Vermandel
tter.com/#!/Codessentials From: Clement Escoffier To: users@felix.apache.org; Michiel Vermandel Sent: Tuesday, May 21, 2013 3:41 PM Subject: Re: [iPOJO] FieldInterceptor question Hi, If you are sure you are not interested by the value set by the component cod

Re: [iPOJO] FieldInterceptor question

2013-05-21 Thread Clement Escoffier
or free! > Follow us at http://twitter.com/#!/Codessentials > > > > From: Clement Escoffier > To: users@felix.apache.org; Michiel Vermandel > Sent: Tuesday, May 21, 2013 1:15 PM > Subject: Re: [iPOJO] FieldInterceptor question > > >

Re: [iPOJO] FieldInterceptor question

2013-05-21 Thread Michiel Vermandel
://twitter.com/#!/Codessentials From: Clement Escoffier To: users@felix.apache.org; Michiel Vermandel Sent: Tuesday, May 21, 2013 1:15 PM Subject: Re: [iPOJO] FieldInterceptor question Hi, Yes of course. Check this handler (used for testing purpose) doing

Re: [iPOJO] FieldInterceptor question

2013-05-21 Thread Clement Escoffier
Hi, Yes of course. Check this handler (used for testing purpose) doing somewhat what you want: https://github.com/apache/felix/blob/trunk/ipojo/runtime/core-it/src/it/ipojo-core-external-handlers-test/src/main/java/org/apache/felix/ipojo/runtime/externalhandlers/components/CheckServiceAndFieldInt

[iPOJO] FieldInterceptor question

2013-05-21 Thread Michiel Vermandel
Hi, I want to use the FieldInterceptor capabilities to initialize a field. It isn't hard to do but after analyzing the source code (InstanceManager.java) I'm a bit afraid of the overhead of using a FieldInterceptor. It seems to do quite a lot. In my scenario, I just want to initialize the field u

Re: [ipojo] Question about exposing cxf endpoint

2013-05-18 Thread Dhiego Abrantes de Oliveira Martins
Hi, The problem was solved. The main problem was the version of single-dogsi and the value of property 'org.apache.cxf.ws.address'. We were using the single-dosgi version 1.3.1, so, we changed this version to 1.4.*. About the 'org.apache.cxf.ws.address' property, if we declare as 'localhost', the

Re: [ipojo] Question about exposing cxf endpoint

2013-05-18 Thread Clement Escoffier
Hi, Which port are you using ? Also check if you don't have two http service deployed. Regards, Clement On 17 mai 2013, at 07:28, Dhiego Abrantes de Oliveira Martins wrote: > Hi all, > > I have a problem with CXF. I'm trying to develop a WebService as a Bundle > OSGi and I'm using iPOJO +

[ipojo] Question about exposing cxf endpoint

2013-05-16 Thread Dhiego Abrantes de Oliveira Martins
Hi all, I have a problem with CXF. I'm trying to develop a WebService as a Bundle OSGi and I'm using iPOJO + Maven. So, I included 'cxf-rt-transports-http' and 'cxf-rt-frontend-jaxws' as dependencies. Both on version 2.6.5. What seem is that when I start the bundle, an specific instance of jetty

iPojo Factory question

2013-03-27 Thread tonneau
Hi ! I have a hierarchical set of java classes (let's say class A is an abstract class, and classes B and C are extending class A). I would like to create, with the ipojo Factory, a set of instances of class A. But I cannot instantiate class A directly, since it's abstract and the attributes

Re: Question about Include-Resource

2013-03-20 Thread Ritu Biala
Thanks Stuart. That did work!! On Wed, Mar 20, 2013 at 1:53 PM, Stuart McCulloch wrote: > To add extra static resources just add another clause to the <_wab> > instruction: > > <_wab>src/main/webapp,destination=target/temp > > and everything under "target/temp" will be added under "desti

Re: Question about Include-Resource

2013-03-20 Thread Stuart McCulloch
To add extra static resources just add another clause to the <_wab> instruction: <_wab>src/main/webapp,destination=target/temp and everything under "target/temp" will be added under "destination" in the WAB. On 19 Mar 2013, at 19:56, Ritu Biala wrote: > Hi everyone > > I am generating

Question about Include-Resource

2013-03-20 Thread Ritu Biala
Hi everyone The problem: I am generating some files under target/temp that I want to be included in the final bundle wab. Here is the code snippet that I am using: <_wab>src/main/webapp src/main/webapp/destination=target/temp I would like the directories generated under target/t

Re: Question about accessing component dosgi

2013-03-01 Thread Dhiego Abrantes de Oliveira Martins
t; >> By default, ipojo dosgi is zookeeper based, right? >> >> The only change was @WebService annotation added in AdderService and >> AdderServiceProvider. >> >> One more question: A simple bundle can be a Service and a WebService at >> the >> sa

Re: Question about accessing component dosgi

2013-02-28 Thread Christian Schneider
default, ipojo dosgi is zookeeper based, right? The only change was @WebService annotation added in AdderService and AdderServiceProvider. One more question: A simple bundle can be a Service and a WebService at the same time? I mean: Does make sense implements a bundle that behaves as WebService

Re: Question about accessing component dosgi

2013-02-28 Thread Dhiego Abrantes de Oliveira Martins
My code is equals to basic example in ipojo page: http://felix.apache.org/site/apache-felix-ipojo-dosgi.html By default, ipojo dosgi is zookeeper based, right? The only change was @WebService annotation added in AdderService and AdderServiceProvider. One more question: A simple bundle can be a

Re: Question about accessing component dosgi

2013-02-28 Thread Christian Schneider
tead I use the zookeeper based discovery which is easier to use. There basically you only need to reference the service in blueprint on the client side and need no other config per service. The question is: Its possible use DOSGi with WebServices (REST/SOAP)? I mean: We can implement a bundle as a

Re: Question about accessing component dosgi

2013-02-27 Thread Dhiego Abrantes de Oliveira Martins
AVAILABLE: [org.apache.felix.ipojo.remote.adder.AdderService] endpoint id: 5e8f5f57-03d6-44bd-bcaf-f0eeadb5c433 Fev 27, 2013 1:09:58 AM org.apache.cxf.dosgi.dsw.hooks.AbstractClientHook proxifyMatchingInterface WARNING: No class can be found for org.apache.felix.ipojo.remote.adder.AdderService Th

Re: Question about accessing component dosgi

2013-02-26 Thread Christian Schneider
You have two options here: 1) Introduce the @Webservice annotation on the interface. CXF-DOSGi will then automatically use JAXWS/JAXB to export the service. Importing the service using DOSGi should also work. If it does not work then this is a bug. Can you give more informations abbout the pr

Re: Question about accessing component dosgi

2013-02-26 Thread Dhiego Abrantes de Oliveira Martins
The access to this service should occurs outside of framework (felix container). This is one of reasons of because I mustn't use dependency injection. anyone can help me? best regarsd! __ *Dhiego** **Abrantes* 2013/2/27 Dhiego Abrantes de Oliveira Martins > Hi, > > I'm exporting a dosgi comp

Question about accessing component dosgi

2013-02-26 Thread Dhiego Abrantes de Oliveira Martins
Hi, I'm exporting a dosgi component as a webservice and I like do access him. I'm using iPOJO. *Interface:* public interface AdderService{ String add(); } *Provider:* public class AdderServiceImpl implements AdderService{ public String add(){ return "dhieg

Re: Felix tutorial (beginner question)

2013-02-18 Thread Sunil Varghese
That makes sense. Doing a refresh right after the uninstall fixed the issue. Thank you Richard. regards, Sunil On Mon, Feb 18, 2013 at 4:59 PM, Richard S. Hall wrote: > On 2/18/13 17:39, Sunil Varghese wrote: > >> Ah, it looks like the behavior is different when uninstalling/reinstalling >> th

Re: Felix tutorial (beginner question)

2013-02-18 Thread Richard S. Hall
On 2/18/13 17:39, Sunil Varghese wrote: Ah, it looks like the behavior is different when uninstalling/reinstalling the bundles instead of starting/stopping bundles. Could you verify if this is expected and how best to handle the scenario for uninstall/reinstall? Yes, that would probably be exp

Re: Felix tutorial (beginner question)

2013-02-18 Thread Sunil Varghese
Ah, it looks like the behavior is different when uninstalling/reinstalling the bundles instead of starting/stopping bundles. Could you verify if this is expected and how best to handle the scenario for uninstall/reinstall? Thank you, regards, Sunil On Mon, Feb 18, 2013 at 2:27 PM, Sunil Varghese

Felix tutorial (beginner question)

2013-02-18 Thread Sunil Varghese
Hi, I'm working through the Felix tutorial and I've been very happy with its coverage. When running example 6, I'm finding that the service event listener only triggers on registration of the dictionary object in example2b (French). It does not trigger for the dictionary object in example2 (Engl

Re: Very beginner question: maven, netbeans. Implementing a client....

2013-02-12 Thread Imóveis Nacionais
> Sent: Tuesday, February 12, 2013 10:10 AM > To: users@felix.apache.org > Subject: Re: Very beginner question: maven, netbeans. Implementing a > client > > On Tue, Feb 12, 2013 at 12:47 PM, Holger Hoffstätte < > holger.hoffstae...@googlemail.com> wrote: > >

RE: Very beginner question: maven, netbeans. Implementing a client....

2013-02-12 Thread Bellinger, Matthew
AM To: users@felix.apache.org Subject: Re: Very beginner question: maven, netbeans. Implementing a client On Tue, Feb 12, 2013 at 12:47 PM, Holger Hoffstätte < holger.hoffstae...@googlemail.com> wrote: > On 02/12/13 13:21, Imóveis Nacionais wrote: > > > > How can I acce

Re: Very beginner question: maven, netbeans. Implementing a client....

2013-02-12 Thread Imóveis Nacionais
On Tue, Feb 12, 2013 at 12:47 PM, Holger Hoffstätte < holger.hoffstae...@googlemail.com> wrote: > On 02/12/13 13:21, Imóveis Nacionais wrote: > > > > How can I access server bundle interface type during compile time? > > > > By adding it into a separate -api jar for (both client and server) > comp

Re: Very beginner question: maven, netbeans. Implementing a client....

2013-02-12 Thread Holger Hoffstätte
On 02/12/13 13:21, Imóveis Nacionais wrote: > > How can I access server bundle interface type during compile time? > By adding it into a separate -api jar for (both client and server) compile time. For runtime you can either turn that jar into a bundle as well (so that compile-time structure res

RE: Very beginner question: maven, netbeans. Implementing a client....

2013-02-12 Thread Bellinger, Matthew
che.org Subject: Very beginner question: maven, netbeans. Implementing a client Hi all, my first time I am a very new beginner in osgi and am stating with netbeans maven and felix I created the project MyOSGi as a Maven OSGi bundle. In the src folder I have the com.mycompany.myosgi packag

Re: Very beginner question: maven, netbeans. Implementing a client....

2013-02-12 Thread Ferry Huberts
On 12/02/13 13:21, Imóveis Nacionais wrote: Hi all, my first time I am a very new beginner in osgi and am stating with netbeans maven and felix If you're willing to use Eclipse, then bndtools might be something you'd want to try. Follow the tutorial on http://bndtools.org/tutorial.html and

Re: Very beginner question: maven, netbeans. Implementing a client....

2013-02-12 Thread Ferry Huberts
On 12/02/13 13:21, Imóveis Nacionais wrote: Hi all, my first time [snip] How can I access server bundle interface type during compile time? put the 'server bundle' on the classpath during compile -- Ferry Huberts - T

Very beginner question: maven, netbeans. Implementing a client....

2013-02-12 Thread Imóveis Nacionais
Hi all, my first time I am a very new beginner in osgi and am stating with netbeans maven and felix I created the project MyOSGi as a Maven OSGi bundle. In the src folder I have the com.mycompany.myosgi package which has the activator and Serviceimpl In the src folder i have another package called

Re: [iPOJO] Question about bind changes in runtime

2013-01-20 Thread Richard S. Hall
nks and Regards, Fabio -- View this message in context: http://apache-felix.18485.n6.nabble.com/iPOJO-Question-about-bind-changes-in-runtime-tp5001457p5001462.html Sent from the Apache Felix - Users mailing list archive at Nabble.

Re: [iPOJO] Question about bind changes in runtime

2013-01-19 Thread Richard S. Hall
On 1/19/13 13:04 , fabiolf wrote: Good afternoon everybody! I have a question about how iPOJO works on the Dynamic Reconfiguration field. I've been working with iPOJO mainly in the scenario of changing a bind in a component instance dependency when the provider is not available anymor

[iPOJO] Question about bind changes in runtime

2013-01-19 Thread fabiolf
Good afternoon everybody! I have a question about how iPOJO works on the Dynamic Reconfiguration field. I've been working with iPOJO mainly in the scenario of changing a bind in a component instance dependency when the provider is not available anymore. So, when it is not available we can be

  1   2   3   4   5   6   >