Re: jetty ContextHandler issue in KARAF 3.0.0 & PAX 3.0.5

2014-10-14 Thread Achim Nierbeck
Please take a look at [1], that is an alternative way of handling static content. regards, Achim [1] - https://github.com/ops4j/org.ops4j.pax.web/blob/master/pax-web-itest/pax-web-itest-container/pax-web-itest-container-jetty/src/test/java/org/ops4j/pax/web/itest/jetty/WhiteboardAliasIntegrationT

execute commands if karaf started in background.

2014-10-14 Thread Srikanth Hugar
Hello, I am running a karaf as a background service bin\start.sh But using commands i want to install the bundles and uninstall the bundles. How can do that? Srikanth Hugar www.gharki.com

Re: execute commands if karaf started in background.

2014-10-14 Thread Jean-Baptiste Onofré
Just use bin/client or any SSH client (openssh / putty) to connect on your running instance. Please read the user guide, it's explained: http://karaf.apache.org/manual/latest/users-guide/start-stop.html Regards JB On 10/14/2014 11:38 AM, Srikanth Hugar wrote: Hello, I am running a ka

[PROPOSAL] Karaf Decanter monitoring

2014-10-14 Thread Jean-Baptiste Onofré
Hi all, First of all, sorry for this long e-mail ;) Some weeks ago, I blogged about the usage of ELK (Logstash/Elasticsearch/Kibana) with Karaf, Camel, ActiveMQ, etc to provide a monitoring dashboard (know what's happen in Karaf and be able to store it for a long period): http://blog.nanthr

Re: [PROPOSAL] Karaf Decanter monitoring

2014-10-14 Thread Krzysztof Sobkowiak
+1 I think it's a good idea. It's good to have a monitoring functionality for Karaf. I would prefer to make it as a separate subproject like Cellar, to make the Karaf code base simply and could have a separate release cycle (from the same reason we had plans to extract enterprise features in a se

Re: [PROPOSAL] Karaf Decanter monitoring

2014-10-14 Thread Matt Sicker
I never heard of a decanter before, but now that I have, it's an awesome name. On 14 October 2014 11:06, Krzysztof Sobkowiak wrote: > +1 > > I think it's a good idea. It's good to have a monitoring functionality > for Karaf. I would prefer to make it as a separate subproject like > Cellar, to m

Re: [PROPOSAL] Karaf Decanter monitoring

2014-10-14 Thread David Bosschaert
+1 this looks like a very useful set of components! On 14 October 2014 17:17, Matt Sicker wrote: > I never heard of a decanter before, but now that I have, it's an awesome > name. > > On 14 October 2014 11:06, Krzysztof Sobkowiak > wrote: >> >> +1 >> >> I think it's a good idea. It's good to ha

Re: using karaf node instance as central managment

2014-10-14 Thread bwest
Ok, I've been experimenting a bit more with this and I've found that my management group isn't updating the cluster feature list for 'managed' group. Thus changes aren't being sync'd to my managed group nodes. For instance: *On the management node (which isn't apart of the default group): kar

Re: [PROPOSAL] Karaf Decanter monitoring

2014-10-14 Thread Arnaud Deprez
Hi, I find the idea very interesting, but I'm not sure I get the whole point. Just for my information, comparing to what hawtio and its log plugin provide, what are the differences with your solution ? 2014-10-14 18:29 GMT+02:00 David Bosschaert : > +1 this looks like a very useful set of compo

Re: [PROPOSAL] Karaf Decanter monitoring

2014-10-14 Thread Jean-Baptiste Onofré
Hi, From a technical perspective, the decanter-collector-log may look like the hawtio log plugin, but decanter is more generic/extendible (decanter-collector-jmx, etc). Hawtio is a opensource solution from RedHat. It's a good one, but also a bit Fabric centric IMHO. The proposal is more "low"

Re: [PROPOSAL] Karaf Decanter monitoring

2014-10-14 Thread seijoed
+1 and nice explanation JB — Sent from Mailbox On Tue, Oct 14, 2014 at 11:00 AM, Jean-Baptiste Onofré wrote: > Hi, > From a technical perspective, the decanter-collector-log may look like > the hawtio log plugin, but decanter is more generic/extendible > (decanter-collector-jmx, etc). > Hawt

Re: [PROPOSAL] Karaf Decanter monitoring

2014-10-14 Thread Achim Nierbeck
Hi JB, This has been a very nice and detailed description. I like it right away, so +1 For calling it decanter and as extra subproject. Regards, Achim sent from mobile device Am 14.10.2014 17:13 schrieb "Jean-Baptiste Onofré" : > Hi all, > > First of all, sorry for this long e-mail ;) > > Some

Re: [PROPOSAL] Karaf Decanter monitoring

2014-10-14 Thread Jamie G.
Thank you JB for the description, sounds very interesting. +1 as a subproject idea, nice name choice too :) Cheers, Jamie On Tue, Oct 14, 2014 at 3:54 PM, Achim Nierbeck wrote: > Hi JB, > > This has been a very nice and detailed description. > I like it right away, so +1 > For calling it decant

