Posting multiple times within the hour doesn't get your question answered faster.

-----Original Message-----
From: Ramkumar Menon [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 16, 2002 11:52 AM
To: [EMAIL PROTECTED]
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:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to