Could you please let's me know how to config the secured MBean server ?
Best regards
Tho
2015-10-07 18:30 GMT+02:00 tho huynh ngoc :
> Hi,
>
> I'm using the Karaf-4.0.0.M2
>
> Tho,
>
>
> 2015-10-07 18:26 GMT+02:00 Jean-Baptiste Onofré :
>
>> Hi,
>>
>> you mean using which Karaf version ?
>>
>> T
Hi,
I'm using the Karaf-4.0.0.M2
Tho,
2015-10-07 18:26 GMT+02:00 Jean-Baptiste Onofré :
> Hi,
>
> you mean using which Karaf version ?
>
> The new versions of Karaf use a secured MBean server.
>
> Regards
> JB
>
>
> On 10/07/2015 06:21 PM, tho huynh ngoc wrote:
>
>> Hi,
>>
>> I can connect to
Hi,
you mean using which Karaf version ?
The new versions of Karaf use a secured MBean server.
Regards
JB
On 10/07/2015 06:21 PM, tho huynh ngoc wrote:
Hi,
I can connect to a remote Karaf version 2.2.11 and install a bundle with
the code above.
However, i can not connect to the remote the ne
Hi,
I can connect to a remote Karaf version 2.2.11 and install a bundle with
the code above.
However, i can not connect to the remote the newer version of Karaf.
I think that the error is caused by
ObjectName mbeanName = new
ObjectName("osgi.core:type=framework,version=1.5");
I have changed the
Thank you for your help.
I tried with the code as follows:
public class ConnectToRemoteKaraf {
public static void main(String[] args) throws Exception {
HashMap environment = new HashMap();
String username = "karaf";
String password = "karaf";
String[] cre
You could use the karaf jmx services to install the bundle.
If you add jolokia you can also use rest calls for this.
Christian
Am 06.10.2015 um 19:23 schrieb tho huynh ngoc:
Hi,
I have two hosts Karaf A and B.
I would like to create a program Java on B to install a bundle X.jar
(either availa
Here, i would like to get "remote BundleContext" in a java program,
Thanks,
2015-10-06 19:23 GMT+02:00 tho huynh ngoc :
> Hi,
>
> I have two hosts Karaf A and B.
>
> I would like to create a program Java on B to install a bundle X.jar
> (either available in a directory of A or of B) into A withou
Hi,
I have two hosts Karaf A and B.
I would like to create a program Java on B to install a bundle X.jar
(either available in a directory of A or of B) into A without Karaf
console.
How to program it?
Thank you for your help
Tho,