after putting both examples from the jencks page together i get error:
Connection could not be created:
ConnectionRequestInfo must be a UserPasswordHandleFactoryRequestInfo, not a
org.apache.activemq.ra.ActiveMQConnectionRequestInfo
is it connected with wiring of the beans? My config is following
-- Jencks -->
<bean id="transactionManager"
class="org.jencks.factory.TransactionManagerFactoryBean"/>
<bean id="connectionManager"
class="org.jencks.factory.ConnectionManagerFactoryBean">
<property name="transactionManager" ref="transactionManager"/>
</bean>
<!-- JDBC -->
<bean id="jdbcManagedConnectionFactory"
class="org.jencks.tranql.DataSourceMCF">
<property name="driverName" value="oracle.jdbc.OracleDriver"/>
<property name="url" value="*"/>
<property name="user" value="*"/>
<property name="password" value="*"/>
</bean>
<bean id="dataSource"
class="org.jencks.factory.ConnectionFactoryFactoryBean">
<property name="managedConnectionFactory"
ref="jdbcManagedConnectionFactory"/>
<property name="connectionManager" ref="connectionManager"/>
</bean>
<!-- JMS -->
<bean id="activeMQResourceAdapter"
class="org.apache.activemq.ra.ActiveMQResourceAdapter">
<property name="serverUrl" value="tcp://*" />
</bean>
<bean id="jmsManagedConnectionFactory"
class="org.apache.activemq.ra.ActiveMQManagedConnectionFactory">
<property name="resourceAdapter" ref="activeMQResourceAdapter"/>
</bean>
<bean id="jmsConnectionFactory"
class="org.jencks.factory.ConnectionFactoryFactoryBean">
<property name="managedConnectionFactory"
ref="jmsManagedConnectionFactory"/>
<property name="connectionManager" ref="connectionManager"/>
</bean>
--
View this message in context:
http://www.nabble.com/outbound-jms-%2B-oubound-jdbc-tf4157469.html#a11828252
Sent from the jencks - user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email