Results 1 to 2 of 2

Thread: Active Mq 5.1 w/ Spring

  1. #1
    Join Date
    Mar 2008
    Posts
    6

    Default Active Mq 5.1 w/ Spring

    I trying to use Spring with Active MQ 5.1 using Spring's xml schema based configuration, however it looks like I'm running into issues with the xsd. Any suggestions? Please see attachment as I am not allowed to post urls (which are in the spring config file). Error is org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'htt..p//activemq.apache.org/schema/core/activemq-core-5.1.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
    Attached Files Attached Files
    Last edited by aurealus; Sep 22nd, 2008 at 03:17 PM.

  2. #2
    Join Date
    Mar 2008
    Posts
    6

    Default

    Nevermind, I was able to find the solution after some digging, it appears the doc at htt..p://activemq.apache.org/xml-reference.html is incorrect. Once I changed the spring file to point to the internal xsd files from the activemq jar (from Meta-Inf/spring.schemas), I was ok.

    For anyone that has this issue, here is my updated xml.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •