Groups | Search | Server Info | Login | Register


Groups > comp.databases.mysql > #700

Re: is mysql at fault for this JDBC error? (com.mysql.jdbc.exceptions.jdbc4.CommunicationsException)

From "Peter H. Coffin" <hellsop@ninehells.com>
Newsgroups comp.databases.mysql
Subject Re: is mysql at fault for this JDBC error? (com.mysql.jdbc.exceptions.jdbc4.CommunicationsException)
Date 2011-04-27 07:16 -0500
Organization A noiseless patient Spider
Message-ID <slrnirg299.2mh.hellsop@nibelheim.ninehells.com> (permalink)
References <37fce90f-1c0e-4205-a930-3a7fb10f3275@h38g2000yqn.googlegroups.com>

Show all headers | View raw


On Tue, 26 Apr 2011 23:39:03 -0700 (PDT), terry433iid@yahoo.com wrote:
> I am running a java class that queries mysql via JDBC, the database is
> also servicing a GUI via tomcat (connection pool)
>
> All of a sudden the java application crashes and below is the log file
> output that I get
>
> So - I'm left wondering if this is a mysql error......or tomcat
> messing with connection pool ..... or JDBC error.....???
>
> I cannot find any good info on the web for the error, so any feedback
> appreciated
>
>
>
> ---------------------------------
> SelectStr: show tables
> Error while executing SQL transaction: No operations allowed after
> connection closed.Connection was implicitly closed due to underlying
> exception/error:
>
>
> ** BEGIN NESTED EXCEPTION **
>
> com.mysql.jdbc.exceptions.jdbc4.CommunicationsException
> MESSAGE: Communications link failure
>
> Last packet sent to the server was 1 ms ago.

The database connection went away unexpectedly. Probably because the
network means that the communications link was using got closed
unexpectedly. If the database is still running and other connections are
working, it's not the database doing it.

-- 
Christian Biblical literalists are trusting themselves to an archaic
English translation of a Latin translation of (help me here) Greek?
Aramaic? source. I wouldn't even trust a VCR manual to make it through
that intact. - Dr. Dee

Back to comp.databases.mysql | Previous | NextPrevious in thread | Find similar


Thread

is mysql at fault for this JDBC error? (com.mysql.jdbc.exceptions.jdbc4.CommunicationsException) "terry433iid@yahoo.com" <terry433iid@googlemail.com> - 2011-04-26 23:39 -0700
  Re: is mysql at fault for this JDBC error? (com.mysql.jdbc.exceptions.jdbc4.CommunicationsException) Mau C <nobody@hotmail.com> - 2011-04-27 12:16 +0200
  Re: is mysql at fault for this JDBC error? (com.mysql.jdbc.exceptions.jdbc4.CommunicationsException) "Peter H. Coffin" <hellsop@ninehells.com> - 2011-04-27 07:16 -0500

csiph-web