activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: spring and activemq
Date Tue, 03 Apr 2007 07:37:08 GMT
You tried 4.1.1?

On 4/2/07, Garner, Shawn <shawn.garner@vangent.com> wrote:
> ActiveMQ 4.1
>
> Shawn
>
> -----Original Message-----
> From: James Strachan [mailto:james.strachan@gmail.com]
> Sent: Monday, April 02, 2007 3:08 AM
> To: users@activemq.apache.org
> Subject: Re: spring and activemq
>
> Which version were  you using?
>
> On 3/29/07, Garner, Shawn <shawn.garner@vangent.com> wrote:
> > I'm having problems getting the example spring file to load:
> >
> >
> >
> > http://activemq.apache.org/spring-support.html
> >
> >
> >
> > 007-03-29 15:19:23,662 [main] ERROR
> >
> org.springframework.web.context.ContextLoader:initWebApplicationContext:
> > 205  - Context initialization failed
> >
> > org.springframework.beans.factory.BeanDefinitionStoreException: Line
> 11
> > in XML document from ServletContext resource
> > [/WEB-INF/config-spring/applicationContext-jms.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.
> >
> >
> >
> >
> >
> > <beans
> >
> >   xmlns="http://www.springframework.org/schema/beans"
> >
> >   xmlns:amq="http://activemq.org/config/1.0"
> >
> >   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> >
> >   xsi:schemaLocation="http://www.springframework.org/schema/beans
> > http://www.springframework.org/schema/beans/spring-beans.xsd
> >
> >   http://activemq.org/config/1.0
> >
> http://people.apache.org/repository/org.apache.activemq/xsds/activemq-co
> > re-4.1-SNAPSHOT.xsd">
> >
> >
> >
> >   <!--  lets create an embedded ActiveMQ Broker -->
> >
> >   <amq:broker useJmx="false" persistent="false">
> >
> >     <amq:transportConnectors>
> >
> >       <amq:transportConnector uri="tcp://localhost:0" />
> >
> >     </amq:transportConnectors>
> >
> >   </amq:broker>
> >
> >
>
>
> --
>
> James
> -------
> http://radio.weblogs.com/0112098/
>


-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
View raw message