activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: org.xml.sax.SAXParseException: cvc-complex-type.2.4.c
Date Thu, 10 Jun 2010 09:23:57 GMT
Hi,

you need to define your destinations inside brokers definition. Checkout
this URL from some more info

http://activemq.us.ipv4.apache.org/configure-startup-destinations.html

<http://activemq.us.ipv4.apache.org/configure-startup-destinations.html>
Cheers
--
Dejan Bosanac - http://twitter.com/dejanb

Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net


On Thu, Jun 10, 2010 at 8:33 AM, coolsandy123 <tanuja_goturi@yahoo.com>wrote:

>
> hi,
> i am using active mq with spring.the config file contents are as follows.
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <beans xmlns="http://www.springframework.org/schema/beans"
>        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>    xmlns:util="http://www.springframework.org/schema/util"
>    xmlns:amq="http://activemq.apache.org/schema/core"
>        xsi:schemaLocation="
>        http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans.xsd
>        http://www.springframework.org/schema/util
> http://www.springframework.org/schema/util/spring-util-2.0.xsd
>        http://activemq.apache.org/schema/core
> http://activemq.apache.org/schema/core/activemq-core-5.3.2.xsd">
>
>    <amq:queue id="alertAssemblyQ"  physicalName="jms/xyz/AlertAssemblyQ"/>
> ...
>
> </beans>
>
> when i start my weblogic, it throws the following exception.
>  org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
> Line
> 16 in XML document from class path resource [MET
> A-INF/services-context.xml] is invalid; nested exception is
> org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The
> matching wildcard is strict, but no declaration can be found for element
> 'amq:queue'.
>
> What am i missing?
>
> TIA,
> sandy
> --
> View this message in context:
> http://old.nabble.com/org.xml.sax.SAXParseException%3A-cvc-complex-type.2.4.c-tp28839277p28839277.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message