Thanks! That did the trick! Piet On Sat, Aug 1, 2015 at 4:44 PM, jbonofre [via Karaf] < [email protected]> wrote:
> OK, I think you're encountering: > > https://issues.apache.org/jira/browse/KARAF-3477 > > As the KarafMBean server is "protected" by username/password, the > HeapDump provider in the dump command is not able to use MBean for the > heapdump. > > As I refactored the JMX Guard and removed the KarafMBeanServerBuilder, > it now works with Karaf 3.0.4. > > As a workaround in 3.0.2, removing the KarafMBeanServerBuilder in > bin/karaf should fix the issue. > > Regards > JB > > On 07/31/2015 05:55 PM, Piet Molenaar wrote: > > > That's karaf.version : 3.0.2 > > > > On Fri, Jul 31, 2015 at 5:52 PM, jbonofre [via Karaf] < > > [hidden email] <http:///user/SendEmail.jtp?type=node&node=4041761&i=0>> > wrote: > > > >> Hi Piet, > >> > >> what's the Karaf version ? > >> > >> Regards > >> JB > >> > >> Le 2015-07-31 15:25, Piet Molenaar a écrit : > >> > >>> Hi, > >>> To investigate possible memory issues I want to create a heap dump. A > >>> zipped > >>> file is created but no heapdump.txt is present in there (). > >>> The log produces the following warning: > >>> > >>> 2015-07-31 11:10:30,667 [Karaf Console Local for user karaf] WARN > >>> org.apache.karaf.diagnostic.core.internal.HeapDumpProvider - Can't > >>> create > >>> heapdump > >>> java.lang.IllegalStateException: KarafMBeanServerBuilder not > >>> initialized > >>> > >>> This is on win7 (yes) and java version "1.8.0_45" > >>> How do I have to adapt the Karaf settings in order to have the dump > >>> created? > >>> I eventually want to use this in the Eclipse Memory Analyzer, > >>> > >>> Thanks in advance, > >>> Piet > >>> > >>> > >>> > >>> -- > >>> View this message in context: > >>> > >> > http://karaf.922171.n3.nabble.com/dev-create-dump-KarafMBeanServerBuilder-not-initialized-tp4041749.html > >>> Sent from the Karaf - User mailing list archive at Nabble.com. > >> > >> > >> > >> ------------------------------ > >> If you reply to this email, your message will be added to the > discussion > >> below: > >> > >> > http://karaf.922171.n3.nabble.com/dev-create-dump-KarafMBeanServerBuilder-not-initialized-tp4041749p4041752.html > >> To unsubscribe from dev:create-dump KarafMBeanServerBuilder not > >> initialized, click here > >> < > >> . > >> NAML > >> < > http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > > >> > > > > > > > > -- > Jean-Baptiste Onofré > [hidden email] <http:///user/SendEmail.jtp?type=node&node=4041761&i=1> > http://blog.nanthrax.net > Talend - http://www.talend.com > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://karaf.922171.n3.nabble.com/dev-create-dump-KarafMBeanServerBuilder-not-initialized-tp4041749p4041761.html > To unsubscribe from dev:create-dump KarafMBeanServerBuilder not > initialized, click here > <http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4041749&code=cGlldC5hbWNAZ21haWwuY29tfDQwNDE3NDl8ODE4MDAwOTA=> > . > NAML > <http://karaf.922171.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- Piet Molenaar [email protected] Department of Oncogenomics, M1-131 Academic Medical Center University of Amsterdam Meibergdreef 9 1105 AZ Amsterdam the Netherlands tel (+31) 20-5666592 fax (+31) 20-6918626 -- View this message in context: http://karaf.922171.n3.nabble.com/dev-create-dump-KarafMBeanServerBuilder-not-initialized-tp4041749p4041777.html Sent from the Karaf - User mailing list archive at Nabble.com.
