Ask a Question related to Coldfusion Database Access, Design and Development.
-
weblingual #1
Restart MySQL and Error is thrown... all ok afterrefresh
Hello Folks,
I have a variety of sites on my server all accessing the MySQL database.
Whenever I restart MySQL and attempt to access one of the sites via (IE)
browser the attached error is encountered. After that, when I refresh the
browser, all is ok... the connection has been established and we go on our
merry way. (at least that's what i think)
How can I avoid this "Communications link failure due to underlying exception"?
Environment:
Windows 2003 Server
MySQL 5.0.20 DB
CF 6.1 (using jdbc connect -- "useUnicode=true&characterEncoding=utf8" &
Maintain Connections in checked (in CF admin)
IIS 6.0
Error Executing Database Query.
Communications link failure due to underlying exception: ** BEGIN NESTED
EXCEPTION ** java.io.EOFException STACKTRACE: java.io.EOFException at
com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1842 ) at
com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO. java:2288) at
com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.ja va:2784) at
com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:15 31) at
com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java :1622) at
com.mysql.jdbc.Connection.execSQL(Connection.java: 2370) at
com.mysql.jdbc.Connection.execSQL(Connection.java: 2297) at
com.mysql.jdbc.Statement.execute(Statement.java:90 2) at
coldfusion.server.j2ee.sql.JRunStatement.execute(J RunStatement.java:212) at
coldfusion.sql.Executive.executeQuery(Executive.ja va:974) at
coldfusion.sql.Executive.executeQuery(Executive.ja va:886) at
coldfusion.sql.SqlImpl.execute(SqlImpl.java:236) at
coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.j ava:447) at
cfindex2ecfm326061290._factor8(D:\http\monitor\mys ql\index.cfm:...
weblingual Guest
-
#38996 [NEW]: PDO persistant connection breaks on mysql restart
From: fifthnormal at hotmail dot com Operating system: Linux PHP version: 5.1.6 PHP Bug Type: PDO related Bug description: ... -
error A License Exception has been thrown
:D I have been experiencing the same License Exception problem myself, with a new installation of Coldfusion 6.1. Enterprise Edition. As... -
No error message on manually thrown exceptions
Why, if I throw a System.Exception in my web method, do I see the standard IE 500 error page, rather than the stack trace as I do with other errors... -
Why is there no error thrown in these 3 lines of code?
$MyVar=1; if (MyVar ==1){ $var2="abc"; } Notice I left out the "$" in the IF statement. No error. It drops into the statement and sets the... -
@transaction=required - results in hang after error thrown
I have an asp page that uses the @TRANSACTION=REQUIRED directive. Within the page I create two of my vb com+ components that are marked require... -
weblingual #2
Re: Restart MySQL and Error is thrown... all ok afterrefresh
any ideas on this?
weblingual Guest



Reply With Quote

