Hi,

it's part of the install package and should be installed automatically


Freeman Fang wrote:
> 
> Hi,
> 
> The logs show that error from deploying servicemix-bean component, seems 
> that your SA has dependency to servicemix-cxf-se but you didn't install 
> servicemix-cxf-se into your jbi container first.
> 
> Best Regards
> 
> Freeman
> Cybexion wrote:
>> Hi,
>>
>> I have a CXF SE, which I created based on the WSDL-first example.
>> The java classes are generated based on my WSDL and I could test
>> everything
>> using a modified version of the client.html.
>>
>> We have a CRM System which I wanted to access from my
>> ServiceImplementation
>> (CRMServiceImpl). 
>> Therefore I created (next to some other classes) an AladdinOrderService.
>> This service also works fine. 
>> I tested it using JUnit
>> The AladdinOrderService classes are Part of the CXFSE.
>> Now I wanted to use this Service inside my CRMServiceImpl class. I
>> extended
>> the bean.xml and injected the service.
>>
>> The bean.xml looks as follows:
>> <beans xmlns:cxfse="http://servicemix.apache.org/cxfse/1.0";>
>>     <cxfse:endpoint>
>>         <cxfse:pojo>
>>             <bean
>> class="my.company.product.components.crmservice.CRMServiceImpl">
>>                 <property name="aladdinOrderService"
>> ref="aladdinService"/>
>>             </bean>
>>         </cxfse:pojo>
>>     </cxfse:endpoint>
>>
>>     <bean
>> class="my.company.product.components.crmservice.aladdin.order.AladdinOrderService"
>>         id="aladdinService">
>>         <property name="orderDAO" ref="aladdinOrderDAO"/>
>>     </bean>
>>
>>     <bean
>> class="my.company.product.components.crmservice.aladdin.order.dao.AladdinOrderDAO"
>>         id="aladdinOrderDAO">
>>     </bean>
>> </beans>
>>
>> Everything compiles fine and an SA is created. 
>> When I want to deploy the SA by dropping it into the hotdeploy folder it
>> fails with the error messages below:
>>
>> Does anyone know whats fron here? 
>> Is something wrong to inject the aladdinService into my CRMServiceImpl?
>>
>> Thanks in advance for helping!!!
>>
>>
>> Error:
>> INFO  - FileSystemXmlApplicationContext - Refreshing
>> [EMAIL PROTECTED]:
>> display name [xbean]; startup date [Wed Jan 23 18:27:25 CET 2008]; root
>> of
>> context hierarchy
>> INFO  - XBeanXmlBeanDefinitionReader   - Loading XML bean definitions
>> from
>> file
>> [D:\java\tools\apache-servicemix-3.2.1\data\smx\service-assemblies\crmservice-cxf-sa\version_1\sus\servicemix-cxf-bc\crmservice-cxfbc-su\xbean.xml]
>> INFO  - FileSystemXmlApplicationContext - Bean factory for application
>> context
>> [EMAIL PROTECTED]:
>> [EMAIL PROTECTED]
>> INFO  - FileSystemXmlApplicationContext - Refreshing
>> [EMAIL PROTECTED]:
>> display name [xbean]; startup date [Wed Jan 23 18:27:26 CET 2008]; root
>> of
>> context hierarchy
>> INFO  - XBeanXmlBeanDefinitionReader   - Loading XML bean definitions
>> from
>> file
>> [D:\java\tools\apache-servicemix-3.2.1\data\smx\service-assemblies\crmservice-cxf-sa\version_1\sus\servicemix-bean\crmservice-cxfse-su\xbean.xml]
>> INFO  - FileSystemXmlApplicationContext - Closing
>> [EMAIL PROTECTED]:
>> display name [xbean]; startup date [Wed Jan 23 18:27:25 CET 2008]; root
>> of
>> context hierarchy
>> INFO  - DeploymentService              - UnDeployed ServiceUnit
>> crmservice-cxfbc-su from Component: servicemix-cxf-bc
>> ERROR - AutoDeploymentService          - Failed to update Service
>> Assembly:
>> crmservice-cxf-sa-1.0-SNAPSHOT.0.tmp
>> 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>servicemix-cxf-bc</component-name>
>>      <component-task-result-details>
>>              <task-result-details>
>>                      <task-id>deploy</task-id>
>>                      <task-result>SUCCESS</task-result>
>>              </task-result-details>
>>      </component-task-result-details>
>> </component-task-result>
>> <component-task-result
>> xmlns="http://java.sun.com/xml/ns/jbi/management-message";>
>>      <component-name>servicemix-bean</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://servicemix.apache.org/cxfse/1.0</loc-message>
>>                              
>> <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>
>>                              </msg-loc-info>
>>                      </exception-info>
>>              </task-result-details>
>>      </component-task-result-details>
>> </component-task-result>
>> </jbi-task-result>
>> </jbi-task>
>>
>>   
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Unrecognized-xbean-namespace-mapping%3A-http%3A--servicemix.apache.org-cxfse-1.0-tp15050999s12049p15060033.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to