Hello all,
my servicemix box must communicate with another application via Spring
remoting rmi that using version 2.5.5
To do this I used
http://static.springsource.org/spring/docs/upgrade/spring3/html/ch04s02.html

if I put the jar files modified in the system folder of karaf
communication is successful.
If I put the change jar in endorsed folder servicemix start with with errors

org.springframework.beans.FatalBeanException: NamespaceHandler class
[org.springframework.context.config.ContextNamespaceHandler] for
namespace [http://www.springframework.org/schema/context] not found;
nested exception is java.lang.ClassNotFoundException:
org.springframework.context.config.ContextNamespaceHandler not found
from bundle [org.apache.cxf.bundle]
        at 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:412)[66:org.springframework.beans:3.0.6.RELEASE]
        at 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)[66:org.springframework.beans:3.0.6.RELEASE]
        at 
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)[66:org.springframework.beans:3.0.6.RELEASE]
        at 
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)[66:org.springframework.beans:3.0.6.RELEASE]
        at 
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)[66:org.springframework.beans:3.0.6.RELEASE]
        at 
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:149)[66:org.springframework.beans:3.0.6.RELEASE]
        at 
org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBundleXmlApplicationContext.java:164)[73:org.springframework.osgi.core:1.2.1]
        at 
org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext.loadBeanDefinitions(OsgiBundleXmlApplicationContext.java:136)[73:org.springframework.osgi.core:1.2.1]
        at 
org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)[65:org.springframework.context:3.0.6.RELEASE]
        at 
org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:467)[65:org.springframework.context:3.0.6.RELEASE]


As you can see the error comes from the jar that I put in 'endorsed



Could you tell me, please, why jar in endorsed  create this problem ?

Is mine misunderstanding of endorsed directory ?

Thanks for help.

--Filippo

Reply via email to