You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Tobias Hein <th...@gmail.com> on 2026/07/08 13:51:47 UTC
Installing activemq-broker 6.2.7 on karaf 4.4.11
Hi everybody,
I already asked at the activemq-mailing-list, but they said, the karaf
mailinglist might be better for me.
https://lists.apache.org/thread/g88t79kwsr2pgy6514cgv4l9mhbrwgrl
in an OSGi-application running with JDK-21 on apache karaf 4.4.11 I use an
activemq-broker 6.2.7. This works as expected if I install the
karaf-feature karaf-broker-noweb.
But I am not able to install karaf-broker, which includes the
admin-webconsole. First of all there are missing dependencies and if I
resolve them manually, I get a mismatch between javax.servlet (provided by
karaf) and jakarta.servlet (required by activemq)
Is there any chance to get the webconsole running on apache karaf in the
current versions?
How to reproduce in a kind of summary
* download current Karaf OSGi Runtime https://karaf.apache.org/download.html
* unzip and start karaf with ./bin/karaf
* execute the the following commands in the karaf console
** .feature:repo-add activemq 6.2.7
** bundle:install mvn:jakarta.servlet.jsp/jakarta.servlet.jsp-api/3.0.0
** bundle:install mvn:jakarta.el/jakarta.el-api/4.0.0
** bundle:install mvn:jakarta.servlet/jakarta.servlet-api/5.0.0
** feature:install activemq-broker
After that I see the following error in the log-file ./data/logs/karaf.log
javax.servlet.UnavailableException: Servlet class
org.springframework.web.servlet.DispatcherServlet is not a
javax.servlet.Servlet
I installed the jakarta-bundles first, because they are missing
dependencies of activemq-broker. They are needed for the bundle-wiring
If you need more details, just ask :-)
Kind regards
Re: Installing activemq-broker 6.2.7 on karaf 4.4.11
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi
4.5.0 is planned for this summer (end of July).
Regards
JB
On Fri, Jul 10, 2026 at 9:01 AM Tobias Hein <th...@gmail.com> wrote:
>
> Thanks, although that wasn't the answer I wanted to read ;-) We'll use
> karaf-Commands and hawtio instead.
>
> How far is the karaf 4.5 development? Is there already an estimated
> date for the release?
>
> Kind regards
> Tobias Hein
>
> Am Mi., 8. Juli 2026 um 16:57 Uhr schrieb Jean-Baptiste Onofré
> <jb...@nanthrax.net>:
> >
> > Hi
> >
> > The webconsole won't work for now on Karaf 4.4.x due to jakarta/javax namespaces.
> >
> > It should work on Karaf 4.5.x (that will support jakarta namespace).
> >
> > Regards
> > JB
> >
> > On Wed, Jul 8, 2026 at 3:52 PM Tobias Hein <th...@gmail.com> wrote:
> >>
> >> Hi everybody,
> >>
> >> I already asked at the activemq-mailing-list, but they said, the karaf
> >> mailinglist might be better for me.
> >>
> >> https://lists.apache.org/thread/g88t79kwsr2pgy6514cgv4l9mhbrwgrl
> >>
> >> in an OSGi-application running with JDK-21 on apache karaf 4.4.11 I use an
> >> activemq-broker 6.2.7. This works as expected if I install the
> >> karaf-feature karaf-broker-noweb.
> >>
> >> But I am not able to install karaf-broker, which includes the
> >> admin-webconsole. First of all there are missing dependencies and if I
> >> resolve them manually, I get a mismatch between javax.servlet (provided by
> >> karaf) and jakarta.servlet (required by activemq)
> >>
> >> Is there any chance to get the webconsole running on apache karaf in the
> >> current versions?
> >>
> >> How to reproduce in a kind of summary
> >>
> >> * download current Karaf OSGi Runtime https://karaf.apache.org/download.html
> >> * unzip and start karaf with ./bin/karaf
> >> * execute the the following commands in the karaf console
> >> ** .feature:repo-add activemq 6.2.7
> >> ** bundle:install mvn:jakarta.servlet.jsp/jakarta.servlet.jsp-api/3.0.0
> >> ** bundle:install mvn:jakarta.el/jakarta.el-api/4.0.0
> >> ** bundle:install mvn:jakarta.servlet/jakarta.servlet-api/5.0.0
> >> ** feature:install activemq-broker
> >>
> >> After that I see the following error in the log-file ./data/logs/karaf.log
> >>
> >> javax.servlet.UnavailableException: Servlet class
> >> org.springframework.web.servlet.DispatcherServlet is not a
> >> javax.servlet.Servlet
> >>
> >> I installed the jakarta-bundles first, because they are missing
> >> dependencies of activemq-broker. They are needed for the bundle-wiring
> >>
> >> If you need more details, just ask :-)
> >>
> >> Kind regards
Re: Installing activemq-broker 6.2.7 on karaf 4.4.11
Posted by Tobias Hein <th...@gmail.com>.
Thanks, although that wasn't the answer I wanted to read ;-) We'll use
karaf-Commands and hawtio instead.
How far is the karaf 4.5 development? Is there already an estimated
date for the release?
Kind regards
Tobias Hein
Am Mi., 8. Juli 2026 um 16:57 Uhr schrieb Jean-Baptiste Onofré
<jb...@nanthrax.net>:
>
> Hi
>
> The webconsole won't work for now on Karaf 4.4.x due to jakarta/javax namespaces.
>
> It should work on Karaf 4.5.x (that will support jakarta namespace).
>
> Regards
> JB
>
> On Wed, Jul 8, 2026 at 3:52 PM Tobias Hein <th...@gmail.com> wrote:
>>
>> Hi everybody,
>>
>> I already asked at the activemq-mailing-list, but they said, the karaf
>> mailinglist might be better for me.
>>
>> https://lists.apache.org/thread/g88t79kwsr2pgy6514cgv4l9mhbrwgrl
>>
>> in an OSGi-application running with JDK-21 on apache karaf 4.4.11 I use an
>> activemq-broker 6.2.7. This works as expected if I install the
>> karaf-feature karaf-broker-noweb.
>>
>> But I am not able to install karaf-broker, which includes the
>> admin-webconsole. First of all there are missing dependencies and if I
>> resolve them manually, I get a mismatch between javax.servlet (provided by
>> karaf) and jakarta.servlet (required by activemq)
>>
>> Is there any chance to get the webconsole running on apache karaf in the
>> current versions?
>>
>> How to reproduce in a kind of summary
>>
>> * download current Karaf OSGi Runtime https://karaf.apache.org/download.html
>> * unzip and start karaf with ./bin/karaf
>> * execute the the following commands in the karaf console
>> ** .feature:repo-add activemq 6.2.7
>> ** bundle:install mvn:jakarta.servlet.jsp/jakarta.servlet.jsp-api/3.0.0
>> ** bundle:install mvn:jakarta.el/jakarta.el-api/4.0.0
>> ** bundle:install mvn:jakarta.servlet/jakarta.servlet-api/5.0.0
>> ** feature:install activemq-broker
>>
>> After that I see the following error in the log-file ./data/logs/karaf.log
>>
>> javax.servlet.UnavailableException: Servlet class
>> org.springframework.web.servlet.DispatcherServlet is not a
>> javax.servlet.Servlet
>>
>> I installed the jakarta-bundles first, because they are missing
>> dependencies of activemq-broker. They are needed for the bundle-wiring
>>
>> If you need more details, just ask :-)
>>
>> Kind regards
Re: Installing activemq-broker 6.2.7 on karaf 4.4.11
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi
The webconsole won't work for now on Karaf 4.4.x due to jakarta/javax
namespaces.
It should work on Karaf 4.5.x (that will support jakarta namespace).
Regards
JB
On Wed, Jul 8, 2026 at 3:52 PM Tobias Hein <th...@gmail.com>
wrote:
> Hi everybody,
>
> I already asked at the activemq-mailing-list, but they said, the karaf
> mailinglist might be better for me.
>
> https://lists.apache.org/thread/g88t79kwsr2pgy6514cgv4l9mhbrwgrl
>
> in an OSGi-application running with JDK-21 on apache karaf 4.4.11 I use an
> activemq-broker 6.2.7. This works as expected if I install the
> karaf-feature karaf-broker-noweb.
>
> But I am not able to install karaf-broker, which includes the
> admin-webconsole. First of all there are missing dependencies and if I
> resolve them manually, I get a mismatch between javax.servlet (provided by
> karaf) and jakarta.servlet (required by activemq)
>
> Is there any chance to get the webconsole running on apache karaf in the
> current versions?
>
> How to reproduce in a kind of summary
>
> * download current Karaf OSGi Runtime
> https://karaf.apache.org/download.html
> * unzip and start karaf with ./bin/karaf
> * execute the the following commands in the karaf console
> ** .feature:repo-add activemq 6.2.7
> ** bundle:install mvn:jakarta.servlet.jsp/jakarta.servlet.jsp-api/3.0.0
> ** bundle:install mvn:jakarta.el/jakarta.el-api/4.0.0
> ** bundle:install mvn:jakarta.servlet/jakarta.servlet-api/5.0.0
> ** feature:install activemq-broker
>
> After that I see the following error in the log-file ./data/logs/karaf.log
>
> javax.servlet.UnavailableException: Servlet class
> org.springframework.web.servlet.DispatcherServlet is not a
> javax.servlet.Servlet
>
> I installed the jakarta-bundles first, because they are missing
> dependencies of activemq-broker. They are needed for the bundle-wiring
>
> If you need more details, just ask :-)
>
> Kind regards
>