Hi All

I am new to this forum. I tried to establish the database connection but i
am getting the error.
I just giving my environment details

tomcat--  webapp  ---john----my web applicaiton
                            ---
                                 WEBINF
                                 META-INF
                                           john.xml (contxt.xml)

 john.xml (contxt.xml)
<Resource name="jdbc/john" auth="Container"
              type="javax.sql.DataSource"
driverClassName="oracle.jdbc.OracleDriver"
              url="my url......"
              username=" " password="" maxActive="20" maxIdle="10"
              maxWait="-1"/>
web.xml:

<resource-ref>
   <description>John Oracle DataBase </description>
   <res-ref-name>jdbc/john</res-ref-name>
   <res-type>javax.sql.DataSource</res-type>
   <res-auth>Container</res-auth>
</resource-ref>

ojdbc driver: ojdbc14. in lib folder.

Tomcat version-->tomcat 6.0,
 JDK -->jdk1.6.0_13
os--> windows server 2003
oracle database


 Can anyone tell me what wrong in my configuration?

Reply via email to