Those exceptions look internal to Jetty. I wouldn't expect them to
necessarily be a problem for the restart process. Perhaps it was handling a
request at the moment you tried to restart it.

Do you ever see any of these messages in the log:

  Stopped embedded web server

or

  Embedded web server not restarted in x milliseconds

or

  Embedded web server restart failed

If not, could you perhaps get a thread dump?

In any event, if you want to start the embedded web server you can do so
using JMX directly (e.g. via JConsole). Just invoke the
startEmbeddedWebServer operation on the ActiveMQServerControl MBean.


Justin

On Wed, Jan 11, 2023 at 6:41 AM Vilius Šumskas <vilius.sums...@rivile.lt>
wrote:

> Well, I have found " restartEmbeddedWebServer()" and tried to use that
> from the console, however now the console went down and doesn't come up.
> The logs say: https://p.defau.lt/?C6ssFYW0JSJiZX1yszP0yQ
>
> Jolokia API is also down now. Is there a way to start embedded web server
> without restarting the broker?
>
> --
>     Vilius
>
> -----Original Message-----
> From: Vilius Šumskas <vilius.sums...@rivile.lt>
> Sent: Wednesday, January 11, 2023 1:55 PM
> To: users@activemq.apache.org
> Subject: reloading TLS certificate for Jolokia
>
> Hi,
>
> since because of https://issues.apache.org/jira/browse/ARTEMIS-3117
> ActiveMQ Artemis doesn‘t reload TLS certificates automatically anymore I‘m
> wondering, what is the correct way to reload certificates for embedded
> Jolokia Console?
>
> I have reloaded keystore for acceptors via console using reload() on
> „artemis-ssl“ acceptor, but I just cannot figure out a way to reload it for
> console itself.
>
> --
>    Best Regards,
>
>     Vilius Šumskas
>     Rivile
>     IT manager
>
>

Reply via email to