MySQL will by default close a db connection after it has been idle
for 8 hours. You need to add the following to your jdbc connect url
"?autoReconnect=true" to tell the MySQL JDBC driver to automatically
reconnect to the db.
Your url would be:
jdbc:mysql://localhost:3306/mkterritoriale?autoReconn
see these pages...
struts-el
http://struts.apache.org/faqs/struts-el.html
jstl
http://java.sun.com/products/jsp/jstl/
a popular open source jstl implementation (the basis of this list)
http://jakarta.apache.org/taglibs/
On Thu, 11 Nov 2004 12:57:57 -0800, Cook, Lori A <[EMAIL PROTECTED]> wrote
Tomcat return the followed error and i can't understand why
standard.jar seems to be in the right place (WEB-INF\lib)
and the java code isn't change since my customized tag worked very well!!!
So I can't recognize my error.
Can you help me???
error output from tomcat:
=
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
javax.servlet.jsp.jstl.sql.dataSource
mkterritoriale
in my jrun-resource.xm
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 clos
Thanks for the info. As for the mapping, in the web.xml file there is a mapping
that indicates that the "c" tld is associated to the version I'm referencing,
but I'll look deeper into the tld contained within the JAR file.
>>> [EMAIL PROTECTED] 11/12/04 05:45PM >>>
> From: David Liles [mailto:[E
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 i
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 r
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 random.
my snippets: