I'm trying to port a jsp application from web logic over to tomcat.  I'm 
running tomcat 8.5.9.0.  However, I cannot get my dsn to work.  I'm receiving 
the following error when I access the dsn:

Exception:  javax.naming.NameNotFoundException: Invalid or unavailable DSN in 
Fort Bend County. Opening database connection. Name [jdbc/test] is not bound in 
this Context. Unable to find [jdbc].


I've placed my context.xml in the META-INF directory.  Here is the config from 
context.xml



<Resource name="jdbc/test" auth="Container"
              type="javax.sql.DataSource" 
driverClassName="oracle.jdbc.OracleDriver"
              url="jdbc:oracle:thin:@xxxxxx:xxxx:sid"
              username="xxxxxx" password="xxxxxxx" maxTotal="20" maxIdle="10"
              maxWaitMillis="-1"/>

This is my web.xml config:

  <resource-ref>
    <description>Test Datasource</description>
    <res-ref-name>jdbc/test</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
  </resource-ref>

Any help would be appreciated.

Thanks,

Rob Turner
Vice President, Technical Services
Appraisal & Collection Technologies, LLC
r...@lgbs.com
Main: (210) 403-8670
Fax: (210) 403-8905
<http://www.acttax.com>http://www.acttax.com

CONFIDENTIALITY STATEMENT
This email, including any attachments, is confidential. If you are not the 
intended recipient please notify the sender (only) immediately, and please 
delete it; you should not copy it or use it for any purpose or disclose its 
contents to any other person. Appraisal & Collection Technologies, LLC entities 
reserve the right to monitor all email communications through their networks.

Appraisal & Collection Technologies, LLC is wholly-owned by Linebarger Goggan 
Blair & Sampson, LLP, Attorneys at Law, but does not itself provide legal 
services to clients.

Reply via email to