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,
--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com