1. Disable following flag form JDev -> application property -> deployment
Uncheck "Auto Generate and Synchronize weblogic-jdbc.xml..."
2. Carefully put the jta-data-source name in your persistence.xml.
<jta-data-source>jdbc/hello_ds</jta-data-source>
<properties> <property name="eclipselink.target-server" value="WebLogic_10"/> <property name="javax.persistence.jtaDataSource" value="jdbc/hello_ds"/> </properties>Best way to ensure this is by modifying the EAR archive.
3. Create a data source into your server and put the exact JNDI name as your jta-data-source name.