Please take a moment to read the changes in 4.0...
http://incubator.apache.org/activemq/changes-in-40.html
in particular the XML config file has changed (it no longer uses a DTD)
see the examples here...
http://activemq.org/site/xml-configuration.html
On 6/7/06, zizou77 <pavon@laposte.net> wrote:
>
> I've got a new problem,
> in my spring.xml I have:
> <bean id="broker" class="org.apache.activemq.xbean.BrokerFactoryBean">
> <property name="config" value="classpath:/activeMQ-standalone.xml" />
> <property name="start" value="true" />
> </bean>
>
> and activeMQ-standalone.xml start with:
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE beans PUBLIC "-//ACTIVEMQ//DTD//EN" "activemq.dtd">
> ...
>
> when I start there is an error:
> java.io.FileNotFoundException: class path resource [activemq.dtd] cannot be
> opened because it does not exist
>
> but my file activemq.dtd exist and that functioned very well with version
> 3.x
>
> why?
> thanks
>
>
> --
> View this message in context: http://www.nabble.com/BeanDefinitionStoreException-t1748220.html#a4754120
> Sent from the ActiveMQ - User forum at Nabble.com.
>
>
--
James
-------
http://radio.weblogs.com/0112098/
|