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
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
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
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
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
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
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
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:
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:
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
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.
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
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
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
14 matches
Mail list logo