View Single Post

   
  #3 (permalink)  
Old 05-16-2008, 01:44 PM
La Farfalla
 
Posts: n/a
Default Re: setting up the connection pool in netbeans for informix database

Superboer wrote:
> try:
>
>
> jdbc:informix-sqli://
> 192.168.242.131:9088:INFORMIXSERVER=ifx01;database =ifxdatabase
>
>
> Assume that your database is called ifxdatabase
>
>
> Superboer.
>
>


I've tryed
jdbc:informix-sqli://192.168.242.131:9088:INFORMIXSERVER=ifx01;database =ifxdatabase,
as you suggested, instead of
jdbc:informix-sqli://192.168.242.131:9088/ifxdatabase:INFORMIXSERVER=ifx01,
but I'm still receiving the same error:

javax.servlet.ServletException: javax.servlet.jsp.JspException: Unable
to get connection, DataSource invalid: "java.sql.SQLException: Error in
allocating a connection. Cause:
java.lang.StringIndexOutOfBoundsException cannot be cast to
java.sql.SQLException"

Do you have any other suggestion?
Thanks for trying to help me.
Reply With Quote