Re: Location of karaf beam sdk

2016-05-02 Thread Jean-Baptiste Onofré

Hi David,

https://issues.apache.org/jira/browse/BEAM-10

I started to work on it but it's not yet public.

Regards
JB

On 05/03/2016 03:30 AM, David Daniel wrote:

Is the karaf beam runner going to be open source and if so is there a
repo out there that I can take a look at.

Thanks for any info,
   David


--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Location of karaf beam sdk

2016-05-02 Thread David Daniel
Is the karaf beam runner going to be open source and if so is there a repo
out there that I can take a look at.

Thanks for any info,
  David


Re: Does bundle uninstall release the memory?

2016-05-02 Thread Tim Jones
Hi Srikanth,

in my experience it will depend on the bundle. Although we use SpringDM and
found permgen issues with CGLIB, for the same reason any bundle could be
susceptable to permgen leaks. Some more details here -
http://karaf.922171.n3.nabble.com/A-few-observations-about-permgen-class-loader-leaks-td4028707.html.
Tracking down what is causing the leak isn't usually too hard, follow
something like
https://cdivilly.wordpress.com/2012/04/23/permgen-memory-leak/, but fixing
it may be more difficult if it is due to a third party library.

Tim








--
View this message in context: 
http://karaf.922171.n3.nabble.com/Does-bundle-uninstall-release-the-memory-tp4046447p4046457.html
Sent from the Karaf - User mailing list archive at Nabble.com.


Re: Disabling some Karaf commands

2016-05-02 Thread Sergiy Shyrkov

Thank you for the prompt reply JB and Serge!
Changing the role of the command did it.

Kind regards
Sergiy

On Mon, 02 May 2016 18:51:46 +0200, Jean-Baptiste Onofré   
wrote:



Hi Sergiy,

you can change the ACL to this command to restrict to some users and  
disable it completely (in etc/org.apache.karaf.command.acl*).


Regards
JB

On 05/02/2016 04:40 PM, Sergiy Shyrkov wrote:

Hello,

