• 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
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

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

 
Sheriff
Posts: 24632
56
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.
 
Danger, 10,000 volts, very electic .... tiny ad:
Enterprise-grade Excel API for Java
https://products.aspose.com/cells/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!