I got the following exception well running my application.
org.springframework.transaction.CannotCreateTransactionException:
JTA failure on begin; nested exception is com.sap.engine.services.connector.exceptions.BaseSystemException:
Cannot add more than one resource(Managed Connection) with LocalTransaction support in the same transaction for component "webContainer/applications/sap.com/FS-PRO.ear/csiroot" in application "sap.com/FS-PRO.ear".
I did some research and find this page Unable to Get a Connection From a Data Source (SAP Library - SAP NetWeaver? Problem Analysis Guide (PAG))
Now I'm trying to make the data source shareable in NetWeaver. In the 'web.xml' file under the WEB-INF folder I already have the following
<resource-ref id="ResRef_1">
<res-ref-name>CamilionDs</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
Is there anything else I need in 'web.xml? Are there other files I need to create?