title: Which is the sybase driver(version) to be used in Weblogic 12c ? Where should I add the downloaded driver?
body: <p>I am migrating my application from Weblogic 9 to 12c.</p>
  
  <p>The connection pool - <strong>cvSybasepool</strong> created for my application is working fine on Web logic 9.<br/>
  I had used <strong>com.sybase.jdbc.SybDriver</strong> to connect to <strong>Sybase</strong> database on Weblogic 9.</p>
  
  <p>After replicating the connection pool(cvSybasepool) on Weblogic 12c, I get the following error: <br></p>
  
  <pre><code>&lt;Jun 21, 2016 4:40:25 AM EDT&gt; &lt;Error&gt; &lt;Deployer&gt; &lt;BEA-149205&gt; &lt;Failed to initialize the application "cvSybasepool" due to error weblogic.application.ModuleException: weblogic.com
  mon.resourcepool.ResourceSystemException: Cannot load driver class com.sybase.jdbc.SybDriver for datasource 'cvSybasepool'.
  weblogic.application.ModuleException: weblogic.common.resourcepool.ResourceSystemException: Cannot load driver class com.sybase.jdbc.SybDriver for datasource 'cvSybasepool'.
          at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:350)
          at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)
          at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:175)
          at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:170)
          at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
          Truncated. see log file for complete stacktrace
  Caused By: weblogic.common.resourcepool.ResourceSystemException: Cannot load driver class com.sybase.jdbc.SybDriver for datasource 'cvSybasepool'.
          at weblogic.jdbc.common.internal.JDBCUtil.parseException(JDBCUtil.java:322)
          at weblogic.jdbc.common.internal.ConnectionEnvFactory.loadDriver(ConnectionEnvFactory.java:82)
          at weblogic.jdbc.common.internal.ConnectionEnvFactory.&lt;init&gt;(ConnectionEnvFactory.java:141)
          at weblogic.jdbc.common.internal.ConnectionPool.initPooledResourceFactory(ConnectionPool.java:1110)
          at weblogic.common.resourcepool.ResourcePoolImpl.start(ResourcePoolImpl.java:226)
          Truncated. see log file for complete stacktrace
  &gt;
  </code></pre>
  
  <p>I suspect the Sybase JDBC driver jar is missing on Web logic 12c.<br></p>
  
  <p>Also, When the Sybase driver provided by Web logic server is used, I get the following error</p>
  
  <pre><code>FILogger.log(232) - java.sql.SQLException: [FMWGEN][Sybase JDBC Driver][Sybase]A USE DATABASE statement is not allowed in a procedure or trigger. at weblogic.jdbc.sybasebase.ddcn.b(Unknown Source) at weblogic.jdbc.sybasebase.ddcn.a(Unknown Source) at weblogic.jdbc.sybasebase.ddcm.b(Unknown Source) at weblogic.jdbc.sybasebase.ddcm.a(Unknown Source) 
  </code></pre>
  
  <ol>
  <li>Which driver needs to be used to connect to Sybase DB on Weblogic
  12c? Jconn2.jar/Jconn3.jar?</li>
  <li>Which jar needs to be added to Weblogic server? </li>
  <li>Where do I need to add the jar and what configuration has be done?</li>
  </ol>