Re: Karaf 3.0.1 etc/shell.init.script Fails run command.

2014-10-14 Thread maroshi
Problem still persist in karaf 3.0.2 The script is: - ld = { log:display $args } ; lde = { log:exception-display $args } ; la = { bundle:list -t 0 $args } ; ls = { service:list $args } ; cl = { config:list "(service.pid=$args)" } ; halt = { system:shutdown -h -f

Karaf setup virtual hosts

2014-10-14 Thread Coder
How to setup virtual hosts in Karaf 3.0.1? -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-setup-virtual-hosts-tp4035918.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Karaf setup virtual hosts

2014-10-14 Thread Daniel McGreal
I tunnel to Karaf using Apache's mod_proxy. > On 14 Oct 2014, at 20:34, Coder wrote: > > How to setup virtual hosts in Karaf 3.0.1? > > > > -- > View this message in context: > http://karaf.922171.n3.nabble.com/Karaf-setup-virtual-hosts-tp4035918.html > Sent from the Karaf - User mailing lis

Re: Karaf setup virtual hosts

2014-10-14 Thread Achim Nierbeck
It's always good to have an Apache HttpServer in front of an external available container :) Though if you want to have a virtual host with Karaf, this depends on your use-case :) If you want to separate a WAB from another one, take a look at [1]. If you want to have this also for Servlets register

Re: Karaf setup virtual hosts

2014-10-14 Thread Coder
@Dan, interesting option, thank you. @Achim, i did as described at first link to force my WAB be visible from instead of by setting Web-VirtualHosts: test.localhost. But it's unsuccessful now: the browser cannot find this (err_name_not_resolved). Why could it happen? -- View this message in

Re: Karaf setup virtual hosts

2014-10-14 Thread Achim Nierbeck
hmm, if you followed the exact description of the first link, it should work right away as this is always monitored to work by integration tests. Are you sure about the configuration of the second Connector? Oh and you'll need to use only the Web-Connector, as Jetty removed the differentiation betw

karaf 3.0.2 bundle:watch not working

2014-10-14 Thread maroshi
Using karaf 3.0.2 bundle:watch fails See bellow karaf@root()> bundle:watch mvn:org.maroshi.sample/sandbox-karaf/0.0.1-SNAPSHOT Watched URLs/IDs: mvn:org.maroshi.sample/sandbox-karaf/0.0.1-SNAPSHOT karaf@root()> Exception in thread

Re: Karaf setup virtual hosts

2014-10-14 Thread Coder
Yes, i just ctrl+c/v the connector to my jetty.xml right after main connector, and added two these Web properties to the manifest. If i have to use the only Web-Connector, then how can i specify the host name? -- View this message in context: http://karaf.922171.n3.nabble.com/Karaf-setup-virtua

Re: Karaf setup virtual hosts

2014-10-14 Thread Achim Nierbeck
hmm, my fault should work for both, it's been changed internal. regards, Achim [1] - https://github.com/ops4j/org.ops4j.pax.web/blob/master/pax-web-itest/pax-web-itest-container/pax-web-itest-container-jetty/src/test/java/org/ops4j/pax/web/itest/jetty/JettyConfigurationExtendedIntegrationTest.java

[ANN] Apache Karaf 4.0.0.M1 Released!

2014-10-14 Thread Jamie G.
The Karaf team is pleased to announce the release of Karaf version 4.0.0.M1. Apache Karaf is a small OSGi distribution which provides a ready to use container for server side applications. !! This is a technology preview release of Apache Karaf, and should NOT be considered production ready !! A

Re: [PROPOSAL] Karaf Decanter monitoring

2014-10-14 Thread Arnaud Deprez
Thanks JB to bring me some light. I was just wondering. I don't want to start a discussion/troll too :-). Anyway, it's a very good idea. It can be a very good alternative and it can improve both projects ! I say +1 but I'm not sure if my vote will be taken into account :-). Cheers 2014-10-14 20

Re: [PROPOSAL] Karaf Decanter monitoring

2014-10-14 Thread Andreas Pieber
Hey, The collection definitely sounds like a perfect idea for a Karaf sub project to me. Beside the great potential for the components I like the especially fitting name 😊 +1 Kind regards, Andreas On Oct 14, 2014 5:13 PM, "Jean-Baptiste Onofré" wrote: > Hi all, > > First of all, sorry for this

Re: karaf 3.0.2 bundle:watch not working

2014-10-14 Thread Jean-Baptiste Onofré
Yes, see https://issues.apache.org/jira/browse/KARAF-3283 As reminder, you can use bundle:update (manually) if you want to stay with 3.0.2. Anyway, it will be fixed in 3.0.3. Regards JB On 10/14/2014 10:56 PM, maroshi wrote: Using karaf 3.0.2 bundle:watch fails See bellow --