I believe the proper classname is org.apache.commons.dbcp.BasicDataSource
 (*Chris*)

On 12/4/06, Mallik <[EMAIL PROTECTED]> wrote:


Hi Friend
How to add jar files to path in Exadel stuio?

Ur's
Mallik



Venkata Phani Kumar wrote:
>
> Hi mallik,
> just try by adding commons-dbcp.jar to build path.
>
> ----- Original Message -----
> From: "Mallik" <[EMAIL PROTECTED]>
> To: <user@struts.apache.org>
> Sent: Monday, December 04, 2006 3:22 PM
> Subject: datasource creation problem?
>
>
>>
>> Hi friends
>> i started my application in Struts using IDE Eclipse.
>> when i create datasource like this:
>> <data-sources>
>>   <data-source type="org.apache.tomcat.dbcp.dbcp.BasicDataSource">
>> <set-property property="driverClassName"
>> value="oracle.jdbc.driver.OracleDriver"/>
>> <set-property property="url"
>> value="jdbc:oracle:thin:@172.23.162.200:1521:arti"/>
>> <set-property property="username" value="aims"/>
>> <set-property property="password" value="aims"/>
>>   </data-source>
>>  </data-sources>
>> in struts-config.xml i am getting the error:
>> java.lang.ClassNotFoundException:
>> org.apache.tomcat.dbcp.dbcp.BasicDataSource
>>
>>
>> i am not getting the reason ...how to solve this. help me please.....
>> ur's
>> Mallik
>> --
>> View this message in context:
>
http://www.nabble.com/datasource-creation-problem--tf2750208.html#a7673145
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> 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]
>
>
>

--
View this message in context:
http://www.nabble.com/datasource-creation-problem--tf2750208.html#a7674107
Sent from the Struts - User mailing list archive at Nabble.com.


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


Reply via email to