Re: ***UNCHECKED*** Re: Re: Connect remote JMX

2018-09-19 Thread Philipp Höfler
your pick ;) Regards JB On 19/09/2018 16:39, Philipp Höfler wrote: > Hallo Ray, > > thank you very much. > I already found the Aries JMX dependency, but I was exactly missing the MBeanService. > That's why it didn't worked for

Re: ***UNCHECKED*** Re: Connect remote JMX

2018-09-19 Thread Philipp Höfler
integrate >> system all together. >> >> Let me know if you need some details (you can ping me directly on my >> e-mail to avoid to "flood" the Felix mailing list). >> >> Regards >> JB >> >> On 1

Re: ***UNCHECKED*** Re: Connect remote JMX

2018-09-19 Thread Philipp Höfler
interested by Karaf, I can help you to create a Karaf feature for your application or at least provide the commands you should do to install the dependency bundles. Regards JB On 19/09/2018 15:38, Philipp Höfler wrote: > Hallo Ray, hallo JB, > > t

Re: ***UNCHECKED*** Re: Connect remote JMX

2018-09-19 Thread Philipp Höfler
ework you are using (logback, slf4j, whatever). Regards JB On 19/09/2018 15:15, Philipp Höfler wrote: > Hallo JB, > > thanks for your kind reply. > > I am getting confused :-) > I am quite new to the OSGi world, so my questions are prob

Re: ***UNCHECKED*** Re: Connect remote JMX

