activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geoffrey De Smet (JIRA)" <>
Subject [jira] Commented: (AMQ-1016) 4.1 RC1: META-INF/spring.schemas refers to building user "file:/Users/chirino/"
Date Fri, 23 Mar 2007 09:51:35 GMT


Geoffrey De Smet commented on AMQ-1016:

Hiram, I don't believe the namespace need to be changed - as I didn't need to in my workaround.

There are 2 issues:

1) MINOR: an official, stable, working url with the xsd for each release.
So Eclipse/Intellij can fetch it and do code completion. It's not needed at runtime.
Till then someone makes one, this one seems to work (but can break at any time as the helpfull
person who put it up said)

2) CRITICAL: that xsd inside the jar and a spring.schemas files which couples
the official url to that xsd in the jar. It is needed at runtime.
Notice that the namespace "" isn't affected.

Workaround for this issue

Define this in your spring context - you might wanna use a more trustworty url of your own:


Make a resource in your jar:
and copy the contents from that online xsd in it.

Make a resource in your jar:
and copy the following contents in it:

Pitfall: notice the  \ in front of the : of http://

> 4.1 RC1: META-INF/spring.schemas refers to building user "file:/Users/chirino/"
> -------------------------------------------------------------------------------
>                 Key: AMQ-1016
>                 URL:
>             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.2.0
> Referring to the 4.1 RC1 posted by Hiram Chirino  Oct 06, here:
> The META-INF file spring.schemas have the single line.
> "http\://"
> 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
> refers as such:
> xmlns:amq=""
>  .. and ..
> xsi:schemaLocation=""
> 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.
You can reply to this email to add a comment to the issue online.

View raw message