Yeah, good idea. Btw, could you try to put it in the SU to avoid having to restart the container. It should work too, and that would mean you'd just have to add the dependency in your SU and it should get packaged automatically.
On Mon, Apr 14, 2008 at 11:11 AM, Lars Heinemann <[EMAIL PROTECTED]> wrote: > Guillaume, > > that was a good point. The handler is inside the spring-remoting.jar. > Maybe we should add some short information at the wiki page that this one > is needed to get it working. The namespace error is now gone after putting > the jar into the lib folder of servicemix. > > Thanks, > Lars > > > > > > > Guillaume Nodet schrieb: > > Do you know in which spring jar this schema is located ? Each jar with a > > namespace handler should contain a META-INF/spring.handlers file > referencing > > the supported schemas. I'm not sure in which one JEE support is, but I > > guess you need to add it to your SU. > > > > On Mon, Apr 14, 2008 at 10:01 AM, Lars Heinemann < > [EMAIL PROTECTED]> > > wrote: > > > > > >> Guillaume, > >> > >> deploying the SA into SMX 3.2.1 throws exceptions as well. > >> It's still complaining about the unknown jee namespace. (see error > output > >> below) > >> > >> Regards > >> Lars > >> > >> > >> > >> ERROR - AutoDeploymentService - Failed to update Service > >> Assembly: cp-xcpconvert-sa > >> java.lang.Exception: <?xml version="1.0" encoding="UTF-8"?> > >> <jbi-task xmlns="http://java.sun.com/xml/ns/jbi/management-message" > >> version="1.0"> > >> <jbi-task-result> > >> <frmwk-task-result> > >> <frmwk-task-result-details> > >> <task-result-details> > >> <task-id>deploy</task-id> > >> <task-result>FAILED</task-result> > >> <message-type>ERROR</message-type> > >> </task-result-details> > >> </frmwk-task-result-details> > >> </frmwk-task-result> > >> <component-task-result xmlns=" > >> http://java.sun.com/xml/ns/jbi/management-message"> > >> <component-name>cp-scripting-se</component-name> > >> <component-task-result-details> > >> <task-result-details> > >> <task-id>deploy</task-id> > >> <task-result>FAILED</task-result> > >> <message-type>ERROR</message-type> > >> <task-status-msg> > >> <msg-loc-info> > >> <loc-token/> > >> <loc-message>Could not deploy xbean service unit</loc-message> > >> </msg-loc-info> > >> </task-status-msg> > >> <exception-info> > >> <nesting-level>1</nesting-level> > >> <msg-loc-info> > >> <loc-token/> > >> > >> > <loc-message>org.springframework.beans.factory.BeanDefinitionStoreException: > >> Unrecognized xbean namespace mapping: > >> http://www.springframework.org/schema/jee</loc-message> > >> > >> > <stack-trace><![CDATA[org.apache.xbean.kernel.ServiceRegistrationException: > >> org.springframework.beans.factory.BeanDefinitionStoreException: > Unrecognized > >> xbean namespace mapping: http://www.springframework.org/schema/jee > >> at > >> > org.apache.xbean.kernel.standard.ServiceManagerRegistry.registerService(ServiceManagerRegistry.java:424) > >> at > >> > org.apache.xbean.kernel.standard.StandardKernel.registerService(StandardKernel.java:220) > >> at > >> > org.apache.xbean.server.spring.loader.SpringLoader.load(SpringLoader.java:152) > >> at > >> > org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:83) > >> at > >> > org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java:88) > >> at > >> > org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69) > >> at > >> > org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:508) > >> at > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:350) > >> at > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:253) > >> at > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:647) > >> at > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:60) > >> at > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:611) > >> at java.util.TimerThread.mainLoop(Timer.java:512) > >> at java.util.TimerThread.run(Timer.java:462) > >> Caused by: > org.springframework.beans.factory.BeanDefinitionStoreException: > >> Unrecognized xbean namespace mapping: > >> http://www.springframework.org/schema/jee > >> at > >> > org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parseBeanFromExtensionElement(XBeanNamespaceHandler.java:268) > >> at > >> > org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parse(XBeanNamespaceHandler.java:155) > >> at > >> > org.apache.xbean.spring.context.v2.XBeanNamespaceHandler.parse(XBeanNamespaceHandler.java:49) > >> at > >> > org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1114) > >> at > >> > org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1104) > >> at > >> > org.apache.xbean.spring.context.v2.XBeanBeanDefinitionDocumentReader.parseBeanDefinitions(XBeanBeanDefinitionDocumentReader.java:84) > >> at > >> > org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:90) > >> at > >> > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:458) > >> at > >> > org.apache.xbean.spring.context.v2.XBeanXmlBeanDefinitionReader.registerBeanDefinitions(XBeanXmlBeanDefinitionReader.java:79) > >> at > >> > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:353) > >> at > >> > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303) > >> at > >> > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:280) > >> at > >> > org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131) > >> at > >> > org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:147) > >> at > >> > org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:173) > >> at > >> > org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:112) > >> at > >> > org.apache.xbean.spring.context.FileSystemXmlApplicationContext.loadBeanDefinitions(FileSystemXmlApplicationContext.java:168) > >> at > >> > org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101) > >> at > >> > org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:389) > >> at > >> > org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:324) > >> at > >> > org.apache.xbean.server.spring.configuration.SpringConfiguration.<init>(SpringConfiguration.java:63) > >> at > >> > org.apache.xbean.server.spring.configuration.SpringConfigurationServiceFactory.createService(SpringConfigurationServiceFactory.java:106) > >> at > >> > org.apache.xbean.kernel.standard.ServiceManager.start(ServiceManager.java:420) > >> at > >> > org.apache.xbean.kernel.standard.ServiceManager.initialize(ServiceManager.java:200) > >> at > >> > org.apache.xbean.kernel.standard.RegistryFutureTask$RegisterCallable.call(RegistryFutureTask.java:110) > >> at > >> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) > >> at java.util.concurrent.FutureTask.run(FutureTask.java:123) > >> at > >> > org.apache.xbean.kernel.standard.ServiceManagerRegistry.registerService(ServiceManagerRegistry.java:409) > >> ... 13 more > >> ]]></stack-trace> > >> </msg-loc-info> > >> </exception-info> > >> </task-result-details> > >> </component-task-result-details> > >> </component-task-result> > >> </jbi-task-result> > >> </jbi-task> > >> > >> at > >> > org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:125) > >> at > >> > org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:111) > >> at > >> > org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:543) > >> at > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:350) > >> at > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:253) > >> at > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:647) > >> at > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:60) > >> at > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:611) > >> at java.util.TimerThread.mainLoop(Timer.java:512) > >> at java.util.TimerThread.run(Timer.java:462) > >> > >> > >> > >> > >> > >> Guillaume Nodet schrieb: > >> > >>> This has to be a classloader problem. I've noticed some changes in > the > >>> packaging of JBI components in 3.3-SNAPSHOT. I suppose they are > caused > >>> > >> by > >> > >>> upgrading version wrt/ change in maven dependencies. > >>> Does the same SA works in 3.2.1 ? > >>> > >>> On Mon, Apr 14, 2008 at 9:28 AM, Lars Heinemann < > >>> > >> [EMAIL PROTECTED]> > >> > >>> wrote: > >>> > >>> > >>> > >>>> Just wanted to push this issue once again as I don't know a solution > >>>> > >> yet. > >> > >>>> Regards > >>>> Lars > >>>> > >>>> > >>>> Lars Heinemann schrieb: > >>>> > >>>> > >>>>> Bruce, > >>>>> > >>>>> here is the full error output: > >>>>> > >>>>> > >>>>> > >>>>> > >> > -------------------------------------------------------------------------------------- > >> > >>>>> INFO - AutoDeploymentService - Directory: hotdeploy: > Archive > >>>>> changed: processing cp-xcpconvert-sa-1.0-SNAPSHOT.zip ... > >>>>> ERROR - ScriptingComponent - > >>>>> org.springframework.beans.factory.BeanDefinitionStoreException: > >>>>> Unrecognized xbean namespace mapping: > >>>>> http://www.springframework.org/schema/jee > >>>>> ERROR - FileSystemXmlApplicationContext - Exception thrown from > >>>>> ApplicationListener handling ContextClosedEvent > >>>>> java.lang.IllegalStateException: ApplicationEventMulticaster not > >>>>> initialized - call 'refresh' before multicasting events via the > >>>>> > >> context: > >> > >> [EMAIL PROTECTED] > : > >> > >>>>> display name > >>>>> > >>>>> > >> > [EMAIL PROTECTED] > >> > >>>> ]; > >>>> > >>>> > >>>>> startup date [Fri Apr 11 13:56:30 CEST 2008]; root of context > >>>>> > >> hierarchy > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.springframework.context.support.AbstractApplicationContext.getApplicationEventMulticaster(AbstractApplicationContext.java:259) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:246) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:676) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:651) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.springframework.context.support.AbstractApplicationContext.destroy(AbstractApplicationContext.java:639) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:108) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java:88) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:508) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:353) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:256) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:658) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:62) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:622) > >> > >>>>> at java.util.TimerThread.mainLoop(Timer.java:512) > >>>>> at java.util.TimerThread.run(Timer.java:462) > >>>>> ERROR - ScriptingComponent - > >>>>> java.lang.IllegalStateException: BeanFactory not initialized or > >>>>> > >> already > >> > >>>>> closed - call 'refresh' before accessing beans via the > >>>>> > >>>>> > >>>> ApplicationContext > >>>> > >>>> > >>>>> ERROR - AutoDeploymentService - Failed to update Service > >>>>> Assembly: cp-xcpconvert-sa > >>>>> java.lang.Exception: <?xml version="1.0" encoding="UTF-8"?> > >>>>> <jbi-task xmlns="http://java.sun.com/xml/ns/jbi/management-message" > >>>>> version="1.0"> > >>>>> <jbi-task-result> > >>>>> <frmwk-task-result> > >>>>> <frmwk-task-result-details> > >>>>> <task-result-details> > >>>>> <task-id>deploy</task-id> > >>>>> <task-result>FAILED</task-result> > >>>>> <message-type>ERROR</message-type> > >>>>> </task-result-details> > >>>>> </frmwk-task-result-details> > >>>>> </frmwk-task-result> > >>>>> <component-task-result > >>>>> xmlns="http://java.sun.com/xml/ns/jbi/management-message"> > >>>>> <component-name>cp-scripting-se</component-name> > >>>>> <component-task-result-details> > >>>>> <task-result-details> > >>>>> <task-id>deploy</task-id> > >>>>> <task-result>FAILED</task-result> > >>>>> <message-type>ERROR</message-type> > >>>>> <task-status-msg> > >>>>> <msg-loc-info> > >>>>> <loc-token/> > >>>>> <loc-message>Could not deploy xbean service unit</loc-message> > >>>>> </msg-loc-info> > >>>>> </task-status-msg> > >>>>> <exception-info> > >>>>> <nesting-level>1</nesting-level> > >>>>> <msg-loc-info> > >>>>> <loc-token/> > >>>>> <loc-message>Unrecognized > >>>>> > >> xbean > >> > >>>>> namespace mapping: http://www.springframework.org/schema/jee > >>>>> > >>>>> > >>>> </loc-message> > >>>> > >>>> > >> > <stack-trace><![CDATA[org.springframework.beans.factory.BeanDefinitionStoreException: > >> > >>>>> Unrecognized xbean namespace mapping: > >>>>> http://www.springframework.org/schema/jee > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parseBeanFromExtensionElement(XBeanNamespaceHandler.java:268) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parse(XBeanNamespaceHandler.java:155) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.xbean.spring.context.v2.XBeanNamespaceHandler.parse(XBeanNamespaceHandler.java:49) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1114) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1104) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.xbean.spring.context.v2.XBeanBeanDefinitionDocumentReader.parseBeanDefinitions(XBeanBeanDefinitionDocumentReader.java:84) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:90) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:458) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.xbean.spring.context.v2.XBeanXmlBeanDefinitionReader.registerBeanDefinitions(XBeanXmlBeanDefinitionReader.java:79) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:353) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:280) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:147) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:173) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:112) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.xbean.spring.context.FileSystemXmlApplicationContext.loadBeanDefinitions(FileSystemXmlApplicationContext.java:168) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:389) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:324) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:89) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java:88) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:508) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:353) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:256) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:658) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:62) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:622) > >> > >>>>> at java.util.TimerThread.mainLoop(Timer.java:512) > >>>>> at java.util.TimerThread.run(Timer.java:462) > >>>>> ]]></stack-trace> > >>>>> </msg-loc-info> > >>>>> </exception-info> > >>>>> </task-result-details> > >>>>> </component-task-result-details> > >>>>> </component-task-result> > >>>>> </jbi-task-result> > >>>>> </jbi-task> > >>>>> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:125) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:111) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:543) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:353) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:256) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:658) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:62) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:622) > >> > >>>>> at java.util.TimerThread.mainLoop(Timer.java:512) > >>>>> at java.util.TimerThread.run(Timer.java:462) > >>>>> WARN - AutoDeploymentService - Directory: hotdeploy: > >>>>> > >> Automatic > >> > >>>>> install of > >>>>> > >>>>> > >>>>> > >> > /opt/apache-servicemix-3.3-SNAPSHOT/hotdeploy/cp-xcpconvert-sa-1.0-SNAPSHOT.zip > >> > >>>>> failed > >>>>> javax.jbi.management.DeploymentException: Failed to update Service > >>>>> Assembly: cp-xcpconvert-sa > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:368) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:256) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:658) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:62) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:622) > >> > >>>>> at java.util.TimerThread.mainLoop(Timer.java:512) > >>>>> at java.util.TimerThread.run(Timer.java:462) > >>>>> Caused by: java.lang.Exception: <?xml version="1.0" > encoding="UTF-8"?> > >>>>> <jbi-task xmlns="http://java.sun.com/xml/ns/jbi/management-message" > >>>>> version="1.0"> > >>>>> <jbi-task-result> > >>>>> <frmwk-task-result> > >>>>> <frmwk-task-result-details> > >>>>> <task-result-details> > >>>>> <task-id>deploy</task-id> > >>>>> <task-result>FAILED</task-result> > >>>>> <message-type>ERROR</message-type> > >>>>> </task-result-details> > >>>>> </frmwk-task-result-details> > >>>>> </frmwk-task-result> > >>>>> <component-task-result > >>>>> xmlns="http://java.sun.com/xml/ns/jbi/management-message"> > >>>>> <component-name>cp-scripting-se</component-name> > >>>>> <component-task-result-details> > >>>>> <task-result-details> > >>>>> <task-id>deploy</task-id> > >>>>> <task-result>FAILED</task-result> > >>>>> <message-type>ERROR</message-type> > >>>>> <task-status-msg> > >>>>> <msg-loc-info> > >>>>> <loc-token/> > >>>>> <loc-message>Could not deploy xbean service unit</loc-message> > >>>>> </msg-loc-info> > >>>>> </task-status-msg> > >>>>> <exception-info> > >>>>> <nesting-level>1</nesting-level> > >>>>> <msg-loc-info> > >>>>> <loc-token/> > >>>>> <loc-message>Unrecognized > >>>>> > >> xbean > >> > >>>>> namespace mapping: http://www.springframework.org/schema/jee > >>>>> > >>>>> > >>>> </loc-message> > >>>> > >>>> > >> > <stack-trace><![CDATA[org.springframework.beans.factory.BeanDefinitionStoreException: > >> > >>>>> Unrecognized xbean namespace mapping: > >>>>> http://www.springframework.org/schema/jee > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parseBeanFromExtensionElement(XBeanNamespaceHandler.java:268) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parse(XBeanNamespaceHandler.java:155) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.xbean.spring.context.v2.XBeanNamespaceHandler.parse(XBeanNamespaceHandler.java:49) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1114) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1104) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.xbean.spring.context.v2.XBeanBeanDefinitionDocumentReader.parseBeanDefinitions(XBeanBeanDefinitionDocumentReader.java:84) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:90) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:458) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.xbean.spring.context.v2.XBeanXmlBeanDefinitionReader.registerBeanDefinitions(XBeanXmlBeanDefinitionReader.java:79) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:353) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:280) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:131) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:147) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:173) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:112) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.xbean.spring.context.FileSystemXmlApplicationContext.loadBeanDefinitions(FileSystemXmlApplicationContext.java:168) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:101) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:389) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:324) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:89) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java:88) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:508) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:353) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:256) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService.monitorDirectory(AutoDeploymentService.java:658) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService.access$800(AutoDeploymentService.java:62) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService$1.run(AutoDeploymentService.java:622) > >> > >>>>> at java.util.TimerThread.mainLoop(Timer.java:512) > >>>>> at java.util.TimerThread.run(Timer.java:462) > >>>>> ]]></stack-trace> > >>>>> </msg-loc-info> > >>>>> </exception-info> > >>>>> </task-result-details> > >>>>> </component-task-result-details> > >>>>> </component-task-result> > >>>>> </jbi-task-result> > >>>>> </jbi-task> > >>>>> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:125) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:111) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.DeploymentService.deployServiceAssembly(DeploymentService.java:543) > >> > >>>>> at > >>>>> > >>>>> > >>>>> > >> > org.apache.servicemix.jbi.framework.AutoDeploymentService.updateServiceAssembly(AutoDeploymentService.java:353) > >> > >>>>> ... 6 more > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >> > -------------------------------------------------------------------------------------- > >> > >>>>> > >>>>> > >>>>> Bruce Snyder schrieb: > >>>>> > >>>>> > >>>>> > >>>>>> On Fri, Apr 11, 2008 at 11:53 AM, lhe77 <[EMAIL PROTECTED] > > > >>>>>> > >>>>>> > >>>> wrote: > >>>> > >>>> > >>>>>>> Hi, > >>>>>>> > >>>>>>> I followed the FAQ > >>>>>>> > >>>>>>> > >>>>>>> > >> > http://servicemix.apache.org/how-do-i-share-a-single-object-between-different-service-units.html > >> > >>>>>>> defining a shared bean in the jndi.xml file. > >>>>>>> > >>>>>>> Then I defined in my SU's xbean.xml > >>>>>>> <jee:jndi-lookup id="mySingletonId" > jndi-name="mySingletonJndiName" > >>>>>>> > >>>>>>> > >>>> /> > >>>> > >>>> > >>>>>>> After deployment of the su smx tells me that the jee namespace is > >>>>>>> > >>>>>>> > >>>> unknown. > >>>> > >>>> > >>>>>>> Ok so I found somewhere in the forums this namespace definition: > >>>>>>> xmlns:jee="http://www.springframework.org/schema/jee" > >>>>>>> > >>>>>>> I put it in but when trying to deploy smx tells me that it > doesn't > >>>>>>> > >>>>>>> > >>>> knows > >>>> > >>>> > >>>>>>> that namespace !? > >>>>>>> > >>>>>>> Would do I have to put in that it works? > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>> I wonder if that namespace handler is located in a Spring jar that > is > >>>>>> not included in SMX? > >>>>>> > >>>>>> Bruce > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>> > >>> > >>> > > > > > > > > > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/
