title: Resource DATASOURCE rolled back in cleanup of LocalTransactionContainment
body: <p>Im working in a WebSphere Application Server 7, JDK 1.6 and Oracle 11g.</p>
  
  <p>Im always receiving this error when using an ejb.</p>
  
  <blockquote>
    <p>[7/1/10 17:12:28:770 BOT] 00000013
    LocalTranCoor W   WLTC0033W: Resource
    jdbc/oraDS11 rolled back in cleanup of
    LocalTransactionContainment. 
    [7/1/10
    17:12:28:773 BOT] 00000013
    LocalTranCoor W   WLTC0032W: One or
    more local transaction resources were
    rolled back during the cleanup of a
    LocalTransactionContainment.</p>
  </blockquote>
  
  <p>This is how im getting the connection from the datasource in WAS.</p>
  
  <pre><code>javax.sql.DataSource ds = (javax.sql.DataSource) naming.lookup("DataSource");
  conn= ds.getConnection();
  </code></pre>
  
  <p>Any help will be appreciated...</p>