title: java.sql.SQLException: Connection Cache with this Cache Name is Disabled
body: <p>I am trying to make a connection with Oracle database, using j2ee application running on OC4J. My data-sources.xml always work to our production and UAT environment. I tried to setup on my local dextop and it is not working.  The error message is --java.sql.SQLException: Connection Cache with this Cache Name is Disabled.</p>
  
  <p>Oracle database version is:-</p>
  
  <p>Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
  database.</p>
  
  <p>Oracle database is on virtual box, host is window 10 and guest machine is fedora 23.</p>
  
  <p>Any ideas what might cause this? </p>
  
  <p>thanks.</p>
  
  <hr>
  
  <pre><code>&lt;managed-data-source name="OracleTM" connection-pool-name="Regency Connection Pool" 
         jndi-name="jdbc/GSTJOBS"/&gt; 
  &lt;connection-pool name='Regency Connection Pool' min-connections='1' max-connections='5' 
       initial-limit='1' used-connection-wait-timeout='60' inactivity-timeout='60' 
       connection-retry-interval='1' max-connect-attempts='3' 
       validate-connection='false' num-cached-statements='1' time-to-live-timeout='-1' 
       abandoned-connection-timeout='-1' property-check-interval='900'&gt; 
  
  &lt;connection-factory factory-class="oracle.jdbc.pool.OracleDataSource" user="Regency" 
       password="Regency" url="jdbc:oracle:thin:@localhost:1521:Regency"/&gt; 
  </code></pre>