[
https://issues.apache.org/jira/browse/SM-2335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14038940#comment-14038940
]
Gregor Zurowski commented on SM-2335:
-------------------------------------
I experienced similar problems, but only because of unnecessarily trying to
install the activemq feature. As activemq is already pre-installed in SMX 5.x,
you only need to install the activemq-web-console and webconsole features (as
described by Krzysztof). The order does not seem to make any difference, as I
installed them in reverse order:
{code}
karaf@root> features:install webconsole
karaf@root> features:install activemq-web-console
{code}
> installing both webconsole and activemq-web-console causes hang
> ---------------------------------------------------------------
>
> Key: SM-2335
> URL: https://issues.apache.org/jira/browse/SM-2335
> Project: ServiceMix
> Issue Type: Bug
> Affects Versions: 5.0.0
> Reporter: Joeri Hendrickx
>
> Hi,
> I've been having issues with Servicemix hanging; after a lot of digging, I
> eventually managed to reproduce it with a fixed scenario:
> Install a clean, fresh, servicemix 5. Start it, and log into the shell.
> Then install the features (in this order):
> - webconsole
> - activemq
> - activemq-web-console
> At this point; one of two things happens. Either you get an exception
> (java.lang.NoClassDefFoundError: org/osgi/service/event/EventAdmin) but the
> console will work; or it will display: Refreshing bundles
> org.ops4j.pax.web.pax-web-extender-war (186),
> org.ops4j.pax.web.pax-web-runtime (139) and then hang forever.
> When I encounter this; the instance can no longer be shut down cleanly.
> If I kill it and then start it again, sometimes it will deadlock on startup.
> Sometimes the amq console works, but it is still listed as 'uninstalled' in
> the features.
--
This message was sent by Atlassian JIRA
(v6.2#6252)