The environment is Savvion BPMS. Camel is used as integration tier between savvion and thrid party tools (such as Aspera for file movement etc).
Both CamelNamespaceHandler and NamespaceHandler it seems should be loaded by the same class loader. Here are savvion classpath declarations. sbmcp=$sbmcp:$SBM_HOME/ebmsapps/common/lib/camel-spring-2.0-M1.jar sbmcp=$sbmcp:$SBM_HOME/ebmsapps/common/lib/spring-2.5.6.jar sbmcp=$sbmcp:$SBM_HOME/ebmsapps/common/lib/camel-core-2.0-M1.jar sbmcp=$sbmcp:$SBM_HOME/ebmsapps/common/lib/camel-jms-2.0-M1.jar Thanks. mproch wrote: > > Can you describe environment you're using (osgi, smx, ...) ? > I experienced similar problems and they were usually related to > classloader issues (i.e. > org.apache.camel.spring.handler.CamelNamespaceHandler was loaded by > deifferent classloader than > org.springframework.beans.factory.xml.NamespaceHandler) > > br, > maciek prochniak > > On Fri, 2009-08-07 at 05:44 -0700, skadirov wrote: >> Thanks for responding. >> >> I am using camel 2.0-M1 and the following namespaces: >> >> <beans xmlns="http://www.springframework.org/schema/beans" >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> xmlns:camel="http://camel.apache.org/schema/spring" >> xmlns:broker="http://activemq.apache.org/schema/core" >> xsi:schemaLocation="http://www.springframework.org/schema/beans >> http://www.springframework.org/schema/beans/spring-beans-2.5.xsd >> http://camel.apache.org/schema/spring >> http://camel.apache.org/schema/spring/camel-spring.xsd >> http://activemq.apache.org/schema/core >> http://activemq.apache.org/schema/core/activemq-core.xsd" > >> >> >> >> >> >> >> willem.jiang wrote: >> > >> > Hi, >> > >> > Which version of Camel are you using ? >> > If you are using camel-1.x , you should try to use this namespace >> > http://activemq.apache.org/camel/schema/spring >> > >> > Willem >> > >> > skadirov wrote: >> >> Hello, >> >> I am getting the exception below. I was wondering if someone had run >> >> into >> >> and what was the fix. >> >> Many thanks. >> >> >> >> Caused by: >> >> org.springframework.beans.factory.BeanDefinitionStoreException: >> >> Unexpected exception parsing XML document from class path resource >> >> [MessageBrokerContext.xml]; nested exception is >> >> org.springframework.beans.FatalBeanException: Class >> >> [org.apache.camel.spring.handler.CamelNamespaceHandler] for namespace >> >> [http://camel.apache.org/schema/spring] does not implement the >> >> [org.springframework.beans.factory.xml.NamespaceHandler] interface >> > >> > >> > >> > > > -- View this message in context: http://www.nabble.com/CamelNamespaceHandler-Exception-tp24853504p24865111.html Sent from the Camel - Users mailing list archive at Nabble.com.
