do you have
http://jakarta.apache.org/commons/dbcp/

and

http://jakarta.apache.org/commons/pool/

in WEB-INF/lib?

Regards,

> -----Original Message-----
> From: Nishant [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, November 18, 2004 2:59 PM
> To: Struts Users Mailing List
> Subject: database problem
> 
> 
> hi,
> 
> i am using struts with tomcat server ...
> my database is oracle and it is on some other machine on 
> network. on my machine oracle is not installed. thus i am 
> using odbc14.jar and classes12.jar in my lib directry of 
> struts application.. in my struts-config.xml file the 
> datasource is <data-sources>
>     <data-source type="org.apache.commons.dbcp.BasicDataSource">
>       <set-property property="driverClassName"
>         value="oracle.jdbc.driver.OracleDriver" />
>       <set-property property="url"
>         value="jdbc:oracle:thin:@dthinsrv:1521:TCF" />
>       <set-property property="username"
>         value="thinc"/>
>       <set-property property="password"
>         value="thinc"/>
>     </data-source>
>   </data-sources>
> 
> but i am not sure that whether my database is conected or not 
> ... actually while firing query on database i am getting sql 
> exception ....... i aint able to understand wht is the 
> problem... plz help thanks in advance Regards Nishant Patil 
> Software Engineer Cybage Softwares Pvt. Ltd. (A CMM Level 3 
> Company) [EMAIL PROTECTED] www.cybage.com "There is 
> difference between knowing the Path and walking on the Path"
> 


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

Reply via email to