tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Knowles" <josh.know...@worldwidepackets.com>
Subject RE: URGENT HELP REQUIRED. PLEASE RESPOND IMMEDIATELY
Date Wed, 16 Jan 2002 20:08:18 GMT
Posting multiple times within the hour doesn't get your question answered faster.

-----Original Message-----
From: Ramkumar Menon [mailto:ram.menon@oracle.com]
Sent: Wednesday, January 16, 2002 11:52 AM
To: tomcat-user@jakarta.apache.org
Subject: URGENT HELP REQUIRED. PLEASE RESPOND IMMEDIATELY
Importance: High


hi,

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

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message