This content has been marked as final.
Show 3 replies
-
1. Re: java.sql.SQLException: Connection handle is not currentl
weston.price Aug 17, 2006 6:31 PM (in response to saleti)Your going to have to do alot better than what you posted.
First please read:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp
To learn how to post to the forums. At the very least, post your *-ds.xml file. As far as your Spring context file, that may have been helpful if it actually showed up in your post. -
2. Re: java.sql.SQLException: Connection handle is not currentl
saleti Aug 18, 2006 11:19 AM (in response to saleti)my applicationcontext-jdbc.xml entry is
<bean id="transactionManager" class="org.springframework.transaction.jta.JtaTransactionManager"/> <bean id="roleDAO" class="com.xxx.xxxx.xxxxx"> <property name="dataSource" ref="dataSource"/> <property name="transactionManager"> <ref bean="transactionManager" /> </property> </bean>
-
3. Re: java.sql.SQLException: Connection handle is not currentl
saleti Aug 18, 2006 11:22 AM (in response to saleti)and my-ds.xml is
<datasources> <local-tx-datasource> <jndi-name>jdbc/myDS</jndi-name> <connection-url>jdbc:oracle:thin:@abcd:1565:abcd</connection-url> <driver-class>oracle.jdbc.driver.OracleDriver</driver-class> <user-name>user</user-name> <password>password</password> <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name> </local-tx-datasource> </datasources>