You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by co...@gmail.com on 2025/01/02 22:56:50 UTC
ActiveMQ Artemis Worrying Console Startup Logs
Hey,
I am running an embedded ActiveMQ Artemis broker on version 2.39 using Windows
11 and am running into some weird logs on console startup and I am unsure if
they matter or not. I attached the logs I see when starting the broker. The
logs I am wondering about are the multiple instances of
“java.net.URISyntaxException” regarding having the “\” character in the String
that is being converted to a URI. As far as I can tell the console still works
fine but it certainly is alarming to see so I wanted to check and see if it is
something that matters.
I think the issue comes from java.nio.file.Path.toString() using “\” as the
separator on Windows instead of “/”. This is used several times in
[org.apache.activemq.artemis.component.
WebServerComponent.start()](https://github.com/apache/activemq-
artemis/blob/3bd9e871a4b7dabf39436d73a45d44d83ec02f9c/artemis-
web/src/main/java/org/apache/activemq/artemis/component/WebServerComponent.java#L204)
as the input to ResourceHandler. setBaseResourceAsString which ultimately
tries to create a URI out of the string that fails
in[org.eclipse.jetty.util.resource.ResourceFactory.newResource](https://github.com/jetty/jetty.project/blob/818bd0ee98bfe526b370617215d9a2e4a5f5edb2/jetty-
core/jetty-
util/src/main/java/org/eclipse/jetty/util/resource/ResourceFactory.java#L343).
I’m just wondering if this is a known issue or if it can be safely ignored.
Thanks!
Cooper
Re: ActiveMQ Artemis Worrying Console Startup Logs
Posted by Justin Bertram <jb...@apache.org>.
This is not a known issue, but I still think it can be safely ignored given
that the console still works fine.
In any case, I created ARTEMIS-5226 [1] for this and sent a PR.
Justin
[1] https://issues.apache.org/jira/browse/ARTEMIS-5226
On Thu, Jan 2, 2025 at 4:57 PM <co...@gmail.com> wrote:
> Hey,
>
>
>
> I am running an embedded ActiveMQ Artemis broker on version 2.39 using
> Windows 11 and am running into some weird logs on console startup and I am
> unsure if they matter or not. I attached the logs I see when starting the
> broker. The logs I am wondering about are the multiple instances of
> “java.net.URISyntaxException” regarding having the “\” character in the
> String that is being converted to a URI. As far as I can tell the console
> still works fine but it certainly is alarming to see so I wanted to check
> and see if it is something that matters.
>
> I think the issue comes from java.nio.file.Path.toString() using “\” as
> the separator on Windows instead of “/”. This is used several times in org.apache.activemq.artemis.component.
> WebServerComponent.start()
> <https://github.com/apache/activemq-artemis/blob/3bd9e871a4b7dabf39436d73a45d44d83ec02f9c/artemis-web/src/main/java/org/apache/activemq/artemis/component/WebServerComponent.java#L204> as
> the input to ResourceHandler. setBaseResourceAsString which ultimately
> tries to create a URI out of the string that fails in
> org.eclipse.jetty.util.resource.ResourceFactory.newResource
> <https://github.com/jetty/jetty.project/blob/818bd0ee98bfe526b370617215d9a2e4a5f5edb2/jetty-core/jetty-util/src/main/java/org/eclipse/jetty/util/resource/ResourceFactory.java#L343>
> .
>
>
>
> I’m just wondering if this is a known issue or if it can be safely ignored.
>
>
>
> Thanks!
>
> Cooper
>
>
>