2018-09-19 Thread Philipp Höfler
s (it's just registering a MBean service). Once done, you can use Karaf Decanter to collect the metrics and have monitoring/BAM/alerting. Don't hesitate to ping me if you need more details. Regards JB On 19/09/2018 12:34, Philipp Höfler wrote: >

Connect remote JMX

2018-09-19 Thread Philipp Höfler
Hi, I've setup a small OSGi application. The application gets some REST requests and forwards these requests to a content repository using CMIS. So, basically the app consists of three bundles. The first bundle provides and RESTful webservice (HTTP Whiteboard), the second the CMIS connection to

Re: How to configure LogService

2018-09-18 Thread Philipp Höfler
Thank you so much, Ray. I got it working based on your PR. Thanks all! Philipp Am 18.09.18, 13:16 schrieb "Raymond Auge" : I sent a PR [1] which fixes things. HTH, - Ray [1] https://github.com/phhoef/osgi-test/pull/3 On Tue, Sep 18, 2018 at 6:27 AM Phil

Re: How to configure LogService

2018-09-18 Thread Philipp Höfler
An: "users@felix.apache.org" Betreff: Re: How to configure LogService Let me try again On Tue, Sep 18, 2018 at 5:27 AM Philipp Höfler mailto:philipp.hoef...@pernexas.com>> wrote: Hallo, @Raymond Auge<mailto:raymond.a...@liferay.com<mailto:raymond.a...@liferay.com>> I am using the

Re: How to configure LogService

2018-09-18 Thread Philipp Höfler
logging and what this Felix Logback was doing. So here's a picture that might help. And btw, if our understanding is incorrect, please correct us. [image.png] On Tue, Sep 18, 2018 at 4:54 AM Raymond Auge mailto:raymond.a...@liferay.com>> wrote: On Tue, Sep 18, 2018 at 4:42 AM Phil

Re: How to configure LogService

2018-09-18 Thread Philipp Höfler
/service.log.html#d0e2548 [2] https://osgi.org/specification/osgi.cmpn/7.0.0/service.log.html#org.osgi.service.log.admin.LoggerContext.LOGGER_CONTEXT_PID On Mon, Sep 17, 2018 at 5:25 AM Philipp Höfler wrote: > Hi, > > with the latest update of the Fe

How to configure LogService

2018-09-17 Thread Philipp Höfler
Hi, with the latest update of the Felix SCR, I am able to get an instance of the LogService by referencing the LoggerFactory using this line of code: @Reference(service = LoggerFactory.class) private Logger _logger; Now, I would have expected, that I can configure the LogService through the Web

AW: Configurator R7 example

2018-08-06 Thread Philipp Höfler
s which do all the same security check. Big Thanks! Philipp -Ursprüngliche Nachricht- Von: Carsten Ziegeler Gesendet: Montag, 6. August 2018 17:21 An: users@felix.apache.org; Cristiano ; Philipp Höfler Betreff: Re: Configurator R7 example I think the current @Component annotation is corr

AW: AW: Configurator R7 example

2018-08-06 Thread Philipp Höfler
to have a Map. I do not understand what do you meant about 'how to get the PID?', since you already have defined it in your component: *configurationPid = "my.config"* regards Cristiano On 06/08/2018 10:00, Philipp Höfler wrote: > I made some progress, based on your inform

AW: Configurator R7 example

2018-08-06 Thread Philipp Höfler
#x27;;effective:='active'] -> [Help 1] Any ideas, how I can get the pid of the configuration? Best, Philipp -Ursprüngliche Nachricht- Von: Philipp Höfler Gesendet: Montag, 6. August 2018 13:34 An: users@felix.apache.org Betreff: AW: Configurator R7 example Thanks for your quic

AW: Configurator R7 example

2018-08-06 Thread Philipp Höfler
code. But I don't see what it is ... Philipp -Ursprüngliche Nachricht- Von: Carsten Ziegeler Gesendet: Montag, 6. August 2018 13:08 An: users@felix.apache.org; Philipp Höfler Betreff: Re: Configurator R7 example Atm I'm only guessing, but as you are specifying the conf

AW: Configurator R7 example

2018-08-06 Thread Philipp Höfler
Configuration Information Persistent Identity (PID) my.config~system2 Factory Persistent Identifier (Factory PID) my.config Configuration Binding ? Any help is appreciated. 😊 Thanks, Philipp -Ursprüngliche Nachricht- Von: Philipp Höfler Gesen

AW: Felix Log Service version 1.2.0 cannot be referenced

2018-08-02 Thread Philipp Höfler
s not yet released. I won't be able to do it at least 'till next week. Sincerely, - Ray On Wed, Aug 1, 2018, 04:59 Philipp Höfler, wrote: > Hi, > > I am trying to utilize the new Felix Log Service (1.2.0) with DS. > But no matter what I am trying, the reference is alway

AW: GoGo Shell not accessible

2018-08-01 Thread Philipp Höfler
looks very like gogo has a closed standard input stream, although I can't replicate the output you get by doing this on purpose. -- Derek > On 13 Jul 2018, at 09:40, Philipp Höfler wrote: > > Sorry for double posting, but it seems, that my first email was not working? > At lea

Felix Log Service version 1.2.0 cannot be referenced

2018-08-01 Thread Philipp Höfler
Hi, I am trying to utilize the new Felix Log Service (1.2.0) with DS. But no matter what I am trying, the reference is always null. I added a field with the annotation in my class. @Reference(service = org.osgi.service.log.LoggerFactory.class) private org.osgi.service.log.Logger _logger; In add

AW: Configurator R7 example

2018-08-01 Thread Philipp Höfler
pp/rest/rest/ServerInfoControllerImpl.java Thanks -Ursprüngliche Nachricht- Von: Raymond Auge Gesendet: Dienstag, 17. Juli 2018 16:43 An: felix users Betreff: Re: Configurator R7 example On Tue, Jul 17, 2018 at 10:18 AM, Philipp Höfler < philipp.hoef...@pernexas.com> wrote:

AW: Configurator R7 example

2018-07-17 Thread Philipp Höfler
, 17. Juli 2018 16:43 An: felix users Betreff: Re: Configurator R7 example On Tue, Jul 17, 2018 at 10:18 AM, Philipp Höfler < philipp.hoef...@pernexas.com> wrote: > Hallo Ray, > > I am sorry, I do not understand your pseudo code example. > I've modified my test project to s

AW: Configurator R7 example

2018-07-17 Thread Philipp Höfler
gt; > > On Jul 16, 2018, at 6:34 AM, Raymond Auge > wrote: > > > > On Mon, Jul 16, 2018 at 6:16 AM, Philipp Höfler < > > philipp.hoef...@pernexas.com> wrote: > > > >> Hallo Ray, > >> > >> thanks for your detailed explanation. You&#x

AW: Configurator R7 example

2018-07-16 Thread Philipp Höfler
e Nachricht- Von: Raymond Auge Gesendet: Freitag, 13. Juli 2018 16:01 An: felix users Betreff: Re: Configurator R7 example On Fri, Jul 13, 2018 at 4:37 AM, Philipp Höfler < philipp.hoef...@pernexas.com> wrote: > I've tested the factory configuration and I am afraid that my proble

AW: GoGo Shell not accessible

2018-07-13 Thread Philipp Höfler
org.apache.felix.gogo.jline or org.apache.felix.gogo.shell? Also, how do you invoke the framework? e.g. from command line? from IDE? (which one?) The output looks very like gogo has a closed standard input stream, although I can't replicate the output you get by doing this on purpose. -- Derek > On 13 Jul

GoGo Shell not accessible

2018-07-13 Thread Philipp Höfler
Sorry for double posting, but it seems, that my first email was not working? At least in mail-archive the thread is not accessible for some reason (https://www.mail-archive.com/users@felix.apache.org/msg18161.html) Starting some days ago, the GoGo shell is gone crazy and prints something like t

AW: Configurator R7 example

2018-07-13 Thread Philipp Höfler
-Ursprüngliche Nachricht- Von: Raymond Auge Gesendet: Donnerstag, 12. Juli 2018 18:23 An: felix users Betreff: Re: Configurator R7 example On Thu, Jul 12, 2018 at 11:58 AM, Philipp Höfler < philipp.hoef...@pernexas.com> wrote: > Right, this is missing. > I added the @Rquire

AW: Configurator R7 example

2018-07-12 Thread Philipp Höfler
page has been created for Wicket which can present the configuration of a select configuration PID, which will make an application-specific configuration page that much easier to implement. On Thu, Jul 12, 2018 at 6:22 PM, Raymond Auge wrote: > On Thu, Jul 12, 2018 at 11:58 AM, Philipp Höfler &l

AW: Configurator R7 example

2018-07-12 Thread Philipp Höfler
etreff: Re: Configurator R7 example On Thu, Jul 12, 2018 at 11:58 AM, Philipp Höfler < philipp.hoef...@pernexas.com> wrote: > Right, this is missing. > I added the @RquireConfigurator annotation to the GoGo Command class. > Is that a suitable place for it? > The json is now being loade

AW: Configurator R7 example

2018-07-12 Thread Philipp Höfler
der=osgi.configurator) \ (version>=1.0 <https://osgi.org/specification/osgi.cmpn/7.0.0/service.configurator.html#org.osgi.service.configurator>)(!(version>=2.0)))" That or on some bit of code in the configuration bundle add the annotation: @org.osgi.service.configurator.annot

AW: Configurator R7 example

2018-07-12 Thread Philipp Höfler
mpn/7.0.0/service.configurator.html On Thu, 12 Jul 2018 at 10:55, Philipp Höfler wrote: > Hi, > > I am searching for a possibility to load complex configurations. > I tried the ConfigurationAdminService, but key value pairs are not > sufficient as I need complex types. > > Raymo

Configurator R7 example

2018-07-12 Thread Philipp Höfler
Hi, I am searching for a possibility to load complex configurations. I tried the ConfigurationAdminService, but key value pairs are not sufficient as I need complex types. Raymond pointed out that I should have a look at the Configurator Specification. https://osgi.org/specification/osgi.cmpn/7.

GoGo Shell not accessible

2018-07-12 Thread Philipp Höfler
Starting some days ago, the GoGo shell is gone crazy and prints something like this: INFORMATION: Setting the server's publish address to be / 13:04:30.451 [main] DEBUG org.apache.aries.jax.rs.whiteboard.internal.Whiteboard - Registered endpoint g! g! g! g! g! g! g! g! g! g! g! g! g! g! g! g! g!

WG: Whiteboard JAX-RS Multipart

2018-06-29 Thread Philipp Höfler
Hallo, I encountered another problem and I was hoping you could help me out, again. I am trying to process a request containing a multipart/form-data. As far as I understood beginning from v3 the HttpServletRequest can parse the form-data without the need of any library. I extended my small osg