You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Endre Stølsvik (JIRA)" <ji...@apache.org> on 2006/10/30 18:50:12 UTC

[jira] Created: (AMQ-1016) 4.1 RC1: META-INF/spring.schemas refers to building user "file:/Users/chirino/"

4.1 RC1: META-INF/spring.schemas refers to building user "file:/Users/chirino/"
-------------------------------------------------------------------------------

                 Key: AMQ-1016
                 URL: https://issues.apache.org/activemq/browse/AMQ-1016
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 4.1
         Environment: n/a
            Reporter: Endre Stølsvik
            Priority: Minor


Referring to the 4.1 RC1 posted by Hiram Chirino  Oct 06, here:
  http://www.nabble.com/ActiveMQ-4.1-RC-1-tf2397970.html#a6686974

The META-INF file spring.schemas have the single line.
"http\://activemq.org/config/1.0=file:/Users/chirino/sandbox/activemq-4.1/activemq-core/target/activemq.xsd"

Notice "file:/" and "Users/chirino". Referring to org.springframework.beans.factory.xml.PluggableSchemaResolver's javadoc: "schema-location should also be a schema file in the classpath", and that no-one can tell what structure I will have on my fs, this must be wrong. In addition, I most probably won't have a user name "chirino".

PS: In addition, the doc at
  http://www.activemq.org/site/how-do-i-embed-a-broker-inside-a-connection.html
refers as such:

xmlns:amq="http://activemq.org/config/1.0"
 .. and ..
xsi:schemaLocation="http://activemq.org/config/1.0 http://people.apache.org/repository/org.apache.activemq/xsds/activemq-core-4.1-incubator-SNAPSHOT.xsd"

Wouldn't it be nice if this was put at a better place than such a snapshot-build URI? It could be put where it will reside when 4.1 actually is out, w/o anyone being to angry about changes during the finalization period, I personally believe.

-- 
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

       

[jira] Reopened: (AMQ-1016) 4.1 RC1: META-INF/spring.schemas refers to building user "file:/Users/chirino/"

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

Adam Lewandowski reopened AMQ-1016:
-----------------------------------

    Regression: [Regression]

This issue is not resolved.

> 4.1 RC1: META-INF/spring.schemas refers to building user "file:/Users/chirino/"
> -------------------------------------------------------------------------------
>
>                 Key: AMQ-1016
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1016
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 4.1.0
>         Environment: n/a
>            Reporter: Endre Stølsvik
>         Assigned To: Hiram Chirino
>            Priority: Minor
>             Fix For: 4.1.1, 4.2.0
>
>
> Referring to the 4.1 RC1 posted by Hiram Chirino  Oct 06, here:
>   http://www.nabble.com/ActiveMQ-4.1-RC-1-tf2397970.html#a6686974
> The META-INF file spring.schemas have the single line.
> "http\://activemq.org/config/1.0=file:/Users/chirino/sandbox/activemq-4.1/activemq-core/target/activemq.xsd"
> Notice "file:/" and "Users/chirino". Referring to org.springframework.beans.factory.xml.PluggableSchemaResolver's javadoc: "schema-location should also be a schema file in the classpath", and that no-one can tell what structure I will have on my fs, this must be wrong. In addition, I most probably won't have a user name "chirino".
> PS: In addition, the doc at
>   http://www.activemq.org/site/how-do-i-embed-a-broker-inside-a-connection.html
> refers as such:
> xmlns:amq="http://activemq.org/config/1.0"
>  .. and ..
> xsi:schemaLocation="http://activemq.org/config/1.0 http://people.apache.org/repository/org.apache.activemq/xsds/activemq-core-4.1-incubator-SNAPSHOT.xsd"
> Wouldn't it be nice if this was put at a better place than such a snapshot-build URI? It could be put where it will reside when 4.1 actually is out, w/o anyone being to angry about changes during the finalization period, I personally believe.

-- 
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

       

[jira] Commented: (AMQ-1016) 4.1 RC1: META-INF/spring.schemas refers to building user "file:/Users/chirino/"

Posted by "Endre Stølsvik (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-1016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_37836 ] 

Endre Stølsvik commented on AMQ-1016:
-------------------------------------

