« Return to Thread: Have anybody here tried the tutorial-osgi-camel-part2?

Re: Have anybody here tried the tutorial-osgi-camel-part2?

by Kevin.Zhang :: Rate this Message:

Reply to Author | View in Thread

Hi Charles,

I use apache-servicemix-kernel-1.1.0 as osgi container.

I checked the project file I downloaded from the web page, only reportincident.persistence contains file spring-datasource-beans.xml. Module reportincident.service does not have spring-datasource-beans.xml.

Thanks,
Kevin


cmoulliard wrote:
Hi Kevin,

It seems that you have a spring error :

org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
Configuration problem: Failed to import bean definitions from URL location
[classpath:
META-INF/spring/spring-datasource-beans.xml]
Offending resource: class path resource [test-reportincident-service.xml];
nested exception is
org.springframework.beans.factory.parsing.BeanDefinitionParsingEx
ception: Configuration problem: Unable to locate Spring NamespaceHandler for
XML schema namespace [http://www.springframework.org/schema/osgi-compendium]

Can you tell me which version of the OSGI server you are using for this test
?

Regards,

Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer

*****************************
blog : http://cmoulliard.blogspot.com

 « Return to Thread: Have anybody here tried the tutorial-osgi-camel-part2?