Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

java.sql.SQLException

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting below error. How can I resolve it?

com.openbravo.basic.BasicException:
java.sql.SQLException: Could not retrieve transation read-only status server

java.sql.SQLException:
Could not retrieve transation read-only status server

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:
Communications link failure

The last packet successfully received from the server was 2,518,317 milliseconds ago.  The last packet sent successfully to the server was 2,518,333 milliseconds ago.

java.net.SocketException:
Connection reset by peer: socket write error

 
Marshal
Posts: 25594
69
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like communicating with the database server stopped about 40 minutes ago (that's what 2,518,317 milliseconds means). So I'd suggest finding out why that is. It might be that the network went down then, or that the database server stopped for some reason then. If there are other people in your organization who are responsible for the network or the database server, then by all means ask them for help finding and fixing the problem.
 
You can't expect to wield supreme executive power just because
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic