Can you share your configuration file?

[]s,
Thiago.


On Fri, Feb 16, 2018 at 8:44 AM, Илья Шипицин <chipits...@gmail.com> wrote:

> hello,
>
> I'm trying to set up apache-activemq-5.15.3 + ms sql using the following
> guide:
>
> http://activemq.apache.org/sqlserver.html (2005 part)
>
>
> I downloaded jdbc driver + changed config as in example, however, I'm
> getting the following error:
>
>
>
> 2018-02-16 12:39:45,340 | INFO  | Refreshing
> org.apache.activemq.xbean.XBeanBrokerFactory$1@6fd02e5: startup date [Fri
> Feb 16 12:39:45 MSK 2018]; root of context hierarc
> hy | org.apache.activemq.xbean.XBeanBrokerFactory$1 | main
> 2018-02-16 12:39:46,335 | ERROR | Failed to load: class path resource
> [activemq.xml], reason: Line 83 in XML document from class path resource
> [activemq.xml] is invalid;
>  nested exception is org.xml.sax.SAXParseException; lineNumber: 83;
> columnNumber: 94; cvc-complex-type.2.4.a: Invalid content was found
> starting with element 'journaledJ
> DBC'. One of '{"http://activemq.apache.org/schema/core":
> jdbcPersistenceAdapter,
> "http://activemq.apache.org/schema/core":journalPersistenceAdapter, "
> http://activemq.apac
> he.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. |
> org.apache.ac
> tivemq.xbean.XBeanBrokerFactory | main
> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
> Line
> 83 in XML document from class path resource [activemq.xml] is invalid;
> nested exception is or
> g.xml.sax.SAXParseException; lineNumber: 83; columnNumber: 94;
> cvc-complex-type.2.4.a: Invalid content was found starting with element
> 'journaledJDBC'. One of '{"http://
> activemq.apache.org/schema/core":jdbcPersistenceAdapter, "
> http://activemq.apache.org/schema/core":journalPersistenceAdapter, "
> http://activemq.apache.org/schema/core":kah
> aDB, "http://activemq.apache.org/schema/core":levelDB, "
> http://activemq.apache.org/schema/core":mKahaDB, "
> http://activemq.apache.org/schema/core":memoryPersistenceAdapte
> r, "http://activemq.apache.org/schema/core":replicatedLevelDB,
> WC[##other:"
> http://activemq.apache.org/schema/core"]}' is expected.
>     at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.
> doLoadBeanDefinitions(XmlBeanDefinitionReader.java:
> 399)[spring-beans-4.3.9.RELEASE.jar:4.3.9.REL
> EASE]
>     at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.
> loadBeanDefinitions(XmlBeanDefinitionReader.java:336)[spring-beans-4.3.9.
> RELEASE.jar:4.3.9.RELEA
> SE]
>     at
> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.
> loadBeanDefinitions(XmlBeanDefinitionReader.java:304)[spring-beans-4.3.9.
> RELEASE.jar:4.3.9.RELEA
> SE]
>     at
> org.apache.xbean.spring.context.ResourceXmlApplicationContext.
> loadBeanDefinitions(ResourceXmlApplicationContext.
> java:111)[xbean-spring-4.2.jar:4.2]
>     at
> org.apache.xbean.spring.context.ResourceXmlApplicationContext.
> loadBeanDefinitions(ResourceXmlApplicationContext.
> java:104)[xbean-spring-4.2.jar:4.2]
>     at
> org.springframework.context.support.AbstractRefreshableApplication
> Context.refreshBeanFactory(AbstractRefreshableApplication
> Context.java:129)[spring-context-4.
> 3.9.RELEASE.jar:4.3.9.RELEASE]
>
> any working example how to setup ms sql jdbc ?
>
> Cheers,
> Ilya Shipitsin
>

Reply via email to