So I managed to connect to the process using JMX, JConsole can't detect a deadlock with java.lang.Threading#findDeadlockedThreads()
I'm doing my tests with Oracle's Java 7 VM. (actually, the project I work on uses Java 8. It would be nice to know if there's an ETA for Java 8 support, to know if I should continue to see if Karaf is a good fit). I'll try 3.0.1-SNAPSHOT now and keep you tuned :). Thanks, -- Simon Le 04/04/2014 14:35, Simon Chemouil a écrit : > Hi JB, > > Yes I'm trying to run Karaf on my dev PC which is connected to the Internet. > > I'll try the JMX thingy right now. > > Simon > > Le 04/04/2014 14:33, Jean-Baptiste Onofré a écrit : >> Hi Simon, >> >> do you have an internet connection on the machine where you try to run >> Karaf 3.0.0 ? >> We have an issue on 3.0.0 requiring an internet connection to start. It >> will be fixed in 3.0.1. >> >> For the jconsole, you have to use the JMX service URL: >> service:jmx:rmi:///jndi/rmi://localhost:1099/karaf-root (not the local >> process). >> >> Regards >> JB >> >> On 04/04/2014 02:28 PM, Simon Chemouil wrote: >>> Hi, >>> >>> I'm trying Karaf again for a project, and I would use 3.0.0 since I'd >>> like to use a recent version of Felix as my container. Unfortunately >>> Karaf fails on the first step of the tutorial[1]. >>> >>> While the Karaf 2.2.4 distribution works just fine when running >>> bin/karaf (out of a fresh install), the same with Karaf 3.0.0 just >>> freezes, that is: while the process is exposed in JMX (I can connect to >>> it in JVisualVM/JConsole, and has a few threads), there is *no* output >>> (not even the banner). If I run the "start" script, it runs in >>> background but I cannot connect to it. >>> >>> I suppose there is a deadlock, and I tried to run the "detect deadlock" >>> operation from the MBean but I don't have the necessary rights when >>> connecting from JConsole/JVisualVM. >>> >>> You can find the thread dump here: http://pastebin.com/MgkCvbut >>> >>> I'm running Ubuntu 13.10 64bit. >>> >>> >>> [1] http://karaf.apache.org/manual/latest/users-guide/start-stop.html >>> >>> Thanks for your help, >>> >>
