Bhanu created AMQ-3990:
--------------------------

             Summary: Exceptions while launching activemq via init.d
                 Key: AMQ-3990
                 URL: https://issues.apache.org/jira/browse/AMQ-3990
             Project: ActiveMQ
          Issue Type: Bug
          Components: Broker
    Affects Versions: 5.5.1
         Environment: linux
            Reporter: Bhanu


Hi,
I am following the steps mentioned here - 
http://activemq.apache.org/unix-service.html to start my broker automatically 
on linux reboots via init.d. I am running into this weird exception :-

ERROR: java.lang.RuntimeException: Failed to execute start task. Reason: 
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 23 
in X ML document from URL 
[file:/prod/tools/base/etc/config/activemq/amq_prod_broker_config.xml] is 
invalid; nested exception is org.xml.sax.SAXParseException; l ineNumber: 23; 
columnNumber: 52; cvc-elt.1: Cannot find the declaration of element 'beans'. 
java.lang.RuntimeException: Failed to execute start task. Reason: 
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 23 
in XML docu ment from URL 
[file:/prod/tools/base/etc/config/activemq/amq_prod_broker_config.xml] is 
invalid; nested exception is org.xml.sax.SAXParseException; lineNumb er: 23; 
columnNumber: 52; cvc-elt.1: Cannot find the declaration of element 'beans'.

Please note that I am properly able to launch the broker using command line but 
I am getting this exception while launching on machine startup using init.d

Please help.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to