You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Bruce Snyder (JIRA)" <ji...@apache.org> on 2008/01/24 18:59:24 UTC

[jira] Created: (SM-1207) Improve the error message, 'Unrecognized xbean namespace mapping'

Improve the error message, 'Unrecognized xbean namespace mapping' 
------------------------------------------------------------------

                 Key: SM-1207
                 URL: https://issues.apache.org/activemq/browse/SM-1207
             Project: ServiceMix
          Issue Type: Improvement
          Components: servicemix-core
            Reporter: Bruce Snyder


This has been occurring for a while and it's due to the fact that there is more than one dependency on another JBI component. The error can be worked around in one of two ways: 

* Etiher by removing the dependency on the incorrect component 
* Or by explicitly specifying the name of the JBI component on which the service unit depends in the project {{pom.xml}}. Below is an example of this:

{code:xml}
<properties>
  <componentName>servicemix-NAME</componentName>
</properties>
{code}

Below is an example stack trace from instance of this error on the user mailing list: 

{panel}
<stack-trace><![CDATA[org.apache.xbean.kernel.ServiceRegistrationException:
org.springframework.beans.factory.BeanDefinitionStoreException: Unrecognized
xbean namespace mapping: http://servicemix.apache.org/cxfse/1.0
       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.checkPendingSAs(AutoDeploymentService.java:479)
       at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateComponent(AutoDeploymentService.java:290)
       at org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(AutoDeploymentService.java:249)
       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://servicemix.apache.org/cxfse/1.0
       at org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parseBeanFromExtensionElement(XBeanNamespaceHandler.java:268)
       ...
]]></stack-trace>
{panel}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.