Just to point out for any viewers of this bug that have the same problem with AMQ 4.1: it seems like if you exchange the location URL with

{code}
http://people.apache.org/repository/org.apache.activemq/xsds/activemq-core-4.2-incubator-SNAPSHOT.xsd
{code}

.. it works again. (That is, the AMQ version 4.1 sems to work xbeans-style better with the devel 4.2 schema).



> 4.1 RC1: META-INF/spring.schemas refers to building user "file:/Users/chirino/"
> -------------------------------------------------------------------------------
>
>                 Key: AMQ-1016
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1016
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 4.1.0
>         Environment: n/a
>            Reporter: Endre Stølsvik
>         Assigned To: Hiram Chirino
>            Priority: Minor
>             Fix For: 4.1.1, 4.2.0
>
>
> Referring to the 4.1 RC1 posted by Hiram Chirino  Oct 06, here:
>   http://www.nabble.com/ActiveMQ-4.1-RC-1-tf2397970.html#a6686974
> The META-INF file spring.schemas have the single line.
> "http\://activemq.org/config/1.0=file:/Users/chirino/sandbox/activemq-4.1/activemq-core/target/activemq.xsd"
> Notice "file:/" and "Users/chirino". Referring to org.springframework.beans.factory.xml.PluggableSchemaResolver's javadoc: "schema-location should also be a schema file in the classpath", and that no-one can tell what structure I will have on my fs, this must be wrong. In addition, I most probably won't have a user name "chirino".
> PS: In addition, the doc at
>   http://www.activemq.org/site/how-do-i-embed-a-broker-inside-a-connection.html
> refers as such:
> xmlns:amq="http://activemq.org/config/1.0"
>  .. and ..
> xsi:schemaLocation="http://activemq.org/config/1.0 http://people.apache.org/repository/org.apache.activemq/xsds/activemq-core-4.1-incubator-SNAPSHOT.xsd"
> Wouldn't it be nice if this was put at a better place than such a snapshot-build URI? It could be put where it will reside when 4.1 actually is out, w/o anyone being to angry about changes during the finalization period, I personally believe.

-- 
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

       

[jira] Commented: (AMQ-1016) 4.1 RC1: META-INF/spring.schemas refers to building user "file:/Users/chirino/"

Posted by "Endre Stølsvik (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-1016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_37937 ] 

Endre Stølsvik commented on AMQ-1016:
-------------------------------------

Nice to see it reopened. At least the next versions, both 4.2 and 4.1.1 should have this fixed.

Here's a link to a post that describes the different problems, again referring to some more posts:

http://www.nabble.com/Re%3A-Issues-configuring-ActiveMQ-in-spring-context-file-p8450503.html

> 4.1 RC1: META-INF/spring.schemas refers to building user "file:/Users/chirino/"
> -------------------------------------------------------------------------------
>
>                 Key: AMQ-1016
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1016
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 4.1.0
>         Environment: n/a
>            Reporter: Endre Stølsvik
>         Assigned To: Hiram Chirino
>            Priority: Minor
>             Fix For: 4.1.1, 4.2.0
>
>
> Referring to the 4.1 RC1 posted by Hiram Chirino  Oct 06, here:
>   http://www.nabble.com/ActiveMQ-4.1-RC-1-tf2397970.html#a6686974
> The META-INF file spring.schemas have the single line.
> "http\://activemq.org/config/1.0=file:/Users/chirino/sandbox/activemq-4.1/activemq-core/target/activemq.xsd"
> Notice "file:/" and "Users/chirino". Referring to org.springframework.beans.factory.xml.PluggableSchemaResolver's javadoc: "schema-location should also be a schema file in the classpath", and that no-one can tell what structure I will have on my fs, this must be wrong. In addition, I most probably won't have a user name "chirino".
> PS: In addition, the doc at
>   http://www.activemq.org/site/how-do-i-embed-a-broker-inside-a-connection.html
> refers as such:
> xmlns:amq="http://activemq.org/config/1.0"
>  .. and ..
> xsi:schemaLocation="http://activemq.org/config/1.0 http://people.apache.org/repository/org.apache.activemq/xsds/activemq-core-4.1-incubator-SNAPSHOT.xsd"
> Wouldn't it be nice if this was put at a better place than such a snapshot-build URI? It could be put where it will reside when 4.1 actually is out, w/o anyone being to angry about changes during the finalization period, I personally believe.

