Unable to start Active MQ

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Unable to start Active MQ

Igor Livshin
I downloaded Active MQ 10.2.0 (for Windows) and unzipped it.
My environment: Windows 7 (64-bit)
JDK 1.7

When I execute "activemq.bat start" command from the \bin directory, the following exception is shown in the log:

2016-04-01 16:32:04,123 | ERROR | Failed to start Apache ActiveMQ ([localhost, ID:HP_LAPTOP-57850-1459546323874-0:1], java.net.URISyntaxException: Illegal character in hostname at index 7: ws://HP_LAPTOP:61614?maximumConnections=1000&wireFormat.maxFrameSize=104857600) | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
2016-04-01 16:32:04,130 | INFO  | Apache ActiveMQ 5.11.1 (localhost, ID:HP_LAPTOP-57850-1459546323874-0:1) is shutting down | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
2016-04-01 16:32:04,134 | INFO  | Connector openwire stopped | org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
2016-04-01 16:32:04,138 | INFO  | Connector amqp stopped | org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
2016-04-01 16:32:04,143 | INFO  | Connector stomp stopped | org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
2016-04-01 16:32:04,147 | INFO  | Connector mqtt stopped | org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
2016-04-01 16:32:04,150 | INFO  | Connector ws stopped | org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
2016-04-01 16:32:04,154 | INFO  | PListStore:[C:\Apache_ActiveMQ\apache-activemq-5.11.1\bin\win64\..\..\data\localhost\tmp_storage] stopped | org.apache.activemq.store.kahadb.plist.PListStoreImpl | WrapperSimpleAppMain
2016-04-01 16:32:04,155 | INFO  | Stopping async queue tasks | org.apache.activemq.store.kahadb.KahaDBStore | WrapperSimpleAppMain
2016-04-01 16:32:04,156 | INFO  | Stopping async topic tasks | org.apache.activemq.store.kahadb.KahaDBStore | WrapperSimpleAppMain
2016-04-01 16:32:04,158 | INFO  | Stopped KahaDB | org.apache.activemq.store.kahadb.KahaDBStore | WrapperSimpleAppMain
2016-04-01 16:32:04,354 | INFO  | Apache ActiveMQ 5.11.1 (localhost, ID:HP_LAPTOP-57850-1459546323874-0:1) uptime 0.582 seconds | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
2016-04-01 16:32:04,356 | INFO  | Apache ActiveMQ 5.11.1 (localhost, ID:HP_LAPTOP-57850-1459546323874-0:1) is shutdown | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain


Note. I also installed Active MQ 5.11.1 and received the same exception at startup. I also tried running. In addition I tried executing "activemq.bat start" command from \bin\64 - the same result.
Reply | Threaded
Open this post in threaded view
|

Re: Unable to start Active MQ

tabish121@gmail.com
On 04/01/2016 05:48 PM, Igor Livshin wrote:

> I downloaded Active MQ 10.2.0 (for Windows) and unzipped it.
> My environment: Windows 7 (64-bit)
> JDK 1.7
>
> When I execute "activemq.bat start" command from the \bin directory, the
> following exception is shown in the log:
>
> 2016-04-01 16:32:04,123 | ERROR | Failed to start Apache ActiveMQ
> ([localhost, ID:HP_LAPTOP-57850-1459546323874-0:1],
> java.net.URISyntaxException: Illegal character in hostname at index 7:
> ws://HP_LAPTOP:61614?maximumConnections=1000&wireFormat.maxFrameSize=104857600)

The error tells you exactly what is wrong.
https://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_host_names

> | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
> 2016-04-01 16:32:04,130 | INFO  | Apache ActiveMQ 5.11.1 (localhost,
> ID:HP_LAPTOP-57850-1459546323874-0:1) is shutting down |
> org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
> 2016-04-01 16:32:04,134 | INFO  | Connector openwire stopped |
> org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
> 2016-04-01 16:32:04,138 | INFO  | Connector amqp stopped |
> org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
> 2016-04-01 16:32:04,143 | INFO  | Connector stomp stopped |
> org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
> 2016-04-01 16:32:04,147 | INFO  | Connector mqtt stopped |
> org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
> 2016-04-01 16:32:04,150 | INFO  | Connector ws stopped |
> org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
> 2016-04-01 16:32:04,154 | INFO  |
> PListStore:[C:\Apache_ActiveMQ\apache-activemq-5.11.1\bin\win64\..\..\data\localhost\tmp_storage]
> stopped | org.apache.activemq.store.kahadb.plist.PListStoreImpl |
> WrapperSimpleAppMain
> 2016-04-01 16:32:04,155 | INFO  | Stopping async queue tasks |
> org.apache.activemq.store.kahadb.KahaDBStore | WrapperSimpleAppMain
> 2016-04-01 16:32:04,156 | INFO  | Stopping async topic tasks |
> org.apache.activemq.store.kahadb.KahaDBStore | WrapperSimpleAppMain
> 2016-04-01 16:32:04,158 | INFO  | Stopped KahaDB |
> org.apache.activemq.store.kahadb.KahaDBStore | WrapperSimpleAppMain
> 2016-04-01 16:32:04,354 | INFO  | Apache ActiveMQ 5.11.1 (localhost,
> ID:HP_LAPTOP-57850-1459546323874-0:1) uptime 0.582 seconds |
> org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
> 2016-04-01 16:32:04,356 | INFO  | Apache ActiveMQ 5.11.1 (localhost,
> ID:HP_LAPTOP-57850-1459546323874-0:1) is shutdown |
> org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
>
>
> Note. I also installed Active MQ 5.11.1 and received the same exception at
> startup. I also tried running. In addition I tried executing "activemq.bat
> start" command from \bin\64 - the same result.
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Unable-to-start-Active-MQ-tp4710231.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>


--
Tim Bish
twitter: @tabish121
blog: http://timbish.blogspot.com/

Reply | Threaded
Open this post in threaded view
|

Re: Unable to start Active MQ

Igor Livshin
This post has NOT been accepted by the mailing list yet.
Hi Tabish,

Thanks for your response. 

Yes, the error pointing to the invalid character in the name HP_LAPTOP, however how I can fix it. I am just running the provided script that should start ActiveMQ. I did not find this name in any config or bat file. The documentation does not ask to provide some parameters or set some environment variables.

Regards

Igor 

On Fri, Apr 1, 2016 at 5:46 PM, [hidden email] [via ActiveMQ] <[hidden email]> wrote:
On 04/01/2016 05:48 PM, Igor Livshin wrote:

> I downloaded Active MQ 10.2.0 (for Windows) and unzipped it.
> My environment: Windows 7 (64-bit)
> JDK 1.7
>
> When I execute "activemq.bat start" command from the \bin directory, the
> following exception is shown in the log:
>
> 2016-04-01 16:32:04,123 | ERROR | Failed to start Apache ActiveMQ
> ([localhost, ID:HP_LAPTOP-57850-1459546323874-0:1],
> java.net.URISyntaxException: Illegal character in hostname at index 7:
> ws://HP_LAPTOP:61614?maximumConnections=1000&wireFormat.maxFrameSize=104857600)
The error tells you exactly what is wrong.
https://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_host_names

> | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
> 2016-04-01 16:32:04,130 | INFO  | Apache ActiveMQ 5.11.1 (localhost,
> ID:HP_LAPTOP-57850-1459546323874-0:1) is shutting down |
> org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
> 2016-04-01 16:32:04,134 | INFO  | Connector openwire stopped |
> org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
> 2016-04-01 16:32:04,138 | INFO  | Connector amqp stopped |
> org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
> 2016-04-01 16:32:04,143 | INFO  | Connector stomp stopped |
> org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
> 2016-04-01 16:32:04,147 | INFO  | Connector mqtt stopped |
> org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
> 2016-04-01 16:32:04,150 | INFO  | Connector ws stopped |
> org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
> 2016-04-01 16:32:04,154 | INFO  |
> PListStore:[C:\Apache_ActiveMQ\apache-activemq-5.11.1\bin\win64\..\..\data\localhost\tmp_storage]
> stopped | org.apache.activemq.store.kahadb.plist.PListStoreImpl |
> WrapperSimpleAppMain
> 2016-04-01 16:32:04,155 | INFO  | Stopping async queue tasks |
> org.apache.activemq.store.kahadb.KahaDBStore | WrapperSimpleAppMain
> 2016-04-01 16:32:04,156 | INFO  | Stopping async topic tasks |
> org.apache.activemq.store.kahadb.KahaDBStore | WrapperSimpleAppMain
> 2016-04-01 16:32:04,158 | INFO  | Stopped KahaDB |
> org.apache.activemq.store.kahadb.KahaDBStore | WrapperSimpleAppMain
> 2016-04-01 16:32:04,354 | INFO  | Apache ActiveMQ 5.11.1 (localhost,
> ID:HP_LAPTOP-57850-1459546323874-0:1) uptime 0.582 seconds |
> org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
> 2016-04-01 16:32:04,356 | INFO  | Apache ActiveMQ 5.11.1 (localhost,
> ID:HP_LAPTOP-57850-1459546323874-0:1) is shutdown |
> org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
>
>
> Note. I also installed Active MQ 5.11.1 and received the same exception at
> startup. I also tried running. In addition I tried executing "activemq.bat
> start" command from \bin\64 - the same result.
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Unable-to-start-Active-MQ-tp4710231.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>


--
Tim Bish
twitter: @tabish121
blog: http://timbish.blogspot.com/




If you reply to this email, your message will be added to the discussion below:
http://activemq.2283324.n4.nabble.com/Unable-to-start-Active-MQ-tp4710231p4710232.html
To unsubscribe from Unable to start Active MQ, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: Unable to start Active MQ

Igor Livshin
This post has NOT been accepted by the mailing list yet.
In reply to this post by tabish121@gmail.com
I changed the name of my machine, and it works now. Thanks for your help.

Igor

On Fri, Apr 1, 2016 at 5:46 PM, [hidden email] [via ActiveMQ] <[hidden email]> wrote:
On 04/01/2016 05:48 PM, Igor Livshin wrote:

> I downloaded Active MQ 10.2.0 (for Windows) and unzipped it.
> My environment: Windows 7 (64-bit)
> JDK 1.7
>
> When I execute "activemq.bat start" command from the \bin directory, the
> following exception is shown in the log:
>
> 2016-04-01 16:32:04,123 | ERROR | Failed to start Apache ActiveMQ
> ([localhost, ID:HP_LAPTOP-57850-1459546323874-0:1],
> java.net.URISyntaxException: Illegal character in hostname at index 7:
> ws://HP_LAPTOP:61614?maximumConnections=1000&wireFormat.maxFrameSize=104857600)
The error tells you exactly what is wrong.
https://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_host_names

> | org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
> 2016-04-01 16:32:04,130 | INFO  | Apache ActiveMQ 5.11.1 (localhost,
> ID:HP_LAPTOP-57850-1459546323874-0:1) is shutting down |
> org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
> 2016-04-01 16:32:04,134 | INFO  | Connector openwire stopped |
> org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
> 2016-04-01 16:32:04,138 | INFO  | Connector amqp stopped |
> org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
> 2016-04-01 16:32:04,143 | INFO  | Connector stomp stopped |
> org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
> 2016-04-01 16:32:04,147 | INFO  | Connector mqtt stopped |
> org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
> 2016-04-01 16:32:04,150 | INFO  | Connector ws stopped |
> org.apache.activemq.broker.TransportConnector | WrapperSimpleAppMain
> 2016-04-01 16:32:04,154 | INFO  |
> PListStore:[C:\Apache_ActiveMQ\apache-activemq-5.11.1\bin\win64\..\..\data\localhost\tmp_storage]
> stopped | org.apache.activemq.store.kahadb.plist.PListStoreImpl |
> WrapperSimpleAppMain
> 2016-04-01 16:32:04,155 | INFO  | Stopping async queue tasks |
> org.apache.activemq.store.kahadb.KahaDBStore | WrapperSimpleAppMain
> 2016-04-01 16:32:04,156 | INFO  | Stopping async topic tasks |
> org.apache.activemq.store.kahadb.KahaDBStore | WrapperSimpleAppMain
> 2016-04-01 16:32:04,158 | INFO  | Stopped KahaDB |
> org.apache.activemq.store.kahadb.KahaDBStore | WrapperSimpleAppMain
> 2016-04-01 16:32:04,354 | INFO  | Apache ActiveMQ 5.11.1 (localhost,
> ID:HP_LAPTOP-57850-1459546323874-0:1) uptime 0.582 seconds |
> org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
> 2016-04-01 16:32:04,356 | INFO  | Apache ActiveMQ 5.11.1 (localhost,
> ID:HP_LAPTOP-57850-1459546323874-0:1) is shutdown |
> org.apache.activemq.broker.BrokerService | WrapperSimpleAppMain
>
>
> Note. I also installed Active MQ 5.11.1 and received the same exception at
> startup. I also tried running. In addition I tried executing "activemq.bat
> start" command from \bin\64 - the same result.
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Unable-to-start-Active-MQ-tp4710231.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>


--
Tim Bish
twitter: @tabish121
blog: http://timbish.blogspot.com/




If you reply to this email, your message will be added to the discussion below:
http://activemq.2283324.n4.nabble.com/Unable-to-start-Active-MQ-tp4710231p4710232.html
To unsubscribe from Unable to start Active MQ, click here.
NAML