History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: AMQ-953
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Hiram Chirino
Reporter: Hiram Chirino
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ActiveMQ

ActiveMQ standalone sever does not start in Windows

Created: 02/Oct/06 09:19 AM   Updated: 19/Oct/06 08:49 AM
Component/s: Broker
Affects Version/s: 4.0.2
Fix Version/s: 4.0.2

Time Tracking:
Not Specified


 Description  « Hide
When you use the activemq.bat file in the bin directory of the 4.0.2 distribution you get one of the following errors:
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

and

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'


 All   Comments   Work Log   Change History   Subversion Commits   FishEye   Crucible      Sort Order: Ascending order - Click to sort in descending order
Hiram Chirino - 02/Oct/06 09:23 AM
Fixed in 4.0 branch Committed revision 452107
Fixed in trunk revision 452108

Hiram Chirino - 02/Oct/06 09:29 AM
As a simple workaround, users can either:
  1. 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
  2. Run this before you execute the existing activemq.bat:
    set ACTIVEMQ_CLASSPATH=""