Lorenzo Sicilia wrote:
Hi to all,
I have a stange error in some index.jsp in two web site where I use sql
tag.
error:
java.sql.SQLException: Connection.close() has already been called. Invalid
operation in this state
It's strange because I use only one tag sql in the page and the problem
it's
Don Albertson wrote:
Random as in it happens sometimes the first time or random as in it happens
sometimes after sitting inactive long enough for some timeout value to
close
the connection?
Random as in it happens sometimes.
When it happens I need restart the application server (jrun4).
The page
Do you have a context init param in web.xml for
javax.servlet.jsp.jstl.sql.dataSource? If so, are you using a JNDI relative
path or a JDBC parameters string? Which version of the Standard taglib (JSTL)
are you using (1.0 or 1.1)?
As an aside, attempting to close a connection that is already
Kris Schneider wrote:
Do you have a context init param in web.xml for
javax.servlet.jsp.jstl.sql.dataSource? If so, are you using a JNDI relative
path or a JDBC parameters string?
Yes, I have. In my web.xml
!-- JSTL DATASOURCE --
context-param