2007-08-27
最近更新下ActiveMQ 4.1.1与spring 2.0.6 配置所使用的xsd
关键字: ActiveMQ 4.1.1,Spring 2.0.6 整合因为4.1.1修复了不少bug,是当前的稳定版本,因此我更新了下,主要还是<xs:any>和<xs:element>的问题,看来ActiveMQ开发团队,对于spring new schema配置,测试还是比较少。附件包括我部分修改的(broker,transportConnector)xsd,和spring.schema.
- 14:06
- 浏览 (937)
- 评论 (1)
- 分类: ActiveMQ专栏
- 相关推荐
评论
acekeen
2007-09-15
请问你在springside下的bookstore这个例子中测试过了吗?我替换过去无法通过测试呢?错误提示为:
ERROR [org.springframework.web.context.ContextLoader] - <Context initialization failed>
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from URL location [classpath:com/ezwin/webapp/activemq/applicationContext-activemq-embedded-jencks-persistence.xml]
Offending resource: file [d:\Tomcat\webapps\ROOT\WEB-INF\classes\spring\applicationContext-plugins.xml]; nested exception is org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 16 in XML document from class path resource [com/ezwin/webapp/activemq/applicationContext-activemq-embedded-jencks-persistence.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.b: The content of element 'amq:jdbcPersistenceAdapter' is not complete. One of '{"http://activemq.org/config/1.0":adapter, "http://activemq.org/config/1.0":brokerService, "http://activemq.org/config/1.0":dataSource, "http://activemq.org/config/1.0":databaseLocker, "http://activemq.org/config/1.0":ds, "http://activemq.org/config/1.0":scheduledThreadPoolExecutor, "http://activemq.org/config/1.0":statements, "http://activemq.org/config/1.0":usageManager, "http://activemq.org/config/1.0":wireFormat, WC[##other:"http://activemq.org/config/1.0"]}' is expected.
Caused by:
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 16 in XML document from class path resource [com/ezwin/webapp/activemq/applicationContext-activemq-embedded-jencks-persistence.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.b: The content of element 'amq:jdbcPersistenceAdapter' is not complete. One of '{"http://activemq.org/config/1.0":adapter, "http://activemq.org/config/1.0":brokerService, "http://activemq.org/config/1.0":dataSource, "http://activemq.org/config/1.0":databaseLocker, "http://activemq.org/config/1.0":ds, "http://activemq.org/config/1.0":scheduledThreadPoolExecutor, "http://activemq.org/config/1.0":statements, "http://activemq.org/config/1.0":usageManager, "http://activemq.org/config/1.0":wireFormat, WC[##other:"http://activemq.org/config/1.0"]}' is expected.
Caused by:
org.xml.sax.SAXParseException: cvc-complex-type.2.4.b: The content of element 'amq:jdbcPersistenceAdapter' is not complete. One of '{"http://activemq.org/config/1.0":adapter, "http://activemq.org/config/1.0":brokerService, "http://activemq.org/config/1.0":dataSource, "http://activemq.org/config/1.0":databaseLocker, "http://activemq.org/config/1.0":ds, "http://activemq.org/config/1.0":scheduledThreadPoolExecutor, "http://activemq.org/config/1.0":statements, "http://activemq.org/config/1.0":usageManager, "http://activemq.org/config/1.0":wireFormat, WC[##other:"http://activemq.org/config/1.0"]}' is expected.
ERROR [org.springframework.web.context.ContextLoader] - <Context initialization failed>
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from URL location [classpath:com/ezwin/webapp/activemq/applicationContext-activemq-embedded-jencks-persistence.xml]
Offending resource: file [d:\Tomcat\webapps\ROOT\WEB-INF\classes\spring\applicationContext-plugins.xml]; nested exception is org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 16 in XML document from class path resource [com/ezwin/webapp/activemq/applicationContext-activemq-embedded-jencks-persistence.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.b: The content of element 'amq:jdbcPersistenceAdapter' is not complete. One of '{"http://activemq.org/config/1.0":adapter, "http://activemq.org/config/1.0":brokerService, "http://activemq.org/config/1.0":dataSource, "http://activemq.org/config/1.0":databaseLocker, "http://activemq.org/config/1.0":ds, "http://activemq.org/config/1.0":scheduledThreadPoolExecutor, "http://activemq.org/config/1.0":statements, "http://activemq.org/config/1.0":usageManager, "http://activemq.org/config/1.0":wireFormat, WC[##other:"http://activemq.org/config/1.0"]}' is expected.
Caused by:
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 16 in XML document from class path resource [com/ezwin/webapp/activemq/applicationContext-activemq-embedded-jencks-persistence.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.b: The content of element 'amq:jdbcPersistenceAdapter' is not complete. One of '{"http://activemq.org/config/1.0":adapter, "http://activemq.org/config/1.0":brokerService, "http://activemq.org/config/1.0":dataSource, "http://activemq.org/config/1.0":databaseLocker, "http://activemq.org/config/1.0":ds, "http://activemq.org/config/1.0":scheduledThreadPoolExecutor, "http://activemq.org/config/1.0":statements, "http://activemq.org/config/1.0":usageManager, "http://activemq.org/config/1.0":wireFormat, WC[##other:"http://activemq.org/config/1.0"]}' is expected.
Caused by:
org.xml.sax.SAXParseException: cvc-complex-type.2.4.b: The content of element 'amq:jdbcPersistenceAdapter' is not complete. One of '{"http://activemq.org/config/1.0":adapter, "http://activemq.org/config/1.0":brokerService, "http://activemq.org/config/1.0":dataSource, "http://activemq.org/config/1.0":databaseLocker, "http://activemq.org/config/1.0":ds, "http://activemq.org/config/1.0":scheduledThreadPoolExecutor, "http://activemq.org/config/1.0":statements, "http://activemq.org/config/1.0":usageManager, "http://activemq.org/config/1.0":wireFormat, WC[##other:"http://activemq.org/config/1.0"]}' is expected.
发表评论
- 浏览: 30531 次

- 详细资料
搜索本博客
最近加入圈子
最新评论
-
最近更新下ActiveMQ 4.1.1 ...
请问你在springside下的bookstore这个例子中测试过了吗?我替换过 ...
-- by acekeen -
乱弹 SOA
hehe ,如果是转贴的我会注明出处的。上面只是我自己的一点感慨
-- by cctvx1 -
乱弹 SOA
是转的别人的帖子吧 作者很sb
-- by gougou8180 -
工作.
顶。。。
-- by darkhe -
ActiveMQ 实践之路(一) ...
还是我比较粗心,没有看到这个apache-activemq-4.1.0-incu ...
-- by fanth






评论排行榜