It could be that this question was already asked before, but I cannot
find it in the mailing list archive :-(

Is there a proper way to disable particular console commands in Karaf,
say "system:shutdown"?

Thank you in advance!

Kind regards
Sergiy






--

Sergiy Shyrkov
Software Architect
jahia.com




Re: [Decanter] Kibana 4 and karaf 3

2016-05-02 Thread carl
Thank you very much, and sorry for asking something that has been
asked/answered already. It's not a blocker for me, I just wanted to make
sure I was doing the right thing.

Carl



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Decanter-Kibana-4-and-karaf-3-tp4046446p4046455.html
Sent from the Karaf - User mailing list archive at Nabble.com.


Re: Does bundle uninstall release the memory?

2016-05-02 Thread Achim Nierbeck
well, it's a jvm therefore it can't release leaked memory. So do you update
web-bundles often? Cause I think we had a leak issue with the web:list
command, as it holds reference to the web-bundle, but this should be fixed
with the latest versions.

regards, Achim


2016-05-02 19:11 GMT+02:00 Srikanth Hugar :

> It's permgen space issue. It seems to be our bundle issue. But what I
> wanted to know is whether if we uninstall bundle will it release the memory
> which is leaked?
> On May 2, 2016 10:28 PM, "Jean-Baptiste Onofré"  wrote:
>
>> Hi,
>>
>> on which space is the memory leak ? Perm or Heap ?
>>
>> I remember to have seen memory leak on the perm when doing lot of
>> bundle:update/bundle:restart. Is it your case ?
>>
>> Regards
>> JB
>>
>> On 05/02/2016 06:39 PM, Srikanth Hugar wrote:
>>
>>> Hi All,
>>>
>>>I have some memory leaks in one of my bundles deployed in karaf (with
>>> jetty). Wanted to know whether uninstall of bundle releases the memory?
>>> I tried to uninstall bundle from webconsole, but memory not released.
>>>
>>> Is there anyway to release the memory if we uninstall the bundle?
>>>
>>> Best Regards,
>>> Srikanth.
>>>
>>
>> --
>> Jean-Baptiste Onofré
>> jbono...@apache.org
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
>>
>


-- 

Apache Member
Apache Karaf  Committer & PMC
OPS4J Pax Web  Committer &
Project Lead
blog 
Co-Author of Apache Karaf Cookbook 

Software Architect / Project Manager / Scrum Master


Re: Does bundle uninstall release the memory?

2016-05-02 Thread Srikanth Hugar
It's permgen space issue. It seems to be our bundle issue. But what I
wanted to know is whether if we uninstall bundle will it release the memory
which is leaked?
On May 2, 2016 10:28 PM, "Jean-Baptiste Onofré"  wrote:

> Hi,
>
> on which space is the memory leak ? Perm or Heap ?
>
> I remember to have seen memory leak on the perm when doing lot of
> bundle:update/bundle:restart. Is it your case ?
>
> Regards
> JB
>
> On 05/02/2016 06:39 PM, Srikanth Hugar wrote:
>
>> Hi All,
>>
>>I have some memory leaks in one of my bundles deployed in karaf (with
>> jetty). Wanted to know whether uninstall of bundle releases the memory?
>> I tried to uninstall bundle from webconsole, but memory not released.
>>
>> Is there anyway to release the memory if we uninstall the bundle?
>>
>> Best Regards,
>> Srikanth.
>>
>
> --
> Jean-Baptiste Onofré
> jbono...@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>


Re: Does bundle uninstall release the memory?

2016-05-02 Thread Jean-Baptiste Onofré

Hi,

on which space is the memory leak ? Perm or Heap ?

I remember to have seen memory leak on the perm when doing lot of 
bundle:update/bundle:restart. Is it your case ?


Regards
JB

On 05/02/2016 06:39 PM, Srikanth Hugar wrote:

Hi All,

   I have some memory leaks in one of my bundles deployed in karaf (with
jetty). Wanted to know whether uninstall of bundle releases the memory?
I tried to uninstall bundle from webconsole, but memory not released.

Is there anyway to release the memory if we uninstall the bundle?

Best Regards,
Srikanth.


--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Re: [Decanter] Kibana 4 and karaf 3

2016-05-02 Thread Jean-Baptiste Onofré

Hi Carl,

I already replied to this point.

It's my fault: I should have extended the version range in Decanter 
Kibana bundle.


I created this Jira: https://issues.apache.org/jira/browse/KARAF-4516

It will be fixed for decanter 1.1.1.

If you consider this as an important (blocking) point for you, please 
let me know, I will release decanter 1.1.1 quickly.


Sorry about that.

Regards
JB

On 05/02/2016 06:11 PM, carl wrote:

Hello,

I'm trying to install decanter/elk in Karaf 3.0.4, here is what I do:

feature:repo-add decanter 1.1.0

feature:install kibana/4.1.2

I have a :
Error executing command: Can't install feature kibana/4.1.2:
Could not start bundle
mvn:org.apache.karaf.decanter/org.apache.karaf.decanter.kibana-4.x/1.1.0 in
feature(s) kibana-4.1.2: Unresolved constraint in bundle
org.apache.karaf.decanter.kibana-4.x [328]: Unable to resolve 328.0: missing
requirement [328.0] osgi.wiring.package;
(&(osgi.wiring.package=org.apache.karaf.features)(version>=4.0.0)(!(version>=5.0.0)))

Does Kibana 4 only available with Karaf 4.x ?

Regards,
Carl



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Decanter-Kibana-4-and-karaf-3-tp4046446.html
Sent from the Karaf - User mailing list archive at Nabble.com.



--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Re: Disabling some Karaf commands

2016-05-02 Thread Jean-Baptiste Onofré

Hi Sergiy,

you can change the ACL to this command to restrict to some users and 
disable it completely (in etc/org.apache.karaf.command.acl*).


Regards
JB

On 05/02/2016 04:40 PM, Sergiy Shyrkov wrote:

Hello,

It could be that this question was already asked before, but I cannot
find it in the mailing list archive :-(

Is there a proper way to disable particular console commands in Karaf,
say "system:shutdown"?

Thank you in advance!

Kind regards
Sergiy



--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Re: Does bundle uninstall release the memory?

2016-05-02 Thread Achim Nierbeck
Hi,

depends on the bundle, might be that there is a memory leak, which version
of Karaf, how many bundles etc...

regards, Achim


2016-05-02 18:39 GMT+02:00 Srikanth Hugar :

> Hi All,
>
>   I have some memory leaks in one of my bundles deployed in karaf (with
> jetty). Wanted to know whether uninstall of bundle releases the memory?
> I tried to uninstall bundle from webconsole, but memory not released.
>
> Is there anyway to release the memory if we uninstall the bundle?
>
> Best Regards,
> Srikanth.
>



-- 

Apache Member
Apache Karaf  Committer & PMC
OPS4J Pax Web  Committer &
Project Lead
blog 
Co-Author of Apache Karaf Cookbook 

Software Architect / Project Manager / Scrum Master


Re: Does bundle uninstall release the memory?

2016-05-02 Thread Srikanth Hugar
Karaf 3.0.0, and we have total of 291 bundles.

Could you please let me know how it depends on the bundle?

Thank you.
On May 2, 2016 10:14 PM, "Achim Nierbeck"  wrote:

> Hi,
>
> depends on the bundle, might be that there is a memory leak, which version
> of Karaf, how many bundles etc...
>
> regards, Achim
>
>
> 2016-05-02 18:39 GMT+02:00 Srikanth Hugar :
>
>> Hi All,
>>
>>   I have some memory leaks in one of my bundles deployed in karaf (with
>> jetty). Wanted to know whether uninstall of bundle releases the memory?
>> I tried to uninstall bundle from webconsole, but memory not released.
>>
>> Is there anyway to release the memory if we uninstall the bundle?
>>
>> Best Regards,
>> Srikanth.
>>
>
>
>
> --
>
> Apache Member
> Apache Karaf  Committer & PMC
> OPS4J Pax Web  Committer &
> Project Lead
> blog 
> Co-Author of Apache Karaf Cookbook 
>
> Software Architect / Project Manager / Scrum Master
>
>


Does bundle uninstall release the memory?

2016-05-02 Thread Srikanth Hugar
Hi All,

  I have some memory leaks in one of my bundles deployed in karaf (with
jetty). Wanted to know whether uninstall of bundle releases the memory?
I tried to uninstall bundle from webconsole, but memory not released.

Is there anyway to release the memory if we uninstall the bundle?

Best Regards,
Srikanth.


[Decanter] Kibana 4 and karaf 3

2016-05-02 Thread carl
Hello,

I'm trying to install decanter/elk in Karaf 3.0.4, here is what I do:

feature:repo-add decanter 1.1.0

feature:install kibana/4.1.2

I have a :
Error executing command: Can't install feature kibana/4.1.2:
Could not start bundle
mvn:org.apache.karaf.decanter/org.apache.karaf.decanter.kibana-4.x/1.1.0 in
feature(s) kibana-4.1.2: Unresolved constraint in bundle
org.apache.karaf.decanter.kibana-4.x [328]: Unable to resolve 328.0: missing
requirement [328.0] osgi.wiring.package;
(&(osgi.wiring.package=org.apache.karaf.features)(version>=4.0.0)(!(version>=5.0.0)))

Does Kibana 4 only available with Karaf 4.x ?

Regards,
Carl



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Decanter-Kibana-4-and-karaf-3-tp4046446.html
Sent from the Karaf - User mailing list archive at Nabble.com.


Re: Disabling some Karaf commands

2016-05-02 Thread Serge Huber
Maybe this could help ? 

http://coderthoughts.blogspot.ch/2013/10/role-based-access-control-for-karaf.html

cheers,
  Serge… 

> On 2 mai 2016, at 16:40, Sergiy Shyrkov  wrote:
> 
> Hello,
> 
> It could be that this question was already asked before, but I cannot find it 
> in the mailing list archive :-(
> 
> Is there a proper way to disable particular console commands in Karaf, say 
> "system:shutdown"?
> 
> Thank you in advance!
> 
> Kind regards
> Sergiy
> 
> -- 
> 
> Sergiy Shyrkov
> Software Architect
> jahia.com
> 
> 
>> JOIN OUR COMMUNITY to evaluate, get trained and to discover why Jahia is a 
>> leading User Experience Platform (UXP) for Digital Transformation.
> 
> 



Disabling some Karaf commands

2016-05-02 Thread Sergiy Shyrkov

Hello,

It could be that this question was already asked before, but I cannot find  
it in the mailing list archive :-(


Is there a proper way to disable particular console commands in Karaf, say  
"system:shutdown"?


Thank you in advance!

Kind regards
Sergiy

--

Sergiy Shyrkov
Software Architect
jahia.com


JOIN OUR COMMUNITY to evaluate, get trained and to discover why Jahia is  
a leading User Experience Platform (UXP) for Digital Transformation.