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

Ingemar Allqvist commented on ARTEMIS-1749:
-------------------------------------------

Great! There could also (maybe) be an issue with ${data.dir} in the broker.xml 
of some projects:

{color:#3f5fbf}...{color}

{color:#008080}<{color}{color:#3f7f7f}acceptor{color} 
{color:#7f007f}name{color}=_{color:#2a00ff}"netty-ssl-acceptor"{color}_{color:#008080}>{color}tcp://localhost:5500?sslEnabled=true;needClientAuth=true;keyStorePath=${data.dir}/../etc/server-side-keystore.jks;keyStorePassword=secureexample;trustStorePath=${data.dir}/../etc/server-side-truststore.jks;trustStorePassword=secureexample{color:#008080}</{color}{color:#3f7f7f}acceptor{color}{color:#008080}>{color}

{color:#008080} {color}

 

> 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
>            Assignee: Justin Bertram
>            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)

Reply via email to