You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by ming616 <mi...@gmail.com> on 2006/08/04 03:24:57 UTC

Re: Why I got Unrecognized xbean namespace mapping: http://activemq.org/

After I deleted "xmlns="http://activemq.org/config/1.0"  I got this? what
happed? How can I do?  
[java] 09:22:02 INFO  Destroying singletons in factory
{org.springframework.beans.factory.support.DefaultListableBeanFactory
defining beans [broker]; root of BeanFactory hierarchy}
     [java] org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'broker' defined in class path resource
[applicationContext.xml]: Invocation of init method failed; nested exception
is java.lang.IllegalArgumentException: The configuration has no
BrokerService instance for resource: class path resource [activemq.xml]
     [java] at
org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:180)
     [java] at org.apache.tools.ant.taskdefs.Java.run(Java.java:710)
     [java] at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:178)
   
-- 
View this message in context: http://www.nabble.com/Why-I-got-Unrecognized-xbean-namespace-mapping%3A-http%3A--activemq.org-conf-tf2048833.html#a5643487
Sent from the ActiveMQ - User forum at Nabble.com.


Re: Why I got Unrecognized xbean namespace mapping: http://activemq.org/

Posted by James Strachan <ja...@gmail.com>.
On 8/4/06, ming616 <mi...@gmail.com> wrote:
>
> After I deleted "xmlns="http://activemq.org/config/1.0"

You shouldn't do that :)

-- 

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

Re: Why I got Unrecognized xbean namespace mapping: http://activemq.org/

Posted by wallace <wa...@yahoo.com>.
Instead of deleting "xmlns="http://activemq.org/config/1.0" , you should move
it to the broker element, i.e.

<beans>

  <broker useJmx="true" xmlns="http://activemq.org/config/1.0">

Hopefully that would get fixed in future release.

-Wallace

-- 
View this message in context: http://www.nabble.com/Why-I-got-Unrecognized-xbean-namespace-mapping%3A-http%3A--activemq.org-conf-tf2048833s2354.html#a10904517
Sent from the ActiveMQ - User mailing list archive at Nabble.com.