Re: Super-Newbie - How to add a plugin to a Hello World app

2014-06-27 Thread Achim Nierbeck
I'd say, you might want to read about OSGi and Services first. After that you'll come up with that HelloWorld sample very quickly yourself :D That's the short answer, the long one: First of all have a Interface say HelloWorldServiceInterface, just keep that interface in bundle one Now Create a

RE: How to config jmx ACL for javax.management.MBeanServer

2014-06-27 Thread XiLai Dai
Thanks Freeman. If I understand right the jmx credencial is mandatory when you try to invoke an operation on karaf 3.x ?(but it’s optional on karaf 2.3.x?). Now the jmx credencial exception disappeared on karaf 3.0.1 after I made these changes: HashMapString, String[] env = new

Re: How to config jmx ACL for javax.management.MBeanServer

2014-06-27 Thread Jean-Baptiste Onofré
Hi Xilai, you have to provide principal/credentials for the JMX connection (username/password). Regards JB On 06/26/2014 07:57 AM, XiLai Dai wrote: Hi, With these codes running in the karaf 3.0.1: import java.lang.management.ManagementFactory; import javax.management.MBeanServer; import

Re: How to config jmx ACL for javax.management.MBeanServer

2014-06-27 Thread Freeman Fang
Hi, My comment inline - Freeman(Yue) Fang Red Hat, Inc. FuseSource is now part of Red Hat On 2014-6-27, at 下午2:46, XiLai Dai wrote: Thanks Freeman. If I understand right the jmx credencial is mandatory when you try to invoke an operation on karaf 3.x ?(but it’s optional

Karaf Tutorial Part 4 - CXF Services in OSGi. How to add a project with a manifest inside this tuturial who is running with maven ?

2014-06-27 Thread parker
In this tutorial( Karaf Tutorial Part 4) http://www.liquid-reality.de/display/liquid/2011/12/22/Karaf+Tutorial+Part+4+-+CXF+Services+in+OSGi Cschneider use maven. The code source in this topic send a message to the bundle helloService using OSGi Service. Where i can add this source to send a

Re: Super-Newbie - How to add a plugin to a Hello World app

2014-06-27 Thread Bob Futrelle
A classic Hello World runs and exits. Better tiny example might be a button that updates a label each time it's pressed. It would run indefinitely. A plugin might add to the label text. - Bob On Thu, Jun 26, 2014 at 11:27 PM, Bob Futrelle bob.futre...@gmail.com wrote: Say, I write a tiny

Re: Super-Newbie - How to add a plugin to a Hello World app

2014-06-27 Thread David Bosschaert
Hi Bob, Another place where you can look for practical examples of little OSGi bundles developed using a variety of build tools is here: http://wiki.osgi.org/wiki/ToolChains No graphical stuff with buttons. Most hello world examples are text-only, but there are various blogs etc on the web that

Re: Unsupported URL scheme using bundle:watch

2014-06-27 Thread jkraushaar
Update: In order to work properly the following property has also to be added to etc/system.properties: openejb.deployments.classpath.filter.descriptors = true Regards, Jochen -- View this message in context:

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-27 Thread asookazian2
I'm installing custom features for our product which is built on top of Karaf 3.0.1. How can i send the logs (I assume you are referring to karaf.log files?) Do you have an email address? -- View this message in context:

Re: Karaf Tutorial Part 4 - CXF Services in OSGi. How to add a project with a manifest inside this tuturial who is running with maven ?

2014-06-27 Thread parker
Hi , I have transformed the manifest project in a maven project for the provider and the consumer if my source can help someone It 's here : helloproviderconumer with pom.xml http://qlkl.de/source/osgi_service_with_pom.zip - and helloproviderconumer with manifest

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-27 Thread asookazian2
What version of Cave do we need to use with Karaf 3.0.1? -- View this message in context: http://karaf.922171.n3.nabble.com/Cellar-for-karaf-3-0-1-active-active-and-failover-clustering-tp4033204p4033848.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-27 Thread Jean-Baptiste Onofré
jbono...@apache.org Regards JB On 06/27/2014 06:03 PM, asookazian2 wrote: I'm installing custom features for our product which is built on top of Karaf 3.0.1. How can i send the logs (I assume you are referring to karaf.log files?) Do you have an email address? -- View this message in

Re: Cellar for karaf 3.0.1 active/active and failover clustering

2014-06-27 Thread Jean-Baptiste Onofré
Hi, You will need Cave 3.0.0 (that will be in vote during the week end). But Cave is one solution, any Maven repository works (a basic one could be a Maven directory structure on a shared filesystem, or a Maven directory structure exposed using Apache httpd). Regards JB On 06/27/2014 07:56

Re: Karaf Tutorial Part 4 - CXF Services in OSGi

2014-06-27 Thread parker
Thank you cschneider for the advice, I have done this tutorial : http://www.liquid-reality.de/display/liquid/2011/02/15/Karaf+Tutorial+Part+1+-+Installation+and+First+application https://github.com/cschneider/Karaf-Tutorial/tree/master/tasklist