[ https://issues.apache.org/activemq/browse/AMQ-953?page=comments#action_37069 ] Hiram Chirino commented on AMQ-953: -----------------------------------
As a simple workaround, users can either: # Replace thier activemq.bat with this one: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.0/assembly/src/release/bin/activemq.bat # Run this before you execute the existing activemq.bat: {code} set ACTIVEMQ_CLASSPATH="" {code} > ActiveMQ standalone sever does not start in Windows > --------------------------------------------------- > > Key: AMQ-953 > URL: https://issues.apache.org/activemq/browse/AMQ-953 > Project: ActiveMQ > Issue Type: Bug > Components: Broker > Affects Versions: 4.0.2 > Reporter: Hiram Chirino > Assigned To: Hiram Chirino > > When you use the activemq.bat file in the bin directory of the 4.0.2 > distribution you get one of the following errors: > {code} > C:\incubator-activemq-4.0.2\bin>activemq > ACTIVEMQ_HOME: . > Failed to execute main task. Reason: java.lang.ClassNotFoundException: > org.apache.activemq.console.command.ShellCommand > {code} > and > {code} > ACTIVEMQ_HOME: . > Loading message broker from: xbean:activemq.xml > ERROR: java.lang.RuntimeException: Failed to execute start task. Reason: > org.springframework.beans.factory.Bea > nDefinitionStoreException: Error registering bean with name > 'org.apache.activemq.xbean.XBeanBrokerService' def > ined in class path resource [activemq.xml]: Could not resolve placeholder > 'activemq.home' > ERROR: java.lang.Exception: > org.springframework.beans.factory.BeanDefinitionStoreException: Error > registering > bean with name 'org.apache.activemq.xbean.XBeanBrokerService' defined in > class path resource [activemq.xml]: C > ould not resolve placeholder 'activemq.home' > {code} -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira