org.apache.commons.dbcp.BasicDataSourceFactory   we are using JNDI data
source and  it is configured  in server.xml  file

in web.xml; we have configured  as


<resource-ref>
         <description>Oracle Datasource </description>
         <res-ref-name>jdbc/ORA_IPRICE</res-ref-name>
         <res-type>javax.sql.DataSource</res-type>
         <res-auth>Container</res-auth>
        </resource-ref>
        <display-name>Apache-Axis</display-name>
......

thanka
Nagesh


-----Original Message-----
From: Krishna, Hari (FTT-CInternet) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 05, 2006 4:16 PM
To: Struts Users Mailing List
Subject: RE: Cannot create JDBC driver of class '' for connect URL
'null'


Hi Chandra How are uu and how is ur life?
   May i know what Open Source Technologies u are using now?

                With Best Regards,
                I.Hari krishna.
                ----------------------------------------------
                Franklin Templeton Investments(FTT-CInternet)
                +91- 44 - 24407000 Extn:17123
                ----------------------------------------------



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, December 04, 2006 1:34 PM
To: user@struts.apache.org
Subject: RE: Cannot create JDBC driver of class '' for connect URL
'null'


Did you check
http://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.h
tml - examples

Chandra



-----Original Message-----
From: nagesh.kumar [mailto:[EMAIL PROTECTED]
Sent: Monday, December 04, 2006 9:43 AM
To: Struts Users Mailing List
Subject: Cannot create JDBC driver of class '' for connect URL 'null'

Hi iam working on jakarta-tomcat-5.5.9

iam trying to read DATASOuRCE configured from the server.xml  as defined
in the http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html

But iam getting this same error message on console iam strucked please
help me Thanks in ADVANCE.

DEBUG  org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create
JDBC driver of class '' for connect URL 'null'



<Context path="/myapp" docBase="myapp"
        debug="5" reloadable="true" crossContext="true">


debug="5" reloadable="true" crossContext="true">

<Resource name="jdbc/ORAdb" auth="Container"
              type="javax.sql.DataSource"/>

<ResourceParams name="jdbc/ORAdb">
  <parameter>
    <name>factory</name>
    <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
  </parameter>
.......

</ResourceParams>

Thanks
Nagesh




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Notice:  All email and instant messages (including attachments) sent to
or from Franklin Templeton Investments (FTI) personnel may be retained,
monitored and/or reviewed by FTI and its agents, or authorized
law enforcement personnel, without further notice or consent.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to