-- 
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

       

[jira] Commented: (AMQ-1016) 4.1 RC1: META-INF/spring.schemas refers to building user "file:/Users/chirino/"

Posted by "Endre Stølsvik (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-1016?page=comments#action_37314 ] 
            
Endre Stølsvik commented on AMQ-1016:
-------------------------------------

$.01 :

Find one thing that stands out:
{noformat} 
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns="http://www.springframework.org/schema/beans"
	xmlns:aop="http://www.springframework.org/schema/aop"
	xmlns:tx="http://www.springframework.org/schema/tx"
	xmlns:amq="http://activemq.org/config/1.0"
	xsi:schemaLocation="
    http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
    http://www.springframework.org/schema/aop   http://www.springframework.org/schema/aop/spring-aop-2.0.xsd
    http://www.springframework.org/schema/tx    http://www.springframework.org/schema/tx/spring-tx-2.0.xsd
    http://activemq.org/config/1.0              http://people.apache.org/repository/org.apache.activemq/xsds/activemq-core-4.1-incubator-SNAPSHOT.xsd">
{noformat} 

and btw, the "http://activemq.org/config/1.0" doesn't exist (404), and I don't quite get the "1.0" either. Why not do as spring itself does, like "http://apache.org/schema/amq" and have a file "activemq-amq-4.x.xsd" or somehting there?

> 4.1 RC1: META-INF/spring.schemas refers to building user "file:/Users/chirino/"
> -------------------------------------------------------------------------------
>
>                 Key: AMQ-1016
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1016
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 4.1
>         Environment: n/a
>            Reporter: Endre Stølsvik
>            Priority: Minor
>
> Referring to the 4.1 RC1 posted by Hiram Chirino  Oct 06, here:
>   http://www.nabble.com/ActiveMQ-4.1-RC-1-tf2397970.html#a6686974
> The META-INF file spring.schemas have the single line.
> "http\://activemq.org/config/1.0=file:/Users/chirino/sandbox/activemq-4.1/activemq-core/target/activemq.xsd"
> Notice "file:/" and "Users/chirino". Referring to org.springframework.beans.factory.xml.PluggableSchemaResolver's javadoc: "schema-location should also be a schema file in the classpath", and that no-one can tell what structure I will have on my fs, this must be wrong. In addition, I most probably won't have a user name "chirino".
> PS: In addition, the doc at
>   http://www.activemq.org/site/how-do-i-embed-a-broker-inside-a-connection.html
> refers as such:
> xmlns:amq="http://activemq.org/config/1.0"
>  .. and ..
> xsi:schemaLocation="http://activemq.org/config/1.0 http://people.apache.org/repository/org.apache.activemq/xsds/activemq-core-4.1-incubator-SNAPSHOT.xsd"
> Wouldn't it be nice if this was put at a better place than such a snapshot-build URI? It could be put where it will reside when 4.1 actually is out, w/o anyone being to angry about changes during the finalization period, I personally believe.

-- 
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

       

[jira] Resolved: (AMQ-1016) 4.1 RC1: META-INF/spring.schemas refers to building user "file:/Users/chirino/"

Posted by "Hiram Chirino (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-1016?page=all ]

Hiram Chirino resolved AMQ-1016.
--------------------------------

    Fix Version/s: 4.1.1
                   4.2.0
       Resolution: Fixed
         Assignee: Hiram Chirino

Fix applied in trunk rev 474872 and in 4.1 branch rev 474876

