Re: Error: Cannot get a connection, pool error Timeout waiting for idle object

2010-03-15 Thread abhishek jain
Hi friends,
I am still having the problem, here is the config in my struts-config.xml


data-sources

data-source type=*org.apache.commons.dbcp.BasicDataSource*

set-property property=*driverClassName* value=*com.mysql.jdbc.Driver*
/

set-property property=*url* value=*jdbc:mysql://localhost:3306/db* /

set-property property=*username* value=*root* /

set-property property=*maxActive* value=*10* /

set-property property=*maxWait* value=*5000* /

set-property property=*defaultAutoCommit* value=*false* /

set-property property=*defaultReadOnly* value=*false* /

/data-source

/data-sources
thanks
abhishek

On Sat, Mar 13, 2010 at 4:48 PM, abhishek jain
abhishek.netj...@gmail.comwrote:

 Hi friends.
 I am using strurts 1 with mysql and is using the datasource in
 struts-config.xml.
 I am gettting the following errors in my log file,

 Cannot get a connection, pool error Timeout waiting for idle object


 What could be the reason to this error, it seems like this is because of db
 which is mysql in my case,

 Pl. advice, what to do in to remove this error,
 I have searched net and could not find a sol.

 --
 Thanks and kind Regards,
 Abhishek jain



Re: Error: Cannot get a connection, pool error Timeout waiting for idle object

2010-03-15 Thread abhishek jain
Hi friends,

Additional to the config file i also realized that the connection with my
server never ends when viewed on browser, i mean the status bar always says
that Waiting for URL.,

Pl. help on the Error: Cannot get a connection, pool error Timeout waiting
for idle object,

thanks
abhishek

On Mon, Mar 15, 2010 at 11:44 AM, abhishek jain
abhishek.netj...@gmail.comwrote:

 Hi friends,
 I am still having the problem, here is the config in my struts-config.xml


 
 data-sources

 data-source type=*org.apache.commons.dbcp.BasicDataSource*

 set-property property=*driverClassName* value=*com.mysql.jdbc.Driver*
 /

 set-property property=*url* value=*jdbc:mysql://localhost:3306/db* /

 set-property property=*username* value=*root* /

 set-property property=*maxActive* value=*10* /

 set-property property=*maxWait* value=*5000* /

 set-property property=*defaultAutoCommit* value=*false* /

 set-property property=*defaultReadOnly* value=*false* /

 /data-source

 /data-sources
 thanks
 abhishek

   On Sat, Mar 13, 2010 at 4:48 PM, abhishek jain 
 abhishek.netj...@gmail.com wrote:

 Hi friends.
 I am using strurts 1 with mysql and is using the datasource in
 struts-config.xml.
 I am gettting the following errors in my log file,

 Cannot get a connection, pool error Timeout waiting for idle object


 What could be the reason to this error, it seems like this is because of
 db which is mysql in my case,

 Pl. advice, what to do in to remove this error,
 I have searched net and could not find a sol.

 --
 Thanks and kind Regards,
 Abhishek jain




-- 
Thanks and kind Regards,
Abhishek jain
+91 9971376767


Error: Cannot get a connection, pool error Timeout waiting for idle object

2010-03-13 Thread abhishek jain
Hi friends.
I am using strurts 1 with mysql and is using the datasource in
struts-config.xml.
I am gettting the following errors in my log file,

Cannot get a connection, pool error Timeout waiting for idle object


What could be the reason to this error, it seems like this is because of db
which is mysql in my case,

Pl. advice, what to do in to remove this error,
I have searched net and could not find a sol.

-- 
Thanks and kind Regards,
Abhishek jain