You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by wuzhaoxue <zh...@hotmail.com> on 2014/04/29 17:10:18 UTC

why there is not support amqPersistenceAdapter in ActiveMQ 5.9 anymore ?

Hi  all

 

Who know why there is not support amqPersistenceAdapter in ActiveMQ 5.9
anymore ?

 

I configure the AMQ DB in ActiveMQ 5.9 , got the following error:

 

ERROR: java.lang.RuntimeException: Failed to execute start task. Reason:
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line
89 in XML document from class path resource [activemq.xml] is invalid;
nested exception is org.xml.sax.SAXParseException; lineNumber: 89;
columnNumber: 92; cvc-complex-type.2.4.a: Invalid content was found starting
with element 'amqPersistenceAdapter'. One of
'{"http://activemq.apache.org/schema/core":jdbcPersistenceAdapter,
"http://activemq.apache.org/schema/core":journalPersistenceAdapter,
"http://activemq.apache.org/schema/core":kahaDB,
"http://activemq.apache.org/schema/core":levelDB,
"http://activemq.apache.org/schema/core":mKahaDB,
"http://activemq.apache.org/schema/core":memoryPersistenceAdapter,
"http://activemq.apache.org/schema/core":replicatedLevelDB,
WC[##other:"http://activemq.apache.org/schema/core"]}' is expected.

 

>From the following XSD file, I found that there is no any  description about
amqPersistenceAdapter in activemq-core-5.9.0.xsd.

http://activemq.apache.org/schema/core/activemq-core-5.9.0.xsd

 

Who know why delete the support of the amqPersistenceAdapter?

Is there no support anymore in the following version ?


Re: why there is not support amqPersistenceAdapter in ActiveMQ 5.9 anymore ?

Posted by Timothy Bish <ta...@gmail.com>.
On 04/29/2014 11:10 AM, wuzhaoxue wrote:
> Hi  all
>
>   
>
> Who know why there is not support amqPersistenceAdapter in ActiveMQ 5.9
> anymore ?
>
>   
>
> I configure the AMQ DB in ActiveMQ 5.9 , got the following error:
>
>   
>
> ERROR: java.lang.RuntimeException: Failed to execute start task. Reason:
> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line
> 89 in XML document from class path resource [activemq.xml] is invalid;
> nested exception is org.xml.sax.SAXParseException; lineNumber: 89;
> columnNumber: 92; cvc-complex-type.2.4.a: Invalid content was found starting
> with element 'amqPersistenceAdapter'. One of
> '{"http://activemq.apache.org/schema/core":jdbcPersistenceAdapter,
> "http://activemq.apache.org/schema/core":journalPersistenceAdapter,
> "http://activemq.apache.org/schema/core":kahaDB,
> "http://activemq.apache.org/schema/core":levelDB,
> "http://activemq.apache.org/schema/core":mKahaDB,
> "http://activemq.apache.org/schema/core":memoryPersistenceAdapter,
> "http://activemq.apache.org/schema/core":replicatedLevelDB,
> WC[##other:"http://activemq.apache.org/schema/core"]}' is expected.
>
>   
>
> >From the following XSD file, I found that there is no any  description about
> amqPersistenceAdapter in activemq-core-5.9.0.xsd.
>
> http://activemq.apache.org/schema/core/activemq-core-5.9.0.xsd
>
>   
>
> Who know why delete the support of the amqPersistenceAdapter?
>
> Is there no support anymore in the following version ?
>
>
The AmqPersistenceAdapter was deprecated in v5.8.0 and removed in 
v5.9.0.  Instead you should use the KahaDB store or the newest LevelDB 
store.

-- 
Tim Bish
Sr Software Engineer | RedHat Inc.
tim.bish@redhat.com | www.fusesource.com | www.redhat.com
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/