I have written a method in a javabean to extract some data from the database. and loaded that into array, the method return an array.
I want to draw a graph in a jsp page.
When I call the method in the jsp page it works fine for the 1st call, but for the second call, the program stop working and giving the error message.
SQL Error while connecting to the database : org.postgresql.util.PSQLException: The connection attempt failed.
org.postgresql.util.PSQLException: An I/O error occured while sending to the backend.