> 4.1 RC1: META-INF/spring.schemas refers to building user "file:/Users/chirino/"
> -------------------------------------------------------------------------------
>
>                 Key: AMQ-1016
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1016
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 4.1.0
>         Environment: n/a
>            Reporter: Endre Stølsvik
>         Assigned To: Hiram Chirino
>            Priority: Minor
>             Fix For: 4.1.1, 4.2.0
>
>
> Referring to the 4.1 RC1 posted by Hiram Chirino  Oct 06, here:
>   http://www.nabble.com/ActiveMQ-4.1-RC-1-tf2397970.html#a6686974
> The META-INF file spring.schemas have the single line.
> "http\://activemq.org/config/1.0=file:/Users/chirino/sandbox/activemq-4.1/activemq-core/target/activemq.xsd"
> Notice "file:/" and "Users/chirino". Referring to org.springframework.beans.factory.xml.PluggableSchemaResolver's javadoc: "schema-location should also be a schema file in the classpath", and that no-one can tell what structure I will have on my fs, this must be wrong. In addition, I most probably won't have a user name "chirino".
> PS: In addition, the doc at
>   http://www.activemq.org/site/how-do-i-embed-a-broker-inside-a-connection.html
> refers as such:
> xmlns:amq="http://activemq.org/config/1.0"
>  .. and ..
> xsi:schemaLocation="http://activemq.org/config/1.0 http://people.apache.org/repository/org.apache.activemq/xsds/activemq-core-4.1-incubator-SNAPSHOT.xsd"
> Wouldn't it be nice if this was put at a better place than such a snapshot-build URI? It could be put where it will reside when 4.1 actually is out, w/o anyone being to angry about changes during the finalization period, I personally believe.

-- 
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

       

[jira] Commented: (AMQ-1016) 4.1 RC1: META-INF/spring.schemas refers to building user "file:/Users/chirino/"

Posted by "Endre Stølsvik (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-1016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_37935 ] 

Endre Stølsvik commented on AMQ-1016:
-------------------------------------

Now the 4.2 SNAPSHOT version doesn't work either.

I've now put a 4.1-working version here (its a 4.2 SNAPSHOT version that I apparently downloaded 2007-01-08, according to its timestamp):
  http://picorg.net/schema/activemq-4.1-working-V4.2.xsd

Hopefully the maintainers of ActiveMQ at some point will understand and fix this rather big problem.

By exchanging the xsi:schemaLocation URL with that one, I got both Eclipse to be happy, and my app to actually boot.

NOTE: I will not promise that I'll leave that file there forever, so don't go production with it.


> 4.1 RC1: META-INF/spring.schemas refers to building user "file:/Users/chirino/"
> -------------------------------------------------------------------------------
>
>                 Key: AMQ-1016
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1016
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 4.1.0
>         Environment: n/a
>            Reporter: Endre Stølsvik
>         Assigned To: Hiram Chirino
>            Priority: Minor
>             Fix For: 4.1.1, 4.2.0
>
>
> Referring to the 4.1 RC1 posted by Hiram Chirino  Oct 06, here:
>   http://www.nabble.com/ActiveMQ-4.1-RC-1-tf2397970.html#a6686974
> The META-INF file spring.schemas have the single line.
> "http\://activemq.org/config/1.0=file:/Users/chirino/sandbox/activemq-4.1/activemq-core/target/activemq.xsd"
> Notice "file:/" and "Users/chirino". Referring to org.springframework.beans.factory.xml.PluggableSchemaResolver's javadoc: "schema-location should also be a schema file in the classpath", and that no-one can tell what structure I will have on my fs, this must be wrong. In addition, I most probably won't have a user name "chirino".
> PS: In addition, the doc at
>   http://www.activemq.org/site/how-do-i-embed-a-broker-inside-a-connection.html
> refers as such:
> xmlns:amq="http://activemq.org/config/1.0"
>  .. and ..
> xsi:schemaLocation="http://activemq.org/config/1.0 http://people.apache.org/repository/org.apache.activemq/xsds/activemq-core-4.1-incubator-SNAPSHOT.xsd"
> Wouldn't it be nice if this was put at a better place than such a snapshot-build URI? It could be put where it will reside when 4.1 actually is out, w/o anyone being to angry about changes during the finalization period, I personally believe.

-- 
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

       

[jira] Commented: (AMQ-1016) 4.1 RC1: META-INF/spring.schemas refers to building user "file:/Users/chirino/"

Posted by "Endre Stølsvik (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-1016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_37835 ] 

Endre Stølsvik commented on AMQ-1016:
-------------------------------------

Just wanted to point out that in the 4.1 release, the line in question reads

