tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ramkumar Menon <ram.me...@oracle.com>
Subject URGENT HELP REQUIRED. PLEASE RESPOND IMMEDIATELY
Date Wed, 16 Jan 2002 18:53:29 GMT
I am getting the following error when I try accessing the database via a
datasource .

javax.naming.NameNotFoundException: Name jdbc is not bound in this
Context

I am using Tomcat 4.0. My Server.xml contains the following.

 <Context path="/soap" docBase="soap-2_2/webapps/soap" debug="1"
reloadable="true" >
   <Resource name="jdbc/TestDataSource" auth="Container"
type="com.evermind.sql.DriverManagerDataSource"/>
  <ResourceParams name="jdbc/TestDataSource">

  <parameter>
    <name>user</name>
    <value>logger</value>
  </parameter>

  <parameter>
    <name>password</name>
    <value>logger</value>
  </parameter>

    <parameter>
    <name>driverClassName</name>
    <value>oracle.jdbc.driver.OracleDriver</value>
  </parameter>

  <parameter>
    <name>driverName</name>
    <value>jdbc:oracle:thin:@temp-sun.uk.company.com:1521:db1</value>
  </parameter>
  </ResourceParams>
 </Context>

The web.xml I am using contains the following

<resource-ref>
  <description>logging schema access</description>
  <res-ref-name>jdbc/TestDataSource</res-ref-name>
  <res-type>com.evermind.sql.DriverManagerDataSource</res-type>
  <res-auth>Container</res-auth>
</resource-ref>



Please guide me.


thanks,

Ram

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message