It apparently doesn't like the Camel-Spring namespace within a blueprint.xml file (below). Camel-Spring module is active so I'm not sure why the blueprint container doesn't see it.
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jpa="http://aries.apache.org/xmlns/jpa/v1.1.0" xsi:schemaLocation=" http://www.osgi.org/xmlns/blueprint/v1.0.0 http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd http://aries.apache.org/xmlns/jpa/v1.1.0 http://aries.apache.org/schemas/jpa/jpa_110.xsd "> <bean id="pp" class="org.apache.openjpa.persistence.PersistenceProviderImpl"/> <service interface="javax.persistence.spi.PersistenceProvider" ref="pp"> <service-properties> <entry key="javax.persistence.provider" value="org.apache.openjpa.persistence.PersistenceProviderImpl"/> </service-properties> </service> <bean id="companyDS" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"> <property name="driverClassName" value="${companydb.connection.driverClass}" /> <property name="url" value="${companydb.connection.url}" /> <property name="username" value="${companydb.connection.username}" /> <property name="password" value="${companydb.connection.password}" /> </bean> <service ref="companyDS" interface="javax.sql.DataSource"> <service-properties> <entry key="osgi.jndi.service.name" value="jdbc/companydb"/> </service-properties> </service> <bean id="companyDAO" class="com.vediscovery.infrastructure.database.rdbms.CompanyDAOImpl"> <jpa:context property="entityManagerFactory" unitname="CompanyDB-PU" /> </bean> <service ref="companyDAO" interface="com.vediscovery.infrastructure.database.rdbms.CompanyDAO"/> <bean id="matterDS" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"/> <service ref="matterDS" interface="javax.sql.DataSource"> <service-properties> <entry key="osgi.jndi.service.name" value="jdbc/matterdb"/> </service-properties> </service> <bean id="matterDAO" class="com.vediscovery.infrastructure.database.rdbms.MatterDAOImpl"> <property name="companyDAO" ref="companyDAO"/> <jpa:context property="entityManagerFactory" unitname="MatterDB-PU" /> </bean> <service ref="matterDAO" interface="com.vediscovery.infrastructure.database.rdbms.MatterDAO"/> <camelContext id="RelationalDataService" xmlns="http://camel.apache.org/schema/spring"> <dataFormats> <jaxb id="jaxb-search" contextPath="com.vediscovery.infrastructure.cdm.search"/> <jaxb id="jaxb-matter" contextPath="com.vediscovery.infrastructure.cdm.matter"/> </dataFormats> <route id="RelationalDataService-GetAgentSearchCriteriaList-Route"> <from uri="vm:RelationalDataService-GetAgentSearchCriteriaList"/> <log logName="RelationalDataService-GetAgentSearchCriteriaList-Route-Log" message="GetAgentSearchCriteriaList Request: ${body}" loggingLevel="DEBUG"/> <inOut uri="bean:matterDAO?method=getAgentSearchCriteriaList"/> <marshal ref="jaxb-matter"/> </route> <route id="RelationalDataService-SaveSearchCriteriaReport-Route"> <from uri="vm:RelationalDataService-SaveSearchCriteriaReport"/> <log logName="RelationalDataService-SaveSearchCriteriaReport-Route-Log" message="SaveSearchCriteriaReport Request: ${body}" loggingLevel="DEBUG"/> <unmarshal ref="jaxb-search"/> <inOnly uri="bean:matterDAO?method=saveSearchCriteriaReport"/> <marshal ref="jaxb-search"/> </route> </camelContext> </blueprint> -- View this message in context: http://servicemix.396122.n5.nabble.com/OSGi-JPA-tp5715741p5715799.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