{code}http\://activemq.org/config/1.0=file:/home/foconer/logicblaze/activemq-temp/activemq-4.1.0/activemq-core/target/activemq.xsd{code}

This is still very wrong, and additionally, with the current file residing at the {{http://people.apache.../activemq-core-4.1-incubator-SNAPSHOT.xsd}} location (refer to my first comment), the entire xbeans-stuff doesn't seem able to "boot" at all anymore, giving a huge exception:

{code}
Exception in thread "main" org.springframework.beans.factory.BeanDefinitionStoreException: Line 113 in XML document from class path resource [com/picorg/SpringPicorg.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.b: The content of element 'amq:transportConnector' is not complete. One of '{"http://activemq.org/config/1.0":broker, "http://activemq.org/config/1.0":brokerInfo, "http://activemq.org/config/1.0":discoveryAgent, "http://activemq.org/config/1.0":messageAuthorizationPolicy, "http://activemq.org/config/1.0":server, "http://activemq.org/config/1.0":taskRunnerFactory, WC[##other:"http://activemq.org/config/1.0"]}' is expected.
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.b: The content of element 'amq:transportConnector' is not complete. One of '{"http://activemq.org/config/1.0":broker, "http://activemq.org/config/1.0":brokerInfo, "http://activemq.org/config/1.0":discoveryAgent, "http://activemq.org/config/1.0":messageAuthorizationPolicy, "http://activemq.org/config/1.0":server, "http://activemq.org/config/1.0":taskRunnerFactory, WC[##other:"http://activemq.org/config/1.0"]}' is expected.
	at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
	at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:131)
	at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:384)
	at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:318)
	at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(XMLSchemaValidator.java:410)
	at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(XMLSchemaValidator.java:3165)
	at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.elementLocallyValidComplexType(XMLSchemaValidator.java:3129)
	at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.elementLocallyValidType(XMLSchemaValidator.java:3076)
	at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.processElementContent(XMLSchemaValidator.java:2978)
	at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleEndElement(XMLSchemaValidator.java:2121)
	at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.emptyElement(XMLSchemaValidator.java:714)
	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2740)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:645)
	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:225)
	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283)
	at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:77)
	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:405)
	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:357)
	at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
	at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126)
	at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142)
	at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:168)
	at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:113)
	at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:79)
	at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:94)
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:294)
	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:92)
	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:77)
	at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:68)
{code}

The spring config file in question used to boot.

Shouldn't there exist a proper, stable location with a proper schema for 4.1?!

> 4.1 RC1: META-INF/spring.schemas refers to building user "file:/Users/chirino/"
> -------------------------------------------------------------------------------
>
>                 Key: AMQ-1016
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1016
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 4.1.0
>         Environment: n/a
>            Reporter: Endre Stølsvik
>         Assigned To: Hiram Chirino
>            Priority: Minor
>             Fix For: 4.1.1, 4.2.0
>
>
> Referring to the 4.1 RC1 posted by Hiram Chirino  Oct 06, here:
>   http://www.nabble.com/ActiveMQ-4.1-RC-1-tf2397970.html#a6686974
> The META-INF file spring.schemas have the single line.
> "http\://activemq.org/config/1.0=file:/Users/chirino/sandbox/activemq-4.1/activemq-core/target/activemq.xsd"
> Notice "file:/" and "Users/chirino". Referring to org.springframework.beans.factory.xml.PluggableSchemaResolver's javadoc: "schema-location should also be a schema file in the classpath", and that no-one can tell what structure I will have on my fs, this must be wrong. In addition, I most probably won't have a user name "chirino".
> PS: In addition, the doc at
>   http://www.activemq.org/site/how-do-i-embed-a-broker-inside-a-connection.html
> refers as such:
> xmlns:amq="http://activemq.org/config/1.0"
>  .. and ..
> xsi:schemaLocation="http://activemq.org/config/1.0 http://people.apache.org/repository/org.apache.activemq/xsds/activemq-core-4.1-incubator-SNAPSHOT.xsd"
> Wouldn't it be nice if this was put at a better place than such a snapshot-build URI? It could be put where it will reside when 4.1 actually is out, w/o anyone being to angry about changes during the finalization period, I personally believe.

-- 
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