My servicemix.xml goes like this:
-------------------------------------------

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://xbean.org/schemas/spring/1.0"; 
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
       xmlns:sm="http://servicemix.apache.org/config/1.0";
       xmlns:lb="http://servicemix.apache.org/demos/loan-broker";
       xmlns:jsr181="http://servicemix.apache.org/jsr181/1.0";
       
      xsi:schemaLocation="http://xbean.org/schemas/spring/1.0
../../conf/spring-beans.xsd 
                          http://servicemix.apache.org/config/1.0
../../conf/servicemix.xsd">
                          
   <sm:container name="jbi"
                 monitorInstallationDirectory="false"
                 createMBeanServer="true"
                 useMBeanServer="true">
                 
      <sm:activationSpecs>


      <!-- START SNIPPET: lightweight -->
      <sm:activationSpec>
        <sm:component>
          <jsr181:component>
            <jsr181:endpoints>
                 <jsr181:endpoint annotations="none"
service="lb:simple-service" endpoint="simple-service">
                   <jsr181:pojo>
                     <bean
class="org.springframework.ejb.access.SimpleRemoteStatelessSessionProxyFactoryBean">
                       <property name="jndiName"
value="sample-statelessSession-TraderHome"/>
                       <property name="businessInterface"
value="samples.HelloServiceBI"/>
                        <property name="jndiTemplate">
                            <ref bean="myJndi"/>
                        </property>
                     </bean>
                   </jsr181:pojo>
                 </jsr181:endpoint> 
            </jsr181:endpoints>
          </jsr181:component>
        </sm:component>
      </sm:activationSpec>
      <!-- END SNIPPET: lightweight -->

The Exception I am getting is:
------------------------------------------

D:\Examples\ServiceMix\jms\WeblogicJsr181>D:\Applns\ServiceMix\incubator-serv
icemix-3.0-SNAPSHOT_2006-05-06\bin\servicemix servicemix.xml
CLASSPATH:
D:\Applns\ServiceMix\incubator-servicemix-3.0-SNAPSHOT_2006-05-06\bin\..\conf;D:\Applns\S
erviceMix\incubator-servicemix-3.0-SNAPSHOT_2006-05-06\bin\..\lib\classworlds-1.0.1.jar
Apache ServiceMix ESB: 3.0-SNAPSHOT

Loading Apache ServiceMix from file: servicemix.xml
Caught: org.springframework.beans.factory.BeanDefinitionStoreException:
Unrecognized xbean namespace
 mapping: http://servicemix.apache.org/jsr/1.0
org.springframework.beans.factory.BeanDefinitionStoreException: Unrecognized
xbean namespace mapping
: http://servicemix.apache.org/jsr/1.0
        at
org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser.parseBeanFromExtensionE
lement(XBeanXmlBeanDefinitionParser.java:174)
        at
org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser.parseChildExtensionBean
(XBeanXmlBeanDefinitionParser.java:607)
        at
org.apache.xbean.spring.context.impl.XBeanXmlBeanDefinitionParser.parseNestedPropertyViaI
ntrospection(XBeanXmlBeanDefinitionParser.java:532)

NB: I am using snapshot downloaded on 2006-May-06

Any hints? Thanks.
--
View this message in context: 
http://www.nabble.com/Unrecognized-xbean-namespace-t1645114.html#a4455929
Sent from the ServiceMix - User forum at Nabble.com.

Reply via email to