You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "A.Mohan" <am...@yahoo.co.in> on 2005/11/09 05:49:14 UTC

(HELP) Struts - Oracle Database Connectivity Using DBCP connection Pooling

Hi, 
   I want to connect Oracle thro DBCP - connection pooling by 
configuring the datasource in the WEB.XML file , 
Im using Apache tomcat Server 

 
How can i acheive that - help me out ,
 
I want the following information 
1. Configuration in web.xml file i.e the entries
2. Code in action class to acess the datasource 
 
I have been trying for long time , but i cant get any working solution 
 
help me out 
 
Thanks in advance 
Mohan
 

		
---------------------------------
 Yahoo! FareChase - Search multiple travel sites in one click.  

Re: (HELP) Struts - Oracle Database Connectivity Using DBCP connection Pooling

Posted by Yujun Liang <yu...@acm.org>.
You also need configure server.xml, please check out Tomcat document for the
configuration and call Data Source using JNDI from Struts.

Good luck.

On 11/9/05, A.Mohan <am...@yahoo.co.in> wrote:
>
> Hi,
> I want to connect Oracle thro DBCP - connection pooling by
> configuring the datasource in the WEB.XML file ,
> Im using Apache tomcat Server
>
>
> How can i acheive that - help me out ,
>
> I want the following information
> 1. Configuration in web.xml file i.e the entries
> 2. Code in action class to acess the datasource
>
> I have been trying for long time , but i cant get any working solution
>
> help me out
>
> Thanks in advance
> Mohan
>
>
>
> ---------------------------------
> Yahoo! FareChase - Search multiple travel sites in one click.
>



--
Yujun Liang
yujun.liang@acm.org

Re: (HELP) Struts - Oracle Database Connectivity Using DBCP connection Pooling

Posted by Murray Collingwood <mu...@focus-computing.com.au>.
Show us what you have so far and then we can help.

Kind regards
mc

On 8 Nov 2005 at 20:49, A.Mohan wrote:

> Hi, 
>    I want to connect Oracle thro DBCP - connection pooling by 
> configuring the datasource in the WEB.XML file , 
> Im using Apache tomcat Server 
> 
>  
> How can i acheive that - help me out ,
>  
> I want the following information 
> 1. Configuration in web.xml file i.e the entries
> 2. Code in action class to acess the datasource 
>  
> I have been trying for long time , but i cant get any working solution 
>  
> help me out 
>  
> Thanks in advance 
> Mohan
>  
> 
> 		
> ---------------------------------
>  Yahoo! FareChase - Search multiple travel sites in one click.  



FOCUS Computing - web design
Mob: 0415 24 26 24
murray@focus-computing.com.au
http://www.focus-computing.com.au




-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.12.8/163 - Release Date: 8/11/2005


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: (HELP) Struts - Oracle Database Connectivity Using DBCP connection Pooling

Posted by Kumar deepak <de...@yahoo.com>.
Hi Mohan,
 
Following url will definetly solve your problem.
 
http://www.roseindia.net/struts/strutsdatasourcemanagerontomcat5.shtml
 
Regards
Deepak Kumar


"A.Mohan" <am...@yahoo.co.in> wrote:
Hi, 
I want to connect Oracle thro DBCP - connection pooling by 
configuring the datasource in the WEB.XML file , 
Im using Apache tomcat Server 


How can i acheive that - help me out ,

I want the following information 
1. Configuration in web.xml file i.e the entries
2. Code in action class to acess the datasource 

I have been trying for long time , but i cant get any working solution 

help me out 

Thanks in advance 
Mohan



---------------------------------
Yahoo! FareChase - Search multiple travel sites in one click. 
		
---------------------------------
 Yahoo! FareChase - Search multiple travel sites in one click.