You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Ingemar Allqvist (JIRA)" <ji...@apache.org> on 2018/03/16 15:51:00 UTC

[jira] [Comment Edited] (ARTEMIS-1749) Examples doesn't work on Windows

    [ https://issues.apache.org/jira/browse/ARTEMIS-1749?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16400689#comment-16400689 ] 

Ingemar Allqvist edited comment on ARTEMIS-1749 at 3/16/18 3:50 PM:
--------------------------------------------------------------------

Suggestion: Similarily: src/main/Resources/activemq/server0/broker.xml: {color:#333333}${data.URI.dir}{color} ought to be set by the CLI, so that ${data.dir} should be replaced with it.

This concers more examples:

"ssl-enabled-dual-authentication"
 "stomp"
 "stomp-dual-authentication"
 "aqmp"
 "jmx-ssl"
 "ssl-enabled"
 "ha-policy-autobackup"
 "proton-ruby"


was (Author: ingall21):
Similarily: src/main/Resources/activemq/server0/broker.xml: ${data.dir} should be replaced with ${data.URI.dir}.

This concers more examples:

"ssl-enabled-dual-authentication"
 "stomp"
 "stomp-dual-authentication"
"aqmp"
"jmx-ssl"
"ssl-enabled"
"ha-policy-autobackup"
"proton-ruby"

> Examples doesn't work on Windows
> --------------------------------
>
>                 Key: ARTEMIS-1749
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1749
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 2.5.0
>         Environment: Windows 10
> JDK 1.8.0_112
> apache-maven-3.5.0
>            Reporter: Ingemar Allqvist
>            Priority: Major
>
> The examples:
> "ssl-enabled-dual-authentication"
> "stomp"
> "stomp-dual-authentication"
> Doesn't work on Windows (10?). The Maven build produces an error, and the server doesn't start:
> server-out:     _        _               _
> server-out:    / \  ____| |_  ___ __  __(_) _____
> server-out:   / _ \|  _ \ __|/ _ \  \/  | |/  __/
> server-out:  / ___ \ | \/ |_/  __/ |\/| | |\___ \
> server-out: /_/   \_\|   \__\____|_|  |_|_|/___ /
> server-out: Apache ActiveMQ Artemis 2.4.0
> server-out:
> server-out:
> server-err:Exception in thread "main" java.net.URISyntaxException: Illegal character in opaque part at index 2: C:\WS\program\artemis-2\examples\features\standard\ssl-enabled-dual-authentication\target\server0/etc/broker.xml
> server-err: at java.net.URI$Parser.fail(Unknown Source)
> server-err: at java.net.URI$Parser.checkChars(Unknown Source)
> server-err: at java.net.URI$Parser.parse(Unknown Source)
> server-err: at java.net.URI.<init>(Unknown Source)
> server-err: at org.apache.activemq.artemis.dto.ServerDTO.getConfigurationURI(ServerDTO.java:39)
> server-err: at org.apache.activemq.artemis.dto.ServerDTO.getConfigurationFile(ServerDTO.java:47)
> server-err: at org.apache.activemq.artemis.cli.commands.Run.execute(Run.java:75)
> server-err: at org.apache.activemq.artemis.cli.Artemis.internalExecute(Artemis.java:149)
> server-err: at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:96)
> server-err: at org.apache.activemq.artemis.cli.Artemis.execute(Artemis.java:123)
> server-err: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> server-err: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> server-err: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> server-err: at java.lang.reflect.Method.invoke(Unknown Source)
> server-err: at org.apache.activemq.artemis.boot.Artemis.execute(Artemis.java:129)
> server-err: at org.apache.activemq.artemis.boot.Artemis.main(Artemis.java:49)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)