You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Vishal Arora <vi...@teleatlas.com> on 2004/02/12 12:18:52 UTC
Problem in using DataSource with Informix9.x Database..?
Hi,
I m using Tomcat5.0 and Struts1.1 and Informix 9.x as database
When i m trying to use DataSource of
org.apache.commons.dbcp.BasicDataSource in my struts application it
gives error
.I have mentioned in struts-config file also abt sdatasource like
username,password,drivername and url .
the error it's giving is..
DBCP borrowObject failed
:java.sql.SQLException:com.informix.asf.IfxASFException:Invalid ASF API
input
parameters.
org.apache.commons.dbcp.DbcpException:java.sql.SQLException:com.informix.asf.IfxASFException:Invalid
ASF API
input parameters.
Even i tried to make a servlet and use Tomcat's inbuilt DataSource
object Informix9.x as Database and
Tomcat 5.0
it gives erroor connectionPool.exaushted.
Please anyone who has used Tomcat5.0 as webserver and Informix as
database and hence used tomcat's DataSource
object please help me by giving the code or what all neccessary things i
have to place and where and what
neccessary changes i have to made and where.
Please this is very Urgent as i have to use this thing in my project
and soo have to show to my superiors.
Thanks in advance.
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org