You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Bhanu (JIRA)" <ji...@apache.org> on 2012/08/24 08:02:41 UTC

[jira] [Created] (AMQ-3990) Exceptions while launching activemq via init.d

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

        

[jira] [Commented] (AMQ-3990) Exceptions while launching activemq via init.d

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AMQ-3990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13458521#comment-13458521 ] 

Timothy Bish commented on AMQ-3990:
-----------------------------------

This looks like a classpath issue.  I'd assume that the user that's starting the service doesn't have access to the required jars at the time the service is started. 
                
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Closed] (AMQ-3990) Exceptions while launching activemq via init.d

Posted by "Timothy Bish (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AMQ-3990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Bish closed AMQ-3990.
-----------------------------

    Resolution: Incomplete

No further feedback from reporter.  Issue appears as configuration problem on the user starting the broker. 
                
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira