jfd wrote:
Hello All,

I am just start to use ActiveMq and tried to configure it using Spring 2.0
and here are some of the issues I have encounted while I am using 4.1.0 with
m2

1). the xsd file for the spring 2.0 beanconfiguration is not included in the
jar file

2) the spring.schemas point the xsd to a local file system which apparent is
wrong and not tested. right now is like this

http\://activemq.org/config/1.0=file:/Users/chirino/sandbox/activemq-4.1/activemq-core/target/activemq.xsd

because of these configuration mistakes, you cannot use the activeMQ if the
newtwork is not available.

Correct.

And now both the http-available SNAPSHOT versions (4.1 and 4.2) are fubarred too, so it's impossible to start up my application (and Eclipse error-marks the <amq:transportConnectors> element).

I tried "-1'ing" the release of 4.1 for this, to no avail:
http://www.nabble.com/Re%3A--VOTE--Release-Apache-ActiveMQ-4.1.0-%28RC-2%29-p7337239.html

Here's further down the thread (It can't boot with network cable unplugged, and I still think the fix mentioned won't work):
http://www.nabble.com/Re%3A--VOTE--Release-Apache-ActiveMQ-4.1.0-%28RC-2%29-p7342998.html

I find it problematic that there aren't a stable http location, preferrably one that actually works with the 4.1 release (!!), and of course also that the spring.schemas is wrong in several ways.

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

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.

ActiveMQ-maintainers: There are TWO problems, outlined in the post I referred to above: 1) the schema should be referred to properly in the spring.schemas (two problems there: wrong URL in front, and actual classpath (inside the JAR) location instead of ref to local file on "chirino"'s machine) 2) There should be some extremely stable ONLINE http-URL where each version of the schema file resides, FOREVER, STABLE, and preferrably with a sane name not including "SNAPSHOT"!

Here's the bug about this, that for some reason now is "RESOLVED":
 https://issues.apache.org/activemq/browse/AMQ-1016

PS: run this search; there's more than one complaint about this:
  http://www.nabble.com/forum/Search.jtp?forum=2354&local=y&query=schema

Regards,
Endre.

Reply via email to