Hi, I'm trying to deploy a osgi:service that exposes an oracle datasource with a pool on servicemix 4 as treated in Ade's blog http://trenaman.blogspot.com/ Ade On Middleware .
I have already wrapped my oracle driver, and installed the commons-dbcp bundle without errors, but when I drop my spring file in servicemix I have a saxParseException, like this : org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 1 in XML document from URL [bundle://165.0:0/META-INF/spring/beans.xml] is invalid; nested exception is org.xml.sax.SAXParseException: White spaces are required between publicId and systemId. My spring file : <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:osgi="http://www.springframework.org/schema/osgi" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi "> <bean id="oraclePoolingDS" class="org.apache.commons.dbcp.BasicDataSource"> <property name="driverClassName" value="oracle.jdbc.driver.OracleDriver"/> <property name="url" value="jdbc:oracle:thin:@demo2003:1521:sisError"/> <property name="username" value="flmorello"/> <property name="password" value="brainless"/> <property name="maxActive" value="10"/> <property name="poolPreparedStatements" value="true"/> </bean> <osgi:service id="oraclePoolingDSService" ref="oraclePoolingDS" auto-export="all-classes"/> </beans> When I remove the osgi:service bean I don't have the error, so I think it's not really a parsing exception, any idea would be greatly appreciated !! Thanks, Florian -- View this message in context: http://www.nabble.com/error-deploying-an-oracle-pooling-osgi%3Aservice-tp21229772p21229772.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
