Hello,
I tried to do the same some time ago and I noticed I have to specify user/pass in both the innerDS and the Pool:
Perhaps this will solve your problem...Code:<bean id="jotm" class="org.springframework.transaction.jta.JotmFactoryBean" /> <bean id="transactionManager" class="org.springframework.transaction.jta.JtaTransactionManager"> <property name="userTransaction" ref="jotm" /> </bean> <bean id="oracleDataSource" class="org.enhydra.jdbc.pool.StandardXAPoolDataSource" destroy-method="shutdown"> <property name="dataSource" ref="innerOracleDataSource" /> <property name="minSize" value="2" /> <property name="maxSize" value="5" /> <property name="user" value="${username}" /> <property name="password" value="${password}" /> </bean> <bean id="innerOracleDataSource" class="org.enhydra.jdbc.standard.StandardXADataSource" destroy-method="shutdown"> <property name="transactionManager" ref="jotm" /> <property name="driverName" value="${jdbcDriverClass}" /> <property name="url" value="${jdbcUrl}" /> <property name="user" value="${username}" /> <property name="password" value="${password}" /> </bean>
-Patrick


Reply With Quote
